/* sant.al — homepage styles. Plain CSS, no build step. */

:root {
  --paper: #F9F8FF;
  --white: #FFFFFF;
  --ink: #16132B;
  --ink-2: #4A4763;
  --ink-3: #6E6A88;
  --line: #E3E0F2;
  --violet: #5B3DF5;
  --violet-ink: #4529E0;
  --lilac: #E6DDFF;
  --lilac-2: #CDBDFF;
  --yellow: #FFD84A;
  --yellow-soft: #FFF1B8;
  --mint: #BDF2D5;
  --mint-ink: #0B6B40;
  --peach: #FFCDB2;
  --indigo: #1B1746;
  --warm: #FFF8EC;
  --red: #B42318;

  --display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Nirmala UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --ol: 'Noto Sans Ol Chiki', 'Nirmala UI', system-ui, sans-serif;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.shell { width: min(1240px, 100% - 48px); margin-inline: auto; }
.ol, [lang="sat"] { font-family: var(--ol); letter-spacing: 0; }
.mono { font-family: var(--mono); letter-spacing: -.01em; }
.nowrap { white-space: nowrap; }
.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 {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

/* ---------- Wordmark: the dot is the brand ---------- */
.wordmark {
  display: inline-flex; align-items: baseline;
  font: 800 28px/1 var(--display); letter-spacing: -.045em;
  text-decoration: none; color: var(--ink);
}
.dot {
  display: inline-block; width: .26em; height: .26em; margin: 0 .07em;
  border-radius: 50%; background: var(--violet);
}
.wordmark-sm { font-size: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-violet { background: var(--violet); color: #fff; }
.btn-violet:hover { background: var(--violet-ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2B2650; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.link-btn {
  background: none; border: 0; padding: 8px 4px; font-weight: 600; color: var(--ink);
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px;
  transition: text-decoration-color .2s;
}
.link-btn:hover { text-decoration-color: currentColor; }
.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink);
}
.icon-btn:hover { background: var(--lilac); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn[hidden] { display: grid; visibility: hidden; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(249, 248, 255, .94);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header-row { height: 76px; display: flex; align-items: center; gap: 24px; }
.nav { display: flex; gap: 6px; margin-left: 28px; }
.nav a {
  padding: 8px 12px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background-color .2s, color .2s;
}
.nav a:hover { background: var(--lilac); color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header-signin { font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav {
  border-top: 1px solid var(--line); background: var(--paper);
  padding: 8px 24px 16px; display: grid;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a, .mobile-nav .link-btn {
  display: flex; align-items: center; min-height: 48px; text-decoration: none;
  font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--line); text-align: left; padding: 0;
}
.mobile-nav .link-btn { border-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 48px; align-items: center;
  padding-top: 56px; padding-bottom: 88px;
}
.greeting {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 14px; border-radius: 999px; background: var(--yellow-soft);
  font-weight: 600; font-size: 16px;
}
.greeting .ol { font-size: 18px; font-weight: 600; }
.greeting-sep { color: var(--ink-3); }
.hero h1 {
  margin-top: 26px;
  font: 800 clamp(50px, 7.2vw, 108px)/.94 var(--display);
  letter-spacing: -.04em;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}
.hero h1 .dot { width: .17em; height: .17em; margin-left: .04em; }
.lede { margin-top: 26px; max-width: 34em; font-size: clamp(17px, 1.35vw, 19px); color: var(--ink-2); }

.claim { margin-top: 34px; max-width: 620px; }
.claim-label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.claim-row { display: flex; gap: 8px; padding: 8px; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; transition: border-color .2s, box-shadow .2s; }
.claim-row:focus-within { border-color: var(--violet); box-shadow: 0 0 0 5px var(--lilac); }
.claim.is-valid .claim-row { border-color: var(--mint-ink); box-shadow: 0 0 0 5px var(--mint); }
.claim.is-invalid .claim-row { border-color: var(--red); box-shadow: 0 0 0 5px #FDE2E0; }
.claim-field { flex: 1; min-width: 0; display: flex; align-items: center; padding-left: 18px; font-family: var(--mono); font-size: 19px; }
.claim-prefix { color: var(--ink-3); white-space: nowrap; }
.claim-field input {
  flex: 1; min-width: 0; width: 100%; height: 52px; border: 0; outline: 0; background: transparent;
  font-family: var(--mono); font-size: 19px; color: var(--ink); padding: 0 6px 0 1px;
}
.claim-field input::placeholder { color: #A9A5C2; }
.claim-btn { min-height: 52px; padding: 0 24px; }
.claim-msg { margin-top: 12px; padding-left: 20px; font-size: 15px; color: var(--ink-2); min-height: 1.55em; position: relative; }
.claim-msg::before { content: ""; position: absolute; left: 4px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--lilac-2); }
.claim-msg.is-valid { color: var(--mint-ink); }
.claim-msg.is-valid::before { background: var(--mint-ink); }
.claim-msg.is-invalid { color: var(--red); }
.claim-msg.is-invalid::before { background: var(--red); }

.hero-facts { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--violet); }

/* Hero visual */
.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center end; padding-right: 12px; }
.hero-card { position: absolute; border-radius: var(--r-lg); }
.hero-card-back {
  width: 240px; padding: 22px; background: var(--yellow); color: var(--ink);
  top: 40px; left: 0; transform: rotate(-7deg);
  display: grid; gap: 12px;
}
.hc-tag { font-size: 13px; }
.hc-title { font: 800 26px/1.02 var(--display); letter-spacing: -.03em; }
.hc-wave { display: flex; align-items: end; gap: 4px; height: 36px; }
.hc-wave i { flex: 1; background: var(--ink); border-radius: 3px; height: 30%; }
.hc-wave i:nth-child(3n) { height: 85%; } .hc-wave i:nth-child(4n+1) { height: 55%; } .hc-wave i:nth-child(5n+2) { height: 100%; }
.hero-card-live {
  position: relative; width: min(350px, 100%); padding: 22px 22px 26px;
  background: var(--lilac); color: var(--ink);
  display: grid; justify-items: center; text-align: center;
  transform: rotate(2.5deg); box-shadow: 0 1px 0 rgba(22,19,43,.06), 0 24px 48px -28px rgba(42,26,140,.45);
}
.hcl-top { width: 100%; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-2); }
.hcl-top b { color: var(--ink); font-weight: 500; }
.hcl-you { padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }
.hcl-avatar {
  margin-top: 22px; width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center; background: var(--violet); color: var(--yellow);
  font: 800 38px/1 var(--display); text-transform: uppercase;
}
.hcl-name { margin-top: 14px; font: 800 26px/1.1 var(--display); letter-spacing: -.03em; max-width: 100%; overflow-wrap: anywhere; }
.hcl-bio { margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.hcl-link {
  margin-top: 10px; width: 100%; min-height: 50px; padding: 0 16px; border-radius: 16px;
  display: flex; align-items: center; gap: 12px; background: var(--white); font-weight: 600; font-size: 15px; text-align: left;
}
.hcl-link:first-of-type { margin-top: 20px; }
.hcl-link svg { width: 20px; height: 20px; flex: none; }
.hcl-link svg:first-child { color: var(--violet); }
.hcl-arrow { margin-left: auto; color: var(--ink-3); width: 16px !important; height: 16px !important; }
.hero-note {
  position: absolute; left: 24px; bottom: 30px; padding: 8px 14px; white-space: nowrap; border-radius: 999px;
  background: var(--mint); font-weight: 700; font-size: 14px; transform: rotate(-4deg);
}

/* ---------- Examples ---------- */
.examples { padding: 24px 0 96px; }
.examples-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }
.examples-head h2, .how h2, .features h2, .themes h2, .names h2 {
  font: 800 clamp(36px, 4.6vw, 64px)/1 var(--display); letter-spacing: -.038em; text-wrap: balance;
}
.examples-head h2 { max-width: 12ch; }
.examples-head p { max-width: 26em; color: var(--ink-2); }
.examples-rail {
  width: min(1240px, 100% - 48px); margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start;
}
.examples-rail:focus-visible { outline-offset: 8px; border-radius: var(--r); }
.page {
  border-radius: 28px; padding: 18px 18px 22px; color: var(--ink);
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
  transition: transform .35s var(--ease);
}
.page:nth-child(even) { margin-top: 48px; }
@media (hover: hover) { .page:hover { transform: translateY(-6px); } }
.page-yellow { background: var(--yellow); }
.page-lilac { background: var(--lilac); }
.page-peach { background: var(--peach); }
.page-mint { background: var(--mint); }
.page-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; }
.page-top .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sample-tag { flex: none; padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(22,19,43,.35); font-size: 11px; font-weight: 700; }
.page-id { display: flex; align-items: center; gap: 12px; margin: 8px 0 4px; }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 800 18px/1 var(--display); letter-spacing: -.02em; }
.av-violet { background: var(--violet); color: var(--yellow); }
.av-mint { background: var(--ink); color: var(--mint); }
.av-ink { background: var(--ink); color: var(--peach); }
.av-yellow { background: var(--yellow); color: var(--ink); }
.page-id h3 { font: 800 21px/1.1 var(--display); letter-spacing: -.03em; }
.page-id p { font-size: 13.5px; color: rgba(22,19,43,.75); }
.page-bio { font-size: 14.5px; line-height: 1.45; }
.page-bio .ol { font-weight: 700; }

.video {
  position: relative; aspect-ratio: 16 / 10; border-radius: 18px; padding: 14px;
  background: var(--violet); color: var(--warm);
  display: flex; flex-direction: column; overflow: hidden;
}
.video::after { /* sun-and-hill composition, not a placeholder */
  content: ""; position: absolute; right: -4%; bottom: -30%; width: 50%; aspect-ratio: 1; border-radius: 50%;
  background: var(--yellow); opacity: .95;
}
.video::before {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -34%; height: 62%; border-radius: 50% 50% 0 0;
  background: var(--indigo); z-index: 1;
}
.video > * { position: relative; z-index: 2; }
.video-kicker { font-size: 11px; opacity: .85; }
.video-title { margin-top: 4px; font: 800 26px/.95 var(--display); letter-spacing: -.035em; }
.video-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.video-play { width: 44px; height: 32px; border-radius: 10px; background: #FF0033; display: grid; place-items: center; }
.video-play svg { width: 18px; height: 18px; color: #fff; }
.video-foot .mono { padding: 2px 6px; border-radius: 6px; background: rgba(0,0,0,.55); }

.page-block { background: rgba(255,255,255,.6); border-radius: 16px; padding: 12px 14px; display: grid; gap: 6px; }
.block-title { font-weight: 700; font-size: 13px; }
.show { font-size: 13.5px; display: flex; gap: 10px; align-items: baseline; }
.show b { font-weight: 500; font-size: 12px; min-width: 50px; }
.project { display: grid; font-size: 14px; line-height: 1.3; }
.project small { font-size: 12.5px; color: rgba(22,19,43,.72); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { padding: 3px 10px; border-radius: 999px; background: var(--white); font-size: 12.5px; font-weight: 600; }
.plink {
  min-height: 46px; padding: 0 14px; border-radius: 14px; background: var(--white);
  display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px;
}
.plink svg { width: 19px; height: 19px; flex: none; }
.plink-solid { background: var(--ink); color: #fff; }
.plink-plain { background: transparent; border: 1.5px solid rgba(22,19,43,.25); font-weight: 500; font-size: 13.5px; }
.socials { display: flex; justify-content: center; gap: 10px; margin-top: 4px; }
.soc { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(22,19,43,.08); }
.soc svg { width: 20px; height: 20px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.art { aspect-ratio: 1; border-radius: 10px; }
.art-1 { background: radial-gradient(circle at 50% 62%, var(--yellow) 0 28%, transparent 29%), var(--indigo); }
.art-2 { background: linear-gradient(180deg, var(--violet) 0 50%, var(--lilac) 50%); }
.art-3 { background: radial-gradient(circle at 0 100%, var(--mint-ink) 0 60%, transparent 61%), var(--warm); }
.art-4 { background: radial-gradient(circle at 70% 30%, var(--white) 0 18%, transparent 19%), radial-gradient(circle at 30% 70%, var(--violet) 0 26%, transparent 27%), var(--yellow); }
.art-5 { background: conic-gradient(from 45deg, var(--ink) 0 25%, var(--peach) 0 50%, var(--ink) 0 75%, var(--lilac-2) 0); }
.art-6 { background: radial-gradient(ellipse at 50% 120%, var(--violet) 0 55%, transparent 56%), var(--mint); }
.status-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: #5CE39A; }

.products { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.product { background: var(--white); border-radius: 16px; padding: 8px; display: grid; gap: 2px; font-size: 13.5px; line-height: 1.25; }
.product small { font-size: 12.5px; }
.swatch { aspect-ratio: 4 / 3; border-radius: 10px; margin-bottom: 6px; }
.sw-1 { background: repeating-linear-gradient(90deg, var(--violet) 0 10px, var(--warm) 10px 14px, var(--yellow) 14px 20px, var(--warm) 20px 24px); }
.sw-2 { background: linear-gradient(90deg, transparent 0 70%, var(--peach) 70% 78%, var(--violet) 78% 84%, var(--peach) 84%), var(--warm); }

/* ---------- Marquee ---------- */
.marquee { position: relative; background: var(--violet); color: var(--warm); overflow: hidden; }
.marquee-view { overflow: hidden; padding: clamp(18px, 2.4vw, 30px) 0; }
.marquee-track { display: flex; width: max-content; }
.marquee-group { display: flex; flex: none; align-items: center; animation: marquee 30s linear infinite; will-change: transform; }
.marquee-group span, .marquee-group i {
  font: 800 clamp(40px, 7vw, 104px)/1 var(--display); letter-spacing: -.035em; white-space: nowrap; font-style: normal;
}
.marquee-group span { padding: 0 .32em; }
.marquee-group i { color: var(--yellow); font-family: var(--sans); font-weight: 400; font-size: clamp(30px, 5vw, 74px); }
@keyframes marquee { to { transform: translate3d(-100%, 0, 0); } }
@media (hover: hover) { .marquee:hover .marquee-group { animation-play-state: paused; } }
.marquee:focus-within .marquee-group,
.motion-paused .marquee-group,
.motion-paused .drift-group { animation-play-state: paused; }
.motion-btn {
  position: absolute; right: 12px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(255,248,236,.55); background: var(--violet); color: var(--warm);
  display: grid; place-items: center; opacity: .8;
}
.motion-btn:hover, .motion-btn:focus-visible { opacity: 1; }
.motion-btn:focus-visible { outline-color: var(--yellow); }
.motion-btn svg { width: 14px; height: 14px; }
.motion-btn .mi-play, .motion-paused .motion-btn .mi-pause { display: none; }
.motion-paused .motion-btn .mi-play { display: block; }

/* ---------- How it works ---------- */
.how { padding: 112px 0 104px; }
.how h2 { max-width: 14ch; }
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); counter-reset: none; }
.step { padding: 28px 32px 0 0; display: flex; flex-direction: column; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step-num { display: flex; align-items: baseline; gap: 12px; font: 300 clamp(64px, 7vw, 104px)/.9 var(--display); letter-spacing: -.05em; color: var(--violet); }
.step-num small { font-size: 22px; font-weight: 500; color: var(--ink-3); }
.step h3 { margin-top: 22px; font: 800 28px/1.1 var(--display); letter-spacing: -.03em; }
.step p { margin-top: 8px; color: var(--ink-2); max-width: 22em; }
.vig { margin-top: 28px; border-radius: var(--r); padding: 18px; min-height: 148px; }
.vig-name { background: var(--yellow); display: flex; align-items: center; font-size: clamp(17px, 1.6vw, 22px); }
.vig-name .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vig-name b { font-weight: 500; }
.vig-cursor { flex: none; width: 2px; height: 1.2em; background: var(--ink); margin-left: 2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.vig-edit { background: var(--lilac); display: grid; gap: 8px; }
.ve-row { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 12px; background: var(--white); border-radius: 12px; font-weight: 600; font-size: 15px; }
.ve-grip { width: 10px; height: 14px; background: radial-gradient(circle, var(--ink-3) 1.4px, transparent 1.6px) 0 0 / 5px 5px; }
.ve-toggle { margin-left: auto; width: 34px; height: 20px; border-radius: 999px; background: var(--line); position: relative; }
.ve-toggle.on { background: var(--violet); }
.ve-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.ve-toggle.on::after { left: 17px; }
.ve-add { background: transparent; border: 1.5px dashed var(--lilac-2); color: var(--violet-ink); justify-content: center; }
.vig-share { background: var(--peach); display: flex; flex-wrap: wrap; align-content: center; gap: 8px; }
.vig-share span { padding: 7px 14px; border-radius: 999px; background: var(--white); font-weight: 600; font-size: 14px; }
.vig-share span:nth-child(2) { background: var(--ink); color: #fff; }

/* ---------- Features ---------- */
.features { background: var(--white); border-block: 1px solid var(--line); padding: 104px 0; }
.features-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.features-intro p { margin-top: 18px; color: var(--ink-2); max-width: 28em; }
.script-demo { margin-top: 40px; background: var(--mint); border-radius: var(--r-lg); padding: 24px; }
.sd-label { font-weight: 700; font-size: 15px; }
.sd-switch { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.sd-switch button {
  min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(22,19,43,.2);
  background: transparent; font-weight: 600; font-size: 15px; transition: background-color .2s, color .2s;
}
.sd-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sd-word { margin-top: 18px; min-height: 1.2em; font: 800 clamp(56px, 6vw, 88px)/1.15 var(--display); letter-spacing: -.02em; }
.sd-word .ol { font-weight: 600; }
.sd-word [lang="hi"], .sd-word [lang="bn"] { font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
.sd-cap { font-size: 14px; color: rgba(22,19,43,.78); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.feature-list li { padding: 20px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.feature-list b { font: 700 20px/1.2 var(--display); letter-spacing: -.02em; }
.feature-list b::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--violet); margin-right: 10px; vertical-align: .14em; }
.feature-list span { color: var(--ink-2); font-size: 15.5px; padding-left: 19px; }

/* ---------- Themes ---------- */
.themes { padding: 112px 0; }
.themes-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.themes-head p { max-width: 24em; color: var(--ink-2); }
.themes-layout { margin-top: 48px; display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 40px; align-items: start; }

.tp {
  --t-bg: #F4EEDF; --t-fg: #221E17; --t-muted: #5E564A; --t-btn: #221E17; --t-btnfg: #F4EEDF;
  background: var(--t-bg); color: var(--t-fg);
  border-radius: 36px; padding: 22px 22px 18px; min-height: 560px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: background-color .45s var(--ease), color .45s var(--ease);
  box-shadow: inset 0 0 0 1px rgba(22,19,43,.06);
}
.tp * { transition: background-color .45s var(--ease), color .45s var(--ease); }
.tp-top { align-self: stretch; font-size: 13px; color: var(--t-muted); text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-top b { font-weight: 500; color: var(--t-fg); }
.tp-avatar { margin-top: 34px; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--t-btn); color: var(--t-bg); font: 800 40px/1 var(--display); text-transform: uppercase; }
.tp-name { margin-top: 16px; font: 800 30px/1.1 var(--display); letter-spacing: -.035em; overflow-wrap: anywhere; max-width: 100%; }
.tp-bio { margin-top: 6px; color: var(--t-muted); font-size: 15.5px; }
.tp-link { margin-top: 12px; align-self: stretch; min-height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--t-btn); color: var(--t-btnfg); font-weight: 700; font-size: 15.5px; }
.tp-link:first-of-type { margin-top: 28px; }
.tp-caption { margin-top: auto; padding-top: 22px; font-size: 14px; color: var(--t-muted); }

.theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.theme {
  position: relative; text-align: left; border: 0; border-radius: 24px; padding: 16px;
  background: var(--t-bg); color: var(--t-fg); min-height: 236px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: inset 0 0 0 1px rgba(22,19,43,.08);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.theme:hover { transform: translateY(-3px); }
.theme[aria-checked="true"] { box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--violet); }
.theme:focus-visible { outline: 3px solid var(--violet); outline-offset: 6px; border-radius: 24px; }
.th-mini { display: grid; justify-items: center; gap: 6px; padding: 12px 10px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--t-fg) 18%, transparent); }
.th-av { width: 26px; height: 26px; border-radius: 50%; background: var(--t-btn); }
.th-btn { width: 100%; height: 14px; border-radius: 6px; background: var(--t-btn); opacity: .9; }
.th-btn + .th-btn { opacity: .55; }
.th-text { display: grid; gap: 2px; margin-top: auto; }
.th-name { font: 800 24px/1.05 var(--display); letter-spacing: -.03em; }
.th-ol { font-size: 16px; font-weight: 500; }
.th-mean { font-size: 14px; color: var(--t-muted); }
.th-check { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--ease); }
.th-check svg { width: 16px; height: 16px; }
.theme[aria-checked="true"] .th-check { opacity: 1; transform: none; }
.th-check { top: 8px; right: 8px; }

.custom-colour { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.custom-colour label { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; cursor: pointer; }
.cc-swatch {
  position: relative; width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  background: conic-gradient(var(--violet), var(--yellow), var(--mint), var(--peach), var(--lilac-2), var(--violet));
  box-shadow: inset 0 0 0 1px rgba(22,19,43,.12);
}
.cc-swatch input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.custom-colour:focus-within .cc-swatch { outline: 3px solid var(--violet); outline-offset: 3px; }
.cc-hint { color: var(--ink-3); font-size: 14px; }

/* ---------- Surnames ---------- */
.names { background: var(--indigo); color: var(--warm); padding: 104px 0 88px; overflow: hidden; }
.names-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.names h2 { max-width: 13ch; }
.names-head p { max-width: 22em; color: #CFC8F5; }
.poster {
  margin-top: 64px; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
  column-gap: clamp(18px, 2.6vw, 44px); row-gap: 6px;
}
.nm { display: inline-flex; align-items: baseline; gap: .1em; font-family: var(--display); font-weight: 800; letter-spacing: -.045em; line-height: 1; color: var(--warm); }
.nm em { font-style: normal; font-family: var(--ol); font-weight: 500; letter-spacing: 0; font-size: .34em; color: #B9AEF7; transform: translateY(-1.1em); }
.n-xl { font-size: clamp(54px, 8.6vw, 132px); }
.n-l { font-size: clamp(40px, 5.6vw, 86px); }
.n-m { font-size: clamp(30px, 3.8vw, 58px); }
.n-s { font-size: clamp(24px, 2.6vw, 40px); }
.n-thin { font-weight: 300; }
.n-lav { color: #C9BFFF; }
.n-yel { color: #FFE58A; }
.n-yel em { color: #FFF4C4; }
.johar { flex-basis: 100%; display: flex; flex-direction: column; align-items: center; margin: clamp(18px, 3vw, 40px) 0; }
.johar-ol { font-family: var(--ol); font-weight: 600; font-size: clamp(110px, 19vw, 280px); line-height: 1.1; color: var(--warm); }
.johar-lat { margin-top: -.1em; padding: 4px 18px; border-radius: 999px; background: #FFE58A; color: var(--indigo); font: 800 clamp(20px, 2vw, 28px)/1.2 var(--display); letter-spacing: -.02em; }

.drift { margin-top: 72px; display: grid; gap: 4px; border-block: 1px solid rgba(201,191,255,.22); padding: 18px 0; }
.drift-row { overflow: hidden; }
.drift-track { display: flex; width: max-content; }
.drift-group { display: flex; flex: none; animation: drift 70s linear infinite; }
.drift-rev .drift-group { animation-direction: reverse; animation-duration: 84s; }
.drift-group span { padding: 0 .5em; font: 300 clamp(28px, 3.6vw, 52px)/1.2 var(--display); letter-spacing: -.03em; color: #B9AEF7; white-space: nowrap; }
.drift-group span:nth-child(3n+2) { font-weight: 700; color: transparent; -webkit-text-stroke: 1.2px #C9BFFF; }
@keyframes drift { to { transform: translate3d(-100%, 0, 0); } }
@media (hover: hover) { .drift:hover .drift-group { animation-play-state: paused; } }
.names-foot { margin-top: 32px; }
.names-foot p { max-width: 46em; font-size: 15px; color: #CFC8F5; }

/* ---------- Why ---------- */
.why { padding: 112px 0 96px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 72px; align-items: start; }
.why-statement { font: 700 clamp(32px, 3.9vw, 54px)/1.08 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.why-body p { color: var(--ink-2); }
.why-points { margin-top: 24px; display: grid; gap: 12px; }
.why-points li { padding-left: 20px; position: relative; color: var(--ink-2); }
.why-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--violet); }
.why-points b { color: var(--ink); }

/* ---------- Final CTA ---------- */
.final { padding-bottom: 96px; }
.final-inner { background: var(--lilac); border-radius: 40px; padding: clamp(40px, 6vw, 80px); display: grid; justify-items: center; text-align: center; }
.final h2 { font: 800 clamp(34px, 5vw, 72px)/1 var(--display); letter-spacing: -.045em; text-wrap: balance; max-width: 14ch; }
.final-inner > p { margin-top: 14px; color: var(--ink-2); font-size: 18px; }
.claim-final { width: 100%; text-align: left; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 28px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 15px; }
.footer-nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; }
.footer-nav a:hover { color: var(--violet); }
.soon-link { color: var(--ink-3); font-weight: 600; }
.soon-link small { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: var(--lilac); color: var(--ink-2); margin-left: 2px; }
.footer-base { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--ink-3); font-size: 14px; }
.footer-base small { font-size: 14px; }
.credit a { color: var(--ink-2); font-weight: 700; text-decoration-color: var(--lilac-2); text-underline-offset: 3px; }
.credit a:hover { color: var(--violet); }

/* ---------- Auth dialog ---------- */
.auth {
  width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0;
  border: 0; border-radius: 32px; background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 80px -30px rgba(22,19,43,.5);
}
.auth::backdrop { background: rgba(22,19,43,.5); }
.auth[open] { animation: rise .32s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.auth-inner { padding: 14px 28px 26px; }
.auth-bar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; justify-items: center; margin: 0 -12px 8px; }
.auth-bar [data-auth-close] { grid-column: 3; }
.auth-bar [data-auth-back] { grid-column: 1; grid-row: 1; }
.auth-bar .wordmark { grid-column: 2; grid-row: 1; }
.auth-step h2 { font: 800 30px/1.08 var(--display); letter-spacing: -.035em; }
.auth-hello { font-size: 20px; font-weight: 600; color: var(--violet); margin-bottom: 4px; }
.auth-sub { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
.auth-handle { margin-top: 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 14px; background: var(--yellow-soft); font-size: 14px; }
.auth-handle[hidden] { display: none; }
.auth-handle b { font-weight: 500; font-size: 15px; overflow-wrap: anywhere; }
.auth-handle .link-btn { margin-left: auto; font-size: 14px; padding: 4px; }
.auth-providers { margin-top: 20px; display: grid; gap: 10px; }
.prov {
  min-height: 54px; padding: 0 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--white);
  display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 16px; text-align: left;
  transition: border-color .2s, transform .2s var(--ease);
}
.prov:hover { border-color: var(--lilac-2); transform: translateY(-1px); }
.prov svg { width: 22px; height: 22px; flex: none; }
.prov small { margin-left: auto; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--lilac); color: var(--ink-2); }
.prov-main { border: 2px solid var(--ink); min-height: 58px; }
.prov[data-provider="email"] svg, .prov[data-provider="phone"] svg { color: var(--violet); }
.auth-note { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--lilac); font-size: 14px; color: var(--ink); }
.auth-note.is-error { background: #FDE2E0; color: var(--red); }
.field-label { display: block; margin-top: 20px; margin-bottom: 8px; font-weight: 700; font-size: 15px; }
.field { width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); font-size: 17px; }
.field:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 4px var(--lilac); }
.phone-row { display: flex; gap: 8px; }
.cc { width: auto; flex: none; padding: 0 10px; }
.auth-step .btn-block { margin-top: 14px; min-height: 52px; }
.auth-legal { margin-top: 18px; font-size: 12.5px; color: var(--ink-3); text-align: center; }

/* ---------- Entry motion (restrained) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .hero-visual { animation: rise .7s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .05s; }
  .hero-copy > :nth-child(3) { animation-delay: .1s; }
  .hero-copy > :nth-child(4) { animation-delay: .15s; }
  .hero-visual { animation-delay: .2s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .examples-rail {
    width: 100%; padding: 4px 24px 20px; display: flex; gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }
  .page { flex: 0 0 300px; scroll-snap-align: start; }
  .page:nth-child(even) { margin-top: 0; }
  .themes-layout { grid-template-columns: minmax(0, 1fr); }
  .tp { min-height: 0; max-width: 420px; width: 100%; justify-self: center; }
  .features-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .why { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (min-width: 901px) and (max-width: 1199px) { .hero-card-back { display: none; } }

@media (max-width: 900px) {
  .nav, .header-signin { display: none; }
  .menu-btn { display: grid; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 36px; padding-bottom: 72px; gap: 32px; }
  .hero-visual { min-height: 0; padding: 40px 0 70px; place-items: center; }
  .hero-card-back { left: 50%; top: 24px; transform: translateX(-118%) rotate(-7deg); width: 230px; }
  .hero-note { left: 50%; bottom: 20px; transform: translateX(-90%) rotate(-4deg); }
  .steps { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .step, .step + .step { padding: 28px 0 32px; border-left: 0; border-top: 2px solid var(--ink); }
  .step { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; }
  .step-num { grid-row: span 2; flex-direction: column; gap: 4px; font-size: 64px; }
  .step-num small { font-size: 16px; }
  .step h3 { margin-top: 2px; }
  .vig { grid-column: 1 / -1; min-height: 0; }
  .examples-head, .themes-head, .names-head { flex-direction: column; align-items: start; gap: 14px; }
  .examples-head h2 { max-width: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .shell { width: calc(100% - 40px); }
  .header-row { height: 64px; gap: 12px; }
  .wordmark { font-size: 25px; }
  .header-actions { gap: 8px; }
  .hero h1 { font-size: clamp(44px, 13.4vw, 64px); }
  .lede { margin-top: 18px; }
  .claim-row { flex-direction: column; border-radius: 24px; padding: 6px; }
  .claim-field { padding-left: 12px; font-size: 17px; }
  .claim-field input { font-size: 17px; height: 50px; }
  .claim-btn { width: 100%; border-radius: 18px; }
  .claim-msg { font-size: 14.5px; }
  .hero-card-live { width: 300px; }
  .hero-card-back { display: none; }
  .hero-visual { padding: 8px 0 56px; }
  .hero-note { bottom: 12px; }
  .tp-link:nth-of-type(3) { display: none; }
  .examples { padding-bottom: 72px; }
  .examples-rail { padding-inline: 20px; scroll-padding-inline: 20px; }
  .page { flex-basis: 82%; max-width: 320px; }
  .marquee-group span { font-size: 44px; }
  .marquee-group i { font-size: 32px; }
  .motion-btn { width: 32px; height: 32px; right: 8px; bottom: 6px; }
  .how { padding: 80px 0 64px; }
  .features { padding: 80px 0; }
  .feature-list { grid-template-columns: minmax(0, 1fr); }
  .feature-list li { padding: 16px 0; }
  .themes { padding: 80px 0; }
  .themes-layout { margin-top: 32px; gap: 24px; }
  .tp { padding: 18px 18px 14px; border-radius: 28px; }
  .tp-avatar { margin-top: 20px; width: 72px; height: 72px; font-size: 32px; }
  .tp-name { font-size: 26px; }
  .tp-link { min-height: 48px; margin-top: 10px; }
  .tp-link:first-of-type { margin-top: 20px; }
  .theme-grid { gap: 10px; }
  .theme { min-height: 0; padding: 12px; border-radius: 18px; gap: 10px; }
  .th-mini { padding: 8px 6px; gap: 4px; border-radius: 12px; }
  .th-av { width: 18px; height: 18px; }
  .th-btn { height: 9px; border-radius: 4px; }
  .th-name { font-size: 18px; }
  .th-ol { font-size: 13.5px; }
  .th-mean { font-size: 12.5px; }
  .th-check { width: 22px; height: 22px; top: 6px; right: 6px; }
  .th-check svg { width: 13px; height: 13px; }
  .theme[aria-checked="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--violet); }
  .names { padding: 80px 0 64px; }
  .poster { margin-top: 44px; column-gap: 14px; row-gap: 2px; }
  .n-xl { font-size: 50px; } .n-l { font-size: 38px; } .n-m { font-size: 28px; } .n-s { font-size: 23px; }
  .nm em { font-size: 13px; transform: translateY(-1.3em); }
  .johar-ol { font-size: 96px; }
  .drift { margin-top: 48px; }
  .why { padding: 80px 0 64px; }
  .final { padding-bottom: 64px; width: calc(100% - 24px); }
  .final-inner { border-radius: 28px; padding: 40px 18px 32px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .auth { width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; margin: 0; }
  .auth-inner { padding: 8px 20px 24px; min-height: 100%; display: flex; flex-direction: column; }
  .auth-legal { margin-top: auto; padding-top: 18px; }
}

@media (max-width: 360px) {
  .header .btn-sm { padding: 0 14px; font-size: 14px; }
  .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1800px) {
  .shell, .examples-rail { width: min(1440px, 100% - 96px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-group, .drift-group { animation: none !important; transform: none !important; }
  .motion-btn { display: none; }
}

/* ---------- Legal pages (terms.html, privacy.html) ---------- */
.legal-header .header-row { height: 68px; }
.legal-back { margin-left: auto; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink-2); }
.legal-back:hover { color: var(--violet); }
.legal { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 64px; padding-top: 48px; padding-bottom: 96px; }
.legal-toc { position: sticky; top: 92px; align-self: start; font-size: 14px; }
.legal-toc p { font-weight: 700; margin-bottom: 10px; }
.legal-toc ol { display: grid; gap: 6px; list-style: none; padding: 0; margin: 0; }
.legal-toc a { color: var(--ink-2); text-decoration: none; }
.legal-toc a:hover { color: var(--violet); }
.legal-body h1 { font: 800 clamp(40px, 5vw, 64px)/1 var(--display); letter-spacing: -.04em; }
.legal-meta { margin-top: 14px; color: var(--ink-3); font-size: 15px; }
.legal-status { margin-top: 24px; padding: 16px 18px; border-radius: 18px; background: var(--yellow-soft); font-size: 15.5px; }
.legal-summary { margin-top: 24px; padding: 20px 22px; border-radius: 22px; background: var(--lilac); }
.legal-summary h2 { margin: 0 0 10px; font: 700 20px/1.2 var(--display); }
.legal-summary ul { margin: 0; padding-left: 20px; list-style: disc; display: grid; gap: 6px; }
.legal-body section { margin-top: 44px; scroll-margin-top: 92px; }
.legal-body h2 { font: 700 26px/1.15 var(--display); letter-spacing: -.025em; }
.legal-body h3 { margin-top: 22px; font: 700 18px/1.25 var(--display); letter-spacing: -.01em; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body p { margin-top: 12px; }
.legal-body section > ul, .legal-body section > ol, .legal-body .list { margin-top: 12px; padding-left: 22px; display: grid; gap: 8px; list-style: disc; }
.legal-body ol.list { list-style: lower-alpha; }
.legal-body strong { color: var(--ink); }
.legal-body a { color: var(--violet-ink); text-underline-offset: 3px; }
.legal-table { margin-top: 16px; width: 100%; border-collapse: collapse; font-size: 14.5px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 10px; border-bottom: 1px solid var(--line); }
.legal-table th { font-weight: 700; color: var(--ink); background: var(--white); }
.legal-table td { color: var(--ink-2); }
.table-wrap { overflow-x: auto; }
.contact-card { margin-top: 14px; padding: 16px 18px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 4px; }
.todo { background: var(--yellow); color: var(--ink); padding: 0 4px; border-radius: 4px; font-weight: 600; }
@media (max-width: 900px) {
  .legal { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 28px; }
  .legal-toc { display: none; }
}
.auth-legal a { color: var(--ink-2); }
