@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&display=swap");

:root {
  --bg: #fff8f2;
  --surface: #ffffff;
  --surface-soft: #fff2e7;
  --line: #f2d7c0;
  --text: #281f17;
  --muted: #7a685a;
  --primary: #ff7a00;
  --primary-deep: #da5d00;
  --primary-soft: #ffd3aa;
  --shadow: 0 20px 45px rgba(119, 60, 12, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Sora", "Avenir Next", "Helvetica Neue", sans-serif;
  background: radial-gradient(circle at 12% -8%, #ffe8d3 0%, transparent 45%), var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: radial-gradient(#2d251d 0.5px, transparent 0.5px);
  background-size: 2px 2px;
  z-index: -4;
}

.bg-blob {
  position: fixed;
  border-radius: 999px;
  filter: blur(60px);
  pointer-events: none;
  z-index: -3;
}

.blob-1 {
  width: 340px;
  height: 340px;
  background: rgba(255, 122, 0, 0.22);
  top: 11%;
  right: -120px;
}

.blob-2 {
  width: 460px;
  height: 460px;
  background: rgba(255, 180, 95, 0.18);
  bottom: -200px;
  left: -140px;
}

.container {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.2rem;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(255, 248, 242, 0.96), rgba(255, 248, 242, 0.78));
  border: 1px solid rgba(242, 215, 192, 0.9);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(75, 34, 4, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}

.brand-mark {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 6px;
  background: url("assets/subsecute-logo-mark.svg") center/cover no-repeat;
  box-shadow: 0 0 0 2px rgba(255, 122, 0, 0.16);
  flex-shrink: 0;
}

.brand-text {
  letter-spacing: 0.01em;
  font-size: 1.02rem;
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
}

.topnav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  transition: color 160ms ease;
}

.topnav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 170ms ease, box-shadow 170ms ease, background-color 170ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(130deg, var(--primary), var(--primary-deep));
  box-shadow: 0 15px 30px rgba(218, 93, 0, 0.28);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.btn-small {
  padding: 0.56rem 1rem;
  font-size: 0.87rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 2.4rem;
  align-items: center;
  padding: 4.4rem 0 3.2rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--primary-deep);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.75rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.7rem);
  max-width: 18ch;
}

.hero-type {
  display: block;
  align-items: baseline;
  width: max-content;
  min-width: 0;
  margin-top: 0.05em;
  color: var(--primary-deep);
  vertical-align: baseline;
}

.hero-stop {
  display: block;
  margin-top: 0.1em;
}

.hero-type-word {
  display: inline-block;
  position: relative;
  color: var(--primary-deep);
  padding: 0 0.04em;
}

.hero-type-word::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.09em;
  height: 0.2em;
  border-radius: 999px;
  background: rgba(255, 122, 0, 0.2);
  z-index: -1;
}

.hero-type-caret {
  width: 2px;
  height: 0.9em;
  margin-left: 2px;
  border-radius: 99px;
  background: var(--primary);
  animation: caret-blink 1.05s steps(1, end) infinite;
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
}

h3 {
  font-size: 1.12rem;
}

p {
  margin: 0;
}

.lead {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 57ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.hero-list {
  margin: 1.45rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-list li {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 0.34rem 0.72rem;
  font-size: 0.84rem;
  color: #5f4d3f;
}

.hero-stage {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-halo {
  position: absolute;
  width: 470px;
  height: 470px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.3) 0%, rgba(255, 122, 0, 0) 70%);
  transform: translate(
    calc(var(--parallax-x, 0) * 10px),
    calc(var(--parallax-y, 0) * 10px)
  );
  transition: transform 260ms ease;
}

.notification-layer {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.notification-badge {
  position: absolute;
  background: #fff;
  border: 1px solid #ffd2ad;
  border-radius: 14px;
  padding: 0.48rem 0.8rem 0.48rem 1.65rem;
  font-size: 0.8rem;
  font-weight: 650;
  box-shadow: 0 16px 28px rgba(82, 39, 4, 0.18);
  color: #6b4328;
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  transition: opacity 260ms ease, transform 260ms ease;
}

.notification-badge.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.notification-badge::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  left: 0.72rem;
  top: 50%;
  transform: translateY(-50%);
  background: #ff7a00;
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.16);
}

.badge-1 {
  top: 16%;
  left: 6%;
}

.badge-2 {
  bottom: 18%;
  right: 5%;
}

.badge-3 {
  top: 25%;
  right: 9%;
}

.badge-4 {
  bottom: 27%;
  left: 4%;
}

.badge-5 {
  top: 45%;
  left: 1%;
}

.badge-6 {
  bottom: 8%;
  right: 11%;
}

.mobile-shell {
  position: relative;
  width: 320px;
  height: 665px;
  border-radius: 44px;
  background: #0f0f10;
  padding: 14px;
  box-shadow: 0 24px 45px rgba(32, 14, 2, 0.26);
}

.hero-phone {
  z-index: 5;
  animation: gentle-rise 7s ease-in-out infinite;
}

.mobile-notch {
  width: 42%;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: #0f0f10;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
}

.mobile-viewport {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
}

.scroll-track {
  display: flex;
  flex-direction: column;
}

.scroll-track img {
  width: 100%;
  display: block;
}

.scroll-slow {
  animation: screen-drift-slow 9.2s ease-in-out infinite;
}

.scroll-medium {
  animation: screen-drift-medium 7.4s ease-in-out infinite;
}

.scroll-fast {
  animation: screen-drift-fast 5.8s ease-in-out infinite;
}

.platforms {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.67);
}

.platform-marquee {
  display: flex;
  width: max-content;
  animation: platform-roll 26s linear infinite;
}

.platform-strip {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 0.8rem 0.9rem 0;
}

.platform-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #f2dbc7;
  border-radius: 999px;
  padding: 0.4rem 0.84rem;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--surface-soft);
  color: #6d4d35;
}

.platform-item img {
  width: 14px;
  height: 14px;
  display: block;
}

.section {
  padding: 5.2rem 0;
}

.section-head {
  max-width: 74ch;
}

.section-head h2 {
  margin-top: 0.5rem;
}

.subforme-section {
  padding-top: 3.4rem;
  padding-bottom: 2.4rem;
}

.subforme-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 36px rgba(73, 34, 4, 0.12);
  padding: clamp(1rem, 2.4vw, 1.55rem);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 1.2rem;
}

.subforme-copy p {
  margin-top: 0.9rem;
  color: #5f4a3b;
  max-width: 56ch;
}

.subforme-copy .tick-list {
  margin-top: 1.05rem;
}

.subforme-media-wrap {
  margin: 0;
  border-radius: 18px;
  border: 1px solid #efdcc9;
  background: #fff;
  box-shadow: 0 18px 30px rgba(52, 24, 3, 0.12);
  overflow: hidden;
}

.subforme-media {
  width: 100%;
  display: block;
  object-fit: cover;
}

.section-grid-overlay {
  position: relative;
  isolation: isolate;
}

.section-grid-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 122, 0, 0.13) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 122, 0, 0.13) 1px, transparent 1px);
  background-size: 16px 16px;
  background-position: center;
  opacity: 0.82;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.56) 40%, rgba(0, 0, 0, 0) 82%);
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.56) 40%, rgba(0, 0, 0, 0) 82%);
}

.section-grid-overlay > * {
  position: relative;
  z-index: 1;
}

.watermark-span {
  position: relative;
  isolation: isolate;
}

.watermark-phone {
  position: absolute;
  top: 3.2rem;
  right: -8.4rem;
  width: 520px;
  height: 1060px;
  border: 4px solid var(--primary);
  border-radius: 64px;
  padding: 12px;
  opacity: 0.1;
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: 0;
}

.watermark-phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  width: 42%;
  height: 18px;
  border-radius: 0 0 14px 14px;
  background: var(--primary);
  transform: translateX(-50%);
}

.watermark-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 48px;
  overflow: hidden;
  background: #ffffff;
}

.watermark-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.personal-section {
  padding-top: 4.6rem;
  padding-bottom: 4.6rem;
  position: relative;
  z-index: 1;
}

.personal-layout {
  position: relative;
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  grid-template-rows: minmax(230px, 1fr) minmax(230px, 1fr);
  gap: 1.05rem;
}

.personal-board-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.board-link {
  fill: none;
  stroke: rgba(255, 122, 0, 0.9);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 7 9;
  filter: drop-shadow(0 1px 2px rgba(114, 52, 3, 0.28));
}

.board-link-left {
  stroke: rgba(255, 170, 106, 0.88);
  stroke-width: 2.8;
}

.board-link-top {
  stroke: rgba(255, 122, 0, 0.95);
}

.board-link-right {
  stroke: rgba(255, 147, 64, 0.92);
  stroke-width: 3;
}

.board-link-bottom {
  stroke: rgba(255, 181, 120, 0.88);
  stroke-width: 2.9;
}

.personal-card {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(35, 16, 4, 0.08);
  transition:
    transform 520ms cubic-bezier(0.2, 0.92, 0.24, 1),
    box-shadow 220ms ease,
    border-color 220ms ease;
  min-height: 240px;
  --card-lift: 0px;
  --card-tilt: 0deg;
  --card-reveal-shift: 0px;
  transform: translateY(calc(var(--card-reveal-shift) + var(--card-lift))) rotate(var(--card-tilt));
  transform-origin: 50% 12%;
}

.personal-card:hover {
  border-color: #ffbe89;
  box-shadow: 0 16px 28px rgba(35, 16, 4, 0.13);
}

.personal-card[data-reveal] {
  opacity: 0;
  --card-reveal-shift: 26px;
  transition:
    opacity 620ms ease,
    transform 620ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.personal-card[data-reveal].revealed {
  opacity: 1;
  --card-reveal-shift: 0px;
}

.tile-main {
  grid-row: span 2;
  min-height: 100%;
  --card-lift: 10px;
  --card-tilt: -8deg;
}

.tile-shared {
  --card-lift: -6px;
  --card-tilt: 7deg;
}

.tile-review {
  --card-lift: 8px;
  --card-tilt: -6deg;
}

.personal-media {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  display: block;
  transition: transform 520ms ease;
  filter: saturate(1.05);
}

.card-pin {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: var(--primary);
  border: 2px solid #ffd1a8;
  box-shadow:
    0 4px 10px rgba(88, 36, 0, 0.3),
    inset 0 -2px 0 rgba(165, 64, 0, 0.42);
  z-index: 3;
}

.card-pin::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -12px;
  width: 2px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: linear-gradient(180deg, rgba(116, 98, 82, 0.62), rgba(116, 98, 82, 0.08));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.card-pin::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #bd4c00;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.card-note {
  position: absolute;
  z-index: 3;
  font-family: "Caveat", "Segoe Print", "Bradley Hand", "Marker Felt", cursive;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--primary);
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(25, 18, 13, 0.34);
  pointer-events: none;
}

.card-note::before {
  content: "";
  position: absolute;
  left: -0.26rem;
  right: -0.32rem;
  top: 54%;
  bottom: -0.06rem;
  z-index: -1;
  background: rgba(255, 246, 236, 0.32);
  border-radius: 999px;
  filter: blur(0.3px);
}

.note-main {
  top: 2.15rem;
  left: 1.05rem;
  transform: rotate(-3.5deg);
}

.note-shared {
  top: 2rem;
  right: 1.05rem;
  transform: rotate(2.8deg);
}

.note-review {
  top: 2.12rem;
  left: 1rem;
  transform: rotate(-2deg);
  color: #4a5f9a;
}

.personal-card:hover .personal-media {
  transform: scale(1.03);
}

.personal-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1rem 1rem 1.1rem;
  background: linear-gradient(
    to top,
    rgba(20, 14, 10, 0.78) 0%,
    rgba(20, 14, 10, 0.58) 42%,
    rgba(20, 14, 10, 0) 100%
  );
}

.personal-body::before {
  content: "";
  position: absolute;
  left: -14%;
  right: -14%;
  bottom: -10%;
  height: 188%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(132% 92% at 50% 100%, rgba(255, 122, 0, 0.9) 0%, rgba(255, 122, 0, 0.7) 46%, rgba(255, 122, 0, 0.3) 66%, rgba(255, 122, 0, 0) 84%);
  opacity: 0;
  transform: translateY(30%);
  transition: transform 380ms ease, opacity 380ms ease;
}

.personal-card:hover .personal-body::before {
  opacity: 1;
  transform: translateY(0);
}

.personal-body h3 {
  font-size: 1.02rem;
  color: #fff;
  position: relative;
  z-index: 1;
}

.personal-body p {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  position: relative;
  z-index: 1;
}

.feature-carousel-stack {
  margin-top: 2rem;
  display: grid;
  gap: 0.95rem;
}

.feature-carousel {
  margin-top: 0;
  position: relative;
  overflow: hidden;
  padding: 0.35rem 0;
}

.feature-carousel::before,
.feature-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3.8rem;
  z-index: 2;
  pointer-events: none;
}

.feature-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), rgba(248, 244, 239, 0));
}

.feature-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), rgba(248, 244, 239, 0));
}

.feature-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: feature-roll var(--feature-duration, 36s) linear infinite;
}

.feature-track-reverse {
  animation-direction: reverse;
}

.feature-carousel:hover .feature-track {
  animation-play-state: paused;
}

.feature-carousel:focus-within .feature-track {
  animation-play-state: paused;
}

.feature-rail {
  display: flex;
  gap: 1rem;
  padding-right: 1rem;
}

.feature-card {
  width: 268px;
  min-height: 206px;
  background: #f1efec;
  border: 1px solid #e7dfd7;
  border-radius: 22px;
  padding: 1.05rem 1rem 1rem;
  box-shadow: none;
  flex-shrink: 0;
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #dfd3c7;
  background: #f7f4f1;
}

.feature-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2f2c28;
  background: #e8e3dc;
  border: 1px solid #ddd1c4;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 1.22rem;
  height: 1.22rem;
}

.feature-card h3 {
  margin-top: 0.92rem;
  color: #1f1b17;
  font-size: 1.24rem;
  line-height: 1.2;
}

.feature-card p {
  margin-top: 0.56rem;
  color: #6a6057;
  font-size: 0.97rem;
  line-height: 1.48;
}

.feature-card-highlight {
  background: #fff2e6;
  border-color: #ffc58f;
}

.feature-card-highlight .feature-icon {
  background: #ffe3ca;
  border-color: #ffc58f;
}

.showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 1.9rem;
  position: relative;
  isolation: isolate;
  --story-step: 0;
}

.showcase-texture::before,
.showcase-texture::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.showcase-texture::before {
  background-image:
    linear-gradient(to right, rgba(255, 122, 0, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 122, 0, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 50% 46%, rgba(255, 122, 0, 0.1) 0%, rgba(255, 122, 0, 0) 72%);
  background-size: 7px 7px, 7px 7px, auto;
  background-position: center;
  opacity: 0.75;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.56) 42%, rgba(0, 0, 0, 0) 84%);
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.56) 42%, rgba(0, 0, 0, 0) 84%);
}

.showcase-texture::after {
  background-image: radial-gradient(rgba(43, 31, 22, 0.14) 0.45px, transparent 0.55px);
  background-size: 3px 3px;
  opacity: 0.055;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 52%, rgba(0, 0, 0, 0) 90%);
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 52%, rgba(0, 0, 0, 0) 90%);
}

.showcase-copy p {
  margin-top: 1rem;
  color: #5e4a3c;
}

.tick-list {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.tick-list li {
  padding-left: 1.5rem;
  position: relative;
  color: #4d3c30;
  transition: color 260ms ease, transform 260ms ease;
}

.tick-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(140deg, #ffa044, #ff7a00);
  position: absolute;
  left: 0.1rem;
  top: 0.52rem;
}

.story-list li.is-active {
  color: #2b1e14;
  transform: translateX(4px);
  font-weight: 700;
}

.story-list li.is-active::before {
  box-shadow: 0 0 0 6px rgba(255, 122, 0, 0.16);
}

.showcase-phones {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.showcase-copy,
.showcase-phones {
  position: relative;
  z-index: 1;
}

.showcase .scroll-medium,
.showcase .scroll-fast {
  animation: none;
  transform: none;
  transition: none;
  will-change: transform;
}

.showcase .mobile-shell.side-phone {
  overflow: hidden;
}

.showcase .mobile-shell.side-phone::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 32px;
  pointer-events: none;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0) 24%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 76%);
  transform: translateX(-155%);
  animation: phone-sweep 8.6s ease-in-out infinite;
  mix-blend-mode: screen;
  z-index: 7;
}

.showcase .mobile-shell.side-phone:nth-child(2)::after {
  animation-delay: 1.35s;
}

.watermark-phone-left {
  left: -9.2rem;
  right: auto;
  top: 4.2rem;
  width: 470px;
  height: 980px;
  transform: rotate(7deg);
  opacity: 0.09;
  z-index: 0;
}

.side-phone {
  width: 270px;
  height: 560px;
}

.compare-section {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 238, 222, 0.72), rgba(255, 248, 242, 0));
}

.compare-texture::before,
.compare-texture::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.compare-texture::before {
  background-image:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 122, 0, 0.09) 0px,
      rgba(255, 122, 0, 0.09) 1px,
      rgba(255, 122, 0, 0) 1px,
      rgba(255, 122, 0, 0) 34px
    ),
    linear-gradient(to right, rgba(255, 122, 0, 0.08) 1px, transparent 1px);
  background-size: auto, 160px 100%;
  background-position: center;
  opacity: 0.7;
  -webkit-mask-image: radial-gradient(circle at 50% 44%, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.54) 44%, rgba(0, 0, 0, 0) 86%);
  mask-image: radial-gradient(circle at 50% 44%, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.54) 44%, rgba(0, 0, 0, 0) 86%);
}

.compare-texture::after {
  background-image: radial-gradient(rgba(62, 44, 29, 0.13) 0.4px, transparent 0.5px);
  background-size: 4px 4px;
  opacity: 0.04;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.28) 58%, rgba(0, 0, 0, 0) 92%);
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.28) 58%, rgba(0, 0, 0, 0) 92%);
}

.compare-texture > .container {
  position: relative;
  z-index: 1;
}

.compare-table {
  margin-top: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-head-row {
  font-weight: 800;
  background: #fff0e2;
}

.compare-row:not(.compare-head-row)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 122, 0, 0) 12%,
    rgba(255, 122, 0, 0.1) 48%,
    rgba(255, 122, 0, 0) 82%
  );
  transform: translateX(-120%);
  animation: row-scan 7s linear infinite;
}

.compare-row:nth-child(2)::after {
  animation-delay: 0.1s;
}

.compare-row:nth-child(3)::after {
  animation-delay: 0.8s;
}

.compare-row:nth-child(4)::after {
  animation-delay: 1.5s;
}

.compare-row:nth-child(5)::after {
  animation-delay: 2.2s;
}

.compare-row:nth-child(6)::after {
  animation-delay: 2.9s;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.26rem 0.64rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.tag-bad {
  background: #f7e3d6;
  color: #86512b;
}

.tag-good {
  color: #fff;
  background: linear-gradient(135deg, #ff9a35, #ff6f00);
  box-shadow: 0 8px 18px rgba(255, 111, 0, 0.25);
}

.faq-section {
  padding-top: 4.6rem;
}

.faq-list {
  margin-top: 1.8rem;
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: clip;
}

.faq-question {
  width: 100%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 1rem 1rem;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 600;
}

.faq-icon {
  color: var(--primary-deep);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  max-height: 180px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.waitlist-section {
  padding-top: 4.8rem;
}

.waitlist-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #fff2e4 0%, #fff 40%, #fff4e6 100%);
  border: 1px solid #ffc58f;
  box-shadow: 0 24px 36px rgba(139, 65, 2, 0.12);
  padding: clamp(1.2rem, 2.5vw, 2rem);
  text-align: center;
}

.waitlist-card h2 {
  margin-top: 0.6rem;
}

.waitlist-card p {
  margin: 0.9rem auto 0;
  color: #695242;
  max-width: 56ch;
}

.waitlist-form {
  margin: 1.4rem auto 0;
  display: flex;
  gap: 0.7rem;
  max-width: 560px;
}

.waitlist-form input {
  flex: 1;
  min-width: 0;
  border-radius: 999px;
  border: 1px solid #e9c7a7;
  background: #fff;
  color: var(--text);
  padding: 0.8rem 0.95rem;
  font: inherit;
}

.waitlist-form input:focus {
  outline: 2px solid rgba(255, 122, 0, 0.35);
  border-color: var(--primary);
}

.waitlist-feedback {
  min-height: 1.45rem;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #8f5022;
}

.footer {
  padding: 2.2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  margin-top: 4rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.copyright {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.footer-links a {
  color: #6e5948;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

[data-reveal]:not(.personal-card) {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms ease, transform 620ms ease;
  transition-delay: var(--delay, 0ms);
}

[data-reveal].revealed:not(.personal-card) {
  opacity: 1;
  transform: translateY(0);
}

@keyframes gentle-rise {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes screen-drift-slow {
  0%,
  100% {
    transform: translateY(0%);
  }
  50% {
    transform: translateY(-8%);
  }
}

@keyframes screen-drift-medium {
  0%,
  100% {
    transform: translateY(-1%);
  }
  50% {
    transform: translateY(-10%);
  }
}

@keyframes screen-drift-fast {
  0%,
  100% {
    transform: translateY(-2%);
  }
  50% {
    transform: translateY(-12%);
  }
}

@keyframes caret-blink {
  0%,
  46% {
    opacity: 1;
  }
  47%,
  100% {
    opacity: 0;
  }
}

@keyframes phone-sweep {
  0% {
    transform: translateX(-155%);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  50% {
    transform: translateX(155%);
    opacity: 1;
  }
  74%,
  100% {
    transform: translateX(155%);
    opacity: 0;
  }
}

@keyframes feature-roll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes platform-roll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes row-scan {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 1060px) {
  .topnav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding-top: 2.6rem;
  }

  .hero-stage {
    min-height: auto;
    padding: 1rem 0;
  }

  .showcase {
    grid-template-columns: 1fr;
  }

  .watermark-phone-left {
    display: none;
  }

  .watermark-phone {
    width: 380px;
    height: 800px;
    right: -9.6rem;
    top: 5rem;
    opacity: 0.085;
  }

  .personal-layout {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
    gap: 0.9rem;
  }

  .personal-board-links {
    display: none;
  }

  .tile-main {
    grid-row: auto;
  }

  .personal-card {
    min-height: 310px;
  }

  .tile-main,
  .tile-shared,
  .tile-review {
    --card-lift: 0px;
  }

  .feature-card {
    width: 250px;
    min-height: 198px;
  }

  .feature-carousel-stack {
    gap: 0.8rem;
  }

  .compare-row {
    grid-template-columns: 1.15fr 1fr 1fr;
  }

  .subforme-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1120px, calc(100% - 1.4rem));
  }

  .topbar {
    padding: 0.72rem 0.82rem;
  }

  .hero {
    gap: 1rem;
    padding: 1.85rem 0 1.1rem;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3rem);
    max-width: 11.8ch;
    line-height: 1.05;
  }

  .lead {
    margin-top: 0.9rem;
    font-size: 1.04rem;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 1.25rem;
    gap: 0.55rem;
  }

  .hero-actions .btn {
    padding: 0.68rem 1rem;
    font-size: 0.92rem;
  }

  .hero-list {
    margin-top: 1rem;
    gap: 0.52rem;
  }

  .hero-list li {
    font-size: 0.8rem;
    padding: 0.33rem 0.62rem;
  }

  .btn-small {
    display: none;
  }

  .watermark-phone {
    display: none;
  }

  .mobile-shell.hero-phone {
    width: 270px;
    height: 560px;
  }

  .notification-badge {
    display: none;
  }

  .feature-carousel::before,
  .feature-carousel::after {
    width: 1.5rem;
  }

  .feature-card {
    width: min(84vw, 286px);
    min-height: 190px;
  }

  .feature-carousel-stack {
    gap: 0.68rem;
  }

  .card-note {
    font-size: 1.65rem;
  }

  .compare-table {
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    margin-top: 1.2rem;
    display: grid;
    gap: 0.68rem;
    overflow: visible;
  }

  .compare-row {
    grid-template-columns: 1fr;
    gap: 0.56rem;
    align-items: flex-start;
    border: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.86rem 0.9rem 0.92rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 18px rgba(64, 31, 6, 0.08);
    overflow: visible;
  }

  .compare-row:not(.compare-head-row)::after {
    display: none;
  }

  .compare-row:last-child {
    border-bottom: 1px solid var(--line);
  }

  .compare-row > div:first-child {
    font-weight: 760;
    color: #2d2016;
    line-height: 1.28;
  }

  .compare-row:not(.compare-head-row) > div:nth-child(2),
  .compare-row:not(.compare-head-row) > div:nth-child(3) {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.44rem 0.56rem;
    border: 1px solid #f0dfcf;
    border-radius: 11px;
    background: #fff8f2;
  }

  .compare-row:not(.compare-head-row) > div:nth-child(2)::before,
  .compare-row:not(.compare-head-row) > div:nth-child(3)::before {
    font-size: 0.74rem;
    font-weight: 760;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8f6d53;
    flex-shrink: 0;
  }

  .compare-row:not(.compare-head-row) > div:nth-child(2)::before {
    content: "Others";
  }

  .compare-row:not(.compare-head-row) > div:nth-child(3)::before {
    content: "Subsecute";
  }

  .compare-row .tag {
    margin-left: auto;
  }

  .compare-head-row {
    display: none;
  }

  .showcase-phones {
    flex-direction: column;
    align-items: center;
  }

  .side-phone {
    width: 240px;
    height: 500px;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .subforme-section {
    padding-top: 2.1rem;
    padding-bottom: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0ms !important;
    scroll-behavior: auto !important;
  }
}
