/* RackHatch product site: rackhatch.jesoralabs.com */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-var.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --navy: #1e1b4b;
  --navy-2: #151338;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --tint: #f5f7fc;
  --blue: #2563eb;
  --blue-d: #1d4ed8;
  --violet: #7c3aed;
  --green: #16a34a;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 30px 80px -20px rgba(30, 27, 75, .45), 0 10px 30px -10px rgba(15, 23, 42, .25);
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Sora", "Inter", "Segoe UI", system-ui, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
b, strong { color: var(--ink); font-weight: 600; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; border-radius: 6px; }

.sprite { display: none; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.i .fill, .i.fill { fill: currentColor; stroke: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.wrap.narrow { max-width: 860px; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px; border-radius: 12px; border: 1px solid transparent;
  font: 600 15px/1.2 var(--font-body); cursor: pointer; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .i { width: 20px; height: 20px; }
.btn span { display: flex; flex-direction: column; text-align: left; }
.btn small { font-weight: 450; font-size: 12.5px; opacity: .8; margin-top: 3px; }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; gap: 8px; }
.btn-sm .i { width: 17px; height: 17px; }
.btn-lg { padding: 13px 22px; font-size: 16px; border-radius: 14px; }
.btn-lg .i { width: 22px; height: 22px; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -6px rgba(37, 99, 235, .55); }
.btn-primary:hover { background: var(--blue-d); box-shadow: 0 12px 26px -8px rgba(37, 99, 235, .6); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); }
.btn-ghost-dark { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost-dark:hover { border-color: #cbd5e1; box-shadow: var(--shadow); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .35); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-row.center { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 22px; }
.text-link .i { transition: transform .15s ease; }
.text-link:hover .i { transform: translateX(3px); }

/* downloads paused by the admin (site.js) */
.btn.is-paused, .footer nav a.is-paused { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; text-decoration: none; }
.dl-note {
  display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0; padding: 10px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #e2e8f0; font-size: 15px; text-align: left;
}
.dl-note[hidden] { display: none; }
.dl-note .i { color: #fcd34d; width: 18px; height: 18px; }
.final .dl-note { margin: 0 0 26px; }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(21, 19, 56, .82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); }
.header-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 700 19px/1 var(--font-display); letter-spacing: -.01em; text-decoration: none !important; }
.brand img { border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: rgba(255, 255, 255, .78); font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 9px; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav .i { width: 17px; height: 17px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; border-radius: 9px; cursor: pointer; }
.menu-btn .i { width: 24px; height: 24px; }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden; color: #cbd5e1;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(124, 58, 237, .35), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(37, 99, 235, .30), transparent 60%),
    linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
  padding: 72px 0 56px;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + 72px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 64px; }
.hero-copy { text-align: center; max-width: 860px; display: flex; flex-direction: column; align-items: center; }
.hero-copy .cta-row { justify-content: center; }
/* brand lockup: the app icon, RackHatch and Jesora Labs */
.hero-brand { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-bottom: 8px; }
.app-badge { position: relative; width: 112px; height: 112px; animation: float 6s ease-in-out infinite; }
.app-badge::before {
  content: ""; position: absolute; inset: -46px; border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, .55) 0%, rgba(124, 58, 237, .28) 38%, transparent 68%);
  animation: glow 4s ease-in-out infinite;
}
.app-badge::after {
  content: ""; position: absolute; inset: -12px; border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
}
.app-badge img {
  position: relative; z-index: 1; width: 112px; height: 112px; border-radius: 26px;
  box-shadow: 0 24px 50px -12px rgba(37, 99, 235, .75), 0 0 0 1px rgba(255, 255, 255, .18) inset;
}
.lockup { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.lockup-name { font: 700 34px/1 var(--font-display); color: #fff; letter-spacing: -.02em; }
.lockup-sep { width: 1px; height: 34px; background: linear-gradient(transparent, rgba(255, 255, 255, .35), transparent); }
.lockup-by { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; }
.lockup-by span { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #a5b4fc; }
.lockup-by img { height: 40px; width: auto; transition: opacity .15s ease; }
.lockup-by:hover img { opacity: .85; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes glow { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: #dbeafe;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
}
.pill .i { width: 15px; height: 15px; color: #93c5fd; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.6vw, 68px); font-weight: 700; margin: 22px 0 20px; letter-spacing: -.03em; }
.grad { background: linear-gradient(90deg, #60a5fa, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 20px; line-height: 1.6; color: #cbd5e1; max-width: 36em; margin-bottom: 34px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; font-size: 14.5px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .i { color: #4ade80; width: 18px; height: 18px; }
.hero-shot { margin: 0; position: relative; width: 100%; max-width: 1100px; }
.hero-shot::before {
  content: ""; position: absolute; inset: 8% -4% -6% 6%; border-radius: 30px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .55), rgba(124, 58, 237, .55)); filter: blur(50px); opacity: .55;
}
.window {
  position: relative; border-radius: 14px; overflow: hidden; background: #0b1020;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08);
}
.hero-shot .window { transform: perspective(2400px) rotateX(8deg); transform-origin: center top; }
.no-list { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
.no-list li {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  padding: 14px 16px; border-radius: 14px; font-weight: 500; color: #e2e8f0; font-size: 15px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
}
.no-list .i { color: #fca5a5; width: 18px; height: 18px; }

/* ------------------------------------------------------------ sections */
.section { padding: 96px 0; }
.section.tint { background: var(--tint); }
.head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.section h2, .guide h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; }
.sub { font-size: 18px; color: var(--muted); margin-top: 16px; }

/* how it works */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; margin-bottom: 56px; }
.node {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; text-align: center; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.node strong { font-family: var(--font-display); font-size: 17px; }
.node span:last-child { font-size: 14.5px; color: var(--muted); }
.node-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #eff6ff; color: var(--blue); margin-bottom: 8px; }
.node-ico .i { width: 26px; height: 26px; }
.node-accent { background: linear-gradient(160deg, #1e1b4b, #312e81); border-color: transparent; color: #c7d2fe; }
.node-accent strong { color: #fff; }
.node-accent span:last-child { color: #c7d2fe; }
.node-accent .node-ico { background: rgba(255, 255, 255, .1); color: #a5b4fc; }
.link { position: relative; width: 150px; display: flex; align-items: center; justify-content: center; }
.link::before {
  content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 14px);
  background-size: 28px 2px; animation: dash 1.2s linear infinite;
}
.link::after { content: ""; position: absolute; right: 2px; top: calc(50% - 5px); border: 5px solid transparent; border-left: 7px solid var(--blue); }
.link span { position: relative; background: var(--bg); padding: 4px 8px; font-size: 12.5px; font-weight: 600; color: var(--blue); border-radius: 8px; text-align: center; line-height: 1.35; transform: translateY(-26px); }
@keyframes dash { to { background-position: 28px 0; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { position: relative; padding: 4px 0 0 60px; }
.steps .num {
  position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font: 700 18px/1 var(--font-display); color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet));
}
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* features */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c7d2fe; }
.card-ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, #eff6ff, #f5f3ff); color: var(--blue); margin-bottom: 18px; }
.card-ico .i { width: 24px; height: 24px; }
.card h3 { font-size: 18.5px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* screenshots */
.shot-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.shot-tabs button {
  font: 600 14.5px/1 var(--font-body); color: var(--text); background: #fff; border: 1px solid var(--line);
  padding: 10px 16px; border-radius: 999px; cursor: pointer; transition: all .15s ease;
}
.shot-tabs button:hover { border-color: #93c5fd; color: var(--blue); }
.shot-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.shot-stage { margin: 0 auto; max-width: 1080px; }
.shot-stage img { transition: opacity .25s ease; }
.shot-stage img.is-loading { opacity: .35; }
.shot-stage figcaption { text-align: center; color: var(--muted); margin-top: 18px; font-size: 15.5px; }

/* details */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.split h2 { margin-top: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.tick { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; background: #eff6ff; color: var(--blue); }
.tick .i { width: 20px; height: 20px; }
.ticks strong { font-family: var(--font-display); font-size: 16.5px; display: block; margin-bottom: 3px; }
.ticks p { color: var(--muted); font-size: 15px; }

/* security */
.section.dark {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(124, 58, 237, .25), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #cbd5e1;
}
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: #93c5fd; }
.dark .sub { color: #a5b4fc; }
.sec-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.sec { grid-column: span 2; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 26px; }
.sec:nth-child(4) { grid-column: 2 / span 2; }
.sec > .i { width: 28px; height: 28px; color: #93c5fd; margin-bottom: 14px; }
.sec h3 { font-size: 18px; margin-bottom: 8px; }
.sec p { font-size: 15px; color: #cbd5e1; }

/* pricing */
.plans { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; max-width: 1000px; margin: 0 auto; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan h3 { font-size: 21px; }
.plan .price { margin-top: 18px; }
.amount { font: 700 40px/1 var(--font-display); color: var(--ink); letter-spacing: -.02em; }
.per { font-size: 16px; color: var(--muted); margin-left: 6px; }
.price small { display: block; color: var(--muted); font-size: 14px; margin-top: 8px; }
.plan-sub { color: var(--muted); margin-top: 8px; }
.plan-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 11px; flex: 1; align-content: start; }
.plan-list li { display: flex; gap: 10px; font-size: 15.5px; }
.plan-list .i { color: var(--green); width: 20px; height: 20px; margin-top: 2px; }
.plan-pro { position: relative; border: 0; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--blue), var(--violet)) border-box; border: 2px solid transparent; }
.badge { display: inline-block; align-self: flex-start; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet)); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.price-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.price-pair .price { background: var(--tint); border-radius: 14px; padding: 18px; }
.plan-note { background: #eff6ff; color: #1e3a8a; border-radius: 12px; padding: 13px 16px; font-size: 14.5px; }
.plan-note b { color: #1e3a8a; }
.fine { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }

/* requirements */
.two { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.panel h3 { font-size: 20px; margin-bottom: 18px; }
.reqs { margin: 0; display: grid; gap: 4px; }
.reqs dt { font-weight: 600; color: var(--ink); margin-top: 12px; }
.reqs dt:first-child { margin-top: 0; }
.reqs dd { margin: 0; color: var(--muted); font-size: 15.5px; }
.policy { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.policy summary { cursor: pointer; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 8px; list-style: none; }
.policy summary::-webkit-details-marker { display: none; }
.policy summary .i { transition: transform .2s ease; transform: rotate(-90deg); }
.policy[open] summary .i { transform: none; }
.policy .fine { text-align: left; margin-top: 12px; }
.code { position: relative; margin-top: 16px; background: #0f172a; border-radius: 14px; overflow: hidden; }
.code pre { margin: 0; padding: 20px; overflow-x: auto; color: #e2e8f0; font: 13.5px/1.6 ui-monospace, "Cascadia Code", Consolas, monospace; font-variant-ligatures: none; }
.copy {
  position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .1); color: #e2e8f0; border: 1px solid rgba(255, 255, 255, .15); border-radius: 8px;
  padding: 6px 10px; font: 600 12.5px/1 var(--font-body); cursor: pointer;
}
.copy:hover { background: rgba(255, 255, 255, .18); }
.copy .i { width: 15px; height: 15px; }
.start { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 14px; }
.start li { counter-increment: s; position: relative; padding-left: 44px; font-size: 15.5px; }
.start li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--navy); color: #fff; font: 700 14px/1 var(--font-display);
}

/* guide */
.guide {
  display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center;
  background: linear-gradient(135deg, #eff6ff, #f5f3ff); border: 1px solid #dbeafe; border-radius: 28px; padding: 48px 56px;
}
.guide-cover { display: block; text-decoration: none !important; perspective: 900px; }
.guide-page {
  width: 230px; aspect-ratio: 210 / 297; background: #fff; border-radius: 6px; padding: 24px 20px;
  display: flex; flex-direction: column; gap: 4px; box-shadow: 0 24px 50px -16px rgba(30, 27, 75, .4), 0 0 0 1px rgba(15, 23, 42, .06);
  transform: rotateY(12deg) rotateZ(-2deg); transition: transform .3s ease;
}
.guide-cover:hover .guide-page { transform: rotateY(0) rotateZ(0); }
.guide-page img:first-child { border-radius: 9px; margin-bottom: 14px; }
.guide-page b { font: 700 22px/1.1 var(--font-display); }
.guide-page small { color: var(--blue); font-weight: 600; font-size: 13px; }
.guide-thumb { margin-top: auto; border-radius: 6px; box-shadow: 0 4px 14px rgba(15, 23, 42, .18); }
.guide .sub { margin: 14px 0 26px; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .15s ease; }
.faq details[open] { border-color: #bfdbfe; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--ink); font-size: 16.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* final */
.final {
  padding: 96px 0; text-align: center; color: #c7d2fe;
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(124, 58, 237, .45), transparent 70%),
    linear-gradient(135deg, #1d4ed8, var(--navy) 70%);
}
.final-in img { margin: 0 auto 22px; border-radius: 16px; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .5); }
.final h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); }
.final p { font-size: 18px; margin: 14px 0 32px; }

/* footer */
.footer { background: var(--navy-2); color: #94a3b8; padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin: 14px 0 18px; }
.made-by { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 10px; color: #94a3b8; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none !important; }
.made-by img { height: 28px; width: auto; }
.footer nav { display: flex; flex-direction: column; gap: 9px; }
.footer nav h2 { font: 700 13px/1 var(--font-body); color: #fff; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.footer nav a { color: #94a3b8; }
.footer nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 24px; display: grid; gap: 10px; }
.tm { font-size: 13px; color: #64748b; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .nav a { padding: 8px 9px; }
  .link { width: 110px; }
}
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 18px;
    background: rgba(21, 19, 56, .97); border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 16px; }
  .header-actions { margin-left: auto; }
  .hero-shot .window { transform: none; }
  .no-list { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .flow { grid-template-columns: 1fr; gap: 0; max-width: 460px; margin-inline: auto; }
  .link { width: auto; height: 74px; }
  .link::before { left: 50%; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--blue) 0 8px, transparent 8px 14px); background-size: 2px 28px; animation-name: dash-v; }
  .link::after { right: auto; left: calc(50% - 5px); top: auto; bottom: 0; border: 5px solid transparent; border-top: 7px solid var(--blue); }
  .link span { transform: translateX(84px); background: transparent; text-align: left; }
  .steps, .cards { grid-template-columns: repeat(2, 1fr); }
  .split, .two, .plans { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .sec, .sec:nth-child(4) { grid-column: auto; }
  .guide { grid-template-columns: 1fr; padding: 40px 32px; gap: 36px; justify-items: center; text-align: center; }
  .guide .cta-row { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@keyframes dash-v { to { background-position: 0 28px; } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .section, .final { padding: 72px 0; }
  .hero { padding-bottom: 44px; padding-top: calc(var(--header-h) + 48px); }
  .lead { font-size: 17.5px; }
  .cta-row .btn-lg { width: 100%; }
  .app-badge, .app-badge img { width: 92px; height: 92px; }
  .lockup { flex-direction: column; gap: 12px; }
  .lockup-sep { display: none; }
  .lockup-name { font-size: 30px; }
  .header-actions .btn { display: none; }
  .no-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .no-list li { font-size: 14px; padding: 12px; }
  .steps, .cards, .sec-grid, .price-pair { grid-template-columns: 1fr; }
  .shot-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; margin-inline: -18px; padding-inline: 18px; scrollbar-width: none; }
  .shot-tabs button { flex: none; }
  .plan, .panel { padding: 24px; }
  .guide { padding: 32px 20px; }
  .guide-page { width: 190px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

/* App family */
.family{max-width:1120px;margin:0 auto 72px;text-align:center;padding:clamp(28px,5vw,56px);border-radius:28px;border:1px solid rgba(255,255,255,.1);background:radial-gradient(900px 320px at 50% -10%,rgba(106,77,255,.32),transparent 70%),#13122A;color:#fff}
.family .fam-eyebrow{font-size:12.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#b9b7ff}
.family h2{color:#fff;margin:8px 0 0;font-size:clamp(22px,3vw,30px)}
.fam-row{display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(16px,3vw,32px);margin-top:32px}
.fam-tile{width:200px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:24px 16px 20px;border-radius:24px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05);color:#fff;text-decoration:none;transition:transform .3s,background .3s,border-color .3s}
.fam-tile:hover{transform:translateY(-4px);background:rgba(255,255,255,.09);border-color:var(--a)}
.fam-tile.here{border-color:var(--a)}
.fam-tile span{display:block;line-height:0;margin-bottom:10px;border-radius:22px;box-shadow:0 14px 34px -8px var(--a),0 0 0 1px rgba(255,255,255,.12)}
.fam-tile img{width:88px;height:88px;border-radius:22px;object-fit:cover;background:#fff}
.fam-tile b{font-size:1.05rem}
.fam-tile small{font-size:13px;color:#b6bacb;line-height:1.4}
.fam-tile.here small{color:#fff;font-weight:600}.fam-logo{display:block;margin:0 auto 18px;height:35px;width:auto}
