/* Soft Space visual language: calm dusk. Muted blue-slate background, soft lighter panels,
   warm apricot + lavender accents used sparingly. Headings: Outfit (medium weight). Body: Onest.
   Layout is its own: floating pill header, centred text hero, ticker, alternating product rows,
   numbered steps, bento about block, ticket-style pricing. */

:root {
  --bg: #1e2238;
  --bg-2: #252a44;
  --panel: rgba(255, 255, 255, .055);
  --panel-2: rgba(255, 255, 255, .09);
  --line: rgba(230, 233, 250, .13);
  --line-strong: rgba(230, 233, 250, .24);
  --ink: #f3f4fb;
  --ink-2: #d7daec;
  --muted: #a9aecb;
  --amber: #f2b57a;
  --violet: #b2acf5;
  --violet-deep: #8c85e6;
  --grad: linear-gradient(120deg, #f2b57a 0%, #e6a9b8 55%, #b2acf5 100%);
  --on-glow: #23253a;

  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 24px 48px -28px rgba(8, 10, 24, .6);

  --font-head: "Outfit", "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1160px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.is-hidden { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 50% -200px, #2c3252 0%, transparent 70%), var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; letter-spacing: -0.01em; margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 8px; }

.hl { color: var(--amber); }

/* ---------------------------------------------------------------- icons & buttons */

.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-arrow { transition: transform .2s; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-glow { background: var(--amber); color: var(--on-glow); }
.btn-glow:hover { background: #f6c393; }
.btn-ghost { background: var(--panel); color: var(--ink); border-color: var(--line-strong); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--panel-2); border-color: var(--ink-2); }
.btn .icon-check { display: none; }
.btn.copied .icon-copy { display: none; }
.btn.copied .icon-check { display: block; }

.link-btn { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; color: inherit; }

.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line); color: var(--ink-2); font-size: 14px; font-weight: 500;
}
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

.label {
  display: inline-block; font-family: var(--font-head); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px;
}

.lead { color: var(--muted); font-size: 18px; line-height: 1.6; }

/* ---------------------------------------------------------------- header */

.site-header { position: sticky; top: 0; z-index: 50; padding: 16px 0; transition: padding .2s; }
.header-pill {
  display: flex; align-items: center; gap: 24px; padding: 8px 8px 8px 18px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(37, 42, 68, .6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background .2s, box-shadow .2s;
}
.site-header.scrolled .header-pill { background: rgba(37, 42, 68, .92); box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .8); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 30px; height: 30px; }
.brand .word { font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: var(--panel-2); }

/* ---------------------------------------------------------------- hero */

.hero { padding: 88px 0 96px; text-align: center; }
.hero h1 { font-size: clamp(44px, 7vw, 76px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; margin: 26px 0 16px; }
.hero-sub { font-family: var(--font-head); font-size: clamp(18px, 2.2vw, 22px); color: var(--ink-2); font-weight: 400; }
.hero .lead { max-width: 620px; margin: 14px auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }


/* ---------------------------------------------------------------- ticker */

.ticker {
  display: flex; overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker ul { display: flex; flex: none; gap: 0; animation: ticker 48s linear infinite; }
.ticker li { padding: 18px 28px; font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap; display: flex; align-items: center; gap: 28px; }
.ticker li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ---------------------------------------------------------------- sections */

.section { padding: 112px 0; }
.section.tight { padding: 48px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-head .lead { margin-top: 18px; }

/* products: alternating rows */
.product-list { display: grid; gap: 40px; }
.card {
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 48px;
  padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--panel);
  backdrop-filter: blur(6px);
}
.card.flip .card-cover { order: 2; }
.card-cover { position: relative; display: block; border-radius: 22px; overflow: hidden; }
.card-cover img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s; }
.card:hover .card-cover img { transform: scale(1.03); }
.card-index {
  position: absolute; left: 16px; top: 14px; font-family: var(--font-head); font-size: 13px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; background: rgba(13, 12, 31, .7); border: 1px solid var(--line-strong);
}
.card-body { padding: 12px 20px 12px 0; }
.card.flip .card-body { padding: 12px 0 12px 20px; }
.card-kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.card h3 { font-size: clamp(24px, 2.6vw, 30px); margin: 10px 0 12px; }
.card-desc { color: var(--muted); font-size: 17px; }
.card-feats { display: grid; gap: 10px; margin: 22px 0 28px; }
.card-feats li, .plan-features li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.card-feats .icon, .plan-features .icon { margin-top: 3px; color: var(--amber); }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; padding-top: 22px; border-top: 1px dashed var(--line-strong); }
.badge { font-family: var(--font-head); font-size: 19px; font-weight: 500; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 15%, var(--line-strong) 85%, transparent);
}
.step { position: relative; text-align: center; padding: 0 12px; }
.step-num {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 24px; border-radius: 50%;
  font-family: var(--font-head); font-weight: 500; font-size: 18px;
  background: var(--bg-2); color: var(--amber); border: 1px solid var(--line-strong); box-shadow: 0 0 0 8px var(--bg);
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted); }

/* bento about */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.tile h3 { font-size: 18px; margin: 18px 0 8px; }
.tile p { color: var(--muted); }
.tile-main { grid-column: span 3; padding: 40px; background: var(--bg-2); }
.tile-main h2 { font-size: clamp(28px, 3.4vw, 38px); }
.tile-main .lead { margin-top: 18px; max-width: 640px; }
.tile-num { display: flex; flex-direction: column; justify-content: flex-end; background: var(--amber); color: var(--on-glow); border: 0; }
.tile-num .num { font-family: var(--font-head); font-size: 72px; font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.tile-num p { color: var(--on-glow); font-weight: 600; margin-top: 8px; }
.bento .tile:nth-child(n+3) { grid-column: span 2; }
.bullet {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; flex: none;
  background: rgba(178, 172, 245, .14); border: 1px solid rgba(178, 172, 245, .3); color: var(--violet);
}

/* contact */
.contact {
  position: relative; overflow: hidden; text-align: center; padding: 80px 32px; border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
}
.contact h2 { font-size: clamp(30px, 4.4vw, 46px); }
.contact .lead { max-width: 520px; margin: 18px auto 0; }
.email-big {
  display: inline-block; margin-top: 34px; background: none; border: 0; cursor: pointer; padding: 0 0 6px;
  font-family: var(--font-head); font-size: clamp(20px, 3vw, 28px); font-weight: 500;
  border-bottom: 2px solid var(--amber); overflow-wrap: anywhere;
}
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ---------------------------------------------------------------- footer */

.site-footer { border-top: 1px solid var(--line); padding: 64px 0 36px; background: #1a1e33; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.tagline { color: var(--ink-2); margin-top: 16px; }
.address { font-style: normal; color: var(--muted); font-size: 14px; margin-top: 12px; }
.footer-col h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col .link-btn { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.footer-col a:hover, .footer-col .link-btn:hover { color: var(--amber); }
.copyright { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------------- pricing */

.page-hero { padding: 64px 0 24px; text-align: center; }
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 500; margin: 24px auto 16px; max-width: 900px; }
.page-hero .lead { max-width: 620px; margin: 0 auto; }
.billing-toggle {
  position: relative; display: inline-flex; padding: 5px; margin-top: 34px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line-strong);
}
.toggle-btn { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 10px 22px; border-radius: 999px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.toggle-btn.active { background: var(--ink); color: var(--bg); }
.toggle-save { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--amber); color: var(--on-glow); }

.plan-list { display: grid; gap: 20px; max-width: 1000px; margin: 0 auto; }
.plan {
  display: grid; grid-template-columns: 1fr 300px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
}
.plan-info { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 32px; align-items: start; }
.plan-thumb { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); }
.plan-kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.plan h2 { font-size: 24px; margin: 8px 0 10px; }
.plan-desc { color: var(--muted); }
.plan-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 20px; font-size: 15px; }
.plan-price {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 32px;
  border-left: 2px dashed var(--line-strong); background: var(--bg-2);
}
.plan-price::before, .plan-price::after {
  content: ""; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg);
}
.plan-price::before { top: -12px; }
.plan-price::after { bottom: -12px; }
.plan-amount { font-family: var(--font-head); font-size: 44px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
.plan-period { color: var(--ink-2); font-weight: 500; }
.plan-note { color: var(--muted); font-size: 14px; margin: 12px 0 22px; }

.includes {
  display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 48px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--bg-2);
}
.includes .section-head { margin: 0; }
.include-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.include-list li { display: flex; gap: 16px; }
.include-list h3 { font-size: 17px; margin-bottom: 6px; }
.include-list p { color: var(--muted); font-size: 15px; }

.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq-wrap .section-head { margin: 0; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* ---------------------------------------------------------------- legal & 404 */

.legal { padding: 48px 0 96px; }
.legal .container { max-width: 860px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-weight: 500; }
.back-link:hover { color: var(--ink); }
.legal h1 { font-size: clamp(30px, 4.4vw, 44px); margin: 24px 0 8px; }
.updated { color: var(--muted); font-size: 14px; }
.legal-body { margin-top: 32px; padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--panel); color: var(--ink-2); }
.legal-body h2 { font-size: 20px; margin: 32px 0 12px; color: var(--ink); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { list-style: disc; padding-left: 22px; margin: 0 0 14px; }
.legal-body li { margin-bottom: 6px; }
.legal-body li::marker { color: var(--amber); }
.legal-body a { color: var(--amber); }
.entity { margin-top: 32px !important; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }

.notfound { padding: 96px 0 120px; text-align: center; }
.notfound .code { font-family: var(--font-head); font-size: clamp(80px, 14vw, 140px); font-weight: 500; line-height: 1; color: var(--amber); }
.notfound h1 { font-size: clamp(26px, 3.4vw, 34px); margin: 16px 0 14px; }
.notfound .lead { max-width: 520px; margin: 0 auto; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 960px) {
  .nav { display: none; }
  .header-pill { justify-content: space-between; }
  .card, .card.flip { grid-template-columns: 1fr; gap: 8px; }
  .card.flip .card-cover { order: 0; }
  .card-body, .card.flip .card-body { padding: 16px 8px 8px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-main { grid-column: 1 / -1; }
  .plan { grid-template-columns: 1fr; }
  .plan-price { border-left: 0; border-top: 2px dashed var(--line-strong); }
  .plan-price::before, .plan-price::after { display: none; }
  .includes, .faq-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .site-header { padding: 10px 0; }
  .header-pill { padding-left: 14px; gap: 12px; }
  .hero { padding: 56px 0 72px; }
  .section { padding: 80px 0; }
  .lead { font-size: 16px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento .tile { grid-column: auto !important; }
  .tile-main { padding: 28px; }
  .plan-info { grid-template-columns: 1fr; padding: 24px; }
  .plan-thumb { aspect-ratio: 16 / 10; }
  .plan-features { grid-template-columns: 1fr; }
  .plan-price { padding: 24px; }
  .includes { padding: 28px 20px; }
  .include-list { grid-template-columns: 1fr; }
  .legal-body { padding: 24px 20px; }
  .contact { padding: 56px 20px; }
  .card-foot .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker ul { animation: none; }
  .ticker { overflow-x: auto; }
}
