/* ============================================================
   Public pages — "Lerne mit dem Hamster"
   landing · sign-up · log-in · rules · privacy · contact
   Light and calm: soft greens and blues, thin borders, gentle shadows.
   Signed-in app keeps styles.css.
   ============================================================ */

body.pub{
  --pub-bg:#FFFFFF;
  --bg:#FFFFFF;
  --surface:#F1F8FB;
  --surface-2:#E3F0F6;
  --ink:#17324A;
  --edge:#D3E2EA;
  --muted:#5A7086;
  --line:#E3ECF1;
  --accent:#158463;
  --accent-ink:#FFFFFF;
  --accent-soft:rgba(21,132,99,.16);
  --teal:#158463;
  --teal-soft:rgba(21,132,99,.12);
  --danger:#C0342B;
  /* calm green + blue set */
  --c-teal:#D6F0EE;
  --c-mint:#DDF3EA;
  --c-sky:#DCEBFA;
  --c-leaf:#E7F4DF;
  color-scheme:light;
  background:var(--bg);
  color:var(--ink);
  font-family:"Inter Tight","Public Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
}
body.pub h1,body.pub h2,body.pub h3{font-family:inherit;text-wrap:balance}
body.pub a{color:var(--accent)}
body.pub ::selection{background:var(--c-sky);color:var(--ink)}
@media (prefers-reduced-motion:no-preference){ html{scroll-behavior:smooth} }

.mono{
  font-family:"JetBrains Mono",ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;
  font-weight:500;font-size:12px;letter-spacing:.08em;text-transform:uppercase;
}
.pub-wrap{max-width:1160px;margin:0 auto;padding:0 20px}

/* chrome only exists on public pages */
.pub-bar,.pub-foot{display:none}
body.pub .pub-bar{display:block}
body.pub .pub-foot{display:block}
body.pub .topbar{display:none}
body.pub .bottomnav{display:none}
body.logged.pub{padding-bottom:0}

/* ---------- header ---------- */
.pub-bar{
  position:sticky;top:0;z-index:40;
  background:color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--edge);
}
.pub-bar-in{
  max-width:1160px;margin:0 auto;padding:0 20px;height:60px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.pub-brand{
  display:flex;align-items:center;gap:10px;color:var(--ink)!important;text-decoration:none;
  font-weight:800;font-size:16px;letter-spacing:-.005em;white-space:nowrap;
}
.pub-mark{width:28px;height:28px;color:var(--c-sky);flex:none}
.pub-bar-r{display:flex;align-items:center;gap:10px}
.pub-lang{display:flex;border:0;border-radius:0;padding:3px;gap:3px;background:var(--surface-2)}
.pub-lang button{
  border:0;background:transparent;color:var(--muted);border-radius:0;padding:5px 11px;
  font-family:"JetBrains Mono",ui-monospace,Menlo,Consolas,monospace;font-size:12px;font-weight:500;letter-spacing:.06em;
}
.pub-lang button:hover{color:var(--ink)}
.pub-lang button[aria-pressed="true"]{background:var(--accent);color:#fff;font-weight:700}
.pub-login{
  color:var(--ink)!important;text-decoration:none;font-weight:700;font-size:14px;background:var(--surface-2);
  border:0;border-radius:0;padding:8px 16px;transition:background .15s;
}
.pub-login:hover{background:var(--c-sky)}
body[data-view="login"] .pub-login{visibility:hidden}

/* ---------- buttons ---------- */
.pub-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:var(--accent);color:var(--accent-ink)!important;text-decoration:none;
  border:0;border-radius:0;padding:12px 22px;font-weight:800;font-size:16px;letter-spacing:-.01em;
  box-shadow:0 10px 26px -14px rgba(23,50,74,.30);transition:transform .12s ease,box-shadow .12s ease;
}
.pub-btn:hover{transform:translateY(-1px);box-shadow:0 10px 26px -14px rgba(23,50,74,.30)}
.pub-btn:active{transform:translateY(1px);box-shadow:0 10px 26px -14px rgba(23,50,74,.30)}
.pub-btn-lg{padding:18px 40px;font-size:20px;border-radius:0;box-shadow:0 10px 26px -14px rgba(23,50,74,.30)}
.pub-btn-block{width:100%;margin-top:8px}

/* ---------- hero ---------- */
.hero{
  min-height:calc(100vh - 62px);display:flex;align-items:center;text-align:center;
  background:radial-gradient(65% 55% at 50% 38%,#E4F1FB 0%,rgba(228,241,251,0) 72%);
}
.hero-in{width:100%;padding-top:30px;padding-bottom:120px;display:flex;flex-direction:column;align-items:center}
.hero-mark{width:118px;height:118px;margin-bottom:34px;filter:drop-shadow(0 14px 18px rgba(23,50,74,.18))}
.hero-h{font-size:clamp(46px,9.5vw,124px);line-height:1;font-weight:800;letter-spacing:-.03em;margin:0}
.hero-h span{display:block}
.acc{color:var(--accent)}
@media (prefers-reduced-motion:no-preference){
  .hero-mark,.hero-h{animation:rise .7s cubic-bezier(.2,.7,.2,1) both}
  .hero-h{animation-delay:.08s}
  @keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
}
/* ---------- sections ---------- */
.pub-sec{padding:104px 0;border-top:1px solid var(--edge);scroll-margin-top:60px}
#info{background:var(--bg)}
.sec-eyebrow{color:var(--accent);margin-bottom:18px;font-weight:700}
.sec-h{font-size:clamp(32px,5vw,58px);font-weight:800;letter-spacing:-.028em;line-height:1.05;max-width:20ch}
.sec-lead{color:var(--muted);font-size:18px;margin-top:16px}

.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.steps li{
  background:#fff;border:1px solid var(--edge);border-radius:22px;padding:24px;box-shadow:0 10px 26px -14px rgba(23,50,74,.30);
}
.steps li:nth-child(1){background:var(--c-teal)}
.steps li:nth-child(2){background:var(--c-sky)}
.steps li:nth-child(3){background:var(--c-mint)}
.steps .mono{
  display:inline-block;background:#fff;color:var(--ink);border:1px solid var(--edge);border-radius:99px;padding:3px 11px;font-weight:700;
}
.steps h3{font-size:24px;font-weight:800;letter-spacing:-.01em;margin:18px 0 8px}
.steps p{color:var(--ink);opacity:.78;font-size:16px;max-width:30ch}

/* ---------- plans ---------- */
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.plans-page{padding-top:44px;padding-bottom:120px}
.plans-page h1{font-size:clamp(38px,6vw,64px);font-weight:800;letter-spacing:-.03em;line-height:1.04}
.plan{
  background:#fff;border:1px solid var(--edge);border-radius:24px;padding:30px;box-shadow:0 10px 26px -14px rgba(23,50,74,.30);
  display:flex;flex-direction:column;gap:10px;min-height:270px;
}
.plan:nth-child(1){background:var(--c-mint)}
.plan:nth-child(2){background:var(--c-teal)}
.plan:nth-child(3){background:var(--c-sky)}
.plan h3{font-size:40px;font-weight:800;letter-spacing:-.025em}
.plan-price{margin-top:auto;font-size:20px;font-weight:700;color:var(--ink);padding-top:26px}
.plan-cta{
  margin-top:10px;width:100%;padding:13px;border-radius:0;
  border:0;background:rgba(255,255,255,.7);color:var(--ink);font-weight:700;cursor:not-allowed;opacity:.8;
}

/* ---------- final call ---------- */
.cta-sec{border-top:1px solid var(--line);padding:130px 0 150px;text-align:center;background:linear-gradient(180deg,#fff 0%,#E4F1FB 100%)}
.cta-in{display:flex;flex-direction:column;align-items:center}
.cta-in h2{font-size:clamp(34px,6vw,68px);font-weight:800;letter-spacing:-.03em;line-height:1.04;max-width:14ch}
/* ---------- footer ---------- */
.pub-foot{border-top:1px solid var(--edge);padding:30px 0;color:var(--muted);font-size:14px;background:var(--bg)}
body[data-view="welcome"] .pub-foot,body[data-view="info"] .pub-foot,body[data-view="plans"] .pub-foot{padding-bottom:110px}
.foot-in{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.foot-brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:600}
.foot-brand .pub-mark{width:24px;height:24px}
.foot-links{display:flex;gap:26px;flex-wrap:wrap}
.foot-links a{color:var(--ink)!important;text-decoration:none;font-weight:600}
.foot-links a:hover{color:var(--accent)!important}

/* ---------- bottom dock (Information / Plans) ---------- */
.dock{
  display:none;position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:50;
  gap:4px;padding:5px;border-radius:0;background:var(--surface-2);
  border:0;box-shadow:0 10px 26px -14px rgba(23,50,74,.30);
}
body[data-view="welcome"] .dock,body[data-view="info"] .dock,body[data-view="plans"] .dock{display:flex}
body.pub .dock a{
  color:var(--ink);text-decoration:none;border-radius:0;padding:11px 26px;
  font-weight:700;font-size:15px;letter-spacing:-.01em;transition:background .15s,color .15s;
}
body.pub .dock a:hover{background:#fff}
body.pub .dock a[aria-current="true"]{background:var(--accent);color:#fff}
/* ---------- sign-up / log-in ---------- */
.auth-wrap{max-width:460px;margin:0 auto;padding:36px 20px 90px}
.doc-back{
  display:inline-flex;gap:6px;color:var(--ink)!important;text-decoration:none;font-size:14px;font-weight:600;margin-bottom:22px;
}
.doc-back:hover{color:var(--accent)!important}
.auth-card{
  background:var(--c-sky);border:1px solid var(--edge);border-radius:24px;padding:30px;box-shadow:0 10px 26px -14px rgba(23,50,74,.30);
}
.auth-card h1{font-size:34px;font-weight:800;letter-spacing:-.025em;line-height:1.08}
.auth-sub{color:var(--ink);opacity:.75;font-size:15px;margin:10px 0 24px;line-height:1.5}
.auth-alt{text-align:center;color:var(--ink);font-size:14.5px;margin-top:22px}
.auth-alt a,.auth-alt .linklike{color:var(--accent);font-weight:800;text-decoration:none}
.auth-alt a:hover,.auth-alt .linklike:hover{text-decoration:underline}
.pub-view .field{margin-bottom:16px}
.pub-view .field label{color:var(--ink);font-size:13px;font-weight:700}
.pub-view .field input{
  background:#fff;border:1px solid #BFD4E0;border-radius:12px;padding:12px 14px;color:var(--ink);font-size:16px;
}
.pub-view .field input::placeholder{color:#8E93B3}
.pub-view .field input:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}
.pub-view .check{color:var(--ink);font-size:14px;margin:4px 0 18px}
.pub-view .check a{font-weight:800}
.pub-view .check input{accent-color:var(--accent)}
.pub-view .msg{border-radius:12px;padding:11px 14px;border:2px solid transparent}
.pub-view .msg.error{background:#FFE1DE;color:var(--danger);border-color:var(--danger)}
.pub-view .msg.ok{background:var(--c-mint);color:var(--teal);border-color:var(--teal)}

/* ---------- documents: rules · privacy · contact ---------- */
.doc{max-width:760px;margin:0 auto;padding:44px 20px 100px}
.doc h1{font-size:clamp(38px,6vw,64px);font-weight:800;letter-spacing:-.03em;line-height:1.04}
.doc-date{color:var(--muted);margin:0 0 14px}
.doc-lead{color:var(--muted);font-size:19px;line-height:1.5;margin:18px 0 40px;max-width:52ch}
.doc-list{display:grid;gap:16px}
.doc-list section{
  display:grid;grid-template-columns:56px 1fr;gap:6px;padding:20px 22px;background:#fff;
  border:1px solid var(--edge);border-radius:20px;box-shadow:0 10px 26px -14px rgba(23,50,74,.30);
}
.doc-list section:nth-child(4n+1){background:var(--c-teal)}
.doc-list section:nth-child(4n+2){background:var(--c-sky)}
.doc-list section:nth-child(4n+3){background:var(--c-mint)}
.doc-list section:nth-child(4n+4){background:var(--c-leaf)}
.doc-list .mono{color:var(--ink);padding-top:5px;font-weight:700}
.doc-list h2{font-size:21px;font-weight:800;letter-spacing:-.01em}
.doc-list p{color:var(--ink);opacity:.8;font-size:16.5px;margin-top:6px;line-height:1.6}

.contact-card{
  display:grid;gap:8px;background:var(--c-teal);border:1px solid var(--edge);border-radius:24px;padding:30px;
  box-shadow:0 10px 26px -14px rgba(23,50,74,.30);text-decoration:none;color:var(--ink)!important;transition:transform .12s,box-shadow .12s;
}
.contact-card:hover{transform:translate(-1px,-1px);box-shadow:0 10px 26px -14px rgba(23,50,74,.30)}
.contact-card .mono{color:var(--ink);opacity:.7}
.contact-card strong{font-size:clamp(30px,5vw,44px);font-weight:800;letter-spacing:-.025em}
.contact-go{color:var(--accent);font-weight:800}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .steps,.plans{grid-template-columns:1fr}
  .plan{min-height:0}
  .pub-sec{padding:76px 0}
  .cta-sec{padding:88px 0 96px}
}
@media (max-width:420px){
  .pub-brand span{display:none}
  .doc-list section{grid-template-columns:40px 1fr;padding:18px}
  .auth-card{padding:24px}
}

/* ---------- polish ---------- */
.steps{counter-reset:step}
.steps li{position:relative;padding:28px 26px 30px}
.steps li::before{
  counter-increment:step;content:counter(step,decimal-leading-zero);display:block;margin-bottom:22px;
  font-family:"JetBrains Mono",ui-monospace,Menlo,Consolas,monospace;font-size:13px;font-weight:500;letter-spacing:.08em;color:var(--accent);
}
.steps h3{margin-top:0}
.plan,.steps li,.auth-card,.contact-card,.doc-list section{transition:transform .2s ease,box-shadow .2s ease}
.plan:hover,.steps li:hover{transform:translateY(-3px);box-shadow:0 18px 34px -18px rgba(23,50,74,.35)}
.pub-btn{transition:transform .15s ease,box-shadow .15s ease,background .15s ease}
.pub-btn:hover{background:#0F7355}
body.pub :focus-visible{outline:3px solid #7CB8EC;outline-offset:3px;border-radius:0}
.pub-view .field input:focus-visible{outline:none}
/* ============================================================
   Decorations: arc, plants, hills — and the display typeface
   ============================================================ */
body.pub .hero-h,body.pub .doc h1,body.pub .plans-page h1,body.pub .auth-card h1,
body.pub .plan h3,body.pub .contact-card strong,body.pub .pub-brand span,body.pub .foot-brand span{
  font-family:"Fraunces",Georgia,"Times New Roman",serif;font-optical-sizing:auto;
}
.pub-brand span{font-weight:700;font-size:18px;letter-spacing:-.01em}
.foot-brand span{font-weight:700;font-size:16px}
.doc h1,.plans-page h1,.auth-card h1{letter-spacing:-.02em;font-weight:700}
.plan h3,.contact-card strong{letter-spacing:-.01em;font-weight:700}
.acc{font-style:italic}

/* hero: half-disc with soft rings, plants on both sides */
.hero{position:relative;overflow:hidden;background:none}
.hero-arc{
  position:absolute;left:50%;top:0;transform:translateX(-50%);z-index:0;
  width:min(980px,130vw);height:min(490px,65vw);border-radius:0 0 999px 999px;
  background:linear-gradient(180deg,#D5E8F8 0%,#EAF4FB 100%);
  box-shadow:0 0 0 26px rgba(213,232,248,.55),0 0 0 62px rgba(213,232,248,.32),0 0 0 104px rgba(213,232,248,.16);
}
.hero-in{position:relative;z-index:2}
.hero-h{font-size:clamp(44px,8.6vw,112px);font-weight:700;letter-spacing:-.02em;line-height:1.02}
.hero-mark{width:104px;height:104px}

.deco{display:block;flex:none}
.deco-set{position:absolute;bottom:0;display:flex;align-items:flex-end;z-index:1;pointer-events:none}
.deco-l{left:-8px}
.deco-r{right:-8px;transform:scaleX(-1)}
.deco-set .round{margin-left:-26px}
.deco-set .tuft{margin-left:-34px}

/* register band: plants, hills and a hamster peeking out */
.cta-sec{position:relative;overflow:hidden;min-height:540px;padding:150px 0 0}
.cta-in{position:relative;z-index:3}
.ground{position:absolute;left:0;right:0;bottom:0;height:300px;pointer-events:none}
.ground .deco-set{bottom:36px}
.hill{position:absolute;left:0;width:100%;display:block}
.hill-back{bottom:0;height:250px}
.hill-mid{bottom:0;height:200px}
.hill-front{bottom:0;height:150px;z-index:2}
.peek{position:absolute;left:36%;bottom:22px;width:92px;height:92px;z-index:1}

body.pub .pub-foot{background:#CFEBDD;border-top:0}

@media (max-width:900px){
  .hero-mark{width:84px;height:84px}
  .deco-set{transform-origin:50% 100%}
  .deco-l{transform:scale(.55);left:-30px}
  .deco-r{transform:scale(-.55,.55);right:-30px}
  .deco-set .tuft{display:none}
  .cta-sec{min-height:470px;padding-top:110px}
  .ground .deco-set{bottom:26px}
  .peek{left:auto;right:12%;width:72px;height:72px}
}
@media (prefers-reduced-motion:no-preference){
  .peek{animation:peek 5.5s ease-in-out infinite}
  @keyframes peek{0%,100%{transform:translateY(8px)}45%,55%{transform:translateY(0)}}
}
/* ============================================================
   Blue ground under the hero plants, middle button, info parts
   ============================================================ */
.hero-ground{position:absolute;left:0;bottom:0;width:100%;height:120px;z-index:0;display:block}
.mid{background:#DCEBFA;padding:56px 0 96px;text-align:center}
.pub-btn-alt{background:#fff;color:var(--ink)!important}
.pub-btn-alt:hover{background:#F4F9FD}
.cta-sec{border-top:0;background:linear-gradient(180deg,#DCEBFA 0%,#EAF4FB 100%)}

.info-page{padding-top:44px;padding-bottom:130px}
.info-page h1{
  font-family:"Fraunces",Georgia,serif;font-size:clamp(38px,6vw,64px);font-weight:700;letter-spacing:-.02em;line-height:1.04;margin-bottom:28px;
}
.part{
  display:grid;grid-template-columns:minmax(220px,340px) 1fr;gap:28px 56px;
  padding:40px 44px;border-radius:28px;margin-top:20px;
}
.part-blue{background:#E4F1FB}
.part-mint{background:#DDF3EA}
.part-head .mono{display:block;color:var(--accent);margin-bottom:12px}
.part-head h2{font-family:"Fraunces",Georgia,serif;font-size:clamp(26px,3vw,36px);font-weight:700;letter-spacing:-.015em;line-height:1.1}
.part-head p{color:var(--muted);margin-top:12px;font-size:15.5px;max-width:30ch}
.part-lead{font-size:clamp(18px,1.9vw,22px);line-height:1.55;color:var(--ink);max-width:46ch}
.part-body .row{
  display:flex;justify-content:space-between;align-items:flex-start;gap:20px;
  padding:18px 0;border-top:1px solid rgba(23,50,74,.12);
}
.part-body .row:first-child{border-top:0;padding-top:0}
.part-body .row:last-child{padding-bottom:0}
.part-body h3{font-size:19px;font-weight:700;letter-spacing:-.01em;margin-bottom:4px}
.part-body p{color:var(--muted);font-size:16px;line-height:1.55;max-width:52ch}
.part-body .tag{
  flex:none;font-family:"JetBrains Mono",ui-monospace,Menlo,Consolas,monospace;font-size:11px;font-weight:500;letter-spacing:.08em;
  text-transform:uppercase;color:var(--muted);background:#fff;padding:5px 10px;
}
.part-body .tag.live{color:#fff;background:var(--accent)}

@media (max-width:900px){
  .hero-ground{height:80px}
  .mid{padding:44px 0 70px}
  .part{grid-template-columns:1fr;padding:30px 24px;gap:22px}
}
body.pub .info-page h1,body.pub .part-head h2{font-family:"Fraunces",Georgia,"Times New Roman",serif;font-optical-sizing:auto}
.mid{padding:56px 0 48px}
.cta-sec{min-height:500px;padding-top:70px}
@media (max-width:900px){
  .mid{padding:44px 0 36px}
  .cta-sec{min-height:450px;padding-top:56px}
}
/* ============================================================
   Landing polish — sky, clouds, sparkles, about card, call-to-action
   ============================================================ */

/* header: sign-up button next to log-in */
.pub-reg{
  background:var(--accent);color:#fff!important;text-decoration:none;font-weight:700;font-size:14px;
  padding:8px 16px;transition:background .15s,transform .15s;
}
.pub-reg:hover{background:#0F7355;transform:translateY(-1px)}
body[data-view="register"] .pub-reg{display:none}
@media (max-width:520px){ .pub-reg{display:none} }

/* hero: sky gradient behind everything */
.hero{
  background:
    radial-gradient(60% 50% at 50% 30%,rgba(255,255,255,.9) 0%,rgba(255,255,255,0) 70%),
    linear-gradient(180deg,#F4FAFE 0%,#E9F4FC 55%,#DCEBFA 100%);
}
.hero-in{padding-top:36px;padding-bottom:150px}

.hero-sky{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.cloud{position:absolute;display:block;color:#fff;filter:drop-shadow(0 8px 14px rgba(78,156,200,.16))}
.cloud.c1{width:170px;height:85px;left:7%;top:15%;opacity:.95}
.cloud.c2{width:120px;height:60px;right:9%;top:28%;opacity:.9}
.cloud.c3{width:96px;height:48px;right:31%;top:7%;opacity:.75}
.cloud.c4{width:110px;height:55px;left:15%;top:55%;opacity:.7}

.hero-eyebrow{
  display:inline-flex;align-items:center;gap:10px;margin:0 0 30px;padding:8px 16px 8px 14px;
  background:rgba(255,255,255,.85);border:1px solid var(--edge);border-radius:99px;
  font-family:"JetBrains Mono",ui-monospace,Menlo,Consolas,monospace;font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;
  color:var(--ink);box-shadow:0 8px 20px -14px rgba(23,50,74,.35);
}
.hero-eyebrow i{width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}

.hero-mark-wrap{position:relative;width:104px;height:104px;margin-bottom:34px}
.hero-mark-wrap::before{
  content:"";position:absolute;left:50%;top:50%;width:190px;height:190px;transform:translate(-50%,-50%);border-radius:50%;
  background:radial-gradient(closest-side,#fff 0%,rgba(255,255,255,.85) 55%,rgba(255,255,255,0) 100%);
}
.hero-mark-wrap .hero-mark{position:relative;margin:0;width:104px;height:104px}
.spark{position:absolute;display:block;color:#F2B84B;z-index:2;filter:drop-shadow(0 4px 6px rgba(194,120,20,.25))}
.spark.s1{width:26px;height:26px;left:-34px;top:4px}
.spark.s2{width:18px;height:18px;right:-30px;top:-6px;color:#F7CB6E}
.spark.s3{width:14px;height:14px;right:-22px;bottom:8px;color:#F2B84B}

.hero-h{text-shadow:0 2px 0 rgba(255,255,255,.7)}
.hero-h .acc{
  background:linear-gradient(100deg,#158463 10%,#2F9E86 60%,#3C8FC2 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;text-shadow:none;
  padding-right:.06em;
}
.hero-sub{
  margin:26px auto 0;max-width:34ch;font-size:clamp(18px,2.1vw,23px);line-height:1.45;color:#3B566E;text-wrap:balance;
}

.hero-scroll{
  position:absolute;left:50%;bottom:104px;transform:translateX(-50%);z-index:3;
  display:flex;flex-direction:column;align-items:center;gap:2px;text-decoration:none;
  color:var(--muted)!important;font-family:"JetBrains Mono",ui-monospace,Menlo,Consolas,monospace;
  font-size:11px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;
}
.hero-scroll:hover{color:var(--accent)!important}

/* about card (overlaps the hero ground) */
.mid{position:relative;z-index:3;padding:0 0 72px;scroll-margin-top:60px}
.about-card{
  max-width:880px;margin:-64px auto 0;padding:46px 44px 48px;text-align:center;
  background:#fff;border:1px solid var(--edge);border-radius:32px;
  box-shadow:0 30px 60px -34px rgba(23,50,74,.42),0 2px 0 rgba(255,255,255,.8) inset;
}
.about-eyebrow{color:var(--accent);font-weight:700;margin:0 0 14px}
body.pub .about-h,body.pub .cta-h{
  font-family:"Fraunces",Georgia,"Times New Roman",serif;font-optical-sizing:auto;
  font-size:clamp(30px,4.4vw,50px);font-weight:700;letter-spacing:-.02em;line-height:1.06;margin:0;
}
.about-lead{font-size:clamp(17px,1.9vw,20px);line-height:1.6;color:#3B566E;max-width:44ch;margin:18px auto 0}
.about-stats{list-style:none;margin:34px 0 36px;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.about-stats li{padding:20px 12px 18px;border-radius:22px;display:flex;flex-direction:column;align-items:center;gap:6px}
.about-stats li:nth-child(1){background:var(--c-mint)}
.about-stats li:nth-child(2){background:var(--c-sky)}
.about-stats li:nth-child(3){background:#FBEFCF}
.about-stats b{
  display:inline-flex;align-items:center;gap:6px;
  font-family:"Fraunces",Georgia,serif;font-size:clamp(34px,5vw,52px);font-weight:700;letter-spacing:-.02em;line-height:1;color:var(--ink);
}
.about-stats b svg{width:.62em;height:.62em;color:#F2B84B}
.about-stats span{font-size:14px;font-weight:600;color:#3B566E;line-height:1.3;max-width:14ch}
.pub-btn-line{
  background:transparent;color:var(--ink)!important;box-shadow:none;border:2px solid var(--ink);padding:16px 34px;font-size:18px;
}
.pub-btn-line:hover{background:var(--ink);color:#fff!important;box-shadow:none}

/* register band */
.cta-sec{min-height:640px;padding-top:80px}
body.pub .cta-h{
  font-family:"Fraunces",Georgia,"Times New Roman",serif;font-optical-sizing:auto;
  font-size:clamp(32px,5.4vw,60px);font-weight:700;letter-spacing:-.02em;line-height:1.05;max-width:16ch;margin:0;text-wrap:balance;
}
.cta-sub{font-size:clamp(17px,2vw,21px);color:#3B566E;margin:16px 0 30px}
.cta-in .pub-btn-lg{box-shadow:0 18px 32px -16px rgba(21,132,99,.65)}
.cta-have{margin:22px 0 0;font-size:15px;color:#3B566E}
.cta-have a{font-weight:800;text-decoration:none}
.cta-have a:hover{text-decoration:underline}

/* motion */
@media (prefers-reduced-motion:no-preference){
  .cloud.c1{animation:drift 22s ease-in-out infinite alternate}
  .cloud.c2{animation:drift 26s ease-in-out -6s infinite alternate-reverse}
  .cloud.c3{animation:drift 30s ease-in-out -12s infinite alternate}
  .cloud.c4{animation:drift 34s ease-in-out -3s infinite alternate-reverse}
  @keyframes drift{from{transform:translateX(-26px)}to{transform:translateX(34px)}}

  .hero-mark-wrap{animation:rise .7s cubic-bezier(.2,.7,.2,1) both,bob 5s ease-in-out .8s infinite}
  @keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
  .hero-eyebrow{animation:rise .6s cubic-bezier(.2,.7,.2,1) both}
  .hero-sub{animation:rise .7s cubic-bezier(.2,.7,.2,1) .18s both}

  .spark{animation:twinkle 3.2s ease-in-out infinite}
  .spark.s2{animation-delay:-1.1s}
  .spark.s3{animation-delay:-2.1s}
  @keyframes twinkle{0%,100%{transform:scale(1) rotate(0);opacity:1}50%{transform:scale(.7) rotate(14deg);opacity:.75}}

  .hero .deco-set .deco,.ground .deco-set .deco{transform-origin:50% 100%;animation:sway 6s ease-in-out infinite alternate}
  .hero .deco-set .round,.ground .deco-set .round{animation-duration:7.5s;animation-delay:-2s}
  .hero .deco-set .tuft,.ground .deco-set .tuft{animation-duration:5s;animation-delay:-1s}
  @keyframes sway{from{transform:rotate(-1.6deg)}to{transform:rotate(1.6deg)}}

  .hero-scroll svg{animation:nudge 1.8s ease-in-out infinite}
  @keyframes nudge{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}
}

/* responsive */
@media (min-width:901px) and (max-width:1180px){
  .deco-l{transform:scale(.8);transform-origin:0 100%}
  .deco-r{transform:scale(-.8,.8);transform-origin:100% 100%}
}
@media (max-width:900px){
  .hero-in{padding-bottom:130px}
  .hero-scroll{display:none}
  .cloud.c3,.cloud.c4{display:none}
  .cloud.c1{width:110px;height:55px;left:-2%;top:11%}
  .cloud.c2{width:84px;height:42px;right:2%;top:19%}
  .mid{padding-bottom:44px}
  .about-card{padding:34px 22px 36px;border-radius:26px;margin-top:-48px}
  .about-stats{gap:10px}
  .about-stats li{padding:16px 8px 14px;border-radius:18px}
  .cta-sec{min-height:600px;padding-top:60px}
}
@media (max-width:480px){
  .spark.s1{left:-26px}.spark.s2{right:-22px}.spark.s3{right:-16px}
  .hero-eyebrow{font-size:10.5px;padding:7px 12px 7px 11px;margin-bottom:24px}
  .pub-btn-lg{padding:16px 28px;font-size:18px}
}
