/* ============================================================
   Sharp — Landing Page styles
   Clean Apple aesthetic: light grey canvas, white cards,
   vivid blue, heavy black display type, colourful icon tiles.
   ============================================================ */

:root{
  --bg:        #f2f2f7;   /* iOS grouped background */
  --bg-2:      #ffffff;
  --card:      #ffffff;
  --ink:       #0a0a0c;   /* near-black headings */
  --ink-2:     #1c1c1e;
  --muted:     #6b6b73;   /* secondary text */
  --muted-2:   #98989f;
  --line:      rgba(0,0,0,.07);

  --blue:      #2f6bf6;
  --blue-dk:   #2059e6;
  --blue-lite: #eaf0ff;
  --green:     #30b85a;
  --green-bg:  #e6f7ec;
  --orange:    #ff9f0a;
  --purple:    #b45cf0;
  --teal:      #1fc3b0;

  --radius:    24px;
  --radius-sm: 16px;
  --radius-lg: 34px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 6px 16px rgba(20,20,40,.05);
  --shadow:    0 4px 14px rgba(20,20,40,.06), 0 18px 50px rgba(20,20,50,.08);
  --shadow-lg: 0 10px 30px rgba(20,20,40,.10), 0 40px 80px rgba(20,20,60,.12);

  --maxw: 1160px;
  --pad: clamp(20px, 5vw, 40px);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", system-ui, "Segoe UI", Roboto, sans-serif;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  font-family:var(--sans);
  background:var(--bg);
  color:var(--ink);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}

img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }

.wrap{ width:100%; max-width:var(--maxw); margin:0 auto; padding-inline:var(--pad); }

/* ---------- Type ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:680; letter-spacing:.04em;
  color:var(--blue); text-transform:uppercase; white-space:nowrap;
}
h1,h2,h3{ letter-spacing:-.025em; line-height:1.04; font-weight:800; text-wrap:balance; }
h1{ font-size:clamp(40px, 6.4vw, 76px); }
h2{ font-size:clamp(32px, 4.6vw, 56px); }
.lead{ font-size:clamp(17px,1.9vw,21px); color:var(--muted); font-weight:480; line-height:1.5; text-wrap:pretty; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:inherit; font-size:17px; font-weight:680; line-height:1;
  padding:16px 26px; border-radius:999px; border:0; cursor:pointer;
  transition:transform .18s cubic-bezier(.2,.7,.2,1), box-shadow .18s, background .18s;
  white-space:nowrap;
}
.btn-primary{ background:var(--blue); color:#fff; box-shadow:0 8px 22px rgba(47,107,246,.32); }
.btn-primary:hover{ background:var(--blue-dk); transform:translateY(-2px); box-shadow:0 12px 30px rgba(47,107,246,.40); }
.btn-ghost{ background:rgba(120,120,128,.10); color:var(--ink); }
.btn-ghost:hover{ background:rgba(120,120,128,.18); transform:translateY(-2px); }
.btn-dark{ background:var(--ink); color:#fff; }
.btn-dark:hover{ transform:translateY(-2px); box-shadow:var(--shadow); }
.btn .ic{ width:19px; height:19px; }

/* App-store style pill */
.store{
  display:inline-flex; align-items:center; gap:11px;
  background:var(--ink); color:#fff; padding:11px 20px 11px 18px; border-radius:15px;
  transition:transform .18s, box-shadow .18s; cursor:pointer;
}
.store:hover{ transform:translateY(-2px); box-shadow:var(--shadow); }
.store svg{ width:26px; height:26px; flex:0 0 auto; }
.store > span{ display:flex; flex-direction:column; align-items:flex-start; }
.store .s1{ font-size:11px; opacity:.8; line-height:1.15; font-weight:500; white-space:nowrap; }
.store .s2{ font-size:18px; font-weight:680; line-height:1.15; letter-spacing:-.01em; white-space:nowrap; }

/* ---------- Nav ---------- */
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(180%) blur(20px);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  background:rgba(242,242,247,.72);
  border-bottom:1px solid transparent;
  transition:border-color .3s, background .3s;
}
.nav.scrolled{ border-color:var(--line); background:rgba(242,242,247,.85); }
.nav-in{ display:flex; align-items:center; gap:24px; height:64px; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:740; font-size:21px; letter-spacing:-.02em; }
.brand img{ width:32px; height:32px; border-radius:8px; }
.nav-links{ display:flex; gap:30px; margin-left:18px; }
.nav-links a{ font-size:15px; font-weight:560; color:var(--muted); transition:color .15s; }
.nav-links a:hover{ color:var(--ink); }
.nav-cta{ margin-left:auto; display:flex; align-items:center; gap:14px; }
.nav-cta .btn{ padding:11px 20px; font-size:15px; }
.burger{ display:none; }

/* ---------- Hero ---------- */
.hero{ position:relative; padding-top:clamp(36px,6vw,72px); padding-bottom:clamp(40px,6vw,80px); }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:40px; align-items:center; }
.hero h1{ margin:18px 0 22px; }
.hero h1 .grad{
  background:linear-gradient(100deg,#3b9dff,#2f6bf6);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero .lead{ max-width:30ch; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:14px; margin-top:30px; }
.hero-meta{ display:flex; align-items:center; gap:18px; margin-top:26px; color:var(--muted); font-size:14px; font-weight:520; }
.hero-meta .dot{ width:4px; height:4px; border-radius:50%; background:var(--muted-2); }
.stars{ display:inline-flex; gap:2px; color:var(--orange); }
.stars svg{ width:15px; height:15px; }

/* Hero visual */
.hero-visual{ position:relative; display:flex; justify-content:center; align-items:flex-end; min-height:520px; }
.hero-blob{
  position:absolute; inset:6% 4% -4% 4%;
  background:radial-gradient(120% 90% at 50% 18%, #eaf0ff 0%, #f2f2f7 62%);
  border-radius:48% 48% 44% 44%/52% 52% 48% 48%;
  filter:blur(2px);
}
.hero-char{ position:relative; z-index:2; max-height:560px; width:auto;
  filter:drop-shadow(0 30px 50px rgba(20,20,60,.18)); }
.float-card{
  position:absolute; z-index:3; background:#fff; border-radius:18px;
  box-shadow:var(--shadow); padding:14px 16px; display:flex; align-items:center; gap:12px;
}
.fc-score{ top:8%; left:-2%; }
.fc-scan{ bottom:14%; right:-4%; padding:13px 18px; }
.fc-streak{ bottom:42%; left:-6%; }
.float-card .tile{ width:42px; height:42px; border-radius:11px; flex:0 0 auto; }
.float-card .fc-k{ font-size:12px; color:var(--muted); font-weight:560; line-height:1.2; }
.float-card .fc-v{ font-size:19px; font-weight:760; letter-spacing:-.02em; line-height:1.1; }
.fc-pos{ color:var(--green); font-weight:700; }

/* ---------- Icon tiles ---------- */
.tile{
  display:grid; place-items:center; color:#fff;
  box-shadow:0 4px 10px rgba(0,0,0,.10);
}
.tile svg{ width:56%; height:56%; }
.tile.blue{ background:linear-gradient(160deg,#3b82ff,#2f6bf6); }
.tile.orange{ background:linear-gradient(160deg,#ffb43b,#ff9f0a); }
.tile.purple{ background:linear-gradient(160deg,#c47cf5,#b45cf0); }
.tile.teal{ background:linear-gradient(160deg,#37d7c4,#1fc3b0); }
.tile.green{ background:linear-gradient(160deg,#46cf6f,#30b85a); }

/* ---------- Section scaffolding ---------- */
section{ position:relative; }
.band{ padding:clamp(64px,9vw,120px) 0; }
.band.white{ background:var(--bg-2); }
.sec-head{ max-width:680px; margin-bottom:clamp(40px,5vw,64px); }
.sec-head.center{ margin-inline:auto; text-align:center; }
.sec-head h2{ margin:14px 0 16px; }

/* ---------- Steps (How it works) ---------- */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; counter-reset:step; }
.step{ background:var(--card); border-radius:var(--radius); padding:26px 24px 28px; box-shadow:var(--shadow-sm);
  position:relative; overflow:hidden; }
.step .tile{ width:52px; height:52px; border-radius:14px; margin-bottom:50px; }
.step .num{ position:absolute; top:22px; right:26px; font-size:14px; font-weight:740; color:var(--muted-2); }
.step h3{ font-size:20px; margin-bottom:8px; }
.step p{ font-size:15px; color:var(--muted); }

/* ---------- Features grid ---------- */
.features{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.feature{ background:var(--card); border-radius:var(--radius); padding:30px 28px; box-shadow:var(--shadow-sm);
  transition:transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.feature:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.feature .tile{ width:50px; height:50px; border-radius:14px; margin-bottom:20px; }
.feature h3{ font-size:21px; margin-bottom:9px; }
.feature p{ font-size:15.5px; color:var(--muted); }

/* ---------- Showcase (split) ---------- */
.showcase{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(36px,5vw,72px); align-items:center; }
.showcase.flip .sc-media{ order:2; }
.sc-media{ position:relative; background:linear-gradient(165deg,#f7f8fb,#eef1f8);
  border-radius:var(--radius-lg); padding:38px; box-shadow:var(--shadow-sm); overflow:hidden; }
.sc-media img{ margin-inline:auto; filter:drop-shadow(0 24px 40px rgba(20,20,60,.16)); }
.sc-list{ margin-top:26px; display:flex; flex-direction:column; gap:18px; }
.sc-item{ display:flex; gap:15px; align-items:flex-start; }
.sc-item .tile{ width:40px; height:40px; border-radius:11px; flex:0 0 auto; }
.sc-item h4{ font-size:17px; font-weight:680; margin-bottom:3px; }
.sc-item p{ font-size:15px; color:var(--muted); }

/* Score gauge — open ring matching the Sharp app icon (22% gap at bottom) */
.sc-media{ display:flex; flex-direction:column; align-items:center; }
.gauge{ position:relative; width:200px; height:200px; margin:6px auto 24px; }
.gauge svg{ display:block; }
.g-bg{ stroke:rgba(118,118,128,.16); stroke-dasharray:455.8 584.3; }
.g-fg{ stroke-dasharray:0 584.3; }
.gauge-center{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.ring-num{ font-size:62px; font-weight:740; color:var(--ink); letter-spacing:-.04em; line-height:1; font-variant-numeric:tabular-nums; }
.ring-lbl{ font-size:14px; color:var(--muted); font-weight:520; margin-top:7px; }
.scorebars{ width:100%; background:var(--card); border-radius:20px; box-shadow:var(--shadow-sm); overflow:hidden; }
.sb{ display:flex; align-items:center; gap:13px; padding:13px 16px; position:relative; }
.sb + .sb::before{ content:''; position:absolute; left:59px; right:0; top:0; height:1px; background:var(--line); }
.sb-ic{ width:30px; height:30px; border-radius:8px; flex:0 0 auto; display:grid; place-items:center; }
.sb-ic svg{ width:17px; height:17px; }
.sb-nm{ flex:1; font-size:16px; color:var(--ink-2); letter-spacing:-.2px; white-space:nowrap; }
.sb-track{ width:96px; height:6px; border-radius:3px; background:rgba(118,118,128,.12); overflow:hidden; flex:0 0 auto; }
.sb-fill{ display:block; height:100%; width:0; border-radius:3px; transition:width 1.1s cubic-bezier(.2,.7,.2,1); }
.sb-val{ font-size:16px; font-weight:600; color:var(--ink-2); min-width:26px; text-align:right; font-variant-numeric:tabular-nums; }

/* ---------- Pricing ---------- */
.plans{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; max-width:980px; margin-inline:auto; }
.plan{ background:var(--card); border-radius:var(--radius); padding:30px 28px 32px; box-shadow:var(--shadow-sm);
  border:2px solid transparent; position:relative; transition:transform .25s, box-shadow .25s; }
.plan:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.plan.best{ border-color:var(--blue); box-shadow:var(--shadow); }
.plan .tag{ position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:var(--blue); color:#fff; font-size:12px; font-weight:680; padding:6px 14px; border-radius:999px; }
.plan .pn{ font-size:20px; font-weight:740; }
.plan .ps{ font-size:14px; color:var(--muted); margin-top:2px; }
.plan .price{ display:flex; align-items:baseline; gap:7px; margin:20px 0 4px; }
.plan .price b{ font-size:44px; font-weight:820; letter-spacing:-.03em; }
.plan .price span{ font-size:15px; color:var(--muted); font-weight:560; }
.plan .per{ font-size:13px; color:var(--muted-2); }
.plan .btn{ width:100%; margin-top:24px; }
.assure{ max-width:980px; margin:24px auto 0; display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.assure .a{ background:var(--card); border-radius:var(--radius-sm); padding:16px 18px; display:flex; gap:13px; align-items:center; box-shadow:var(--shadow-sm); }
.assure .tile{ width:38px; height:38px; border-radius:10px; flex:0 0 auto; }
.assure h4{ font-size:15px; font-weight:680; }
.assure p{ font-size:13px; color:var(--muted); }

/* ---------- FAQ ---------- */
.faq{ max-width:780px; margin-inline:auto; }
.q{ background:var(--card); border-radius:var(--radius-sm); margin-bottom:12px; box-shadow:var(--shadow-sm); overflow:hidden; }
.q summary{ list-style:none; cursor:pointer; padding:22px 24px; display:flex; align-items:center;
  justify-content:space-between; gap:16px; font-size:18px; font-weight:640; }
.q summary::-webkit-details-marker{ display:none; }
.q .chev{ width:22px; height:22px; flex:0 0 auto; color:var(--muted); transition:transform .25s; }
.q[open] .chev{ transform:rotate(45deg); color:var(--blue); }
.q .ans{ padding:0 24px 22px; color:var(--muted); font-size:16px; line-height:1.6; max-width:64ch; }

/* ---------- CTA ---------- */
.cta{ background:var(--bg-2); }
.cta-card{ position:relative; background:linear-gradient(155deg,#2f6bf6,#1f4fd6);
  border-radius:var(--radius-lg); padding:clamp(40px,5vw,68px); overflow:hidden;
  display:grid; grid-template-columns:1.1fr .9fr; align-items:center; gap:30px; box-shadow:var(--shadow-lg); }
.cta-card h2{ color:#fff; }
.cta-card p{ color:rgba(255,255,255,.86); font-size:19px; margin:16px 0 28px; max-width:34ch; }
.cta-card .store{ background:#fff; color:var(--ink); }
.cta-buttons{ display:flex; gap:14px; flex-wrap:wrap; }
.cta-char{ position:relative; height:100%; min-height:300px; }
.cta-char img{ position:absolute; bottom:-68px; right:-10px; max-height:430px; width:auto;
  filter:drop-shadow(0 24px 40px rgba(0,0,0,.25)); }
.cta-glow{ position:absolute; width:380px; height:380px; right:-40px; top:-120px;
  background:radial-gradient(circle, rgba(255,255,255,.28), transparent 65%); }

/* ---------- Footer ---------- */
.footer{ background:var(--bg); padding:64px 0 48px; border-top:1px solid var(--line); }
.foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; margin-bottom:46px; }
.foot-brand .brand{ margin-bottom:14px; }
.foot-brand p{ font-size:14px; color:var(--muted); max-width:30ch; }
.foot-col h5{ font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--muted-2); margin-bottom:16px; }
.foot-col a, .foot-col span{ display:block; font-size:15px; color:var(--muted); margin-bottom:11px; transition:color .15s; }
.foot-col a:hover{ color:var(--ink); }
.foot-bot{ display:flex; justify-content:space-between; align-items:center; gap:16px;
  padding-top:26px; border-top:1px solid var(--line); font-size:13.5px; color:var(--muted-2); flex-wrap:wrap; }
.foot-bot a{ color:var(--muted-2); }
.foot-bot a:hover{ color:var(--ink); }

/* ---------- Reveal animation ---------- */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in{ opacity:1; transform:none; }
.reveal.d1{ transition-delay:.07s; } .reveal.d2{ transition-delay:.14s; }
.reveal.d3{ transition-delay:.21s; } .reveal.d4{ transition-delay:.28s; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  .g-fg, .sb-fill{ transition:none; }
  .float-card{ animation:none !important; }
}

/* ---------- Floating idle motion ---------- */
@keyframes bob{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-9px); } }
.fc-score{ animation:bob 5s ease-in-out infinite; }
.fc-scan{ animation:bob 5.6s ease-in-out infinite .6s; }
.fc-streak{ animation:bob 6.2s ease-in-out infinite 1.1s; }

/* ---------- Legal pages ---------- */
.legal{ background:var(--bg-2); min-height:100vh; }
.legal-head{ padding:clamp(48px,7vw,90px) 0 clamp(28px,4vw,44px); }
.legal-head .eyebrow{ margin-bottom:14px; }
.legal-head h1{ font-size:clamp(36px,5vw,58px); }
.legal-head .upd{ margin-top:16px; color:var(--muted); font-size:15px; }
.legal-body{ padding-bottom:90px; max-width:760px; }
.legal-body h2{ font-size:24px; margin:40px 0 12px; }
.legal-body h3{ font-size:19px; margin:26px 0 8px; }
.legal-body p, .legal-body li{ font-size:16.5px; color:var(--ink-2); line-height:1.7; }
.legal-body p{ margin-bottom:14px; }
.legal-body ul{ margin:0 0 16px 22px; }
.legal-body li{ margin-bottom:8px; }
.legal-body a{ color:var(--blue); }
.note{ background:var(--blue-lite); border-radius:var(--radius-sm); padding:18px 20px; margin:20px 0;
  font-size:15px; color:var(--ink-2); }
.note b{ font-weight:680; }
.legal-body table{ width:100%; border-collapse:collapse; margin:10px 0 20px; font-size:15.5px; }
.legal-body th, .legal-body td{ text-align:left; padding:11px 14px; border-bottom:1px solid var(--line); }
.legal-body th{ font-weight:680; color:var(--ink); background:var(--bg); }
.legal-body td{ color:var(--ink-2); }
.legal-body td:last-child, .legal-body th:last-child{ text-align:right; }
.addr{ font-style:normal; background:var(--bg); border-radius:var(--radius-sm); padding:18px 20px; margin:8px 0 20px; line-height:1.75; font-size:16px; color:var(--ink-2); }
.addr b{ color:var(--ink); font-weight:680; }
.toc{ background:var(--bg); border-radius:var(--radius-sm); padding:22px 24px; margin:28px 0 36px; }
.toc h4{ font-size:13px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted-2); margin-bottom:12px; }
.toc ol{ margin-left:20px; }
.toc li{ font-size:15px; margin-bottom:7px; }
.toc a{ color:var(--ink-2); }
.toc a:hover{ color:var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; text-align:center; }
  .hero .lead{ max-width:46ch; margin-inline:auto; }
  .hero-cta, .hero-meta{ justify-content:center; }
  .hero-visual{ min-height:440px; margin-top:10px; }
  .steps{ grid-template-columns:repeat(2,1fr); }
  .features{ grid-template-columns:repeat(2,1fr); }
  .showcase, .showcase.flip{ grid-template-columns:1fr; }
  .showcase.flip .sc-media{ order:0; }
  .cta-card{ grid-template-columns:1fr; text-align:center; }
  .cta-buttons{ justify-content:center; }
  .cta-char{ display:none; }
  .plans{ grid-template-columns:1fr; max-width:440px; }
  .assure{ grid-template-columns:1fr; max-width:440px; }
  .foot-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 560px){
  .nav-links{ display:none; }
  .nav-cta .ghost-link{ display:none; }
  .features, .steps{ grid-template-columns:1fr; }
  .step .tile{ margin-bottom:18px; }
  .foot-grid{ grid-template-columns:1fr; gap:30px; }
  .float-card{ transform:scale(.86); }
  .fc-score{ left:-4%; } .fc-scan{ right:-2%; }
  h1{ font-size:clamp(36px,11vw,52px); }
}
