:root {
  --ink: #111111;
  --ink-soft: rgba(0, 0, 0, 0.66);
  --ink-muted: rgba(0, 0, 0, 0.46);
  --paper: #ffffff;
  --line: rgba(0, 0, 0, 0.09);
  --line-strong: rgba(0, 0, 0, 0.18);
  --shadow-soft: 0 18px 60px rgba(45, 25, 25, 0.08);
  --shadow-shot: 0 60px 120px rgba(60, 40, 40, 0.12), 0 18px 40px rgba(60, 40, 40, 0.08);
  --grad-top: #ffe9e9;
  --grad-bottom: #edfffe;
  --serif: "Cormorant Infant", Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  --mono: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  background: var(--grad-top);
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: linear-gradient(to bottom, var(--grad-top), var(--grad-bottom));
  background-attachment: fixed;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(0, 0, 0, 0.28);
}

a:hover {
  text-decoration-color: var(--ink);
}

/* ------------------------------------------------------------------ */
/* Shared header (identical on every page)                            */
/* ------------------------------------------------------------------ */

.site-header {
  width: 100%;
}

.site-header-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 30px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 120ms ease, transform 120ms ease, border-color 120ms ease;
}

.button:hover {
  background: rgba(255, 255, 255, 0.95);
}

.button.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.button.primary:hover {
  background: rgba(0, 0, 0, 0.86);
}

.button .apple {
  width: 14px;
  height: 14px;
  display: inline-block;
}

/* ------------------------------------------------------------------ */
/* Landing page                                                       */
/* ------------------------------------------------------------------ */

.page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 12px 0 60px;
}

.hero {
  text-align: center;
  padding: 72px 0 16px;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(0, 0, 0, 0.5);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 auto;
  max-width: 880px;
  font-family: var(--serif);
  font-size: clamp(48px, 7.5vw, 92px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.subhead {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.hero-meta {
  margin-top: 18px;
  color: var(--ink-muted);
  font-size: 13px;
}

.hero-shot {
  display: block;
  margin: 56px auto 0;
  max-width: 1080px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 36px 80px rgba(70, 38, 38, 0.12))
    drop-shadow(0 10px 24px rgba(70, 38, 38, 0.08));
}

/* ------------------------------------------------------------------ */
/* Benefits                                                           */
/* ------------------------------------------------------------------ */

section {
  margin-top: 88px;
}

.section-eyebrow {
  margin: 0 0 14px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.benefit {
  padding: 24px 24px 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.benefit p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.55;
}

/* ------------------------------------------------------------------ */
/* Closing CTA                                                        */
/* ------------------------------------------------------------------ */

.closing {
  text-align: center;
  padding: 24px 0 0;
}

.closing h2 {
  margin: 0 auto;
  max-width: 680px;
}

.closing .hero-actions {
  margin-top: 26px;
}

/* ------------------------------------------------------------------ */
/* Footer                                                             */
/* ------------------------------------------------------------------ */

.site-footer {
  margin-top: 88px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: var(--ink-muted);
  font-size: 13px;
}

.site-footer nav a {
  color: var(--ink-muted);
  margin-left: 16px;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------------ */
/* Document pages (privacy, support)                                  */
/* ------------------------------------------------------------------ */

.doc {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.doc h1 {
  margin: 32px 0 8px;
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
}

.doc .lede {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.6;
}

.doc .meta {
  margin-top: 8px;
  color: var(--ink-muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.doc h2 {
  margin: 40px 0 10px;
  font-size: 24px;
  letter-spacing: -0.005em;
}

.doc h3 {
  margin: 26px 0 6px;
  font-size: 17px;
}

.doc p {
  margin: 12px 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.doc ul {
  margin: 12px 0 12px 18px;
  padding: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.doc li {
  margin: 4px 0;
}

.callout {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.callout strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-block {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.contact-block .label {
  color: var(--ink-muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-block .email {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 17px;
  color: var(--ink);
}

.support-form {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.support-form .form-grid {
  display: grid;
  gap: 16px;
}

.support-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.support-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-form input,
.support-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.support-form input:focus,
.support-form textarea:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.support-form textarea {
  min-height: 140px;
  resize: vertical;
}

.support-form .form-hint {
  margin: 8px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.5;
}

.support-form .form-actions {
  margin-top: 20px;
}

.support-form button[type="submit"] {
  min-height: 44px;
  padding: 0 22px;
  border: none;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 120ms ease;
}

.support-form button[type="submit"]:hover {
  background: rgba(0, 0, 0, 0.86);
}

.support-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form-success {
  margin: 20px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(80, 120, 90, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.form-success strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.form-error {
  margin: 20px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(160, 60, 60, 0.25);
  border-radius: 14px;
  background: rgba(255, 248, 248, 0.9);
  color: #6b3a3a;
  font-size: 15px;
  line-height: 1.55;
}

.support-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 620px) {
  .support-form .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .benefits,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
