/* ==========================================================
   Phinisi Labs: site styles (light)
   ========================================================== */

:root {
  --bg: #F6F4EF;
  --bg-tint: #EFECE5;
  --surface: #FFFFFF;
  --ink: #0F1013;
  --ink-2: #2A2C31;
  --muted: #62656D;
  --dim: #94969C;
  --line: rgba(15, 16, 19, 0.09);
  --line-2: rgba(15, 16, 19, 0.16);
  --accent: #1F4BFF;
  --accent-2: #1438D9;
  --accent-soft: #E8EDFF;
  --gold: #C9962F;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 22px;
  --wrap: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --shadow: 0 1px 2px rgba(15,16,19,0.04), 0 12px 32px -16px rgba(15,16,19,0.18);
  --shadow-lg: 0 2px 4px rgba(15,16,19,0.04), 0 40px 80px -40px rgba(15,16,19,0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Fine paper grain */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.025em; line-height: 1.04; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
@media (max-width: 760px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Shared ---------- */
.label {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 28px;
}
.label__n { color: var(--ink); }
.label--light { color: rgba(255,255,255,0.8); }

.dot { width: 7px; height: 7px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 4px rgba(22,163,74,0.15); animation: pulse 2.4s ease-in-out infinite; flex: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(22,163,74,0); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; letter-spacing: -0.005em;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .3s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .3s;
}
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--lg { height: 58px; padding: 0 30px; font-size: 16px; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -12px rgba(15,16,19,0.5); }
.btn--ink:hover { background: #24262C; box-shadow: 0 16px 30px -14px rgba(15,16,19,0.6); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 12px 28px -12px rgba(31,75,255,0.6); }
.btn--accent:hover { background: var(--accent-2); }
.btn--line { border-color: var(--line-2); color: var(--ink); background: rgba(255,255,255,0.5); }
.btn--line:hover { border-color: var(--ink); background: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #F1F3FF; }
.btn--glass { color: #fff; border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.08); }
.btn--glass:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.14); }

.section { padding: 150px 0; position: relative; }
.section--tint { background: var(--bg-tint); }
@media (max-width: 760px) { .section { padding: 96px 0; } }

.head { max-width: 820px; margin-bottom: 72px; }
.head h2, .reviews__head h2, .about h2, .faq h2, .id-copy h2 { font-size: clamp(38px, 5.4vw, 70px); }
.head h2 em, .reviews__head h2 em, .about h2 em, .faq h2 em, .id-copy h2 em { color: var(--accent); }
.head--split { max-width: none; display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end; }
.head__sub { color: var(--muted); font-size: 18px; margin-top: 24px; max-width: 560px; }
.head--split .head__sub { margin-top: 0; }
.head__sub a, .plans__foot a { color: var(--ink); border-bottom: 1px solid var(--line-2); transition: border-color .2s, color .2s; }
.head__sub a:hover, .plans__foot a:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 900px) { .head--split { grid-template-columns: 1fr; gap: 0; } .head--split .head__sub { margin-top: 24px; } .head { margin-bottom: 48px; } }

.inline-link { color: var(--accent); border-bottom: 1px solid rgba(31,75,255,0.3); white-space: nowrap; }
.inline-link:hover { border-color: var(--accent); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in, .reveal-all .reveal { opacity: 1; transform: none; }

/* ---------- Top bar ---------- */
.topbar { border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.topbar__inner { display: flex; align-items: center; gap: 28px; height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__status { margin-left: auto; color: var(--ink); }
@media (max-width: 560px) { .topbar__item:first-child { display: none; } }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(246, 244, 239, 0.82); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border-color: var(--line); }
.nav__inner { height: 76px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); }
.brand__mark { width: 30px; height: 30px; }
.brand__labs { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 22px; margin-left: 3px; color: var(--muted); }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { font-size: 14.5px; color: var(--muted); position: relative; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; padding: 8px 16px 24px; background: rgba(246,244,239,0.98); border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; }
@media (max-width: 1000px) { .nav__links, .nav__cta { display: none; } .nav__toggle { display: block; } }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 0; position: relative; }
.hero::before { content: ""; position: absolute; inset: -120px 0 auto; height: 760px; pointer-events: none;
  background: radial-gradient(640px 360px at 80% 20%, rgba(31,75,255,0.10), transparent 70%), radial-gradient(520px 320px at 10% 0%, rgba(201,150,47,0.08), transparent 70%); }
.hero .wrap { position: relative; }
.hero__title { font-size: clamp(54px, 10vw, 148px); letter-spacing: -0.045em; line-height: 0.92; font-weight: 500; }
.hero__title em { color: var(--accent); letter-spacing: -0.03em; padding-right: 0.04em; }
.hero__row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; margin-top: 48px; align-items: start; }
.hero__lede { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; justify-self: end; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.ff-badge { display: inline-flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.ff-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.ff-badge__icon { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--accent); }
.ff-badge__icon svg { width: 22px; height: 22px; fill: #fff; }
.ff-badge b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.ff-badge small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.ff-badge__go { color: var(--accent); margin-left: 4px; }

/* Stage with devices */
.stage {
  position: relative; margin-top: 72px; height: 620px; border-radius: 32px; overflow: hidden;
  background:
    radial-gradient(520px 340px at 70% 15%, rgba(255,255,255,0.9), transparent 70%),
    linear-gradient(165deg, #DCE4FF 0%, #E9E7F5 45%, #F3E6D8 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.stage__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(15,16,19,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(15,16,19,0.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%); }

.phone {
  position: absolute; width: 268px; height: 556px; border-radius: 46px; padding: 9px;
  background: linear-gradient(160deg, #3A3D45, #101114 45%, #26282E);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.25), 0 60px 90px -40px rgba(20,24,60,0.55), 0 20px 40px -20px rgba(20,24,60,0.3);
}
.phone__screen { width: 100%; height: 100%; border-radius: 38px; overflow: hidden; position: relative; }
.phone__notch { position: absolute; top: 19px; left: 50%; width: 86px; height: 24px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 3; }
.phone--front { left: 54%; top: 60px; z-index: 2; animation: float 9s ease-in-out infinite; }
.phone--back { left: calc(54% - 230px); top: 120px; transform: rotate(-9deg) scale(0.9); animation: float2 11s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes float2 { 0%, 100% { transform: rotate(-9deg) scale(0.9); } 50% { transform: rotate(-9deg) scale(0.9) translateY(10px); } }

.screen-a { background: #fff; color: var(--ink); padding: 58px 18px 18px; display: flex; flex-direction: column; gap: 16px; }
.sa-head small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; }
.sa-head b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }
.sa-list { display: flex; flex-direction: column; gap: 8px; }
.sa-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 11px 12px; border-radius: 14px; background: #F5F5F7; color: var(--muted); }
.ck { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #C9CBD1; flex: none; position: relative; }
.sa-list .done { color: var(--ink); }
.sa-list .done .ck { background: var(--accent); border-color: var(--accent); }
.sa-list .done .ck::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sa-list .doing { color: var(--ink); background: var(--accent-soft); }
.sa-list .doing .ck { border-color: var(--accent); border-right-color: transparent; animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sa-card { margin-top: auto; padding: 16px; border-radius: 18px; background: var(--ink); color: #fff; }
.sa-card small { font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,0.6); }
.sa-card b { display: block; font-size: 16px; margin: 2px 0 12px; }
.sa-progress { height: 5px; border-radius: 5px; background: rgba(255,255,255,0.15); overflow: hidden; }
.sa-progress i { display: block; height: 100%; width: 78%; background: #7FA0FF; border-radius: 5px; animation: grow 3s var(--ease) both 0.6s; }
@keyframes grow { from { width: 10%; } }

.screen-b { background: linear-gradient(180deg, #F7F6F2, #ECE8DE); color: var(--ink); padding: 50px 18px 18px; display: flex; flex-direction: column; gap: 16px; }
.sb-top { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 18px; }
.pill { font-size: 10px; font-family: var(--mono); padding: 3px 8px; border-radius: 99px; background: var(--ink); color: #fff; }
.sb-ring { position: relative; display: grid; place-items: center; }
.sb-ring svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(15,16,19,0.08); stroke-width: 10; }
.ring-fg { fill: none; stroke: var(--accent); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 302; stroke-dashoffset: 54; }
.sb-ring div { position: absolute; text-align: center; }
.sb-ring b { font-size: 28px; display: block; line-height: 1; }
.sb-ring small { font-size: 10px; color: var(--muted); }
.sb-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; padding: 0 4px; }
.sb-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: rgba(15,16,19,0.1); }
.sb-bars i:nth-child(6) { background: var(--accent); }
.sb-row { display: flex; justify-content: space-between; padding: 12px; border-radius: 12px; background: rgba(255,255,255,0.7); }
.sb-row span { height: 8px; border-radius: 4px; background: rgba(15,16,19,0.15); width: 45%; }
.sb-row span:last-child { width: 20%; }

.code-card {
  position: absolute; left: 6%; top: 70px; z-index: 3; width: 300px; border-radius: 16px; overflow: hidden;
  background: rgba(255,255,255,0.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.9); box-shadow: var(--shadow-lg); animation: float 10s ease-in-out infinite 0.8s;
}
.code-card__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.code-card__bar i { width: 9px; height: 9px; border-radius: 50%; background: #E2E2E6; }
.code-card__bar span { margin-left: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.code-card pre { margin: 0; padding: 14px 16px 16px; font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--ink-2); white-space: pre; }
.code-card .k { color: #B4239B; }
.code-card .f { color: var(--accent); }
.code-card .t { color: #0E8A6A; }

.float-chip {
  position: absolute; z-index: 3; padding: 12px 16px; border-radius: 16px;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.9); font-size: 13px; box-shadow: var(--shadow-lg); color: var(--ink);
}
.chip-1 { right: 7%; top: 120px; display: flex; align-items: center; gap: 8px; font-weight: 500; animation: float 7s ease-in-out infinite 1s; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chip-2 { right: 9%; bottom: 90px; display: flex; flex-direction: column; animation: float 8s ease-in-out infinite 0.5s; }
.chip-2 b { font-size: 15px; }
.chip-2 small { color: var(--muted); font-family: var(--mono); font-size: 11px; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 0; border-bottom: 1px solid var(--line); }
.trust li { padding: 32px 0; display: flex; flex-direction: column; gap: 4px; }
.trust li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.trust strong { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 4px; line-height: 1.1; }
.trust span { font-size: 13.5px; color: var(--muted); }
.star { color: var(--gold); font-style: normal; font-size: 0.7em; }

@media (max-width: 1000px) {
  .hero__row { grid-template-columns: 1fr; gap: 32px; }
  .hero__actions { justify-self: start; }
  .code-card { display: none; }
  .phone--front { left: 50%; }
  .phone--back { left: calc(50% - 220px); }
  .chip-1 { right: 4%; }
  .chip-2 { right: auto; left: 4%; bottom: 60px; }
}
@media (max-width: 760px) {
  .hero { padding-top: 56px; }
  .hero__lede { font-size: 17px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .stage { height: 500px; margin-top: 48px; border-radius: 24px; }
  .phone { transform-origin: top center; }
  .phone--front { left: 50%; top: 40px; transform: translateX(-50%) scale(0.82); animation: none; }
  .phone--back { display: none; }
  .chip-1 { right: 12px; top: 24px; }
  .chip-2 { left: 12px; bottom: 28px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust li { padding: 24px 0; }
  .trust li + li { padding-left: 0; border-left: 0; }
  .trust li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .trust li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trust strong { font-size: 26px; }
}

/* Marquee */
.marquee { position: relative; overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 50s linear infinite; }
.marquee__track span { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: "✦"; color: var(--accent); font-size: 10px; opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Results ---------- */
.results { padding: 110px 0 0; }
.results__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 0 32px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat b { display: block; font-size: clamp(40px, 4.6vw, 64px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 16px; color: var(--muted); font-size: 15px; max-width: 220px; }
@media (max-width: 900px) {
  .results__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 480px) { .stat { padding: 0 0 0 18px; } .stat b { font-size: 34px; } .stat span { font-size: 13.5px; } }

/* ---------- Engagements ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 30px;
  padding: 44px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan--featured {
  background: radial-gradient(520px 300px at 100% 0%, rgba(31,75,255,0.45), transparent 70%), var(--ink);
  color: #fff; border-color: transparent;
}
.plan__badge { position: absolute; top: 28px; right: 28px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.plan__tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.plan h3 { font-size: 44px; margin: 14px 0 14px; letter-spacing: -0.035em; }
.plan__desc { color: var(--muted); font-size: 17px; max-width: 420px; }
.plan__meta { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan__meta div { padding: 22px 0; }
.plan__meta div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.plan__meta dt { font-size: 13px; color: var(--dim); margin-bottom: 6px; }
.plan__meta dd { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.plan__meta dd small { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan__label { font-size: 13px; color: var(--dim); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--bg); }
.plan__note { display: flex; gap: 16px; padding: 20px; border-radius: 14px; background: var(--bg); font-size: 15px; color: var(--muted); }
.plan__note b { color: var(--ink); font-weight: 600; }
.plan__step { font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 3px; }
.plan__cta { margin-top: auto; align-self: flex-start; }
.plan--featured .plan__tag, .plan--featured .plan__meta dt, .plan--featured .plan__label { color: rgba(255,255,255,0.5); }
.plan--featured .plan__desc, .plan--featured .plan__meta dd small, .plan--featured .plan__note { color: rgba(255,255,255,0.7); }
.plan--featured .plan__meta, .plan--featured .plan__meta div + div { border-color: rgba(255,255,255,0.12); }
.plan--featured .chips li { border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.06); }
.plan--featured .plan__note { background: rgba(255,255,255,0.06); }
.plan--featured .plan__note b { color: #fff; }
.plan--featured .plan__step { color: #9DB4FF; }
.plans__foot { text-align: center; color: var(--muted); margin-top: 44px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .plan { padding: 30px 22px; border-radius: 22px; gap: 26px; }
  .plan h3 { font-size: 34px; }
  .plan__badge { position: static; align-self: flex-start; margin-bottom: -10px; }
  .plan__meta dd { font-size: 21px; }
  .plan__meta div + div { padding-left: 16px; }
  .plan__cta { align-self: stretch; }
}

/* ---------- Capabilities ---------- */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cap { padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; display: flex; flex-direction: column; }
.cap:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cap--wide { grid-column: span 2; padding: 40px; }
.cap__n { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 48px; display: inline-flex; align-items: center; gap: 10px; }
.cap__n::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.cap h3 { font-size: 22px; margin-bottom: 10px; }
.cap--wide h3 { font-size: 32px; letter-spacing: -0.03em; }
.cap p { color: var(--muted); font-size: 15.5px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.ticks li { font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%231F4BFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 1000px) { .caps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .caps { grid-template-columns: 1fr; } .cap--wide { grid-column: auto; } .cap, .cap--wide { padding: 26px 22px; } .cap__n { margin-bottom: 28px; } .cap--wide h3 { font-size: 26px; } }

/* ---------- Work ---------- */
.work { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case { border-radius: 26px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .4s, transform .5s var(--ease); }
.case:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.case:hover .case__art > * { transform: scale(1.05); }
.case--lg { grid-column: 1 / -1; flex-direction: row; }
.case--lg .case__art { flex: 1.25; min-height: 420px; }
.case--lg .case__body { flex: 1; justify-content: center; padding: 56px; }
.case--lg h3 { font-size: 40px; letter-spacing: -0.035em; }
.case__art { position: relative; min-height: 280px; display: grid; place-items: center; overflow: hidden; margin: 8px; border-radius: 20px; }
.case__art > * { transition: transform .9s var(--ease); }
.case__body { padding: 24px 32px 34px; display: flex; flex-direction: column; gap: 12px; }
.case__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case__tags span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 4px 10px; border-radius: 99px; background: var(--bg); }
.case h3 { font-size: 26px; letter-spacing: -0.025em; }
.case p { color: var(--muted); font-size: 15.5px; }
.case__result { margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink) !important; display: flex; align-items: baseline; gap: 10px; }
.case__result b { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; color: var(--accent); }
.case__quote { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 21px; line-height: 1.3; color: var(--ink) !important; }
.case__quote span { display: block; margin-top: 6px; font-family: var(--sans); font-size: 13px; color: var(--muted); }

/* Work art: product images */
.case__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-career { background: #1A1433; }
.art-golf { background: #1B1D21; }
.art-train { background: #070A1A; }
.art-ev { background: #E9E2D3; }
.art-inv { background: #EFE6DA; }
.case--lg .art-career { aspect-ratio: 16 / 9; min-height: 0; }
.case:not(.case--lg) .case__art { aspect-ratio: 4 / 3; min-height: 0; }

@media (max-width: 900px) {
  .case--lg { flex-direction: column; }
  .case--lg .case__art { min-height: 0; }
  .case--lg .case__body { padding: 24px 32px 34px; }
  .case--lg h3 { font-size: 30px; }
}
@media (max-width: 760px) {
  .work { grid-template-columns: 1fr; }
  .case__body, .case--lg .case__body { padding: 20px 20px 26px; }

}

/* ---------- Indonesia ---------- */
.id-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.id-copy { position: sticky; top: 120px; }
.region-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.region-tags li { font-size: 14px; padding: 8px 16px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.perk { padding: 30px 28px 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.perk:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.perk__n { font-family: var(--serif); font-style: italic; font-size: 36px; line-height: 1; color: var(--accent); }
.perk h3 { font-size: 22px; margin: 40px 0 10px; }
.perk p { color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) { .id-grid { grid-template-columns: 1fr; gap: 48px; } .id-copy { position: static; } }
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } .perk h3 { margin-top: 24px; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.step { padding: 40px 36px 48px 0; border-bottom: 1px solid var(--line); }
.step:not(:nth-child(3n+1)) { padding-left: 36px; border-left: 1px solid var(--line); }
.step__n { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--accent); }
.step h3 { font-size: 28px; margin: 22px 0 12px; }
.step p { color: var(--muted); font-size: 15.5px; max-width: 320px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step, .step:not(:nth-child(3n+1)) { padding: 32px 24px 36px 0; border-left: 0; }
  .step:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step:not(:nth-child(3n+1)), .step:nth-child(even) { padding: 28px 0; border-left: 0; }
}

/* ---------- Reviews ---------- */
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; flex-wrap: wrap; }
.reviews__head > div:first-child { max-width: 700px; }
.rating { display: flex; align-items: center; gap: 20px; padding: 22px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.rating__score { font-size: 64px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.rating__stars { color: var(--gold); letter-spacing: 3px; font-size: 18px; }
.rating p { font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.rating p b { color: var(--ink); }

.quotes { columns: 3 300px; column-gap: 16px; }
.quote { break-inside: avoid; margin: 0 0 16px; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; transition: transform .4s var(--ease), box-shadow .4s; }
.quote:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.quote blockquote { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }
.quote blockquote::before { content: "★★★★★"; display: block; color: var(--gold); letter-spacing: 2px; font-size: 13px; margin-bottom: 14px; }
.quote--hero { background: var(--accent); border-color: transparent; color: #fff; }
.quote--hero blockquote { font-family: var(--serif); font-size: 27px; line-height: 1.28; color: #fff; }
.quote--hero blockquote::before { color: #FFD77A; }
.quote--hero figcaption small { color: rgba(255,255,255,0.7) !important; }
.quote--hero .av { background: #fff; color: var(--accent); }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption b { display: block; font-size: 15px; font-weight: 600; }
.quote figcaption small { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.av { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--bg-tint); font-size: 13px; font-weight: 600; color: var(--ink-2); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 88px; align-items: center; }
.about__story h2 { margin-bottom: 12px; }
.about__story p:not(.label) { color: var(--muted); font-size: 18px; margin-top: 22px; max-width: 580px; }
.founder { padding: 38px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.founder__photo { margin: -18px -18px 26px; border-radius: 20px; overflow: hidden; aspect-ratio: 1 / 1; background: #8E9092; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transition: transform 1.2s var(--ease); }
.founder:hover .founder__photo img { transform: scale(1.03); }
.founder__head { display: flex; align-items: center; gap: 16px; }
.founder__head b { font-size: 26px; letter-spacing: -0.02em; display: block; line-height: 1.2; }
.founder__head small { color: var(--muted); font-size: 14px; }
.founder__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.founder__badges li { font-size: 12.5px; padding: 6px 12px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); }
.founder__badges a:hover { text-decoration: underline; }
.founder__quote { font-family: var(--serif); font-size: 25px; line-height: 1.3; }
.founder__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 28px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.founder__stats dt { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.founder__stats dd { margin: 0; font-size: 12.5px; color: var(--muted); }
.founder__links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.link-arrow { font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.link-arrow:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 480px) { .founder { padding: 28px 22px; } .founder__photo { margin: -14px -12px 22px; } .founder__quote { font-size: 21px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 88px; align-items: start; }
.faq__intro { position: sticky; top: 120px; }
.faq__list details { border-bottom: 1px solid var(--line-2); }
.faq__list details:first-child { border-top: 1px solid var(--ink); }
.faq__list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font-size: 20px; font-weight: 500; letter-spacing: -0.015em; transition: color .2s; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background-color: var(--surface); border: 1px solid var(--line-2);
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink));
  background-size: 11px 1.5px, 1.5px 11px; background-position: center; background-repeat: no-repeat;
  transition: transform .35s var(--ease), background-color .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list summary:hover { color: var(--accent); }
.faq__list details p { color: var(--muted); padding: 0 56px 30px 0; font-size: 16.5px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 40px; } .faq__intro { position: static; } .faq__list details p { padding-right: 0; } .faq__list summary { font-size: 17.5px; } }

/* ---------- CTA ---------- */
.cta-wrap { padding: 120px 0; }
.cta {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  padding: 120px 40px; border-radius: 36px;
  background: radial-gradient(700px 420px at 85% 0%, #5C7BFF, transparent 70%), radial-gradient(600px 400px at 0% 100%, #0E2AB8, transparent 70%), var(--accent);
  display: flex; flex-direction: column; align-items: center;
}
.cta__glow { position: absolute; inset: 0; pointer-events: none; opacity: 0.25; background-image: linear-gradient(rgba(255,255,255,0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.15) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 75%); }
.cta > *:not(.cta__glow) { position: relative; }
.cta .label { justify-content: center; }
.cta h2 { font-size: clamp(44px, 7vw, 96px); letter-spacing: -0.045em; max-width: 960px; }
.cta h2 em { color: #fff; opacity: 0.92; }
.cta__lede { color: rgba(255,255,255,0.78); font-size: 19px; max-width: 560px; margin-top: 26px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.cta__mail { margin-top: 28px; color: rgba(255,255,255,0.7); font-size: 15px; }
.cta__mail a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.4); }
.cta__mail a:hover { border-color: #fff; }
.cta__profiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.cta__profiles a { display: inline-block; font-size: 14px; padding: 8px 16px; border-radius: 99px; border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.85); transition: background .2s, border-color .2s; }
.cta__profiles a:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); }
@media (max-width: 640px) {
  .cta-wrap { padding: 72px 0; }
  .cta { padding: 72px 20px; border-radius: 26px; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { flex: 1 1 100%; }
  .btn--lg { height: 54px; padding: 0 20px; font-size: 15px; }
}

/* ---------- Footer ---------- */
.footer { padding: 40px 0 32px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 64px; padding-top: 40px; }
.footer__brand p { color: var(--muted); font-size: 15px; margin-top: 18px; max-width: 340px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__cols h4 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); font-weight: 400; margin-bottom: 18px; }
.footer__cols a { display: block; font-size: 15px; color: var(--ink-2); padding: 5px 0; transition: color .2s; overflow-wrap: anywhere; }
.footer__cols a:hover { color: var(--accent); }
.footer__mark { margin-top: 88px; font-size: clamp(64px, 16.5vw, 236px); font-weight: 600; letter-spacing: -0.06em; line-height: 0.8; color: var(--ink); white-space: nowrap; overflow: hidden; }
.footer__mark em { font-weight: 400; color: var(--accent); letter-spacing: -0.04em; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 560px) { .footer__cols { grid-template-columns: 1fr 1fr; } .footer__mark { margin-top: 56px; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
