/* Three16 website: a warm page, leather and gold from the app icon, and type like a printed Bible.
   System fonts only, so no visitor's address is sent to a font service. */
:root {
  --paper: #f7f1e6;
  --paper-2: #efe6d6;
  --card: #fffaf1;
  --ink: #2a1f17;
  --muted: #6f6152;
  --line: #e1d5c0;
  --leather: #6b3f24;
  --leather-2: #4a2a17;
  --gold: #c99a3c;
  --gold-soft: #e8cf95;
  --purple: #6d28d9;
  --radius: 20px;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #17110d;
    --paper-2: #1f1712;
    --card: #241b15;
    --ink: #f3eadc;
    --muted: #b5a690;
    --line: #3a2d23;
    --leather: #a8683f;
    --leather-2: #8a522f;
    --gold: #e0b75e;
    --purple: #b79cff;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--purple); }
img { max-width: 100%; display: block; }
.wrap { width: min(1080px, 100% - 32px); margin: 0 auto; }

/* Header */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 21px var(--serif); color: var(--ink); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.pill-button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 12px;
  background: var(--leather); color: #fff8ec; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 0 0 1.5px rgba(232, 207, 149, 0.35); }
.pill-button:hover { background: var(--leather-2); }
.pill-button.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.pill-button.big { padding: 15px 24px; font-size: 16px; }

/* Stitching: the dashed gold thread from the app icon, used on featured frames. */
.stitched { position: relative; }
.stitched::after { content: ""; position: absolute; inset: 10px; border: 2px dashed var(--gold); border-radius: calc(var(--radius) - 8px); opacity: 0.7; pointer-events: none; }

/* Hero */
.hero { padding: 72px 0 84px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--leather); }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 7vw, 82px); line-height: 1.02; letter-spacing: -0.02em; margin: 16px 0 22px; }
h1 em { font-style: italic; color: var(--leather); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 540px; margin: 0; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.facts li::before { content: "✦"; color: var(--gold); margin-right: 8px; font-size: 12px; }

/* A phone set in a leather cover with gold stitching, like the icon. */
.cover { background: linear-gradient(150deg, #7a4a2b, #4a2a17 70%); border-radius: 36px; padding: 26px; box-shadow: 0 30px 60px rgba(60, 30, 10, 0.28); max-width: 380px; margin: 0 auto; --radius: 36px; }
.cover .screen { border-radius: 30px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); position: relative; z-index: 1; }

/* The verse, set like a page of a Bible */
.page { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 80px 0; }
.page blockquote { margin: 0 auto; max-width: 820px; font: 400 clamp(26px, 3.6vw, 40px)/1.4 var(--serif); }
.page blockquote::first-letter { font-size: 2.1em; color: var(--leather); font-weight: 600; float: left; line-height: 0.9; margin: 0.06em 0.08em 0 0; }
.page cite { display: block; margin-top: 22px; font: 600 15px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-style: normal; max-width: 820px; margin-left: auto; margin-right: auto; }

/* Features, numbered like verses */
.feature { padding: 96px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature.flip .wrap > :first-child { order: 2; }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4.6vw, 50px); line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 16px; }
h2 sup { font: 700 0.4em var(--sans); color: var(--gold); vertical-align: super; margin-right: 6px; }
.feature p { color: var(--muted); font-size: 18px; margin: 0 0 22px; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list li { display: flex; gap: 12px; align-items: baseline; }
.list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg) translateY(-2px); }
.shot { max-width: 300px; margin: 0 auto; border-radius: 34px; overflow: hidden; border: 8px solid var(--ink); box-shadow: 0 24px 50px rgba(60, 30, 10, 0.22); }

/* Smaller things */
.more { padding: 96px 0; background: var(--paper-2); border-top: 1px solid var(--line); }
.more h2, .more .intro { text-align: center; }
.more .intro { color: var(--muted); max-width: 560px; margin: 0 auto 44px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 26px; }
.card h3 { font: 600 21px var(--serif); margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .icon { font-size: 22px; margin-bottom: 10px; }

/* Privacy */
.privacy { padding: 96px 0; }
.privacy .box { background: var(--leather); color: #fff8ec; border-radius: 28px; padding: 56px; --radius: 28px; --gold: #e8cf95; }
.privacy h2 { color: #fff8ec; }
.privacy .box > p { color: rgba(255, 248, 236, 0.8); max-width: 620px; font-size: 18px; }
.privacy .points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 34px; position: relative; z-index: 1; }
.privacy .points h3 { font: 600 20px var(--serif); margin: 0 0 6px; }
.privacy .points p { margin: 0; color: rgba(255, 248, 236, 0.8); font-size: 15.5px; }
.privacy a { color: var(--gold-soft); }

/* FAQ */
.faq { padding: 96px 0; border-top: 1px solid var(--line); }
.faq .wrap { max-width: 760px; }
.faq h2 { text-align: center; margin-bottom: 34px; }
details { border-bottom: 1px solid var(--line); padding: 18px 2px; }
summary { cursor: pointer; font: 600 19px var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font: 400 24px/1 var(--sans); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 10px 0 0; }

/* Closing and not-found page */
.closing { padding: 100px 0 110px; text-align: center; border-top: 1px solid var(--line); }
.closing .icon { width: 108px; height: 108px; border-radius: 24px; margin: 0 auto 26px; box-shadow: 0 18px 40px rgba(60, 30, 10, 0.3); }
.closing .lead { margin: 0 auto; }
.closing .cta { justify-content: center; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14.5px; }
footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Legal and support pages */
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--leather); }
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 740px; }
.doc h1 { font-size: clamp(40px, 7vw, 60px); margin: 10px 0 6px; }
.doc .updated { color: var(--muted); margin-bottom: 36px; }
.doc h2 { font-size: 27px; margin: 44px 0 10px; }
.doc h3 { font: 600 20px var(--serif); margin: 26px 0 6px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.summary-box { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 14px; padding: 22px 24px; }
.summary-box ul { margin: 8px 0 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }

@media (max-width: 880px) {
  .hero .wrap, .feature .wrap, .cards, .privacy .points { grid-template-columns: 1fr; }
  .feature.flip .wrap > :first-child { order: 0; }
  .hero { padding-top: 44px; }
  .hero .wrap, .feature .wrap { gap: 40px; }
  .nav-links { display: none; }
  .nav .pill-button { margin-left: auto; }
  .feature, .more, .privacy, .faq, .closing, .page { padding: 64px 0; }
  .privacy .box { padding: 40px 26px; }
  .cover { padding: 20px; max-width: 320px; }
}
