/* Vittora website (v3): clean and minimal.
   One deep-indigo ground, generous space, two typefaces, and two liquid-metal drops (js/orb.js) that glide between "slots"
   in the page: the hero, the two metals, the three lines, and the finale. Everything else is type.
   Single dark look by design: every colour is set here and the page paints its own ground. */
:root{
  color-scheme:dark;
  --ground:#070B1F;          /* page */
  --ground-2:#0C1230;        /* inputs, sheets */
  --ink:#F7F3EA;             /* text */
  --ink-2:#AEB5CE;           /* secondary text */
  --ink-3:#7E86A3;           /* captions, at least 12px */
  --line:rgba(174,181,206,.16);
  --gold:#E9B44C;            /* accent: italics, focus, the one button */
  --gold-ink:#1C1200;
  --loss:#FF9C82;
  --metal:linear-gradient(135deg,#FFF1C2 0%,#F7D27A 30%,#E9B44C 60%,#C98A1E 100%);
  --serif:'Instrument Serif',Georgia,'Times New Roman',serif;
  --sans:'Inter Tight',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --dv:'Tiro Devanagari Hindi','Noto Serif Devanagari',serif;
  --gut:clamp(20px,5vw,72px);
  --nav-h:72px;
  --space:clamp(96px,12vw,170px);
  --ease:cubic-bezier(.16,1,.3,1);
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;background:var(--ground);scrollbar-color:#2a3366 var(--ground)}
html.motion{scroll-behavior:smooth}
body{margin:0;background:var(--ground);color:var(--ink);font:400 17px/1.6 var(--sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:clip}
h1,h2,h3,p,ol,ul,figure,figcaption,dl,dd{margin:0;padding:0}
ol,ul{list-style:none}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
input{font:inherit;color:inherit}
img,svg,canvas{display:block}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:6px}
::selection{background:rgba(233,180,76,.3)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.ic{flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.skip{position:fixed;left:16px;top:-80px;z-index:60;padding:12px 18px;border-radius:999px;background:var(--ink);color:var(--ground);font-weight:600}
.skip:focus{top:calc(12px + env(safe-area-inset-top,0px))}
.wrap{width:100%;max-width:1200px;margin-inline:auto;padding-left:max(var(--gut),env(safe-area-inset-left,0px));padding-right:max(var(--gut),env(safe-area-inset-right,0px))}
.narrow{max-width:820px}
main{position:relative;z-index:1}
section{scroll-margin-top:var(--nav-h)}

/* the canvas with the drops sits behind everything; a faint glow keeps the ground from feeling flat */
.bg{position:fixed;inset:0;z-index:0;pointer-events:none;background:radial-gradient(90% 60% at 70% 20%,rgba(40,52,120,.45),transparent 70%)}
#drops{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity 1.2s linear}
html.drops-on #drops{opacity:1}

/* ---------- type ---------- */
.eyebrow{font:500 13px/1.3 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--ink-2)}
.display{font:400 clamp(56px,9.4vw,140px)/.95 var(--serif);letter-spacing:-.025em}
.title{font:400 clamp(40px,5.6vw,80px)/1.02 var(--serif);letter-spacing:-.018em;text-wrap:balance}
em{font-style:italic;color:var(--gold)}
.center{text-align:center}
.lede{font-size:clamp(18px,1.5vw,21px);line-height:1.55;color:var(--ink-2);max-width:32em;text-wrap:pretty}
.micro{font-size:14px;color:var(--ink-3)}
.hi{font:400 clamp(20px,2vw,26px)/1.5 var(--dv);color:var(--ink-2)}
.email{font-weight:600;color:var(--ink);text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:4px;cursor:copy;overflow-wrap:anywhere}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:0 26px;border-radius:999px;font:600 16px/1 var(--sans);white-space:nowrap;touch-action:manipulation;transition:transform .12s var(--ease),background-position .6s,box-shadow .2s}
.btn:active{transform:scale(.97)}
.btn-sm{min-height:44px;padding:0 20px;font-size:14px}
.btn-lg{min-height:62px;padding:0 34px;font-size:18px}
.btn-block{display:flex;width:100%}
.btn-gold{background:var(--metal);background-size:180% 180%;color:var(--gold-ink);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 8px 24px rgba(233,180,76,.18)}
.btn-gold:hover{background-position:100% 100%}
.btn-secondary{box-shadow:inset 0 0 0 1.5px var(--line)}
.btn-ghost{color:var(--ink-2)}
.btn-secondary:hover,.btn-ghost:hover{background:rgba(255,255,255,.05)}
.btn.is-on{background:transparent;color:var(--gold);box-shadow:inset 0 0 0 1.5px rgba(233,180,76,.5)}
.btn.is-busy{pointer-events:none}
.linkish{font-weight:600;color:var(--ink);text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:3px;min-height:44px}
.dots{display:inline-flex;gap:5px}
.dots i{width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.3}
html.motion .dots i{animation:dot 1.2s infinite}
html.motion .dots i:nth-child(2){animation-delay:.2s}
html.motion .dots i:nth-child(3){animation-delay:.4s}
@keyframes dot{40%{opacity:1}}

/* ---------- nav ---------- */
.nav{position:fixed;top:0;left:0;right:0;z-index:30;padding-top:env(safe-area-inset-top,0px);transition:background-color .4s,box-shadow .4s}
.nav-in{height:var(--nav-h);display:flex;align-items:center;justify-content:space-between}
.nav.is-stuck{background:rgba(7,11,31,.82);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 1px 0 var(--line)}
.nav-brand{display:flex;align-items:center;min-height:44px;color:var(--ink)}
.nav-brand .wordmark{height:24px;width:auto}

/* ---------- slots: where a drop sits. Empty boxes; without WebGL they show a drawn sphere instead ---------- */
.slot{aspect-ratio:1;border-radius:50%;pointer-events:none}
html.no3d .slot[data-drop="gold"]{background:radial-gradient(circle at 34% 30%,#FFF8DE 0 5%,#F7D27A 22%,#E9B44C 48%,#A8700F 80%,#5A3A05 100%);box-shadow:0 0 80px rgba(233,180,76,.22)}
html.no3d .slot[data-drop="silver"]{background:radial-gradient(circle at 34% 30%,#FFFFFF 0 6%,#E3E8EF 24%,#AEB9C7 52%,#6E7A8B 82%,#39424F 100%)}

/* ---------- hero ---------- */
.hero{min-height:100vh;min-height:100svh;display:flex;align-items:center;padding-block:calc(var(--nav-h) + 40px) 80px}
.hero-in{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(24px,4vw,64px);align-items:center}
.hero-copy{display:grid;gap:22px;justify-items:start}
.hero .display{margin-top:6px}
.display .ln{display:block;overflow:hidden;overflow:clip;overflow-clip-margin:.18em;padding-bottom:.1em;margin-bottom:-.1em}
.display .ln>span{display:block}
.join{display:flex;align-items:center;gap:6px;width:100%;max-width:480px;margin-top:10px;padding:6px;border-radius:999px;background:var(--ground-2);box-shadow:inset 0 0 0 1px var(--line);transition:box-shadow .2s}
.join:focus-within{box-shadow:inset 0 0 0 1.5px var(--gold)}
.join-field{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding-left:18px}
.join-cc{font-weight:600;color:var(--ink-2)}
.join input{flex:1;min-width:0;height:48px;border:0;outline:0;background:transparent;font-size:17px;font-weight:500;font-variant-numeric:tabular-nums}
.join input::placeholder{color:var(--ink-3);font-weight:400}
.slot-hero{width:min(100%,520px);justify-self:center}

/* ---------- two metals ---------- */
.metals{padding-block:var(--space)}
.pair{display:flex;justify-content:center;align-items:flex-end;gap:clamp(40px,10vw,160px);margin-top:clamp(56px,7vw,96px)}
.metal{display:grid;justify-items:center;gap:28px;text-align:center}
.slot-gold{width:clamp(170px,22vw,300px)}
.slot-silver{width:clamp(120px,15vw,210px)}
.metal b{display:block;font:400 clamp(26px,2.4vw,34px)/1.1 var(--serif)}
.metal span{display:block;margin-top:8px;font-size:16px;color:var(--ink-2)}

/* ---------- three lines ---------- */
.lines{padding-block:calc(var(--space) * .5) var(--space)}
.three{display:grid;gap:clamp(80px,11vw,150px);max-width:900px;margin-inline:auto}
.three li{display:grid;grid-template-columns:72px minmax(0,1fr);column-gap:clamp(20px,3vw,40px);align-items:center}
.three .slot{grid-row:span 2;width:56px;justify-self:center}
.three h2{font:400 clamp(44px,6.4vw,92px)/1 var(--serif);letter-spacing:-.02em;color:var(--ink-3);transition:color .5s}
.three p{margin-top:12px;font-size:clamp(17px,1.4vw,20px);color:var(--ink-3);transition:color .5s;max-width:30em}
.three li.on h2{color:var(--ink)}
.three li.on p{color:var(--ink-2)}

/* ---------- Loss Protection: copy on the left, the drop inside a drawn ring on the right ---------- */
.protect{padding-block:calc(var(--space) * .4) var(--space)}
.protect-in{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(32px,6vw,96px);align-items:center}
.protect .title{margin:18px 0 26px}
.protect-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 32px;margin-top:34px;counter-reset:s}
.protect-steps li{counter-increment:s;padding-top:16px;border-top:1px solid var(--line);min-width:0}
.protect-steps b{display:block;font:400 clamp(22px,1.9vw,26px)/1.15 var(--serif)}
.protect-steps b::before{content:counter(s) "  ";font:600 12px var(--sans);letter-spacing:.1em;color:var(--gold);vertical-align:.35em}
.protect-steps span{display:block;margin-top:6px;font-size:15px;color:var(--ink-2)}
.protect-art{position:relative;width:min(100%,380px);aspect-ratio:1;justify-self:center;display:grid;place-items:center}
.ring{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.ring circle{fill:none;stroke-width:1.2}
.ring-track{stroke:var(--line)}
.ring-line{stroke:var(--gold);stroke-linecap:round;stroke-dasharray:1 1;stroke-dashoffset:0;filter:drop-shadow(0 0 6px rgba(233,180,76,.45))}
.slot-protect{width:46%}
@supports (animation-timeline:view()){
  html.motion .ring-line{animation:ringDraw linear both;animation-timeline:view();animation-range:entry 20% cover 50%}
}
@keyframes ringDraw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@media (max-width:860px){
  .protect-in{grid-template-columns:1fr}
  .protect-art{order:-1;width:min(70vw,280px)}
}
@media (max-width:560px){
  .protect-steps{grid-template-columns:1fr;gap:16px}
}

/* ---------- safety ---------- */
.trust{padding-block:calc(var(--space) * .6) var(--space)}
.trust .title{margin-bottom:32px}
.trust .lede+.lede{margin-top:16px}
.note{margin-top:40px;padding-top:22px;border-top:1px solid var(--line);font-size:14px;line-height:1.55;color:var(--ink-3);max-width:46em}

/* ---------- questions ---------- */
.faq{padding-bottom:var(--space)}
.faq .title{margin-bottom:36px}
.faq-list{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:72px;padding:18px 2px;font:400 clamp(21px,1.9vw,26px)/1.2 var(--serif);cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary .ic{color:var(--gold);transition:transform .35s var(--ease)}
.faq details[open] summary .ic{transform:rotate(45deg)}
.ans{padding:0 40px 24px 2px}
.ans p{font-size:17px;color:var(--ink-2);max-width:40em}

/* ---------- finale ---------- */
.finale{padding-block:clamp(60px,8vw,120px) var(--space)}
.finale-in{display:grid;justify-items:center;gap:36px}
.slot-sun{width:clamp(180px,24vw,320px);margin-bottom:8px}

/* ---------- footer ---------- */
.foot{position:relative;z-index:1;padding-block:48px calc(32px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);background:var(--ground)}
.foot-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 40px}
.foot-brand .wordmark{height:28px;width:auto;color:var(--ink)}
.foot-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 28px;font-size:15px;color:var(--ink-2)}
.foot-links button{min-height:44px;color:var(--ink-2)}
.foot-links button:hover{color:var(--ink)}
.foot-legal{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 40px;margin-top:28px;font-size:13px;line-height:1.55;color:var(--ink-3)}

/* ---------- sheets ---------- */
dialog.sheet{position:fixed;inset:0;margin:auto;width:min(540px,calc(100% - 32px));max-width:none;height:fit-content;max-height:calc(100% - 32px);padding:0;border:0;border-radius:28px;background:var(--ground-2);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line),0 40px 100px rgba(0,0,0,.6);overflow:auto;overscroll-behavior:contain}
dialog.sheet::backdrop{background:rgba(3,5,16,.72);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html.motion dialog.sheet[open]{animation:sheetIn .45s var(--ease) both}
html.motion dialog.sheet.is-closing{animation:sheetOut .2s ease both}
@keyframes sheetIn{from{opacity:0;transform:translateY(24px)}}
@keyframes sheetOut{to{opacity:0;transform:translateY(16px)}}
.sheet-in{position:relative;padding:34px 32px 28px}
.sheet-x{position:absolute;right:14px;top:14px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:var(--ink-2)}
.sheet-x:hover{background:rgba(255,255,255,.06);color:var(--ink)}
.sheet-title{font:400 clamp(34px,5vw,44px)/1.04 var(--serif);letter-spacing:-.015em;margin-top:12px;padding-right:36px}
.sheet-sub{margin-top:12px;font-size:16px;color:var(--ink-2)}
.sheet form{margin-top:22px;display:grid;gap:16px}
.field{display:block;min-width:0}
.field-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.field-label{display:block;font:600 13px/18px var(--sans);margin-bottom:8px;color:var(--ink-2)}
.opt{font-weight:400;color:var(--ink-3)}
.input-wrap{display:flex;align-items:center;gap:8px;min-height:54px;padding:0 16px;border-radius:16px;background:var(--ground);box-shadow:inset 0 0 0 1px var(--line);transition:box-shadow .16s}
.input-wrap:focus-within{box-shadow:inset 0 0 0 1.5px var(--gold)}
.input-wrap.error{box-shadow:inset 0 0 0 1.5px var(--loss)}
.input-prefix{font-weight:600;color:var(--ink-2)}
.input{flex:1;min-width:0;height:50px;border:0;outline:0;background:transparent;font-size:17px;font-weight:500}
.input::placeholder{color:var(--ink-3);font-weight:400}
.field-error{font-size:13px;line-height:18px;color:var(--loss);font-weight:500;margin-top:6px}
.seg{display:flex;gap:4px;padding:4px;border-radius:999px;background:var(--ground);box-shadow:inset 0 0 0 1px var(--line)}
.seg-wide{width:100%}
.seg-b{position:relative;flex:1;display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:999px;font:600 14px/1 var(--sans);color:var(--ink-2);cursor:pointer}
.seg-b:has(input:checked){background:rgba(233,180,76,.14);color:var(--gold);box-shadow:inset 0 0 0 1px rgba(233,180,76,.45)}
.seg-b input{position:absolute;opacity:0;width:1px;height:1px}
.seg-b:has(input:focus-visible){outline:2px solid var(--gold);outline-offset:3px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.check{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start;min-height:44px;padding:6px 0;font-size:15px;line-height:1.45;cursor:pointer}
.check input{position:absolute;opacity:0;width:1px;height:1px}
.check .box{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;box-shadow:inset 0 0 0 1.5px var(--ink-3);color:transparent;transition:background .16s,box-shadow .16s}
.check input:checked+.box{background:var(--gold);box-shadow:none;color:var(--gold-ink)}
.check input:focus-visible+.box{outline:2px solid var(--gold);outline-offset:3px}
.check.error .box{box-shadow:inset 0 0 0 1.5px var(--loss)}
.sheet-fine{font-size:13px;line-height:1.5;color:var(--ink-3);text-align:center}
.reg-done{text-align:center;padding-top:8px}
.reg-done .sheet-title{padding-right:0}
.done-drop{display:grid;place-items:center;height:120px}
.done-drop i{width:72px;height:72px;border-radius:50%;background:radial-gradient(circle at 34% 30%,#FFF8DE 0 6%,#F7D27A 24%,#E9B44C 50%,#A8700F 82%,#5A3A05 100%);box-shadow:0 0 50px rgba(233,180,76,.35)}
html.motion .done-drop.play i{animation:drop .9s cubic-bezier(.34,1.56,.64,1) both}
@keyframes drop{from{opacity:0;transform:translateY(-70px) scale(.5)}}
.reg-done .btn{margin-top:22px}
.reg-done .btn+.btn{margin-top:8px}
.preview-flag{margin-top:16px;padding:12px 14px;border-radius:14px;background:rgba(174,181,206,.07);box-shadow:inset 0 0 0 1px var(--line);font-size:13px;line-height:1.45;color:var(--ink-2);text-align:left}
.sheet-doc .doc{margin-block:20px 24px}
.doc h3{font:600 15px/1.3 var(--sans);margin-top:20px}
.doc p{margin-top:6px;font-size:15px;line-height:1.55;color:var(--ink-2)}
.doc-date{color:var(--ink-3)!important;margin-top:20px!important}
html.modal-open{overflow:hidden}

/* ---------- toast and the reduced-motion note ---------- */
.toast{position:fixed;left:50%;bottom:calc(28px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:80;max-width:calc(100% - 40px);padding:12px 20px;border-radius:999px;background:var(--ink);color:var(--ground);font:600 14px/1.3 var(--sans)}
.motion-chip{position:fixed;left:max(16px,env(safe-area-inset-left,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:40;display:flex;align-items:center;gap:14px;max-width:min(560px,calc(100% - 32px));padding:10px 10px 10px 20px;border-radius:20px;background:var(--ground-2);box-shadow:inset 0 0 0 1px var(--line),0 18px 44px rgba(0,0,0,.5)}
.motion-chip p{font-size:14px;line-height:1.4;color:var(--ink-2);min-width:0}
.chip-x{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;color:var(--ink-3)}
.noscript{position:relative;z-index:2;margin:0;padding:16px var(--gut);background:var(--ground-2);color:var(--ink-2)}

/* ---------- motion: a short entrance, and gentle reveals on scroll (only with html.motion) ---------- */
html.motion .hero [data-in]{animation:in .9s var(--ease) both;animation-delay:calc(var(--d,0) * 80ms + 150ms)}
html.motion .hero .display [data-in]{animation-name:up;animation-duration:1.1s}
@keyframes in{from{opacity:0;transform:translateY(18px)}}
@keyframes up{from{transform:translateY(110%)}}
@supports (animation-timeline:view()){
  html.motion [data-rise]{animation:rise linear both;animation-timeline:view();animation-range:entry calc(var(--i,0) * 5%) cover calc(14% + var(--i,0) * 3%)}
}
@supports not (animation-timeline:view()){
  html.motion [data-rise]{opacity:.3;transform:translateY(28px);transition:opacity .9s var(--ease),transform .9s var(--ease);transition-delay:calc(var(--i,0) * 70ms)}
  html.motion [data-rise].in{opacity:1;transform:none}
}
@keyframes rise{from{opacity:.3;transform:translateY(32px)}to{opacity:1;transform:none}}
html.still [data-rise],html.still [data-in]{animation:none!important;opacity:1!important;transform:none!important}

/* ---------- responsive ---------- */
@media (max-width:860px){
  .hero{align-items:flex-start;padding-top:calc(var(--nav-h) + 12px)}
  .hero-in{grid-template-columns:1fr;gap:8px}
  .slot-hero{order:-1;width:min(64vw,300px);margin-bottom:4px}
  .three li{grid-template-columns:44px minmax(0,1fr);column-gap:16px}
  .three .slot{width:36px}
}
@media (max-width:560px){
  body{font-size:16px}
  .join{flex-direction:column;align-items:stretch;border-radius:24px;padding:8px}
  .join-field{padding:0 12px}
  .field-2{grid-template-columns:1fr}
  .pair{gap:28px}
  .metal span{font-size:14px}
  dialog.sheet{margin:auto 0 0;width:100%;border-radius:28px 28px 0 0;max-height:calc(100% - 24px - env(safe-area-inset-top,0px))}
  .sheet-in{padding:30px 20px calc(22px + env(safe-area-inset-bottom,0px))}
  html.motion dialog.sheet[open]{animation-name:sheetUp}
  @keyframes sheetUp{from{transform:translateY(100%)}}
  .foot-in{flex-direction:column;align-items:flex-start}
}
@media print{.bg,.nav,.motion-chip{display:none}body{background:#fff;color:#000}}
