/* k-dgtal: Dubai after dark. One stylesheet for every page. */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/bricolage-grotesque-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/archivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/archivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --night: #0a0b10;
  --night-2: #11131a;
  --night-3: #181b24;
  --line: rgba(242, 239, 233, .12);
  --line-2: rgba(242, 239, 233, .22);
  --text: #f2efe9;
  --muted: #a9abb5;      /* 8.4:1 on night */
  --ruby: #d42a36;       /* white text on ruby 5:1 */
  --ruby-soft: #ff6b73;  /* small ruby text on night 6.4:1 */
  --display: "Bricolage Grotesque", "Archivo", system-ui, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --head-h: 76px;
  --r: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 20px); background: var(--night); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.62;
  color: var(--text); background: var(--night);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-weight: 500; }
p, li { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--ruby); color: #fff; }
:focus-visible { outline: 2px solid var(--ruby-soft); outline-offset: 3px; border-radius: 6px; }
input, select, textarea { caret-color: var(--ruby-soft); }
html { scrollbar-color: #2c303b var(--night); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--night); padding: 10px 16px; font-weight: 700; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.tnum, .mono { font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
.head {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head-h);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.head.is-solid { background: rgba(10, 11, 16, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
.head.is-hidden { transform: translateY(-100%); }
.head-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.03em; }
.logo i { width: 12px; height: 12px; border-radius: 50%; background: var(--ruby); box-shadow: inset -2px -3px 4px rgba(0,0,0,.35), inset 2px 2px 3px rgba(255,255,255,.35); }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: .95rem; color: var(--muted); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 2px; border-radius: 2px; background: var(--ruby); }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; padding: 0; place-items: center; }
.menu-btn span, .menu-btn span::before { display: block; width: 18px; height: 1.5px; background: var(--text); position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: 6px; }
.menu-btn span { transform: translateY(-3px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--body); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  background: var(--text); color: var(--night); border: 1px solid var(--text);
  transition: transform .3s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-ruby, a.btn[href*="wa.me"] { background: var(--ruby); border-color: var(--ruby); color: #fff; }
.btn-ruby:hover, a.btn[href*="wa.me"]:hover { background: #b81f2b; border-color: #b81f2b; }
.btn-ghost, .btn-line { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover, .btn-line:hover { border-color: var(--text); }
.btn-primary { }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn .arrow { font-size: 1.05em; }
.link { color: var(--text); text-decoration: underline; text-decoration-color: var(--ruby); text-decoration-thickness: 2px; font-weight: 600; }
.link:hover { color: var(--ruby-soft); }
.link-arrow { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--ruby); text-decoration-thickness: 2px; }
.link-arrow:hover { color: var(--ruby-soft); }

/* ---------- Type ---------- */
.display, .h1 { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; line-height: .96; font-size: clamp(2.6rem, 6.4vw, 6rem); }
.display .lt, .h1 .dim { font-weight: 300; color: var(--muted); }
.h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; line-height: 1.02; font-size: clamp(2rem, 4.2vw, 3.6rem); }
.h2 .dim { font-weight: 300; color: var(--muted); }
.h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.015em; font-size: 1.3rem; line-height: 1.2; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 58ch; }
.body-copy { max-width: 68ch; color: var(--muted); }
.body-copy b, .body-copy strong { color: var(--text); }
.dim { color: var(--muted); }
.small { font-size: .9rem; color: var(--muted); }
.permit-line { display: inline-flex; align-items: baseline; gap: 10px; font-size: .95rem; color: var(--text); }
.permit-line::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ruby); transform: translateY(-1px); }

/* ---------- Home: hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-gl { position: absolute; inset: 0; z-index: -1; }
.hero-gl canvas { width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,11,16,.92) 0%, rgba(10,11,16,.55) 38%, rgba(10,11,16,0) 62%), linear-gradient(0deg, rgba(10,11,16,.95) 0%, rgba(10,11,16,0) 34%); }
.hero-fallback { position: absolute; inset: 0; z-index: -2; display: none; }
.no-gl .hero-fallback { display: block; }
.hero-fallback img { position: absolute; border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.hero-fallback .f1 { width: 46vw; right: 2vw; top: 16vh; transform: rotate(-4deg); }
.hero-fallback .f2 { width: 34vw; right: 20vw; top: 44vh; transform: rotate(3deg); opacity: .85; }
.hero-inner { padding: calc(var(--head-h) + 80px) 0 clamp(40px, 7vh, 88px); }
.hero h1 { max-width: 11ch; }
.hero .lead { margin-top: 24px; max-width: 44ch; color: #c9cad1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); max-width: 640px; }
.hero-meta .price { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; }
.hero-meta .price small { font-family: var(--body); font-weight: 400; color: var(--muted); font-size: .9rem; margin-right: 6px; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: clamp(40px, 7vh, 88px); writing-mode: vertical-rl; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Sections ---------- */
.sec { padding: clamp(88px, 13vw, 180px) 0; position: relative; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head .lead { justify-self: end; }

/* work: two concept builds */
.work-item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.work-item + .work-item { margin-top: clamp(96px, 12vw, 160px); }
.frame {
  position: relative; margin: 0; border-radius: 22px; overflow: hidden;
  background: var(--night-2); border: 1px solid var(--line);
  box-shadow: 0 60px 120px -50px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02);
  transform-origin: 50% 0;
}
.frame-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2d37; }
.frame-bar span { margin-left: 10px; }
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.frame .phone { position: absolute; right: 3%; bottom: -8%; width: 19%; aspect-ratio: 390 / 844; border-radius: 26px; border: 6px solid #1d2029; box-shadow: 0 40px 70px -20px rgba(0,0,0,.9); }
.work-cap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 20px 48px; align-items: start; padding-top: 6px; }
.work-cap h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; }
.work-cap .tag-demo { display: inline-block; margin-top: 12px; font-size: .8rem; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 12px; }
.work-cap p { color: var(--muted); margin: 0; }
.work-note { margin-top: clamp(56px, 7vw, 96px); color: var(--muted); max-width: 60ch; }

/* pricing */
.price-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.big-price { font-family: var(--display); font-weight: 600; letter-spacing: -.05em; line-height: .85; font-size: clamp(4.2rem, 11vw, 9.5rem); font-variant-numeric: tabular-nums; }
.big-price small { display: block; font-family: var(--body); font-weight: 400; letter-spacing: 0; font-size: 1rem; color: var(--muted); margin-bottom: 18px; }
.big-price .cur { font-weight: 300; color: var(--muted); font-size: .42em; letter-spacing: -.02em; margin-right: .12em; vertical-align: .9em; }
.price-side { position: sticky; top: calc(var(--head-h) + 40px); }
.price-side p { color: var(--muted); max-width: 40ch; margin-top: 22px; }
.price-side .permit-box { margin-top: 32px; border: 1px solid var(--line-2); border-radius: var(--r); padding: 22px 24px; }
.price-side .permit-box p { margin: 10px 0 18px; }
.terms-list { list-style: none; border-top: 1px solid var(--line); }
.terms-list li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.terms-list b { font-weight: 600; color: var(--text); }
.terms-list span { color: var(--muted); }
.terms-list .hl { color: var(--text); }
.terms-foot { margin-top: 24px; }

/* steps */
.steps-line { position: relative; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 20px; padding-top: 44px; }
.steps-line::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-2); }
.steps-line .progress { position: absolute; left: 0; top: 6px; height: 3px; width: 100%; background: var(--ruby); transform-origin: 0 50%; transform: scaleX(var(--prog, 1)); border-radius: 2px; }
.steps-line li { position: relative; }
.steps-line li::before { content: ""; position: absolute; top: -44px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--night); border: 1.5px solid var(--text); }
.steps-line li.is-open::before { background: var(--ruby); border-color: var(--ruby); }
.steps-line li.is-later::before { border-style: dashed; border-color: var(--muted); }
.steps-line .n { display: block; font-variant-numeric: tabular-nums; color: var(--muted); font-size: .85rem; margin-bottom: 8px; }
.steps-line h3 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.2; margin-bottom: 8px; }
.steps-line p { color: var(--muted); font-size: .95rem; line-height: 1.5; margin: 0; }
.steps-note { margin-top: clamp(48px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; padding: 24px 28px; border: 1px solid var(--line-2); border-radius: var(--r); }
.steps-note p { margin: 0; max-width: 62ch; }

/* apps */
.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.app { display: block; text-decoration: none; color: var(--text); }
.app .shot { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--night-2); aspect-ratio: 16 / 10.5; }
.app .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .8s var(--ease); }
.app:hover .shot img { transform: scale(1.03); }
.app-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 20px; }
.app h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; font-size: 1.7rem; }
.app .status { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.app .status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3ccf7a; margin-right: 8px; transform: translateY(-1px); }
.app p { color: var(--muted); margin: 8px 0 0; max-width: 52ch; }
.app .price { color: var(--text); font-weight: 600; }
.later { margin-top: clamp(40px, 5vw, 64px); list-style: none; border-top: 1px solid var(--line); }
.later li a { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr) auto; gap: 16px 32px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .4s var(--ease); }
.later li a:hover { padding-left: 12px; }
.later h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; font-size: 1.4rem; }
.later p { margin: 0; color: var(--muted); }
.later .status { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.later .status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; border: 1.5px dashed var(--muted); margin-right: 8px; }

/* about strip */
.about-grid { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-grid .label { color: var(--muted); font-size: .95rem; padding-top: .7em; }
.about-quote { font-family: var(--display); font-weight: 400; letter-spacing: -.025em; line-height: 1.18; font-size: clamp(1.6rem, 3.1vw, 2.7rem); }
.about-quote b { font-weight: 600; }
.about-grid .actions { margin-top: 32px; }

/* close */
.close { text-align: left; }
.close .display { max-width: 12ch; }
.close .lead { margin-top: 24px; }
.close .hero-actions { margin-top: 36px; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 32px; background: var(--night); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot p { color: var(--muted); max-width: 36ch; margin-top: 16px; }
.foot h2 { font-family: var(--body); font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ruby-soft); }
.foot-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--muted); font-size: .88rem; }
.foot-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; background: var(--night); padding: 0 var(--gutter) 32px; display: flex; flex-direction: column; gap: 24px;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; overflow-y: auto; }
.drawer.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.drawer-top { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; }
.drawer-close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.drawer nav ul { list-style: none; border-top: 1px solid var(--line); }
.drawer nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 2.1rem; letter-spacing: -.03em; text-decoration: none; }
.drawer nav a[aria-current="page"] { color: var(--ruby-soft); }
.drawer .btn { width: 100%; }
.drawer-meta { display: grid; gap: 6px; color: var(--muted); }
body.nav-open { overflow: hidden; }

/* ======================================================================
   Inner pages: shared page markup in the same world
   ====================================================================== */
.hero-surface { padding-top: var(--head-h); border-bottom: 1px solid var(--line); background: radial-gradient(1200px 500px at 85% 0%, #1a1d28 0%, rgba(10,11,16,0) 70%), var(--night); }
.page-hero { padding-bottom: 0; }
.page-hero .wrap { padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 7vw, 96px); }
.page-hero .h1, .detail-hero .h1, .not-found .display { font-size: clamp(2.5rem, 5.6vw, 5.2rem); max-width: 16ch; }
.page-hero .lead, .detail-hero .lead, .not-found .lead { margin-top: 24px; }
.about-hero-grid { display: block; }
.breadcrumb { padding-top: 28px; }
.breadcrumb ol { list-style: none; display: flex; gap: 8px; font-size: .9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.breadcrumb a { color: var(--muted); }
.detail-hero { padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 112px); }
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-split-phone { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tag { display: inline-flex; align-items: center; font-size: .8rem; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.tag.is-live { color: var(--text); border-color: rgba(60, 207, 122, .5); }
.tag.is-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ccf7a; margin-right: 8px; }
.tag.is-next { border-style: dashed; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.hero-actions, .actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 20px; color: var(--muted); font-size: .95rem; }
.hero-note b { color: var(--text); }
.hero-status { display: flex; gap: 10px; align-items: flex-start; }
.hero-status svg { width: 18px; flex: none; margin-top: 4px; }

.app-frame, .mock { margin: 0; border-radius: 22px; overflow: hidden; background: var(--night-2); border: 1px solid var(--line); box-shadow: 0 60px 120px -50px rgba(0,0,0,.9); }
.app-frame-bar, .mock-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.app-frame-dots { display: inline-flex; gap: 6px; }
.app-frame-dots i, .mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2d37; display: inline-block; }
.app-frame-url { flex: 1; margin-left: 6px; }
.app-frame-badge { border: 1px solid rgba(60,207,122,.5); border-radius: 999px; padding: 1px 10px; color: var(--text); }
.mock-body { padding: 20px; }
.mock-deck { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 16px; }
.mock-deck-list { list-style: none; display: grid; gap: 6px; font-size: .88rem; }
.mock-deck-list li { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); }
.mock-deck-list li.is-current { color: var(--text); border-color: var(--ruby); background: rgba(212,42,54,.12); }
.mock-stage { background: #000; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: 180px; border: 1px solid var(--line); }
.mock-stage small { color: var(--ruby-soft); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.mock-stage p { font-family: var(--display); font-size: clamp(1.1rem, 1.7vw, 1.5rem); margin: 0; letter-spacing: -.01em; }
.mock-stage span { font-size: .82rem; color: var(--muted); }
.mock-quest-head { display: flex; justify-content: space-between; color: var(--muted); font-size: .85rem; }
.mock-progress { height: 6px; background: var(--night-3); border-radius: 999px; margin: 14px 0 22px; overflow: hidden; }
.mock-progress span { display: block; height: 100%; background: var(--ruby); }
.mock-quest-prompt p { font-family: var(--display); font-weight: 600; font-size: 1.6rem; letter-spacing: -.02em; margin-bottom: 18px; }
.mock-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock-answers span { display: grid; place-items: center; height: 80px; border: 1px solid var(--line-2); border-radius: 14px; font-family: var(--display); font-size: 1.7rem; }
.mock-answers .is-picked { border-color: var(--ruby); background: rgba(212,42,54,.14); }
.phone-shot { margin: 0; justify-self: center; width: min(320px, 100%); }
.phone-frame { border-radius: 40px; padding: 8px; background: #1a1d26; border: 1px solid var(--line-2); box-shadow: 0 60px 120px -40px rgba(0,0,0,.95); }
.phone-frame video { border-radius: 32px; width: 100%; background: #000; }
.phone-shot figcaption { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; color: var(--muted); font-size: .9rem; }
.phone-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; display: grid; place-items: center; padding: 0; }
.phone-toggle[hidden] { display: none; }
.phone-toggle svg { width: 16px; }
.phone-toggle .i-play { display: none; }
.phone-toggle.is-paused .i-play { display: block; }
.phone-toggle.is-paused .i-pause { display: none; }

.section { padding: clamp(72px, 10vw, 140px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-tight { padding: clamp(48px, 6vw, 88px) 0; }
.section-band { background: var(--night-2); border-block: 1px solid var(--line); }
.section-head, .sec-header-bar { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-sub { margin-top: 14px; color: var(--muted); max-width: 60ch; }
.sec-label { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.card { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 2.8vw, 34px); }
.section-band .card { background: var(--night-3); }
.card p, .card li { color: var(--muted); }
.card .h3, .card h3 { margin-bottom: 10px; color: var(--text); }
.card-interactive { text-decoration: none; transition: border-color .3s, transform .4s var(--ease); }
.card-interactive:hover { border-color: var(--line-2); transform: translateY(-3px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(16px, 2vw, 24px); counter-reset: s; }
.steps .step { counter-increment: s; }
.steps .step .h3::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--body); font-weight: 400; font-size: .85rem; color: var(--ruby-soft); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.checklist { list-style: none; display: grid; gap: 10px; margin: 18px 0; }
.checklist li { position: relative; padding-left: 26px; color: var(--muted); }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 12px; height: 1.5px; background: var(--ruby); }
.spec-list { list-style: none; border-top: 1px solid var(--line); }
.spec-list li { display: grid; grid-template-columns: minmax(100px, 38%) 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec-list .k { color: var(--muted); }
.spec-list .v { color: var(--text); }
.spec-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.spec-strip > div { display: grid; gap: 4px; padding: 22px 20px 22px 0; }
.spec-strip > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.spec-strip small { color: var(--muted); font-size: .85rem; }
.spec-strip b { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.015em; }
.callout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.callout .h2 { margin-bottom: 16px; }
.dp-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 22px; }
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; padding: clamp(32px, 5vw, 64px); background: radial-gradient(900px 400px at 100% 0%, rgba(212,42,54,.18), rgba(212,42,54,0) 60%), var(--night-2); }
.cta-band .lead { margin-top: 14px; }
.cta-band .actions, .cta-band .cta-actions { margin-top: 0; }
.faq { margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.faq .h2 { margin: 0 0 24px; padding-top: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 0; font-family: var(--display); font-weight: 500; font-size: 1.2rem; letter-spacing: -.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ruby-soft); font-weight: 300; font-size: 1.4rem; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 70ch; color: var(--muted); }
.faq a { color: var(--text); }
.ph-stats .h2 { margin-bottom: 8px; }
.ph-stats-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 40px 0 24px; }
.ph-stat { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line-2); padding-top: 18px; }
.ph-stat-value { font-family: var(--display); font-weight: 600; letter-spacing: -.04em; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.ph-stat-label { font-weight: 600; }
.ph-stat-note { font-size: .93rem; color: var(--muted); }
.ph-stats-source { font-size: .85rem; color: var(--muted); margin: 0; max-width: 90ch; }
.setup-video { margin: clamp(40px, 5vw, 64px) 0 0; }
.setup-video-frame { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #000; }
.setup-video-frame video { width: 100%; }
.setup-video-tall { display: none; }
.setup-video figcaption { margin-top: 14px; color: var(--muted); }
.setup-video figcaption b { color: var(--text); }
.setup-script { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.setup-script summary { cursor: pointer; font-weight: 600; }
.setup-script p { margin-top: 10px; max-width: 72ch; color: var(--muted); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pager small { display: block; color: var(--muted); }
.pager b { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; }
.pager-next { text-align: right; }
.pager-all { margin-top: 22px; text-align: center; }
.legal-note, .tech-note { margin-top: 28px; font-size: .9rem; color: var(--muted); max-width: 90ch; }
.legal-note a, .tech-note a { color: var(--text); }

/* products index */
.catalog-group + .catalog-group { margin-top: clamp(64px, 8vw, 112px); }
.product-catalog { display: grid; gap: clamp(20px, 3vw, 32px); }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, 1fr); gap: clamp(24px, 4vw, 56px); }
.catalog-group:last-child .product-detail { background: transparent; border-style: dashed; }
.product-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.product-title-link { text-decoration: none; }
.product-title-link:hover { color: var(--ruby-soft); }
.product-detail .h2 { margin: 6px 0 14px; font-size: clamp(2rem, 3.4vw, 3rem); }
.product-side { display: grid; gap: 18px; align-content: start; }
.product-shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.product-shot.is-portrait { width: 50%; justify-self: center; border-radius: 26px; }

/* about */
.story { display: grid; gap: 18px; max-width: 70ch; }
.founder-note { display: grid; gap: 20px; }
.founder-body { display: grid; gap: 18px; }
.founder-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.founder-title { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.05; color: var(--text); }
.founder-copy { display: grid; gap: 14px; max-width: 70ch; }
.founder-sign { font-family: var(--display); font-weight: 500; font-size: 1.1rem; color: var(--text); }
.founder-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 18px; }
.pillars-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.pillar-col { padding: 32px 28px 32px 0; }
.pillar-col + .pillar-col { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar-col p { color: var(--muted); }
.pillar-col .h3 { margin-bottom: 10px; }
.principles { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.principle-card .t { display: block; font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: 8px; color: var(--text); }
.principle-card .d { color: var(--muted); font-size: .95rem; }

/* contact */
.contact-wa { margin-bottom: clamp(18px, 2.4vw, 28px); background: radial-gradient(800px 400px at 0% 0%, rgba(212,42,54,.2), rgba(212,42,54,0) 60%), var(--night-2); }
.contact-wa .h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.03em; }
.contact-cards { margin-bottom: clamp(18px, 2.4vw, 28px); }
.contact-card .addr { display: inline-block; margin: 14px 0; font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; color: var(--text); }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; font-size: .92rem; color: var(--muted); }
.copy-btn { border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: 6px 14px; cursor: pointer; min-height: 36px; }
.copy-btn:hover { border-color: var(--text); }
.form-shell { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 56px); margin-bottom: clamp(18px, 2.4vw, 28px); }
.form-intro .h2 { margin-bottom: 14px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .92rem; color: var(--text); }
.field-optional { color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); background: var(--night); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; min-height: 52px; }
.field select option { background: var(--night); }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8b8e99; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ruby-soft); box-shadow: 0 0 0 3px rgba(255,107,115,.25); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--ruby-soft); }
.field-error { color: var(--ruby-soft); font-size: .88rem; margin: 0; }
.field-error:empty { display: none; }
.form-status { border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; }
.form-status[hidden] { display: none; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.form-note { margin: 0; font-size: .95rem; color: var(--muted); }
.form-note a { color: var(--text); }
.policy-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 22px; }
.policy-group-title { font-family: var(--display); font-weight: 600; font-size: 1.05rem; margin-bottom: 10px; }
.policy-links { list-style: none; display: grid; }
.policy-links li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding: 9px 0; font-size: .95rem; color: var(--muted); }
.policy-links a { color: var(--text); }
.policy-link-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.policy-meta-row { list-style: none; display: grid; gap: 4px; margin: 12px 0 18px; color: var(--muted); }
.policy-meta-row strong { color: var(--text); font-weight: 600; }
.policy-toc ol { list-style: none; border-top: 1px solid var(--line); }
.policy-toc li { border-bottom: 1px solid var(--line); }
.policy-toc a { display: flex; gap: 16px; align-items: baseline; padding: 12px 0; text-decoration: none; }
.policy-toc a:hover { color: var(--ruby-soft); }
.policy-toc .mono { color: var(--muted); font-variant-numeric: tabular-nums; }

/* legal */
section.legal-section { padding: clamp(56px, 7vw, 96px) 0; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--head-h) + 32px); }
.legal-toc ol, .legal-toc ul { list-style: none; display: grid; gap: 2px; }
.legal-layout .legal-toc a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; font-size: .93rem; }
.legal-layout .legal-toc a:hover { color: var(--text); }
.legal-toc h2, .legal-toc .legal-summary-title { color: var(--text); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; font-family: var(--body); font-weight: 600; }
.legal-body { max-width: 720px; }
.legal-body p, .legal-body li { color: #c9cad1; }
.legal-body b, .legal-body strong { color: var(--text); }
.legal-date { display: inline-block; margin-top: 22px; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 14px; font-size: .88rem; color: var(--muted); }
.legal-summary { border: 1px solid var(--line-2); border-radius: var(--r); padding: 24px 26px; margin-bottom: 40px; background: var(--night-2); }
.legal-summary ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.legal-summary li { padding-left: 22px; position: relative; }
.legal-summary li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 1.5px; background: var(--ruby); }
.legal-body .legal-summary-title { font-family: var(--display); font-weight: 600; font-size: 1.3rem; margin-bottom: 14px; color: var(--text); }
.legal-body section[id] { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--line); }
.legal-body section[id]:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.legal-body h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.1; margin-bottom: 14px; color: var(--text); }
.legal-body h3 { font-family: var(--display); font-weight: 600; font-size: 1.1rem; margin: 20px 0 8px; }
.legal-body ul, .legal-body ol { padding-left: 1.2em; display: grid; gap: 6px; margin: 0 0 1em; }
.legal-body a, .prose a { color: var(--text); text-decoration-color: var(--ruby); text-decoration-thickness: 2px; }
.prose { max-width: 68ch; }
.prose-callout { background: var(--night-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 16px 20px; margin: 18px 0; }

/* 404 */
.not-found .wrap { padding: clamp(80px, 12vw, 160px) 0; }

/* retired decoration */
.bot-stage, .bot-unit, [data-bot-stage] { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps-line { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }
  .steps-line::before, .steps-line .progress { display: none; }
  .ph-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-cap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .work-cap .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 900px) {
  :root { --head-h: 64px; }
  .nav, .head .btn { display: none; }
  .menu-btn { display: grid; }
  .hero { align-items: flex-end; min-height: 100svh; }
  .hero::after { background: linear-gradient(0deg, rgba(10,11,16,.98) 0%, rgba(10,11,16,.9) 45%, rgba(10,11,16,.15) 75%, rgba(10,11,16,0) 100%); }
  .hero-inner { padding-top: 46svh; }
  .scroll-cue { display: none; }
  .sec-head, .price-grid, .about-grid, .hero-split, .hero-split-phone, .callout, .product-detail, .form-shell, .legal-layout, .policy-link-card, .work-cap { grid-template-columns: minmax(0, 1fr); }
  .sec-head .lead { justify-self: start; }
  .price-side { position: static; }
  .apps, .grid-3, .grid-2, .pillars-strip { grid-template-columns: minmax(0, 1fr); }
  .pillar-col, .pillar-col + .pillar-col { padding: 26px 0; border-left: 0; }
  .pillar-col + .pillar-col { border-top: 1px solid var(--line); }
  .later li a { grid-template-columns: minmax(0, 1fr) auto; }
  .later li a p { grid-column: 1 / -1; grid-row: 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .legal-toc { position: static; }
  .spec-strip { grid-template-columns: 1fr 1fr; }
  .spec-strip > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .spec-strip > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .mock-deck { grid-template-columns: minmax(0, 1fr); }
  .setup-video-wide { display: none; }
  .setup-video-tall { display: block; }
  .setup-video-frame { max-width: 380px; margin-inline: auto; }
  .frame .phone { width: 24%; border-width: 4px; border-radius: 18px; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .steps-line { grid-template-columns: minmax(0, 1fr); padding-top: 0; row-gap: 0; }
  .steps-line li { padding: 0 0 28px 34px; }
  .steps-line li::before { top: 4px; left: 0; }
  .steps-line li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 22px; bottom: 4px; width: 1px; background: var(--line-2); }
  .terms-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .form-row, .ph-stats-grid, .pager { grid-template-columns: minmax(0, 1fr); }
  .pager-next { text-align: left; }
  .hero-actions .btn, .steps-note .btn { width: 100%; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .product-shot.is-portrait { width: 70%; }
  .frame-bar span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.steps-wrap { position: relative; }
.steps-wrap .progress { position: absolute; left: 0; right: 0; top: 6px; height: 3px; background: var(--ruby); transform-origin: 0 50%; transform: scaleX(var(--prog, 1)); border-radius: 2px; z-index: 1; }
.steps-line li::before { z-index: 2; }
@media (max-width: 1080px) { .steps-wrap .progress { display: none; } }

.hero { min-height: min(100svh, 1000px); }
.price-side .big-price { color: var(--text); margin-top: 0; }

/* ---------- Review fixes (2026-12-05) ---------- */
.about-grid { grid-template-columns: minmax(0, 1fr); }
.about-grid > div { max-width: 980px; }
.principles { gap: 0; border-block: 1px solid var(--line); }
.principles .principle-card { background: transparent; border: 0; border-radius: 0; padding: 28px 22px 28px 0; }
.principles .principle-card + .principle-card { padding-left: 22px; border-left: 1px solid var(--line); }
@media (max-width: 900px) {
  .principles .principle-card, .principles .principle-card + .principle-card { padding: 22px 0; border-left: 0; }
  .principles .principle-card + .principle-card { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .hero-inner { display: flex; flex-direction: column; padding-top: 30svh; padding-bottom: 32px; }
  .hero .lead { margin-top: 16px; }
  .hero-meta { order: 2; margin-top: 20px; padding-top: 14px; gap: 6px 18px; }
  .hero-actions { order: 3; margin-top: 20px; }
}
