/* Face Sketch — pencil on paper, the same look as the App Store slides. */
:root {
  --paper: #F3EBDD;
  --paper-light: #FAF7F0;
  --ink: #1E1E1C;
  --pencil: #5C5A57;
  --accent: #E4572E;
  --night: #1B1A18;
  --night-text: #EDE7DC;
  --night-dim: #A9A39A;
  --line: rgba(30, 30, 28, 0.14);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-color: var(--paper);
  /* Light falling on a sheet of paper, plus a faint grain. */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.11 0 0 0 0 0.1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(120vw 80vh at 50% -10%, var(--paper-light), transparent 70%);
  background-attachment: scroll;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { max-width: 1080px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 800; letter-spacing: -0.01em; line-height: 1.08; margin: 0; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }

/* The short orange stroke that sits over every headline on the slides. */
.dash::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  margin-bottom: 18px;
}
.center .dash::before, .dash.center::before { margin-left: auto; margin-right: auto; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

/* ---------- Header ---------- */

header.top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 0;
  flex-wrap: wrap;
}
header.top .mark { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 2px 6px rgba(30,30,28,.18); }
header.top .home { font-family: var(--serif); font-weight: 800; font-size: 21px; text-decoration: none; }
header.top nav { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 500; }
header.top nav > a { color: var(--pencil); text-decoration: none; }
header.top nav > a:hover, header.top nav > a[aria-current] { color: var(--ink); }

/* Language switcher: a plain <details>, so it works without script. */
.lang { position: relative; }
.lang summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--pencil);
  background: rgba(250, 247, 240, 0.7);
  user-select: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 16px; height: 16px; }
.lang[open] summary { color: var(--ink); border-color: var(--pencil); }
.lang ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 10;
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 170px;
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(30, 30, 28, 0.16);
}
.lang li a { display: block; padding: 8px 12px; border-radius: 9px; text-decoration: none; color: var(--ink); }
.lang li a:hover { background: var(--paper); }
.lang li a[aria-current] { color: var(--accent); font-weight: 600; }

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

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0 72px;
}
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); }
.hero h1 span { display: block; font-style: italic; color: var(--pencil); font-size: 0.62em; margin-top: 8px; }
.hero .sub { font-family: var(--serif); font-size: clamp(21px, 2.4vw, 27px); font-weight: 700; margin: 22px 0 10px; }
.hero .lead { color: var(--pencil); max-width: 46ch; margin: 22px 0 0; }
.hero .note { color: var(--pencil); font-size: 14px; margin: 16px 0 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 26px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper-light);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(30, 30, 28, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.badge svg { width: 20px; height: 20px; flex: none; }
.badge:hover, .badge:focus-visible { transform: translateY(-2px); background: #000; box-shadow: 0 14px 32px rgba(30, 30, 28, 0.3); }

.hero .shot { justify-self: center; width: min(360px, 100%); }
.hero .shot img {
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(30, 30, 28, 0.2), 0 0 0 1px var(--line);
  transform: rotate(1.6deg);
}

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

section { padding: 72px 0; }
.rule { border: 0; height: 1px; margin: 0; background: repeating-linear-gradient(90deg, var(--pencil) 0 6px, transparent 6px 11px); opacity: 0.35; }

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature.flip .text { order: 2; }
.feature h2 { font-size: clamp(32px, 4.4vw, 50px); margin-bottom: 18px; }
.feature p { color: var(--pencil); max-width: 48ch; margin: 0 0 12px; }
.feature .tagline { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink); }

/* A phone drawn in ink around a raw app capture. */
.phone {
  justify-self: center;
  width: min(300px, 78vw);
  padding: 9px;
  border-radius: 46px;
  background: var(--ink);
  box-shadow: 0 28px 56px rgba(30, 30, 28, 0.22);
}
.phone img { border-radius: 38px; width: 100%; }

/* ---------- Men and women (dark, like slide four) ---------- */

.dark { background: var(--night); color: var(--night-text); }
.dark h2 { font-size: clamp(32px, 4.4vw, 50px); margin-bottom: 18px; }
.dark p { color: var(--night-dim); }
.dark .intro { max-width: 60ch; margin: 0 auto 44px; text-align: center; }
.dark .intro p { margin: 0 auto; }

.faces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 840px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
/* Prints laid on a table: white border, each at its own angle. */
.faces li {
  background: #fff;
  padding: 10px 10px 12px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45);
  transform: rotate(var(--r, 0deg));
  transition: transform 0.25s ease;
}
.faces li:hover { transform: rotate(0deg) scale(1.03); }
.faces li:nth-child(1) { --r: -2.2deg; }
.faces li:nth-child(2) { --r: 1.6deg; }
.faces li:nth-child(3) { --r: -1deg; }
.faces li:nth-child(4) { --r: 2deg; }
.faces li:nth-child(5) { --r: -1.4deg; }
.faces li:nth-child(6) { --r: 1.2deg; }
.faces img { aspect-ratio: 1320 / 1495; object-fit: cover; width: 100%; }

/* ---------- Also ---------- */

.also h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 28px; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); padding: 0; margin: 0; list-style: none; }
.cards li {
  background: rgba(250, 247, 240, 0.75);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  color: var(--pencil);
}
.cards li strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

/* ---------- Slides strip ---------- */

.slides h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 28px; }
.strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 2px 22px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.strip img {
  flex: 0 0 auto;
  width: min(240px, 62vw);
  border-radius: 22px;
  box-shadow: 0 0 0 1px var(--line), 0 12px 26px rgba(30, 30, 28, 0.12);
  scroll-snap-align: start;
}

/* ---------- The honest line ---------- */

.honest {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.honest h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.honest p { color: var(--pencil); margin: 0 0 10px; }
.honest a { color: var(--accent); }

/* ---------- Plain pages ---------- */

article { max-width: 70ch; padding: 40px 0 64px; }
article h1 { font-size: clamp(30px, 5.4vw, 56px); margin-bottom: 18px; }
article h2 { font-size: 24px; margin: 38px 0 10px; }
article p, article li { color: var(--pencil); }
article strong { color: var(--ink); font-weight: 600; }
article a { color: var(--accent); }
article ul { padding-left: 20px; }
article li { margin: 6px 0; }
article .date { font-size: 15px; color: var(--ink); }
.contact {
  margin-top: 40px;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(250, 247, 240, 0.8);
  border: 1px solid var(--line);
}
.contact p { margin: 0; }

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

footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 44px;
  color: var(--pencil);
  font-size: 14px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
footer a { color: var(--pencil); text-decoration: none; }
footer a:hover { color: var(--accent); }
footer .spacer { margin-left: auto; }

/* ---------- Arrival ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.seen { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Narrow screens ---------- */

@media (max-width: 820px) {
  .hero, .feature { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 24px 0 56px; }
  .feature.flip .text { order: 0; }
  .hero .shot { width: min(300px, 82%); }
  section { padding: 56px 0; }
}

@media (max-width: 560px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  header.top { gap: 10px; padding: 16px 0; }
  header.top nav { gap: 12px; font-size: 14px; }
  header.top .home { font-size: 19px; }
  .faces { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .faces li { padding: 6px 6px 8px; }
  footer .spacer { margin-left: 0; }
  .badge { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
  header.top nav { width: 100%; margin-left: 0; justify-content: flex-start; }
  .lang { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .badge, .faces li { transition: none; }
}

article.support h3 { font-family: var(--sans); font-weight: 600; font-size: 18px; letter-spacing: 0; margin: 26px 0 6px; color: var(--ink); }
article.support h3 + p { margin-top: 0; }
