/* SelfieHelp site. Twin Frames: cream ground, one Helvetica-style typeface throughout.
   Apple devices use their built-in Helvetica Neue and download nothing; everything else gets Inter,
   hosted here, which browsers only fetch when Helvetica Neue is missing. */

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

:root {
  --cream: #f6f1e7;
  --paper: #ffffff;
  --ink: #141414;
  --text: #3d3833;
  --muted: #6b6257;
  --line: #e6dfd2;
  --camera: #ffd60a;
  --viewer: #63e6e2;
  --font: "Helvetica Neue", "Inter", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

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

/* Header */
.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 26px; height: 30px; flex: none; }
.site-nav { display: flex; gap: 26px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--text); text-decoration: none; }
.site-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 72px;
}
.hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
/* Sized so "one perfect photo." stays on one line in Inter (the widest of the stack): full width when
   stacked, half width side by side. */
.hero h1 { font-size: clamp(28px, calc(11.4vw - 6px), 64px); letter-spacing: -0.035em; line-height: 0.98; }
@media (min-width: 896px) { .hero h1 { font-size: clamp(40px, calc(5.7vw - 4px), 60px); } }
.lede { font-size: 19px; color: var(--text); max-width: 520px; }
.hero-art { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 400px; height: auto; }
@media (max-width: 600px) {
  .hero .wrap { gap: 32px; padding-top: 32px; padding-bottom: 48px; }
  .hero-art svg { max-width: 290px; }
}

.button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.button:hover { color: #fff; background: #2e2a26; }
.note { font-size: 14px; color: var(--muted); }

/* Sections */
section h2 { font-size: clamp(34px, 5vw, 44px); }
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .wrap,
.privacy .wrap,
.soon .wrap { padding-top: 64px; padding-bottom: 64px; }

.steps { display: flex; flex-direction: column; gap: 32px; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 900px) { .step-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step-list li {
  min-width: 0;
  background: var(--cream);
  border-radius: 22px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-list h3 { display: flex; gap: 0.3em; font-size: 24px; letter-spacing: -0.02em; }
.step-n { flex: none; }
@media (min-width: 900px) and (max-width: 1179px) { .step-list h3 { font-size: 22px; } }
.step-list p { font-size: 15px; color: var(--text); }
.role { padding: 1px 7px; border-radius: 6px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.role-camera { background: var(--camera); }
.role-viewer { background: var(--viewer); }

.privacy .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.privacy-copy { flex: 1 1 320px; min-width: 0; max-width: 600px; display: flex; flex-direction: column; gap: 14px; }
.privacy-copy p { font-size: 17px; line-height: 1.55; color: var(--text); }

.soon { background: var(--ink); color: var(--cream); }
.soon .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.soon-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.soon h2 { font-size: clamp(36px, 5.5vw, 48px); line-height: 1; }
.soon p { color: #d8d2c6; }
/* Shaped like the store badges; the official ones replace these once the listings are live. */
.stores { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  height: 54px;
  padding: 0 18px;
  border: 1px solid #a6a6a6;
  border-radius: 10px;
  background: #000;
  color: #fff;
}
.store-line { font-size: 11px; font-weight: 500; line-height: 1.15; letter-spacing: 0.01em; }
.store-name { font-size: 21px; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }

/* Footer */
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 28px;
  padding-bottom: 40px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* Text pages: privacy policy, 404 */
.page .wrap { max-width: 720px; padding-top: 40px; padding-bottom: 72px; }
.page h1 { font-size: clamp(40px, 7vw, 56px); letter-spacing: -0.03em; margin-bottom: 12px; }
.page h2 { font-size: 26px; margin: 40px 0 10px; }
.page p,
.page li { font-size: 17px; line-height: 1.6; color: var(--text); }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 22px; margin: 12px 0 0; }
.page li + li { margin-top: 6px; }
.page .updated { color: var(--muted); font-size: 15px; }

