/*
  norot.io
  Plain CSS, no build step, no JavaScript. Tokens ported from the app
  (Shared/Color+Theme.swift), layout rhythm borrowed from calog.io.

  House rules:
  - Lime (--lime) is a BACKGROUND only on light surfaces. Never text or a
    glyph on white or grey. Text and glyphs on lime are navy.
    On the navy bands lime may be text or a glyph (as in calog).
  - --lime-ink is the only green allowed as text on light, and only for
    small uppercase eyebrow labels.
  - Exactly two elevation tokens: --card-shadow and --chip-shadow.
    No other shadows anywhere.
  - Pills over rectangles. Rounded everything.
  - Light mode only.
*/

:root {
  --bg1: #FFFFFF;
  --bg2: #F2F2F2;
  --bg3: #E6E6E6;
  --card: #F9F9F9;
  --navy: #242533;
  --navy-2: #31323F;      /* raised surface on navy */
  --fg2: #4D4D4D;
  --fg3: #6B6C78;         /* fine print on white, 5.3:1 */
  --lime: #C3F73A;
  --lime-tint: #EFFDD0;
  --lime-ink: #4A7D0C;

  --lime-surface: linear-gradient(135deg, #C3F73A, #EFFDD0);
  --lime-surface-large: linear-gradient(135deg, #D9FA80, #F6FEE4);

  --card-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 5px 18px rgba(0, 0, 0, .10);
  --chip-shadow: 0 1px 6px rgba(0, 0, 0, .06);

  --hairline: rgba(36, 37, 51, .08);
  --on-navy: rgba(255, 255, 255, .72);
  --on-navy-faint: rgba(255, 255, 255, .58);

  --r-tile: 16px;
  --r-card: 24px;
  --r-sheet: 28px;
  --r-band: 32px;
  --r-pill: 999px;

  /* Apple's San Francisco (SF Pro) where available, the platform UI font elsewhere.
     Not the rounded cut: the site reads sharper and more serious than the app
     (Moritz, 2026-09-30). No web font download. */
  --font: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wide: 1080px;
  --text: 720px;
  --gutter: clamp(16px, 5vw, 24px);
  --header-space: 104px;

  color-scheme: light;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg1);
  /* Ambient lime wash (the app's AmbientLimeBackground: radial gradients, no blur).
     On the body, so it also sits behind the floating header without an edge. */
  background-image: radial-gradient(38% 520px at 88% 0, rgba(195, 247, 58, .20), rgba(195, 247, 58, 0) 100%);
  background-repeat: no-repeat;
  color: var(--navy);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.home {
  background-image:
    radial-gradient(46% 760px at 86% 0, rgba(195, 247, 58, .34), rgba(195, 247, 58, 0) 100%),
    radial-gradient(40% 520px at 0 720px, rgba(195, 247, 58, .12), rgba(195, 247, 58, 0) 100%);
}

main {
  flex: 1 0 auto;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 10px;
}

.band :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--lime);
}

[id] {
  scroll-margin-top: var(--header-space);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--navy);
  color: var(--bg1);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Header: floating glass pill ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px var(--gutter) 0;
}

.header-bar {
  max-width: var(--wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 60px;
  padding: 8px 8px 8px 20px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--chip-shadow);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .header-bar {
    background: rgba(255, 255, 255, .74);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
  }
}

/* The wordmark, "norot" in Brygada 1918 Bold as outlines (logo.svg). Kept small. */
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 8px 2px;
  border-radius: 10px;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 19px;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  color: var(--fg2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.header-nav a:hover,
.header-nav a[aria-current="page"] {
  background: var(--bg2);
  color: var(--navy);
}

.nav-wide {
  display: none;
}

@media (min-width: 760px) {
  .header-bar {
    min-height: 64px;
    padding-left: 28px;
  }

  .brand img {
    height: 22px;
  }

  .nav-wide {
    display: list-item;
  }

  .header-nav a {
    padding: 0 16px;
  }
}

/* ---------- Type ---------- */

.eyebrow {
  margin: 0 0 16px;
  color: var(--lime-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.display {
  font-size: clamp(40px, 20px + 5.2vw, 64px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.heading {
  font-size: clamp(32px, 22px + 2.6vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.lead {
  margin: 0;
  color: var(--fg2);
  font-size: 17px;
  line-height: 1.65;
}

@media (min-width: 720px) {
  .lead {
    font-size: 19px;
  }
}

.fine {
  margin: 0;
  color: var(--fg3);
  font-size: 14px;
}

/* ---------- Buttons and badges ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

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

.btn-dark {
  background: var(--navy);
  color: var(--bg1);
  box-shadow: var(--chip-shadow);
}

.btn-dark:hover {
  background: #33354A;
}

.btn-light {
  background: var(--bg1);
  border-color: rgba(36, 37, 51, .14);
  color: var(--navy);
}

.btn-light:hover {
  border-color: rgba(36, 37, 51, .3);
}

.btn-on-navy {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
  color: #FFFFFF;
}

.btn-on-navy:hover {
  background: rgba(255, 255, 255, .14);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--lime-tint);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.badge::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
}

.badge--lime {
  padding: 12px 22px;
  background: var(--lime);
  font-size: 16px;
}

/* Lime chip with a navy glyph (lime as background, never as the glyph). */
.icon-chip {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--lime);
  border-radius: var(--r-pill);
  background: var(--lime-surface);
  box-shadow: var(--chip-shadow);
  color: var(--navy);
}

.icon-chip svg {
  width: 22px;
  height: 22px;
}

/* ---------- Sections ---------- */

.section {
  padding: 80px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-head .lead,
.lead--gap {
  margin-top: 18px;
}

.section--flush {
  padding-top: 0;
}

.section-head--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

@media (min-width: 960px) {
  .section {
    padding: 112px 0;
  }

  .section--flush {
    padding-top: 0;
  }

  .section-head {
    margin-bottom: 56px;
  }
}

/* Navy band with rounded corners and a soft lime glow (calog's DarkBand). */
.band {
  position: relative;
  background-color: var(--navy);
  background-image: radial-gradient(50% 420px at 92% 0, rgba(195, 247, 58, .13), rgba(195, 247, 58, 0) 100%);
  background-repeat: no-repeat;
  color: #FFFFFF;
  border-radius: var(--r-band);
}

.band--left {
  background-image: radial-gradient(50% 420px at 6% 0, rgba(195, 247, 58, .12), rgba(195, 247, 58, 0) 100%);
}

.band .eyebrow {
  color: var(--lime);
}

.band .lead {
  color: var(--on-navy);
}

/* ---------- Landing: hero ---------- */

.hero {
  padding: 40px 0 88px;
  overflow: hidden;
  overflow: clip;
}

.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

.hero-copy .display {
  margin-top: 24px;
  max-width: 12ch;
}

.hero-copy .lead {
  max-width: 34em;
  margin-top: 22px;
}

.hero-copy .actions {
  margin-top: 32px;
}

.hero-copy .fine {
  margin-top: 18px;
}

@media (min-width: 960px) {
  .hero {
    padding: 72px 0 120px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 40px;
  }
}

/* Phone stage. Decorative mock drawn in CSS: generic shapes, no Instagram UI or logos. */

.stage {
  position: relative;
  width: 17.5em;
  margin: 0 auto;
  padding-bottom: 56px;
  font-size: 15px;
}

.phone {
  position: relative;
  padding: .55em;
  border-radius: 3em;
  background: var(--navy);
  box-shadow: var(--card-shadow);
}

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .8em;
  aspect-ratio: 9 / 19.2;
  padding: 0 .85em;
  overflow: hidden;
  border-radius: 2.45em;
  background: var(--bg1);
}

.island {
  position: absolute;
  top: .55em;
  left: 50%;
  width: 5.2em;
  height: 1.5em;
  border-radius: var(--r-pill);
  background: var(--navy);
  transform: translateX(-50%);
}

.status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 2.6em;
  padding: 0 .7em;
  font-size: .72em;
  font-weight: 700;
}

.status-icons {
  display: flex;
  gap: .3em;
}

.status-icons i {
  width: 1.1em;
  height: .6em;
  border-radius: .2em;
  background: var(--navy);
}

.status-icons i:first-child {
  width: .8em;
  opacity: .8;
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: .1em;
}

.screen-title {
  font-size: 1.05em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.capsule {
  padding: .3em .75em;
  border: 1px solid var(--bg3);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--chip-shadow);
  font-size: .72em;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.friends {
  display: flex;
  gap: .55em;
}

.friends i {
  flex: none;
  width: 2.5em;
  height: 2.5em;
  border: 2px solid var(--bg1);
  border-radius: 50%;
  outline: 1.5px solid var(--bg3);
  background: var(--bg2);
}

.friends i:nth-child(1) { background: linear-gradient(135deg, #D9FA80, #F6FEE4); }
.friends i:nth-child(2) { background: linear-gradient(135deg, #FFE1C7, #F7C6B5); }
.friends i:nth-child(3) { background: linear-gradient(135deg, #CFE3F7, #E9F1FB); }
.friends i:nth-child(4) { background: linear-gradient(135deg, #E6DDF6, #F4F0FB); }
.friends i:nth-child(5) { background: var(--bg2); }

.post {
  display: flex;
  flex-direction: column;
  gap: .5em;
}

.post-head {
  display: flex;
  align-items: center;
  gap: .5em;
}

.avatar {
  flex: none;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: var(--bg3);
}

.avatar--a { background: linear-gradient(135deg, #FFE1C7, #F7C6B5); }
.avatar--b { background: linear-gradient(135deg, #CFE3F7, #E9F1FB); }

.line {
  height: .5em;
  border-radius: var(--r-pill);
  background: var(--bg3);
}

.w30 { width: 30%; }
.w40 { width: 40%; }
.w55 { width: 55%; }
.w75 { width: 75%; }

/* Soft illustrated "photos". */
.photo {
  position: relative;
  height: 10.5em;
  overflow: hidden;
  border-radius: 1em;
  background: linear-gradient(180deg, #EAF4FF 0%, #F6FEE4 58%, #D9FA80 100%);
}

.photo::before {
  content: "";
  position: absolute;
  top: 1.4em;
  right: 2em;
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  background: #FFFFFF;
  opacity: .9;
}

.photo::after {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -3.6em;
  left: -20%;
  height: 6.4em;
  border-radius: 50%;
  background: linear-gradient(180deg, #A9D86A, #7FB64A);
  opacity: .55;
}

.photo--warm {
  height: 8em;
  background: linear-gradient(200deg, #FFE9D6 0%, #F7CDBF 55%, #E7D3F2 100%);
}

.photo--warm::before {
  top: auto;
  right: auto;
  bottom: 1.2em;
  left: 1.4em;
  width: 3.4em;
  height: 3.4em;
  border-radius: 1em;
  opacity: .55;
}

.photo--warm::after {
  display: none;
}

.post-actions {
  display: flex;
  gap: .45em;
}

.post-actions i {
  width: 1em;
  height: 1em;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  opacity: .7;
}

/* Glass pieces floating over the phone. They sit over real shapes, so the blur has something to bite into. */
.glass {
  border: 1px solid rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--card-shadow);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass {
    background: rgba(255, 255, 255, .7);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
  }
}

.float-chip {
  position: absolute;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.float-chip .dot-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--navy);
}

.float-chip svg {
  width: 15px;
  height: 15px;
}

.float-chip--a {
  top: 21%;
  left: -24%;
}

.float-chip--b {
  top: 44%;
  right: -22%;
}

.today {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 50%;
  width: 88%;
  padding: 16px 18px;
  border-radius: 22px;
  transform: translateX(-50%);
}

.today-label {
  margin: 0;
  color: var(--fg3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.today-stats {
  display: flex;
  gap: 24px;
  margin: 6px 0 10px;
}

.today-stats b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.today-stats span {
  color: var(--fg2);
  font-size: 13px;
}

.today-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  font-weight: 700;
}

.check-dot {
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--navy);
}

.check-dot svg {
  width: 12px;
  height: 12px;
}

@media (min-width: 640px) {
  .stage {
    width: 18.5em;
    font-size: 16px;
  }

  .float-chip {
    display: inline-flex;
  }

  .today {
    left: -14%;
    width: 68%;
    min-width: 220px;
    transform: none;
  }
}

/* ---------- Landing: features (navy band) ---------- */

.features {
  padding: 80px 0;
}

.feature-grid {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-sheet);
  background: rgba(255, 255, 255, .055);
}

.feature-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  color: var(--lime);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
}

.feature p {
  margin: 16px 0 0;
  color: var(--on-navy);
  font-size: 16px;
  line-height: 1.6;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .feature {
    padding: 32px;
  }
}

@media (min-width: 960px) {
  .features {
    padding: 112px 0;
  }
}

/* ---------- Landing: reels ---------- */

.split {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 72px;
  }

  .split--media-first > :last-child {
    order: -1;
  }

  .note-mock {
    min-height: 540px;
  }
}

/* The block note, as the app shows it: white glass card, navy text, one navy button. */
.note-mock {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 40px 24px;
  overflow: hidden;
  border-radius: var(--r-sheet);
  background-color: var(--card);
  background-image:
    radial-gradient(60% 55% at 18% 12%, rgba(195, 247, 58, .38), rgba(195, 247, 58, 0) 100%),
    radial-gradient(55% 50% at 90% 95%, rgba(195, 247, 58, .22), rgba(195, 247, 58, 0) 100%);
  border: 1px solid var(--hairline);
}

.note-feed {
  position: absolute;
  inset: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  opacity: .55;
}

.note-feed i {
  border-radius: 18px;
  background: rgba(255, 255, 255, .8);
}

.note-feed i:nth-child(2) { background: rgba(255, 255, 255, .55); }
.note-feed i:nth-child(3) { background: rgba(255, 255, 255, .5); }

.note-card {
  position: relative;
  width: min(100%, 320px);
  padding: 28px 24px 24px;
  border-radius: var(--r-sheet);
  text-align: center;
}

.note-card .icon-chip {
  margin: 0 auto 16px;
}

.note-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.note-body {
  margin: 8px 0 22px;
  color: var(--fg2);
  font-size: 16px;
}

.note-button {
  display: block;
  padding: 14px 20px;
  border-radius: var(--r-pill);
  background: var(--navy);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
}

.steps {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--bg3);
}

.steps li:first-child {
  padding-top: 0;
  border-top: 0;
}

.step-num {
  display: grid;
  place-items: center;
  grid-row: span 2;
  width: 34px;
  height: 34px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  background: var(--lime-tint);
  font-size: 14px;
  font-weight: 800;
}

.steps h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.steps p {
  margin: 4px 0 0;
  color: var(--fg2);
  font-size: 16px;
}

.aside-note {
  margin: 8px 0 0;
  padding: 16px 20px;
  border-radius: var(--r-tile);
  background: var(--bg2);
  color: var(--fg2);
  font-size: 15px;
}

/* ---------- Landing: tools (light cards) ---------- */

.card-grid {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: var(--r-card);
  background: var(--card);
  box-shadow: var(--card-shadow);
}

.tool h3 {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 700;
}

.tool p {
  margin: 0;
  color: var(--fg2);
  font-size: 16px;
}

@media (min-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .tool {
    padding: 32px;
  }
}

/* ---------- Landing: privacy ---------- */

.privacy-block {
  display: grid;
  gap: 40px;
  align-items: center;
}

.privacy-block .lead {
  margin-top: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(36, 37, 51, .3);
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.check-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 12px 28px;
  border: 1px solid var(--lime);
  border-radius: var(--r-sheet);
  background: var(--lime-surface-large);
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(36, 37, 51, .08);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.check-list li:first-child {
  border-top: 0;
}

.check-list .check-dot {
  width: 24px;
  height: 24px;
  margin-top: 1px;
  background: var(--navy);
  color: var(--lime);
}

@media (min-width: 960px) {
  .privacy-block {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 72px;
  }
}

/* ---------- Landing: pricing ---------- */

.pricing-grid {
  display: grid;
  gap: 20px;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  border-radius: var(--r-sheet);
}

.plan--free {
  border: 1px solid var(--hairline);
  background: var(--bg1);
  box-shadow: var(--card-shadow);
}

.plan--premium {
  background-color: var(--navy);
  background-image: radial-gradient(70% 260px at 100% 0, rgba(195, 247, 58, .14), rgba(195, 247, 58, 0) 100%);
  color: #FFFFFF;
}

.plan-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.plan-name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.plan-badge {
  margin: 0;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--lime);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 20px 0 0;
}

.plan-price strong {
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.plan-price span {
  color: var(--fg3);
  font-size: 16px;
}

.plan-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tile {
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-tile);
  background: var(--navy-2);
}

.tile--best {
  border: 2px solid var(--lime);
}

.tile-name {
  display: block;
  color: var(--on-navy-faint);
  font-size: 13px;
}

.tile-price {
  display: block;
  margin-top: 2px;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.tile-note {
  display: block;
  margin-top: 2px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.dots {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.dots li {
  display: flex;
  gap: 12px;
  color: var(--fg2);
  font-size: 16px;
  line-height: 1.5;
}

.dots li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: rgba(36, 37, 51, .3);
}

.plan--premium .dots li {
  color: rgba(255, 255, 255, .82);
}

.plan--premium .dots li::before {
  background: var(--lime);
}

.plan-foot {
  margin: auto 0 0;
  padding-top: 28px;
  color: var(--fg3);
  font-size: 14px;
}

.plan-foot::before {
  content: "";
  display: block;
  margin-bottom: 18px;
  border-top: 1px solid var(--hairline);
}

.plan--premium .plan-foot {
  color: var(--on-navy-faint);
}

.plan--premium .plan-foot::before {
  border-top-color: rgba(255, 255, 255, .1);
}

.pricing-note {
  max-width: 640px;
  margin: 36px auto 0;
  color: var(--fg3);
  font-size: 14px;
  text-align: center;
}

@media (min-width: 480px) {
  .plan {
    padding: 36px 32px;
  }

  .plan-tiles {
    gap: 10px;
  }

  .tile {
    padding: 14px 14px;
  }

  .tile-price {
    font-size: 19px;
  }
}

@media (min-width: 860px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
  }
}

/* ---------- Landing: questions ---------- */

.qa-grid {
  display: grid;
  gap: 16px;
}

.qa {
  padding: 26px 26px 28px;
  border: 1px solid var(--hairline);
  border-radius: 22px;
  background: var(--card);
}

.qa h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.qa p {
  margin: 10px 0 0;
  color: var(--fg2);
  font-size: 16px;
}

.qa-more {
  margin: 36px 0 0;
  text-align: center;
}

.qa-more .text-link {
  margin-top: 0;
}

@media (min-width: 760px) {
  .qa-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* ---------- Closing band and footer ---------- */

.closing {
  background-image: radial-gradient(44% 280px at 50% 0, rgba(195, 247, 58, .12), rgba(195, 247, 58, 0) 100%);
  border-radius: var(--r-band) var(--r-band) 0 0;
  text-align: center;
}

.closing-inner {
  padding: 88px 0 72px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.closing .heading {
  color: #FFFFFF;
}

.closing .lead {
  max-width: 34em;
  margin: 18px auto 0;
}

.closing .actions {
  justify-content: center;
  margin-top: 32px;
}

@media (min-width: 960px) {
  .closing-inner {
    padding: 112px 0 88px;
  }
}

.site-footer {
  flex: none;
  background-color: var(--navy);
  background-image: radial-gradient(45% 360px at 4% 0, rgba(195, 247, 58, .10), rgba(195, 247, 58, 0) 100%);
  background-repeat: no-repeat;
  color: var(--on-navy);
  border-radius: var(--r-band) var(--r-band) 0 0;
}

.site-footer--joined {
  background-image: none;
  border-radius: 0;
}

.footer-top {
  display: grid;
  gap: 44px;
  padding: 64px 0 48px;
}

.footer-brand img {
  width: auto;
  height: 24px;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  margin: 16px 0 0;
  color: var(--on-navy-faint);
  font-size: 15px;
}

.footer-maker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  color: var(--on-navy-faint);
  font-size: 14px;
}

.footer-maker::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.footer-maker a {
  color: #FFFFFF;
  font-weight: 600;
  text-decoration-color: rgba(255, 255, 255, .35);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 16px;
}

.footer-title {
  margin: 0 0 14px;
  color: var(--on-navy-faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  display: inline-block;
  padding: 4px 0;
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  text-decoration: none;
}

.footer-col a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: var(--on-navy-faint);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

@media (min-width: 560px) {
  .footer-cols {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    column-gap: 64px;
  }
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 72px 0 56px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
  }

  .footer-bottom p:last-child {
    max-width: 52ch;
    text-align: right;
  }
}

/* ---------- Sub pages ---------- */

.page {
  padding: 40px 0 96px;
}

@media (min-width: 960px) {
  .page {
    padding: 72px 0 128px;
  }
}

.page-head {
  max-width: var(--text);
  margin-bottom: 40px;
}

.page-title {
  font-size: clamp(34px, 24px + 2.6vw, 50px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
  hyphens: auto;
}

.page-title .sub {
  display: block;
  margin-top: 10px;
  color: var(--fg2);
  font-size: clamp(17px, 15px + .5vw, 20px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}

.page-head .lead {
  margin-top: 18px;
}

.updated {
  display: inline-flex;
  margin: 20px 0 0;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--bg2);
  color: var(--fg2);
  font-size: 14px;
  font-weight: 600;
}

/* Legal pages: sticky contents on the left from 1024px, stacked below. */
.legal-layout {
  display: grid;
  grid-template-areas:
    "head"
    "toc"
    "body";
  gap: 0;
}

.legal-layout .page-head {
  grid-area: head;
  margin-bottom: 32px;
}

.toc {
  grid-area: toc;
  margin-bottom: 40px;
  padding: 22px 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  background: var(--card);
}

.toc-title {
  margin: 0 0 10px;
  color: var(--fg3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: block;
  padding: 5px 0;
  color: var(--fg2);
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
}

.toc a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.legal-body {
  grid-area: body;
  min-width: 0;
  max-width: var(--text);
}

@media (min-width: 640px) {
  .toc ol {
    columns: 2;
    column-gap: 32px;
  }

  .toc li {
    break-inside: avoid;
  }
}

@media (min-width: 1024px) {
  .legal-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    grid-template-areas:
      ". head"
      "toc body";
    column-gap: 72px;
  }

  .toc {
    position: sticky;
    top: var(--header-space);
    align-self: start;
    max-height: calc(100vh - var(--header-space) - 24px);
    margin: 0;
    padding: 4px 0 4px 18px;
    overflow-y: auto;
    border: 0;
    border-left: 1px solid var(--bg3);
    border-radius: 0;
    background: none;
  }

  .toc ol {
    columns: 1;
  }

  .toc a {
    padding: 5px 0;
    font-size: 14px;
  }
}

/* Long-form text */

.prose {
  color: var(--navy);
}

.prose section {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--bg3);
}

.prose .summary-box + section {
  margin-top: 16px;
  padding-top: 24px;
  border-top: 0;
}

.prose h2 {
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.prose h3 {
  margin: 30px 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.prose p,
.prose li {
  color: var(--fg2);
}

.prose strong {
  color: var(--navy);
}

.prose ul {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.prose li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.prose li::marker {
  color: var(--fg3);
}

.prose address {
  margin: 0 0 1em;
  padding: 16px 20px;
  border-radius: var(--r-tile);
  background: var(--card);
  border: 1px solid var(--hairline);
  color: var(--navy);
  font-style: normal;
  font-weight: 600;
}

.prose a {
  color: var(--navy);
  font-weight: 600;
  text-decoration-color: rgba(36, 37, 51, .35);
  overflow-wrap: anywhere;
}

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

.prose > :last-child,
.prose section > :last-child {
  margin-bottom: 0;
}

.summary-box {
  margin: 0 0 8px;
  padding: 26px 26px 20px;
  border: 1px solid var(--lime);
  border-radius: var(--r-card);
  background: var(--lime-surface-large);
}

.summary-box h2 {
  margin-bottom: 12px;
  font-size: 19px;
}

.summary-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-box li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 20px;
  color: var(--navy);
}

.summary-box li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
}

/* ---------- Support ---------- */

.support-layout {
  display: grid;
  gap: 48px;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--lime);
  border-radius: var(--r-sheet);
  background: var(--lime-surface-large);
}

.contact-card h2 {
  margin-bottom: 8px;
  font-size: 23px;
  font-weight: 800;
}

.contact-card p {
  color: var(--navy);
}

.contact-card .btn {
  width: 100%;
  padding: 0 18px;
  overflow-wrap: anywhere;
}

.contact-card .btn svg {
  flex: none;
}

.faq-title {
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--hairline);
  border-radius: 22px;
  background: var(--card);
  transition: background-color .2s ease;
}

.faq details[open] {
  background: var(--bg1);
  box-shadow: var(--card-shadow);
}

.faq summary {
  position: relative;
  display: block;
  padding: 20px 60px 20px 24px;
  border-radius: 22px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background: var(--bg2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23242533' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s ease;
}

.faq details[open] summary::after {
  transform: rotate(180deg);
}

.faq .answer {
  padding: 0 24px 22px;
}

.faq .answer p {
  margin: 0 0 .75em;
  color: var(--fg2);
}

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

.faq .answer a {
  color: var(--navy);
  font-weight: 600;
  text-decoration-color: rgba(36, 37, 51, .35);
  overflow-wrap: anywhere;
}

@media (min-width: 960px) {
  .support-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 56px;
  }

  .contact-card {
    position: sticky;
    top: var(--header-space);
    grid-column: 2;
    grid-row: 1;
  }

  .faq-section {
    grid-column: 1;
    grid-row: 1;
  }
}

/* ---------- Imprint ---------- */

.imprint-card {
  max-width: 880px;
  padding: 4px 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sheet);
  background: var(--bg1);
  box-shadow: var(--card-shadow);
}

.imprint-card section {
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-top: 1px solid var(--bg3);
}

.imprint-card section:first-child {
  border-top: 0;
}

.imprint-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.imprint-card p,
.imprint-card address {
  margin: 0;
  color: var(--fg2);
  font-style: normal;
  font-weight: 400;
}

.imprint-card a {
  color: var(--navy);
  font-weight: 600;
  text-decoration-color: rgba(36, 37, 51, .35);
}

@media (min-width: 760px) {
  .imprint-card {
    padding: 8px 40px;
  }

  .imprint-card section {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 32px;
    padding: 26px 0;
  }
}

/* ---------- 404 ---------- */

.not-found {
  display: grid;
  place-items: center;
  padding: 96px 0 120px;
  text-align: center;
}

.not-found .lead {
  max-width: 30em;
  margin: 18px auto 0;
}

.not-found .actions {
  justify-content: center;
  margin-top: 32px;
}

.big-code {
  margin: 0 0 8px;
  font-size: clamp(72px, 40px + 10vw, 128px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.big-code span {
  display: inline-block;
  padding: 0 .12em;
  border-radius: .28em;
  background: var(--lime);
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .btn:hover {
    transform: none;
  }
}
