/* Back Around: navy night, pale-blue day, and one orange: the date stamp. */

@font-face {
  font-family: "DSEG7";
  src: url("assets/fonts/DSEG7Classic-Bold.ttf") format("truetype");
  font-display: swap;
}

:root {
  --navy: #0E1730;
  --navy-deep: #070C1C;
  --stamp: #FF8A1A;
  --stamp-glow: rgba(255, 138, 26, 0.55);
  --on-stamp: #14100C;
  /* Small orange text needs the deeper orange on light backgrounds (4.5:1). */
  --stamp-text: #B35900;

  --bg: #F5F7FC;
  --bg-top: #E8EEF8;
  --surface: #FFFFFF;
  --border: rgba(14, 23, 48, 0.10);
  --text: #0E1730;
  --text-2: rgba(14, 23, 48, 0.68);
  --text-3: rgba(14, 23, 48, 0.45);
  --print: #FBF8F2;
  --shadow: 0 18px 40px rgba(14, 23, 48, 0.12);

  --hero-text: #FFFFFF;
  --hero-text-2: rgba(255, 255, 255, 0.72);

  --font: "Space Grotesk", -apple-system, sans-serif;
  --lcd: "DSEG7", ui-monospace, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #05070F;
    --bg-top: #0E1730;
    --surface: #111A33;
    --border: rgba(255, 255, 255, 0.10);
    --text: #FFFFFF;
    --text-2: rgba(255, 255, 255, 0.68);
    --text-3: rgba(255, 255, 255, 0.42);
    --print: #1A2442;
    --stamp-text: #FF8A1A;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg-top), var(--bg) 900px) var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }

a { color: inherit; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Hero ---------- */

.hero-band {
  position: relative;
  background: var(--navy);
  color: var(--hero-text);
  overflow: hidden;
  isolation: isolate;
}

/* The wall of prints, faded back so the copy reads. */
.hero-wall {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("assets/wall.jpg") center / cover no-repeat;
  opacity: 0.32;
}
.hero-wall::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--navy) 0%, rgba(14, 23, 48, 0.88) 45%, rgba(14, 23, 48, 0.35) 100%),
    linear-gradient(180deg, transparent 60%, var(--navy) 100%);
}

/* Film-strip sprockets along the top, as on the App Store shots. */
.hero-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  height: 10px;
  opacity: 0.14;
  background: repeating-linear-gradient(90deg, #FFFFFF 0 14px, transparent 14px 28px);
}

.top { padding-top: 36px; }

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a { text-decoration: none; opacity: 0.8; transition: opacity 0.15s ease; }
.nav a:hover { opacity: 1; }
.nav-links { display: flex; gap: 22px; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 0;
}

.hero-copy { padding-bottom: 72px; }

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.brand img {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

/* The LCD date stamp: unlit segments behind, the lit date on top. */
.lcd {
  position: relative;
  display: inline-block;
  margin: 40px 0 14px;
  font-family: var(--lcd);
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  letter-spacing: 0.06em;
  line-height: 1;
}
.lcd-ghost { color: var(--stamp); opacity: 0.1; }
.lcd-live {
  position: absolute;
  inset: 0;
  color: var(--stamp);
  text-shadow: 0 0 18px var(--stamp-glow);
}

h1, h2, h3 { margin: 0; letter-spacing: -0.03em; }

h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  font-weight: 700;
  line-height: 1.0;
}
h1 em { font-style: normal; color: var(--stamp); }

.hero .lede {
  color: var(--hero-text-2);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  max-width: 34em;
  margin: 22px 0 30px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  border-radius: 999px;
  border: 0;
  background: var(--stamp);
  color: var(--on-stamp);
  font: 700 1rem var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255, 138, 26, 0.35); }
.btn-plain {
  background: rgba(255, 255, 255, 0.10);
  color: var(--hero-text);
}
.btn-plain:hover { box-shadow: none; background: rgba(255, 255, 255, 0.16); }

.fineprint {
  margin: 18px 0 0;
  font-size: 0.88rem;
  color: var(--hero-text-2);
}

/* The phone sits on the bottom edge of the band and is cropped by it. */
.hero-phone {
  justify-self: center;
  width: min(340px, 100%);
  height: auto;
  margin-bottom: -150px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
  transform: rotate(3deg);
}

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

.band { padding: 96px 0; }
.band-first { padding-top: 120px; }

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

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stamp-text);
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.08;
}

.section-head .lede {
  color: var(--text-2);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 14px 0 0;
}

/* ---------- Features: phone and copy, alternating sides ---------- */

.feature {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 72px;
  padding: 36px 0;
}
.feature + .feature { border-top: 1px solid var(--border); }
.feature.flip { grid-template-columns: 1fr 300px; }
.feature.flip .phone { order: 2; }

.phone {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(14, 23, 48, 0.22));
}

.feature-copy { max-width: 470px; }
.feature.flip .feature-copy { justify-self: end; }

/* A small printed caption like the "15 years ago" line under a photo. */
.years {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--stamp);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
@media (prefers-color-scheme: dark) { .years { background: var(--surface); } }

.feature h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 14px;
}
.feature p {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 12px;
}

/* ---------- The wall of prints ---------- */

.wall-band {
  background: var(--navy);
  line-height: 0;
}
.wall-band img {
  display: block;
  width: 100%;
  height: clamp(220px, 34vw, 460px);
  object-fit: cover;
}

/* ---------- Privacy promises ---------- */

.tray {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.promises {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.promises li {
  background: var(--print);
  border-radius: 6px;
  padding: 20px 20px 22px;
  box-shadow: var(--shadow);
  color: var(--text-2);
  line-height: 1.55;
  font-size: 0.97rem;
}
.promises li:nth-child(odd) { transform: rotate(-0.6deg); }
.promises li:nth-child(even) { transform: rotate(0.5deg); }
.promises b {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

/* ---------- Help ---------- */

.help {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 32px 18px 0;
  font-weight: 600;
  font-size: 1.08rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--stamp);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p {
  margin: 0 0 18px;
  color: var(--text-2);
  line-height: 1.65;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-card > p { color: var(--text-2); margin: 0 0 20px; }

.form-card label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 14px 0 6px;
}
.form-card input,
.form-card textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: 400 1rem var(--font);
}
.form-card input:focus,
.form-card textarea:focus {
  outline: 2px solid var(--stamp);
  outline-offset: 1px;
}
.form-card .btn { margin-top: 18px; width: 100%; }
.sent { font-weight: 600; padding: 12px 0; }

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

footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 48px;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 14px;
}
.footer-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
}
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.85rem; color: var(--text-3); }

/* ---------- Privacy policy page ---------- */

.policy-band { padding-bottom: 56px; }
.policy-band .brand { margin-top: 40px; }

.policy-wrap { padding-top: 56px; padding-bottom: 96px; }
.policy { max-width: 720px; }
.policy h1 {
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.08;
  margin-bottom: 10px;
}
.policy .dated { color: var(--text-3); margin: 0 0 28px; }
.policy h2 { font-size: 1.35rem; margin: 36px 0 10px; letter-spacing: -0.02em; }
.policy p, .policy li { color: var(--text-2); line-height: 1.7; font-size: 1.03rem; }
.policy a { color: var(--text); text-decoration-color: var(--stamp); text-underline-offset: 3px; }
.short {
  background: var(--print);
  border-radius: 6px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.short b { display: block; margin-bottom: 6px; }
.short p { margin: 0; }

/* ---------- Small screens ---------- */

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 8px; padding-top: 32px; }
  .hero-copy { padding-bottom: 32px; }
  .hero-phone { width: min(260px, 70%); margin-bottom: -110px; }
  .band-first { padding-top: 72px; }

  .feature,
  .feature.flip {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0;
  }
  .feature .phone,
  .feature.flip .phone { order: 0; width: min(240px, 66%); justify-self: center; }
  .feature-copy, .feature.flip .feature-copy { justify-self: start; }

  .tray, .help { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .band { padding: 64px 0; }
  .promises { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .cta .btn { flex: 1 1 100%; }
}
