/* Kawan landing page.
 * Brand: navy ink, indigo → blue gradient, warm off-white. Rounded type to
 * echo the wordmark. Animations are disabled for people who ask for less motion. */

@font-face {
  font-family: 'Nunito';
  src: url('/assets/fonts/nunito.woff2') format('woff2');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b1140;
  --navy-2: #151c52;
  --indigo: #3b33d5;
  --blue: #2e55d6;
  --sky: #5b8cff;
  --rose: #ff4d73;
  --bg: #fbf8f6;
  --surface: #ffffff;
  --ink: var(--navy);
  --ink-2: rgb(11 17 64 / 0.68);
  --ink-3: rgb(11 17 64 / 0.45);
  --line: rgb(11 17 64 / 0.1);
  --gradient: linear-gradient(135deg, var(--indigo) 0%, var(--blue) 55%, var(--sky) 100%);
  --radius: 22px;
  --shadow-sm: 0 1px 2px rgb(11 17 64 / 0.06), 0 2px 6px rgb(11 17 64 / 0.05);
  --shadow-md: 0 10px 30px -12px rgb(11 17 64 / 0.25), 0 4px 10px -6px rgb(11 17 64 / 0.1);
  --shadow-lg: 0 40px 80px -30px rgb(11 17 64 / 0.38), 0 18px 40px -20px rgb(59 51 213 / 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Nunito', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  --font-body: 'Nunito', ui-rounded, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

h2 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem);
  font-weight: 850;
}

h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}
.container--narrow {
  width: min(780px, 100% - 2.5rem);
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */

.btn {
  --h: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: var(--h);
  padding: 0 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background-color 0.2s;
}
.btn:active {
  transform: scale(0.97);
}
.btn--sm {
  --h: 40px;
  padding: 0 1rem;
  font-size: 0.92rem;
}
.btn--lg {
  --h: 54px;
  padding: 0 1.6rem;
  font-size: 1.05rem;
}
.btn--primary {
  color: #fff;
  background: var(--gradient);
  background-size: 140% 140%;
  box-shadow:
    0 8px 22px -8px rgb(59 51 213 / 0.7),
    inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px -10px rgb(59 51 213 / 0.75),
    inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.btn--secondary {
  background: var(--surface);
  color: var(--ink);
  box-shadow:
    var(--shadow-sm),
    inset 0 0 0 1px var(--line);
}
.btn--secondary:hover {
  transform: translateY(-2px);
  box-shadow:
    var(--shadow-md),
    inset 0 0 0 1px var(--line);
}
.btn--ghost {
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  background: rgb(11 17 64 / 0.06);
}
.btn__arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}
.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition:
    background-color 0.3s,
    box-shadow 0.3s,
    backdrop-filter 0.3s;
}
.nav.is-scrolled {
  background: rgb(251 248 246 / 0.75);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}
.nav__brand img {
  height: 34px;
  width: auto;
}
.nav__links {
  display: flex;
  gap: 2rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.nav__links a {
  color: var(--ink-2);
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover {
  color: var(--ink);
}
.nav__links a:hover::after {
  transform: scaleX(1);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(3rem, 7vw, 6rem);
  isolation: isolate;
}
.hero__glow {
  position: absolute;
  inset: -120px 0 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}
.blob--indigo {
  width: 520px;
  height: 520px;
  right: -80px;
  top: 40px;
  background: radial-gradient(circle, rgb(59 51 213 / 0.55), transparent 65%);
}
.blob--blue {
  width: 460px;
  height: 460px;
  right: 22%;
  top: 280px;
  background: radial-gradient(circle, rgb(91 140 255 / 0.5), transparent 65%);
  animation-delay: -6s;
}
.blob--rose {
  width: 340px;
  height: 340px;
  left: -60px;
  top: 120px;
  background: radial-gradient(circle, rgb(255 77 115 / 0.28), transparent 65%);
  animation-delay: -11s;
}
@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-40px, 30px, 0) scale(1.08);
  }
  100% {
    transform: translate3d(30px, -20px, 0) scale(0.96);
  }
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.7);
  box-shadow:
    var(--shadow-sm),
    inset 0 0 0 1px var(--line);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink-2);
  backdrop-filter: blur(8px);
}
.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 0 rgb(59 51 213 / 0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(59 51 213 / 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgb(59 51 213 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(59 51 213 / 0);
  }
}
.hero__title {
  margin-top: 1.3rem;
  font-size: clamp(2.6rem, 1.4rem + 4.4vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.rotator {
  display: block;
  will-change: transform, opacity, filter;
  overflow-wrap: break-word;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.hero__lead {
  margin-top: 1.4rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.22rem);
  color: var(--ink-2);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hero__ctas--center {
  justify-content: center;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-3);
}
.hero__trust span {
  color: var(--blue);
  margin-right: 0.25rem;
}

.hero__visual {
  position: relative;
  perspective: 1600px;
}

/* ---------- Screenshot frames ---------- */

.frame {
  position: relative;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px var(--line);
  overflow: hidden;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}
.frame--hero {
  --rx: 6deg;
  --ry: -10deg;
}
.frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: #f4f2f0;
  border-bottom: 1px solid var(--line);
}
.frame__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2ddd9;
}
.frame__bar i:nth-child(1) {
  background: #ff5f57;
}
.frame__bar i:nth-child(2) {
  background: #febc2e;
}
.frame__bar i:nth-child(3) {
  background: #28c840;
}
.frame__bar span {
  margin: 0 auto;
  padding: 2px 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.8);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-3);
  transform: translateX(-20px);
}
.product-video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--navy);
  aspect-ratio: 8 / 5;
}
.walkthrough-video {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.video-caption {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.video-caption a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.frame--dark {
  background: #000;
}
.frame--dark .frame__bar {
  background: #1c1c1e;
  border-color: rgb(255 255 255 / 0.08);
}
.frame--dark .frame__bar span {
  background: rgb(255 255 255 / 0.08);
  color: rgb(255 255 255 / 0.5);
}

/* ---------- Floating cards ---------- */

.float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 18px;
  background: rgb(255 255 255 / 0.88);
  box-shadow:
    var(--shadow-md),
    inset 0 0 0 1px rgb(255 255 255 / 0.6);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  font-size: 0.9rem;
  line-height: 1.25;
  animation: bob 7s ease-in-out infinite;
}
.float strong {
  display: block;
  font-weight: 800;
}
.float small {
  color: var(--ink-3);
  font-weight: 700;
}
.float--reminder {
  left: -34px;
  top: 16%;
}
.float--task {
  right: -22px;
  top: 46%;
  animation-delay: -2.4s;
}
.float--entry {
  left: 8%;
  bottom: -34px;
  flex-direction: column;
  align-items: stretch;
  width: min(300px, 70%);
  animation-delay: -4.6s;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.float__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
}
.float__icon--rose {
  background: linear-gradient(135deg, #ff7a9b, #ff2d55);
  box-shadow: 0 8px 18px -8px rgb(255 45 85 / 0.8);
}
.float__icon svg,
.feature__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgb(11 17 64 / 0.25);
  animation: check-box 5s var(--ease) infinite;
}
.check svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: check-mark 5s var(--ease) infinite;
}
.float__task-text {
  font-weight: 800;
  position: relative;
}
.float__task-text::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-3);
  transform: scaleX(0);
  transform-origin: left;
  animation: strike 5s var(--ease) infinite;
}
@keyframes check-box {
  0%,
  30% {
    background: transparent;
    border-color: rgb(11 17 64 / 0.25);
    transform: scale(1);
  }
  36% {
    transform: scale(1.18);
  }
  40%,
  85% {
    background: #34c759;
    border-color: #34c759;
    transform: scale(1);
  }
  100% {
    background: transparent;
    border-color: rgb(11 17 64 / 0.25);
  }
}
@keyframes check-mark {
  0%,
  34% {
    stroke-dashoffset: 24;
  }
  46%,
  85% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 24;
  }
}
@keyframes strike {
  0%,
  40% {
    transform: scaleX(0);
  }
  52%,
  85% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}
.float__entry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chip {
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  background: rgb(59 51 213 / 0.1);
  color: var(--indigo);
  font-weight: 800;
  font-size: 0.78rem;
}
.typing {
  min-height: 2.5em;
  font-weight: 700;
  color: var(--ink);
}
.typing::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--indigo);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}

/* ---------- Strip ---------- */

.strip {
  padding: 1.6rem 0;
  border-block: 1px solid var(--line);
  background: rgb(255 255 255 / 0.5);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.strip__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.strip:hover .strip__track {
  animation-play-state: paused;
}
.strip__row {
  display: flex;
  gap: 0.75rem;
  padding-right: 0.75rem;
}
.strip__row span {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  box-shadow:
    var(--shadow-sm),
    inset 0 0 0 1px var(--line);
  font-weight: 800;
  font-size: 0.95rem;
  white-space: nowrap;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.section--tint {
  background: linear-gradient(180deg, transparent, rgb(59 51 213 / 0.045) 20%, rgb(59 51 213 / 0.045) 80%, transparent);
}
.section__head {
  max-width: 44rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.section__head p:last-child:not(.kicker) {
  margin-top: 1rem;
  color: var(--ink-2);
  font-size: 1.12rem;
}
.kicker {
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.kicker--light {
  color: #9db4ff;
}

/* ---------- Features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.feature {
  --mx: 50%;
  --my: 0%;
  position: relative;
  padding: 1.8rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow:
    var(--shadow-sm),
    inset 0 0 0 1px var(--line);
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgb(59 51 213 / 0.09), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow:
    var(--shadow-md),
    inset 0 0 0 1px rgb(59 51 213 / 0.18);
}
.feature:hover::before {
  opacity: 1;
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.2rem;
  border-radius: 14px;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 10px 20px -10px rgb(59 51 213 / 0.8);
  transition: transform 0.4s var(--ease);
}
.feature:hover .feature__icon {
  transform: rotate(-6deg) scale(1.06);
}
.feature p {
  margin-top: 0.55rem;
  color: var(--ink-2);
  font-size: 0.98rem;
}

/* ---------- Showcase ---------- */

.showcase {
  display: grid;
  gap: clamp(4.5rem, 9vw, 8rem);
}
.showcase__row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.showcase__row--reverse .showcase__copy {
  order: 2;
}
.showcase__copy > p:not(.kicker) {
  margin-top: 1.1rem;
  color: var(--ink-2);
  font-size: 1.1rem;
}
.showcase__media {
  perspective: 1600px;
}
.ticks {
  display: grid;
  gap: 0.65rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}
.ticks li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.ticks li::before {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E")
      center / 14px no-repeat,
    var(--gradient);
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 46px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgb(59 51 213 / 0.3) 0 8px, transparent 8px 16px);
}
.step {
  position: relative;
  padding: 1.8rem;
  text-align: center;
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--surface);
  box-shadow:
    var(--shadow-md),
    inset 0 0 0 2px rgb(59 51 213 / 0.25);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--indigo);
}
.step p {
  margin-top: 0.55rem;
  color: var(--ink-2);
}

/* ---------- Privacy ---------- */

.privacy {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.privacy__glow {
  position: absolute;
  inset: auto -10% -60% 30%;
  height: 120%;
  z-index: -1;
  background: radial-gradient(closest-side, rgb(59 51 213 / 0.55), transparent);
  filter: blur(40px);
  animation: drift 20s ease-in-out infinite alternate;
}
.privacy__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.privacy__inner > div > p:not(.kicker) {
  margin-top: 1.1rem;
  color: rgb(255 255 255 / 0.72);
  font-size: 1.12rem;
}
.privacy__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.privacy__list li {
  display: grid;
  gap: 0.35rem;
  padding: 1.4rem;
  border-radius: 18px;
  background: rgb(255 255 255 / 0.06);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
  backdrop-filter: blur(6px);
  transition:
    background-color 0.3s,
    transform 0.4s var(--ease);
}
.privacy__list li:hover {
  background: rgb(255 255 255 / 0.1);
  transform: translateY(-3px);
}
.privacy__list strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.privacy__list span {
  color: rgb(255 255 255 / 0.66);
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 0.75rem;
}
.faq details {
  border-radius: 18px;
  background: var(--surface);
  box-shadow:
    var(--shadow-sm),
    inset 0 0 0 1px var(--line);
  transition: box-shadow 0.3s;
}
.faq details[open] {
  box-shadow:
    var(--shadow-md),
    inset 0 0 0 1px rgb(59 51 213 / 0.18);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b33d5' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E")
      center / 16px no-repeat,
    rgb(59 51 213 / 0.08);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-2);
  animation: faq-in 0.4s var(--ease);
}
@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* ---------- Final CTA ---------- */

.final {
  padding: 0 0 clamp(4.5rem, 9vw, 7rem);
}
.final__card {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  border-radius: 32px;
  text-align: center;
  background:
    radial-gradient(600px circle at 15% 0%, rgb(255 77 115 / 0.12), transparent 50%),
    radial-gradient(700px circle at 90% 100%, rgb(91 140 255 / 0.2), transparent 55%), var(--surface);
  box-shadow:
    var(--shadow-lg),
    inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.final__symbol {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.4rem;
  animation: bob 6s ease-in-out infinite;
}
.final__card p {
  margin: 1rem auto 0;
  max-width: 32rem;
  color: var(--ink-2);
  font-size: 1.12rem;
}

/* ---------- Footer ---------- */

.footer {
  padding: 3rem 0 3.5rem;
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.footer__brand img {
  height: 28px;
  width: auto;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.footer__links a {
  color: var(--ink-2);
  text-decoration: none;
}
.footer__links a:hover {
  color: var(--ink);
}
.footer__legal {
  grid-column: 1 / -1;
  color: var(--ink-3);
  font-size: 0.85rem;
}

/* ---------- Scroll reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .float--reminder {
    left: -10px;
  }
  .float--task {
    right: -6px;
  }
}

@media (max-width: 960px) {
  .nav__links {
    display: none;
  }
  .hero__inner,
  .showcase__row,
  .privacy__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__copy {
    text-align: center;
  }
  .hero__lead {
    margin-inline: auto;
  }
  .hero__ctas,
  .hero__trust {
    justify-content: center;
  }
  .hero__visual {
    max-width: 680px;
    margin: 1rem auto 2rem;
  }
  .frame--hero {
    --rx: 4deg;
    --ry: 0deg;
  }
  .showcase__row--reverse .showcase__copy {
    order: 0;
  }
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .nav__invite {
    display: none;
  }
  .features,
  .steps,
  .privacy__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps::before {
    display: none;
  }
  .float {
    font-size: 0.8rem;
    padding: 0.6rem 0.8rem;
  }
  .float--reminder {
    top: 6%;
  }
  .float--task {
    top: auto;
    bottom: 26%;
  }
  .float--entry {
    display: none;
  }
  .footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer__brand {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__ctas .btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .frame {
    transform: none !important;
  }
  .strip__track {
    animation: none;
  }
}

/* ---------- Kawan mascot ---------- */

.hero__mascot {
  position: absolute;
  z-index: 3;
  right: -1.5rem;
  bottom: -3.5rem;
  width: clamp(110px, 16vw, 170px);
  height: auto;
  pointer-events: none;
}
.final__mascot {
  display: block;
  width: 150px;
  height: auto;
  margin: -0.5rem auto 0.6rem;
}
.docs-mascot {
  display: block;
  width: 140px;
  height: auto;
  margin: 0 0 1rem;
}
@media (max-width: 640px) {
  .hero__mascot {
    right: 0;
    bottom: -2.5rem;
    width: 96px;
  }
}
