/* Pake — marketing site */

:root {
  --ink: #0b0b0c;
  --ink-soft: #3f4046;
  --ink-faint: #6b6d76;
  --line: rgba(11, 11, 12, 0.14);
  --line-soft: rgba(11, 11, 12, 0.08);
  --accent: #3f4fd0;
  --card: rgba(255, 255, 255, 0.62);
  --card-solid: #ffffff;
  --shell: #f2f4fb;
  --radius: 6px;
  --wrap: 940px;
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system,
          "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", "SF Mono", "JetBrains Mono", ui-monospace, Consolas,
          "Courier New", monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--shell);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------------------------------------------------------------- backdrop */
/* soft mesh, painted once behind everything */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  /* The bloom is painted as layered radial gradients rather than blurred
     elements. Four 50vw divs under filter: blur() forced a compositing layer
     the whole page had to be re-rasterised against, which tore the sticky nav
     and cost a great deal on weaker machines. This looks the same and is free. */
  background:
    radial-gradient(62% 48% at 50% -8%, rgba(151,173,251,0.46) 0%, rgba(151,173,251,0) 68%),
    radial-gradient(42% 32% at 10% 8%,  rgba(188,200,255,0.32) 0%, rgba(188,200,255,0) 64%),
    radial-gradient(42% 32% at 90% 6%,  rgba(198,208,255,0.30) 0%, rgba(198,208,255,0) 64%),
    linear-gradient(180deg, #f4f6fd 0%, #f2f4fa 38%, #f6f6f7 100%);
}

.aurora i { display: none; }   /* markup kept so the pages need no edit */

.aurora::after {
  /* faint grain so the blooms do not band on wide screens */
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- layout */
.wrap {
  width: min(100% - 44px, var(--wrap));
  margin-inline: auto;
}

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.nav.scrolled { border-bottom-color: var(--line-soft); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 640;
  letter-spacing: -0.015em;
  font-size: 1.02rem;
  text-decoration: none;
  color: var(--ink);
}
.brand svg { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
}

.nav-links a {
  padding: 7px 12px;
  font-size: 0.93rem;
  font-weight: 480;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.16s ease, background 0.16s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 560; }

.nav-tail { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 540;
  letter-spacing: -0.005em;
  padding: 13px 26px;
  border-radius: 4px;
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.2s ease,
              background 0.2s ease, color 0.2s ease;
  will-change: transform;
}
.btn:active { transform: translateY(1px); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2b31; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }

.btn-sm { padding: 9px 17px; font-size: 0.88rem; }

/* ---------------------------------------------------------------- hero */
.hero {
  padding: clamp(58px, 9vw, 108px) 0 clamp(34px, 5vw, 58px);
  text-align: center;
}

.headline {
  margin: 0 auto;
  max-width: 17ch;
  font-size: clamp(2.3rem, 5.2vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
  font-weight: 620;
}

.tagline {
  margin: clamp(18px, 2.6vw, 26px) auto 0;
  max-width: 52ch;
  font-size: clamp(1rem, 1.5vw, 1.09rem);
  color: var(--ink-soft);
  font-weight: 400;
}

.hero-actions {
  margin-top: clamp(26px, 3.4vw, 36px);
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  margin: clamp(34px, 5vw, 52px) auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  max-width: 620px;
  display: flex;
  justify-content: center;
  gap: clamp(28px, 6vw, 62px);
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-size: 1.28rem;
  font-weight: 620;
  letter-spacing: -0.018em;
}
.hero-stats div span { font-size: 0.83rem; color: var(--ink-faint); }

.fineprint {
  margin-top: 18px;
  font-size: 0.845rem;
  color: var(--ink-faint);
}
.fineprint a { color: var(--ink-soft); text-underline-offset: 3px; }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(52px, 8vw, 92px) 0; }
.section-tight { padding: clamp(34px, 5vw, 56px) 0; }

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

h2.title {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 3.4vw, 2.3rem);
  letter-spacing: -0.024em;
  font-weight: 640;
  line-height: 1.16;
}

.lede {
  margin: 0 auto;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.center { text-align: center; }

/* ---------------------------------------------------------------- cards */
.grid {
  display: grid;
  gap: clamp(28px, 4vw, 44px) clamp(26px, 4vw, 46px);
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  margin-top: clamp(38px, 5vw, 54px);
  text-align: left;
}

.card { padding: 0; }

.card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 620;
  letter-spacing: -0.008em;
}
.card p { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }

.card-icon { display: none; }

/* ---------------------------------------------------------------- steps */
.steps { counter-reset: step; margin: 30px auto 0; max-width: 620px; }
.step {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 2px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}
.step:last-child { border-bottom: 0; }
.step::before {
  counter-increment: step;
  content: counter(step) ".";
  color: var(--ink-faint);
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.step h4 { margin: 0 0 3px; font-size: 0.97rem; font-weight: 600; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------------------------------------------------------------- download */
.dl-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card-solid);
  border-radius: 6px;
  padding: 32px;
  border: 1px solid var(--line);
}

.dl-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.dl-glyph {
  width: 44px; height: 44px;
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  flex: none;
}
.dl-head h3 { margin: 0; font-size: 1.16rem; font-weight: 620; letter-spacing: -0.015em; }
.dl-head p { margin: 2px 0 0; color: var(--ink-faint); font-size: 0.88rem; }

.meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  overflow: hidden;
  margin: 22px 0;
}
.meta div { background: #fff; padding: 13px 15px; }
.meta dt {
  margin: 0 0 3px;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}
.meta dd { margin: 0; font-size: 0.9rem; font-weight: 520; }

.note {
  display: flex;
  gap: 11px;
  padding: 15px 17px;
  border-radius: 5px;
  background: rgba(11, 11, 12, 0.038);
  font-size: 0.895rem;
  color: var(--ink-soft);
  margin-top: 18px;
}
.note strong { color: var(--ink); font-weight: 600; }
.note svg { flex: none; margin-top: 2px; color: var(--ink-faint); }

.mono { font-family: var(--mono); font-size: 0.87em; }

.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checklist li {
  display: grid; grid-template-columns: 19px 1fr; gap: 11px;
  align-items: start; font-size: 0.935rem; color: var(--ink-soft);
}
.checklist svg { margin-top: 3px; color: var(--ink); }

/* ---------------------------------------------------------------- pricing */
.price-card {
  max-width: 400px;
  margin: 38px auto 0;
  background: var(--card-solid);
  border-radius: 6px;
  padding: 34px 30px;
  text-align: center;
  border: 1px solid var(--line);
}

.badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 3px;
  background: rgba(11, 11, 12, 0.055);
  font-size: 0.735rem;
  font-weight: 620;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.price {
  margin: 20px 0 4px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}
.price .cur { font-size: 1.45rem; font-weight: 560; color: var(--ink-soft); }
.price .amt { font-size: 4rem; font-weight: 680; letter-spacing: -0.035em; line-height: 1; }
.price-sub { margin: 0 0 26px; color: var(--ink-faint); font-size: 0.9rem; }

.price-card .checklist { text-align: left; margin-bottom: 28px; }
.price-card .btn { width: 100%; }

/* ---------------------------------------------------------------- dialog */
dialog.pay {
  border: 0;
  padding: 0;
  border-radius: 8px;
  max-width: 452px;
  width: calc(100% - 40px);
  background: #fff;
  box-shadow: 0 30px 90px -20px rgba(11, 11, 12, 0.45);
  color: var(--ink);
}
dialog.pay::backdrop {
  background: rgba(16, 18, 30, 0.5);
  backdrop-filter: blur(4px);
}
.pay-inner { padding: 32px; text-align: center; }
.pay-inner h3 { margin: 0 0 8px; font-size: 1.28rem; font-weight: 640; letter-spacing: -0.02em; }
.pay-inner > p { margin: 0 0 24px; color: var(--ink-soft); font-size: 0.95rem; }

.tg {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  border-radius: 5px;
  background: rgba(11, 11, 12, 0.04);
  text-align: left;
  margin-bottom: 12px;
}
.tg-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: #2ba0dc; color: #fff;
  display: grid; place-items: center; flex: none;
}
.tg-label { font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.09em;
            color: var(--ink-faint); font-weight: 620; }
.tg-handle { font-family: var(--mono); font-size: 1.02rem; font-weight: 600; }

.copied { font-size: 0.85rem; color: var(--ink-faint); min-height: 1.2em; margin: 4px 0 14px; }

.pay-steps {
  text-align: left;
  margin: 0 0 24px;
  padding-left: 19px;
  color: var(--ink-soft);
  font-size: 0.91rem;
}
.pay-steps li { margin-bottom: 6px; }

.pay-actions { display: grid; gap: 9px; }

/* ---------------------------------------------------------------- footer */
.footer {
  padding: 40px 0 52px;
  border-top: 1px solid var(--line-soft);
  margin-top: 40px;
  font-size: 0.875rem;
  color: var(--ink-faint);
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.footer a { color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-links { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- shot */
.shot {
  margin: clamp(40px, 6vw, 66px) auto 0;
  max-width: 880px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(11, 11, 12, 0.14);
  box-shadow: 0 26px 60px -26px rgba(11, 11, 12, 0.42);
  background: #0e0e0e;
}
.shot img { display: block; width: 100%; height: auto; }

.shot-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 13px;
  background: #17171a;
  border-bottom: 1px solid #232327;
}
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2f2f35; }
.shot-bar span {
  margin-left: 8px; font-size: 0.76rem; color: #6a6a73;
  font-family: var(--mono);
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .footer-links { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .aurora i { animation: none !important; }
}

/* ---------------------------------------------------------------- numbers */
.figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin: 0 auto;
  max-width: 800px;
}
.figures div {
  padding: 26px 24px;
  text-align: center;
  border-left: 1px solid var(--line-soft);
}
.figures div:first-child { border-left: 0; }
.figures strong {
  display: block;
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1;
}
.figures span { display: block; margin-top: 7px; font-size: 0.9rem; color: var(--ink-soft); }
.figures small { display: block; margin-top: 4px; font-size: 0.76rem; color: var(--ink-faint); }

/* ---------------------------------------------------------------- terms */
.terms {
  max-width: 720px;
  margin-inline: auto;
  text-align: left;
  padding: 26px 28px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.55);
}
.terms h3 { margin: 0 0 10px; font-size: 1rem; font-weight: 620; }
.terms p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
