/* ============ Tempo — Landing / Pricing ============ */
:root{
  --bg:        #FAFAF9;
  --bg-warm:   #F4F6FB;
  --surface:   #ffffff;
  --surface-2: #FAFAF9;
  --ink:       #111111;
  --ink-2:     #444444;
  --ink-3:     #888888;
  --border:    #EDEAE6;
  --border-2:  #C8C5C0;

  --terra:      #0D9488;
  --terra-ink:  #0F766E;
  --terra-soft: #F0FDFA;
  --terra-2:    #115E59;
  --sky:        #5EEAD4;

  --accent:      #F59E0B;
  --accent-ink:  #B45309;
  --accent-soft: #FEF3C7;

  --c-piano:  #0D9488;
  --c-sing:   oklch(0.63 0.155 25);
  --c-dance:  oklch(0.62 0.15 340);
  --c-drums:  oklch(0.66 0.125 70);
  --c-guitar: oklch(0.60 0.105 158);
  --c-art:    oklch(0.58 0.15 300);
  --line:     #06c755;

  --r: 12px; --r-lg: 16px; --r-sm: 8px;
  --sh-sm: 0 1px 3px rgba(17,17,17,0.06);
  --sh-md: 0 10px 34px rgba(17,17,17,0.08), 0 3px 10px rgba(17,17,17,0.05);
  --sh-lg: 0 34px 90px rgba(17,17,17,0.16), 0 12px 30px rgba(17,17,17,0.09);
  --maxw: 1180px;

  --ff: "Work Sans","IBM Plex Sans Thai",system-ui,sans-serif;
  --ff-d: "Work Sans","IBM Plex Sans Thai",system-ui,sans-serif;
  --ff-mono: "DM Mono",ui-monospace,monospace;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; font-family:var(--ff); background:var(--bg); color:var(--ink);
  -webkit-font-smoothing:antialiased; line-height:1.6; font-size:16px;
}
h1,h2,h3{ font-family:var(--ff-d); font-weight:700; letter-spacing:-0.02em; line-height:1.12; margin:0; }
a{ color:inherit; text-decoration:none; }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 28px; }
.eyebrow{ display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:700; letter-spacing:0.04em;
  color:var(--terra-ink); background:var(--terra-soft); padding:6px 14px; border-radius:30px; text-transform:uppercase; }

/* buttons */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:9px; font-family:var(--ff); font-weight:600;
  font-size:15.5px; padding:13px 24px; border-radius:13px; border:1.5px solid transparent; cursor:pointer; transition:.16s; white-space:nowrap; }
.btn-primary{ background:var(--terra); color:#fff; box-shadow:0 8px 22px rgba(13,148,136,0.30); }
.btn-primary:hover{ background:var(--terra-ink); transform:translateY(-1px); box-shadow:0 12px 28px rgba(13,148,136,0.36); }
.btn-ghost{ background:var(--surface); border-color:var(--border-2); color:var(--ink); }
.btn-ghost:hover{ background:var(--surface-2); border-color:var(--ink-3); }
.btn-lg{ padding:16px 30px; font-size:17px; border-radius:15px; }

/* ---------- nav ---------- */
.nav{ position:sticky; top:0; z-index:50; background:oklch(0.985 0.006 70 / 0.82); backdrop-filter:blur(14px);
  border-bottom:1px solid transparent; transition:.2s; }
.nav.scrolled{ border-bottom-color:var(--border); background:oklch(0.985 0.006 70 / 0.94); }
.nav-in{ display:flex; align-items:center; gap:14px; height:72px; }
.logo{ display:flex; align-items:center; gap:11px; font-family:var(--ff-d); font-weight:800; font-size:21px; letter-spacing:-0.02em; }
.logo-mark{ width:40px; height:40px; border-radius:11px; display:grid; place-items:center; overflow:hidden; }
.hl-blue{ color:var(--terra-ink); }
.nav-links{ display:flex; gap:6px; margin-left:18px; }
.nav-links a{ padding:9px 15px; border-radius:10px; font-size:15px; font-weight:500; color:var(--ink-2); transition:.14s; }
.nav-links a:hover{ background:var(--surface-2); color:var(--ink); }
.nav-cta{ margin-left:auto; display:flex; gap:10px; align-items:center; }

/* ---------- hero ---------- */
.hero{ position:relative; overflow:hidden; padding:74px 0 90px; }
.hero-grid{ display:grid; grid-template-columns:1.04fr 1.1fr; gap:56px; align-items:center; }
.hero h1{ font-size:54px; margin:20px 0 0; }
.hero h1 .hl{ position:relative; color:var(--terra-ink); white-space:nowrap; }
.hero h1 .hl::after{ content:""; position:absolute; left:-2px; right:-2px; bottom:6px; height:13px; background:var(--terra-soft); z-index:-1; border-radius:4px; }
.hero p.lead{ font-size:19px; color:var(--ink-2); margin:22px 0 30px; max-width:520px; }
.hero-cta{ display:flex; gap:13px; flex-wrap:wrap; }
.hero-trust{ display:flex; align-items:center; gap:14px; margin-top:26px; font-size:14px; color:var(--ink-3); }
.avstaq{ display:flex; }
.avstaq > span{ width:34px; height:34px; border-radius:50%; border:2.5px solid var(--bg); margin-left:-10px; display:grid; place-items:center; color:#fff; font-weight:700; font-size:13px; font-family:var(--ff-d); }
.avstaq > span:first-child{ margin-left:0; }

.hero-bg{ position:absolute; inset:0; z-index:-1; }
.blob{ position:absolute; border-radius:50%; filter:blur(60px); opacity:0.5; }
.blob.b1{ width:420px; height:420px; background:var(--terra-soft); top:-120px; right:-80px; }
.blob.b2{ width:360px; height:360px; background:oklch(0.93 0.04 250); bottom:-140px; left:-100px; opacity:0.4; }

/* browser frame mockup */
.frame{ border-radius:var(--r-lg); background:var(--surface); box-shadow:var(--sh-lg); border:1px solid var(--border);
  overflow:hidden; transform:perspective(1600px) rotateY(-9deg) rotateX(3deg); transition:transform .4s; }
.frame:hover{ transform:perspective(1600px) rotateY(-4deg) rotateX(1deg); }
.frame-bar{ display:flex; align-items:center; gap:7px; padding:12px 16px; background:var(--surface-2); border-bottom:1px solid var(--border); }
.frame-dot{ width:12px; height:12px; border-radius:50%; }
.frame-url{ margin-left:12px; flex:1; height:26px; border-radius:8px; background:var(--bg); border:1px solid var(--border);
  display:flex; align-items:center; padding:0 12px; font-size:12.5px; color:var(--ink-3); gap:7px; }
.frame img{ display:block; width:100%; height:auto; background:linear-gradient(135deg,var(--terra-soft),#fff 70%); }
.float-card{ position:absolute; background:var(--surface); border:1px solid var(--border); border-radius:14px; box-shadow:var(--sh-md);
  padding:13px 16px; display:flex; align-items:center; gap:11px; font-size:13.5px; font-weight:600; }
.fc-line{ bottom:34px; left:-26px; }
.fc-pts{ top:30px; right:-24px; }
.fc-ic{ width:34px; height:34px; border-radius:9px; display:grid; place-items:center; flex:0 0 34px; }

/* ---------- logos / proof ---------- */
.proof{ padding:30px 0 10px; }
.proof p{ text-align:center; font-size:13.5px; color:var(--ink-3); font-weight:600; letter-spacing:0.04em; text-transform:uppercase; margin:0 0 22px; }
.logo-row{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px 40px; align-items:center; opacity:0.92; }
.logo-row .school{ display:flex; align-items:center; gap:10px; font-family:var(--ff-d); font-weight:700; font-size:18px; color:var(--ink-2); }
.logo-row .school .d{ width:11px; height:11px; border-radius:50%; }

/* ---------- sections ---------- */
section.band{ padding:88px 0; }
.sec-head{ text-align:center; max-width:680px; margin:0 auto 52px; }
.sec-head h2{ font-size:40px; margin:14px 0 0; }
.sec-head p{ font-size:18px; color:var(--ink-2); margin:16px 0 0; }

/* features grid */
.feat-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.feat{ background:var(--surface); border:1px solid var(--border); border-radius:var(--r); padding:26px 24px; transition:.18s; }
.feat:hover{ box-shadow:var(--sh-md); transform:translateY(-3px); border-color:var(--border-2); }
.feat-ic{ width:50px; height:50px; border-radius:14px; display:grid; place-items:center; margin-bottom:16px; }
.feat h3{ font-size:19px; }
.feat p{ font-size:15px; color:var(--ink-2); margin:9px 0 0; }

/* showcase alternating */
.showcase{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; margin-bottom:30px; }
.showcase.flip .sc-media{ order:2; }
.sc-media{ border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--sh-md); border:1px solid var(--border); background:var(--surface); }
.sc-media img{ display:block; width:100%; height:auto; background:linear-gradient(135deg,var(--terra-soft),#fff 70%); }
.showcase h2{ font-size:33px; }
.showcase .lead{ font-size:17px; color:var(--ink-2); margin:16px 0 22px; }
.check-list{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:14px; }
.check-list li{ display:flex; gap:12px; font-size:15.5px; align-items:flex-start; }
.check-list .ck{ width:24px; height:24px; border-radius:50%; background:var(--terra-soft); color:var(--terra-ink); display:grid; place-items:center; flex:0 0 24px; margin-top:1px; }

/* steps */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.step{ text-align:center; padding:10px; }
.step-n{ width:54px; height:54px; border-radius:50%; background:var(--surface); border:2px solid var(--terra); color:var(--terra-ink);
  display:grid; place-items:center; font-family:var(--ff-d); font-weight:800; font-size:22px; margin:0 auto 18px; box-shadow:var(--sh-sm); }
.step h3{ font-size:20px; }
.step p{ font-size:15px; color:var(--ink-2); margin:9px 0 0; }

/* pricing */
.band-warm{ background:var(--bg-warm); }
.toggle{ display:inline-flex; background:var(--surface); border:1px solid var(--border); border-radius:30px; padding:5px; gap:4px; margin-top:22px; }
.toggle button{ border:0; background:transparent; font-family:var(--ff); font-weight:600; font-size:14.5px; color:var(--ink-2);
  padding:8px 20px; border-radius:24px; cursor:pointer; transition:.16s; }
.toggle button.on{ background:var(--terra); color:#fff; }
.save-pill{ font-size:12px; font-weight:700; color:var(--c-guitar); background:oklch(0.95 0.04 158); padding:2px 9px; border-radius:20px; margin-left:7px; }
.price-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; align-items:stretch; margin-top:46px; }
.plan{ background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:32px 28px; display:flex; flex-direction:column; position:relative; transition:.18s; }
.plan:hover{ box-shadow:var(--sh-md); }
.plan.pop{ border:2px solid var(--terra); box-shadow:var(--sh-lg); transform:scale(1.03); }
.plan-tag{ position:absolute; top:-14px; left:50%; transform:translateX(-50%); background:var(--terra); color:#fff; font-size:12.5px; font-weight:700; padding:5px 16px; border-radius:20px; white-space:nowrap; }
.plan h3{ font-size:22px; }
.plan .sub{ font-size:14px; color:var(--ink-3); margin:5px 0 18px; min-height:40px; }
.plan .price{ display:flex; align-items:baseline; gap:5px; }
.plan .price .cur{ font-size:22px; font-weight:700; font-family:var(--ff-d); color:var(--ink); }
.plan .price .amt{ font-size:46px; font-weight:800; font-family:var(--ff-d); letter-spacing:-0.03em; color:var(--ink); line-height:1; }
.plan .price .per{ font-size:15px; color:var(--ink-3); }
.plan .billed{ font-size:13px; color:var(--ink-3); margin-top:6px; min-height:20px; }
.plan .pfeat{ list-style:none; padding:0; margin:24px 0 26px; display:flex; flex-direction:column; gap:12px; flex:1; }
.plan .pfeat li{ display:flex; gap:10px; font-size:14.5px; align-items:flex-start; color:var(--ink-2); }
.plan .pfeat .ck{ width:20px; height:20px; border-radius:50%; background:var(--terra-soft); color:var(--terra-ink); display:grid; place-items:center; flex:0 0 20px; margin-top:2px; }
.plan .pfeat .ck.off{ background:var(--surface-2); color:var(--ink-3); }
.plan .pfeat li.na{ color:var(--ink-3); }
.plan .pfeat li.na .txt{ text-decoration:line-through; text-decoration-color:var(--border-2); }

/* testimonial */
.quote{ max-width:840px; margin:0 auto; text-align:center; }
.quote .mark{ font-family:var(--ff-d); font-size:64px; color:var(--terra-soft); line-height:0.5; }
.quote blockquote{ font-family:var(--ff-d); font-size:28px; font-weight:600; line-height:1.4; margin:18px 0 28px; letter-spacing:-0.01em; }
.quote .who{ display:flex; align-items:center; justify-content:center; gap:13px; }
.quote .who .av{ width:50px; height:50px; border-radius:50%; background:linear-gradient(150deg,var(--terra),var(--terra-2)); color:#fff; display:grid; place-items:center; font-family:var(--ff-d); font-weight:700; font-size:20px; }
.quote .who .nm{ text-align:left; }

/* faq */
.faq{ max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.qa{ background:var(--surface); border:1px solid var(--border); border-radius:var(--r); overflow:hidden; }
.qa summary{ list-style:none; cursor:pointer; padding:20px 24px; font-weight:600; font-size:16.5px; display:flex; align-items:center; gap:14px; }
.qa summary::-webkit-details-marker{ display:none; }
.qa summary .ar{ margin-left:auto; transition:.2s; color:var(--ink-3); flex:0 0 auto; }
.qa[open] summary .ar{ transform:rotate(180deg); }
.qa .ans{ padding:0 24px 22px; color:var(--ink-2); font-size:15.5px; }

/* cta band */
.cta-band{ background:linear-gradient(150deg,var(--terra),var(--terra-2)); border-radius:var(--r-lg); padding:60px 40px; text-align:center; color:#fff; position:relative; overflow:hidden; }
.cta-band h2{ font-size:38px; color:#fff; }
.cta-band p{ font-size:18px; opacity:0.92; margin:16px auto 30px; max-width:560px; }
.cta-band .btn-primary{ background:#fff; color:var(--terra-ink); box-shadow:0 10px 30px oklch(0.3 0.05 40 / 0.25); }
.cta-band .btn-primary:hover{ background:oklch(0.97 0.01 70); }
.cta-band .btn-ghost{ background:transparent; border-color:oklch(1 0 0 / 0.5); color:#fff; }
.cta-band .btn-ghost:hover{ background:oklch(1 0 0 / 0.12); }

/* footer */
footer{ padding:60px 0 40px; border-top:1px solid var(--border); margin-top:88px; }
.foot-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:30px; }
.foot-grid h4{ font-size:14px; font-weight:700; color:var(--ink); margin:0 0 14px; }
.foot-grid a{ display:block; font-size:14.5px; color:var(--ink-2); padding:5px 0; }
.foot-grid a:hover{ color:var(--terra-ink); }
.foot-bottom{ display:flex; justify-content:space-between; align-items:center; margin-top:40px; padding-top:24px; border-top:1px solid var(--border); font-size:13.5px; color:var(--ink-3); flex-wrap:wrap; gap:12px; }

/* reveal animation */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in{ opacity:1; transform:none; }

@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; gap:48px; }
  .hero h1{ font-size:42px; }
  .frame{ transform:none; }
  .feat-grid{ grid-template-columns:repeat(2,1fr); }
  .showcase{ grid-template-columns:1fr; gap:32px; }
  .showcase.flip .sc-media{ order:0; }
  .steps{ grid-template-columns:1fr; gap:32px; max-width:420px; margin:0 auto; }
  .price-grid{ grid-template-columns:1fr; max-width:440px; margin:46px auto 0; }
  .plan.pop{ transform:none; }
  .foot-grid{ grid-template-columns:1fr 1fr; }
  .nav-links{ display:none; }
}
@media (max-width:560px){
  .wrap{ padding:0 18px; }
  .hero h1{ font-size:34px; }
  .hero h1 .hl{ white-space:normal; }
  .sec-head h2{ font-size:30px; }
  .feat-grid{ grid-template-columns:1fr; }
  .float-card{ display:none; }
  section.band{ padding:60px 0; }
  .foot-grid{ grid-template-columns:1fr; }
  .quote blockquote{ font-size:22px; }
}
