/* One stylesheet for every page. Fonts are served from this site and there are no scripts or
   trackers, so nothing loads from anyone else: the privacy policy's "no cookies, no tracking"
   stays true by construction. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* Polar night: deep navy, an aurora of teal into violet, and the penguin's beak as the one
   warm colour, kept for things you can click. */
:root {
  --night: #060b14;
  --night-raised: #0b1422;
  --surface: rgb(255 255 255 / 0.035);
  --surface-strong: rgb(255 255 255 / 0.06);
  --line: rgb(255 255 255 / 0.09);
  --line-strong: rgb(255 255 255 / 0.16);

  --ink: #eef3f9;
  --ink-soft: #a7b6c8;
  --ink-faint: #71829a;

  --aurora-teal: #5eead4;
  --aurora-blue: #7dd3fc;
  --aurora-violet: #a78bfa;
  --aurora: linear-gradient(
    100deg,
    var(--aurora-teal),
    var(--aurora-blue) 45%,
    var(--aurora-violet)
  );

  --beak: #f6a93b;
  --beak-deep: #e98a12;
  --ok: #4ade80;
  --alert: #fb7185;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body:
    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --page: 72rem;
  --measure: 44rem;

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* The aurora and a scatter of stars sit behind every page, strongest at the top. */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 46rem;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      1.5px 1.5px at 12% 18%,
      rgb(255 255 255 / 0.7),
      transparent
    ),
    radial-gradient(1px 1px at 27% 9%, rgb(255 255 255 / 0.55), transparent),
    radial-gradient(
      1.5px 1.5px at 44% 26%,
      rgb(255 255 255 / 0.45),
      transparent
    ),
    radial-gradient(1px 1px at 63% 12%, rgb(255 255 255 / 0.6), transparent),
    radial-gradient(
      1.5px 1.5px at 79% 22%,
      rgb(255 255 255 / 0.5),
      transparent
    ),
    radial-gradient(1px 1px at 91% 7%, rgb(255 255 255 / 0.65), transparent),
    radial-gradient(1px 1px at 6% 34%, rgb(255 255 255 / 0.4), transparent),
    radial-gradient(1px 1px at 55% 38%, rgb(255 255 255 / 0.35), transparent),
    radial-gradient(
      ellipse 60% 55% at 20% -5%,
      rgb(94 234 212 / 0.2),
      transparent 70%
    ),
    radial-gradient(
      ellipse 55% 50% at 70% -10%,
      rgb(167 139 250 / 0.24),
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 40% at 95% 20%,
      rgb(125 211 252 / 0.1),
      transparent 70%
    );
}

a {
  color: var(--aurora-blue);
  text-decoration-color: rgb(125 211 252 / 0.4);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--beak);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.prose {
  max-width: var(--measure);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgb(6 11 20 / 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font: 700 1.12rem/1 var(--font-display);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
}

.site-nav {
  display: flex;
  gap: 0.35rem;
  font-size: 0.93rem;
}

.site-nav a {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  transition:
    color 0.15s,
    background 0.15s;
}

.site-nav a:hover {
  color: var(--ink);
  background: var(--surface-strong);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-strong);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* Type */

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 4.2rem);
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

p {
  margin: 0 0 1rem;
}

.gradient-text {
  background: var(--aurora);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  padding: 0.3rem 0.8rem 0.3rem 0.45rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 500;
}

.eyebrow .dot {
  width: 0.55rem;
  height: 0.55rem;
  margin-left: 0.3rem;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgb(74 222 128 / 0.15);
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  line-height: 1.55;
}

.muted {
  color: var(--ink-faint);
  font-size: 0.9rem;
}

/* Buttons */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, var(--beak), var(--beak-deep));
  color: #1b1204;
  box-shadow:
    0 10px 30px -10px rgb(246 169 59 / 0.7),
    inset 0 1px 0 rgb(255 255 255 / 0.35);
}

.button-primary:hover {
  box-shadow:
    0 14px 36px -10px rgb(246 169 59 / 0.85),
    inset 0 1px 0 rgb(255 255 255 / 0.35);
}

.button-ghost {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.button-ghost:hover {
  background: var(--surface-strong);
}

.button[aria-disabled="true"] {
  cursor: default;
  transform: none;
}

/* Sections */

main {
  display: block;
}

.hero {
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero .lead {
  max-width: 36rem;
}

.hero-art {
  display: grid;
  place-items: center;
}

.hero-penguin {
  width: min(18rem, 70vw);
  filter: drop-shadow(0 30px 60px rgb(125 211 252 / 0.25))
    drop-shadow(0 0 80px rgb(167 139 250 / 0.2));
  animation: bob 6s ease-in-out infinite;
}

@keyframes bob {
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-penguin {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  margin-bottom: 0.9rem;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line-strong),
    transparent
  );
}

/* Cards and grids */

.grid {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
}

.card h3 {
  margin-bottom: 0.55rem;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1.1rem;
  border-radius: var(--radius-sm);
  background: rgb(125 211 252 / 0.1);
  box-shadow: inset 0 0 0 1px rgb(125 211 252 / 0.22);
  color: var(--aurora-blue);
}

.icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--aurora);
  color: var(--night);
  font: 700 0.95rem/1 var(--font-display);
}

/* A card with a softly glowing aurora edge, for the thing we most want seen. */
.card-glow {
  border-color: transparent;
  background:
    linear-gradient(var(--night-raised), var(--night-raised)) padding-box,
    linear-gradient(135deg, rgb(94 234 212 / 0.6), rgb(167 139 250 / 0.6))
      border-box;
  box-shadow: 0 30px 80px -30px rgb(167 139 250 / 0.35);
}

.app-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem;
}

.card-link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s;
}

.card-link:hover {
  transform: translateY(-2px);
}

.app-card img {
  width: 64px;
  height: 64px;
}

.app-card h3 {
  font-size: 1.4rem;
}

.pill {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgb(246 169 59 / 0.12);
  box-shadow: inset 0 0 0 1px rgb(246 169 59 / 0.3);
  color: var(--beak);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  vertical-align: middle;
}

/* Mock emails: what the merchant actually receives. */

.mock-email {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #f8fafc;
  color: #0f172a;
  box-shadow:
    0 40px 90px -30px rgb(0 0 0 / 0.8),
    0 0 0 1px rgb(255 255 255 / 0.04);
  font-size: 0.92rem;
  line-height: 1.55;
}

.mock-email-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid #e2e8f0;
  background: #eef2f7;
}

.mock-email-bar span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #cbd5e1;
}

.mock-email-head {
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.mock-email-head strong {
  display: block;
  font-size: 1rem;
}

.mock-email-head small {
  color: #64748b;
}

.mock-email-body {
  padding: 1rem 1.25rem 1.25rem;
}

.mock-email-body p {
  margin: 0 0 0.7rem;
}

.mock-order {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.75rem 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid #fecdd3;
  border-radius: 10px;
  background: #fff1f2;
}

.mock-order b {
  color: #be123c;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin: 0.75rem 0;
}

.mock-stats div {
  padding: 0.7rem 0.85rem;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  background: #f0fdf4;
}

.mock-stats b {
  display: block;
  color: #15803d;
  font: 700 1.5rem/1.1 var(--font-display);
}

/* Lists */

.checks {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 2rem;
  color: var(--ink-soft);
}

.checks li strong {
  color: var(--ink);
}

.checks li::before {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: 0;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23060b14' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E")
      center / 0.8rem no-repeat,
    var(--aurora-teal);
}

/* Pricing */

.price-card {
  max-width: 30rem;
  padding: 2rem;
}

.price {
  margin: 0.5rem 0 1rem;
  font: 700 3.4rem/1 var(--font-display);
  letter-spacing: -0.03em;
}

.price small {
  color: var(--ink-soft);
  font: 400 1.05rem var(--font-body);
  letter-spacing: 0;
}

/* Long-form pages: privacy and support. */

.page-head {
  padding: clamp(3rem, 8vw, 5rem) 0 1.5rem;
}

.page-head h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  margin-bottom: 1rem;
}

.doc {
  padding-bottom: 2rem;
  color: var(--ink-soft);
}

.doc h2 {
  margin: 3rem 0 1rem;
  color: var(--ink);
  font-size: 1.65rem;
}

.doc h3 {
  margin: 2rem 0 0.6rem;
  color: var(--ink);
}

.doc strong {
  color: var(--ink);
}

.doc ul {
  padding-left: 1.2rem;
}

.doc li {
  margin-bottom: 0.45rem;
}

.doc li::marker {
  color: var(--aurora-teal);
}

.table-scroll {
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

th,
td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

tr:last-child td {
  border-bottom: 0;
}

th {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
}

/* Footer */

.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 1.25rem;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

/* Small screens */

@media (max-width: 56rem) {
  .hero-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }

  .hero-penguin {
    width: min(11rem, 50vw);
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 36rem) {
  body {
    font-size: 16px;
  }

  .brand span {
    display: none;
  }

  .site-nav a {
    padding: 0.35rem 0.55rem;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .app-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .app-card .button {
    justify-self: start;
  }
}

.grid-2 h2 {
  margin-bottom: 1rem;
}
