/* DuoSelfie site. Twin Frames: cream ground, Fraunces display, DM Sans body. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/fraunces-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/dm-sans.woff2") format("woff2");
}

:root {
  --cream: #f6f1e7;
  --paper: #ffffff;
  --ink: #141414;
  --text: #3d3833;
  --muted: #6b6257;
  --line: #e6dfd2;
  --camera: #ffd60a;
  --viewer: #63e6e2;
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, 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(--sans);
  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(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h1 em, h2 em { font-weight: 500; }
p { margin: 0; }

.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(--serif);
  font-weight: 600;
  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; }
.hero h1 { font-size: clamp(52px, 9vw, 78px); letter-spacing: -0.03em; line-height: 0.96; }
.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-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: flex; flex-wrap: wrap; gap: 20px; }
.step-list li {
  flex: 1 1 280px;
  min-width: 0;
  background: var(--cream);
  border-radius: 22px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-n { font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 1; }
.step-list h3 { font-size: 26px; letter-spacing: -0.01em; }
.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: 680px; 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; }
.platforms { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.platforms li {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 20px;
  border-radius: 24px;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}

/* 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; }

/* /c: the pairing handoff page */
.page .handoff-actions { margin-top: 28px; }
.page .note { font-size: 15px; color: var(--muted); }
