/* gmclip landing page: Sticker Playful (assets/brand/BRAND.md), the app's own tokens. */
@font-face {
  font-family: "Fredoka";
  src: url("assets/fonts/Fredoka-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("assets/fonts/NunitoSans-Variable.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --blue: #4a9be8;
  --yellow: #ffd23f;
  --coral: #ff6b5b;
  --teal: #2ec4b6;
  --violet: #7b61ff;
  --ink: #2d2a4a;
  --cream: #fff8ec;
  --paper: #fffdf8;
  --muted: #57537a;
  --line: rgba(45, 42, 74, 0.14);
  --outline: 2.5px solid var(--ink);
  --lift: 0 5px 0 var(--ink);
  --lift-sm: 0 3px 0 var(--ink);
  --r: 22px;
  --display: "Fredoka", "Nunito Sans", system-ui, sans-serif;
  --ui: "Nunito Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#get { scroll-margin-top: 88px; }
body {
  margin: 0;
  font: 400 18px/1.6 var(--ui);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Buttons: the sticker */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: var(--outline);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: 700 17px/1 var(--ui);
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--lift-sm);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--ink); }
.btn-primary { background: var(--blue); color: #14213d; }
.btn-sun { background: var(--yellow); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn:disabled { cursor: wait; opacity: 0.65; transform: none; }
/* ── Early-access modal */
html.signup-open { overflow: hidden; }
.signup-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 40px); margin: auto; padding: 0; border: 2.5px solid var(--ink); border-radius: 28px; color: var(--ink); background: var(--cream); box-shadow: 0 8px 0 var(--ink), 0 32px 100px #17142d40; overflow: auto; }
.signup-dialog::backdrop { background: #1b183c85; backdrop-filter: blur(7px); }
.signup-dialog[open] { animation: signup-in 180ms ease-out; }
.signup-card { position: relative; padding: 36px 32px 0; }
.signup-close { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.signup-close:hover { background: #2d2a4a0b; color: var(--ink); }
.signup-close:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.signup-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.signup-heading img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 3px 0 var(--ink); }
.signup-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; background: #ffedac; padding: 5px 10px; border-radius: 999px; }
.signup-intro h2, .signup-success h2 { font-size: clamp(34px, 7vw, 44px); letter-spacing: -0.025em; }
.signup-intro > p, .signup-success p { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.signup { margin-top: 26px; text-align: left; }
.signup > label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.signup input[type="email"] { width: 100%; border: 2px solid #2d2a4a40; border-radius: 12px; background: var(--paper); color: var(--ink); font: 600 16px/1.4 var(--ui); padding: 14px 16px; transition: border-color 120ms, box-shadow 120ms; }
.signup input[type="email"]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px #4a9be820; }
.signup-submit { width: 100%; justify-content: space-between; margin-top: 12px; border-radius: 12px; padding: 16px 18px; }
.signup-submit > span:last-child { font-size: 22px; line-height: 14px; }
.signup-note { margin: 18px 0 24px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.signup-status { margin-top: 14px; font-size: 14px; font-weight: 700; line-height: 1.5; }
.signup-status:empty { display: none; }
.signup-status[data-error] { color: #81281c; }
.signup-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.signup-footer { margin: 0 -32px; padding: 15px 20px; border-top: 1px solid var(--line); background: #2d2a4a03; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 700; }
.signup-dot { width: 6px; height: 6px; background: #278675; border-radius: 50%; }
.signup-success { padding: 18px 0 30px; text-align: center; outline: none; }
.signup-check { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 24px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); font-size: 32px; box-shadow: 0 3px 0 var(--ink); }
.signup-success .btn { margin-top: 26px; justify-content: center; width: 100%; border-radius: 12px; }
[hidden] { display: none !important; }
@keyframes signup-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 420px) {
  .signup-card { padding: 30px 24px 0; }
  .signup-footer { margin: 0 -24px; }
  .signup-badge { font-size: 11px; padding: 5px 8px; }
  .signup-heading { gap: 10px; }
}

/* ── Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-weight: 700; font-size: 16px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--blue); }
.nav .btn { padding: 10px 18px; font-size: 15px; }

/* ── Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  font-weight: 800;
  font-size: 14px;
  box-shadow: var(--lift-sm);
}
.hero h1 { font-size: clamp(46px, 6.4vw, 84px); margin: 22px 0 20px; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 6px;
  height: 0.32em;
  background: var(--yellow);
  border-radius: 8px;
  z-index: -1;
}
.lede { font-size: 21px; color: var(--muted); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 15px; color: var(--muted); }
.hero-sun { position: relative; display: grid; place-items: center; }
.hero-sun img { width: min(380px, 80%); filter: drop-shadow(0 10px 0 var(--ink)); animation: bob 5s ease-in-out infinite; }
.hero-sun::before {
  content: "";
  position: absolute;
  width: 120%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 210, 63, 0.35) 0 10deg, transparent 10deg 20deg);
  animation: spin 60s linear infinite;
  z-index: -1;
}
@keyframes bob { 50% { transform: translateY(-12px) rotate(-3deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

.stickers { position: absolute; inset: 0; pointer-events: none; }
.sticker {
  position: absolute;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  font: 700 15px/1 var(--display);
  box-shadow: var(--lift-sm);
  transform: rotate(var(--rot, -4deg));
}

/* ── Screens (light/dark pairs) */
.screen {
  border: 3px solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 10px 0 var(--ink), 0 40px 80px rgba(45, 42, 74, 0.18);
}
.screen img { width: 100%; height: auto; }
.screen .dark { display: none; }
.showcase.is-dark .screen .light { display: none; }
.showcase.is-dark .screen .dark { display: block; }

.showcase { padding: 24px 0 96px; }
.theme-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  width: max-content;
  margin: 0 auto 28px;
  padding: 4px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--lift-sm);
}
.theme-toggle button {
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 700 15px/1 var(--ui);
  cursor: pointer;
}
.theme-toggle button[aria-pressed="true"] { background: var(--blue); color: #14213d; box-shadow: 0 0 0 2px var(--ink); }

/* ── Section heads */
.section { padding: 96px 0; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 58px); margin-bottom: 16px; }
.section-head p { font-size: 20px; color: var(--muted); }
.kicker { display: inline-block; margin-bottom: 14px; font: 800 14px/1 var(--ui); letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }

/* ── Feature rows (screenshot + copy) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 48px 0; }
.feature.flip .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(30px, 3.4vw, 42px); margin: 14px 0 16px; }
.feature-copy p { color: var(--muted); font-size: 19px; }
.feature-copy ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.feature-copy li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.feature-copy li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d2a4a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.tag {
  display: inline-block;
  padding: 6px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font: 800 13px/1 var(--ui);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag.blue { background: var(--blue); }
.tag.yellow { background: var(--yellow); }
.tag.coral { background: var(--coral); }
.tag.teal { background: var(--teal); }
.tag.violet { background: var(--violet); color: #fff; }

/* ── Feature grid (every feature) */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  padding: 26px 26px 28px;
  border: var(--outline);
  border-radius: var(--r);
  background: var(--paper);
  box-shadow: var(--lift);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.card:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: 0 9px 0 var(--ink); }
.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--lift-sm);
  font-size: 26px;
}
.card h3 { font-size: 23px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }
.card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.card li + li { margin-top: 4px; }
.bg-blue { background: var(--blue); }
.bg-yellow { background: var(--yellow); }
.bg-coral { background: var(--coral); }
.bg-teal { background: var(--teal); }
.bg-violet { background: var(--violet); }

/* ── Strips */
.band { background: var(--ink); color: var(--cream); border-block: 3px solid var(--ink); }
.band .section-head p { color: #c3bfdc; }
.band .kicker { color: var(--yellow); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fact {
  padding: 24px;
  border: 2px solid var(--cream);
  border-radius: var(--r);
  background: #38355c;
  box-shadow: 0 5px 0 #0f0e1f;
}
.fact b { display: block; font: 600 40px/1 var(--display); color: var(--yellow); margin-bottom: 10px; }
.fact span { color: #e4e0f2; font-size: 16px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* ── Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 24px 26px; border: var(--outline); border-radius: var(--r); background: var(--paper); box-shadow: var(--lift); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -22px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font: 600 22px/1 var(--display);
  box-shadow: var(--lift-sm);
}
.step h3 { font-size: 22px; margin: 8px 0 8px; }
.step p { color: var(--muted); font-size: 16px; }

/* ── CTA + footer */
.cta {
  position: relative;
  padding: 72px 48px;
  border: 3px solid var(--ink);
  border-radius: 32px;
  background: var(--yellow);
  text-align: center;
  box-shadow: 0 10px 0 var(--ink);
  overflow: hidden;
}
.cta h2 { font-size: clamp(38px, 5vw, 64px); color: #14213d; }
.cta p { margin: 16px auto 32px; max-width: 32em; font-size: 20px; color: #14213d; }
.cta img { width: 120px; margin: 0 auto 18px; filter: drop-shadow(0 6px 0 var(--ink)); }
footer { padding: 48px 0 64px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; justify-content: space-between; }
footer img { height: 30px; width: auto; }

/* ── Responsive */
@media (max-width: 980px) {
  .hero-grid, .feature, .duo { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .facts, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-sun { order: -1; }
  .hero-sun img { width: 220px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .grid, .facts, .steps { grid-template-columns: 1fr; }
  .steps { row-gap: 40px; }
  .cta { padding: 56px 24px; }
  .sticker { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
