@font-face {
  font-family: "Twelf";
  src: url("fonts/twelf-display.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("fonts/onest-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("fonts/onest-medium.ttf") format("truetype");
  font-weight: 500 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f2ec;
  --ink: #1f252b;
  --muted: #565b60;
  --cobalt: #253db1;
  --butter: #ffe9a9;
  --line: rgba(31, 37, 43, .18);
  --wrap: min(1180px, calc(100% - 64px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Onest", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--cobalt); color: var(--butter); }

a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; }

button, a { -webkit-tap-highlight-color: transparent; }

.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -50px; z-index: 10; padding: 10px 14px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 12px; }

.topbar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { font: 400 31px/1 "Twelf", Georgia, serif; letter-spacing: -.045em; text-decoration: none; }
.wordmark-dot { color: var(--cobalt); }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); margin-left: 4rem; }
.nav a, .top-link, .footer-nav a { font-size: 13px; font-weight: 500; text-decoration: none; }
.nav a, .footer-nav a { transition: color .2s ease; }
.nav a:hover, .footer-nav a:hover { color: var(--cobalt); }
.top-link { display: inline-flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--ink); padding: 5px 0; }

.hero { min-height: 650px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(48px, 8vw, 120px); padding-block: 72px 98px; }
.hero-copy { max-width: 590px; position: relative; z-index: 1; }
h1, h2, blockquote { font-family: "Twelf", Georgia, serif; font-weight: 400; }
h1 { max-width: 660px; margin: 0; font-size: clamp(55px, 7vw, 91px); line-height: .99; letter-spacing: -.045em; }
.hero-body { max-width: 440px; margin: 27px 0 27px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.button { display: inline-flex; align-items: center; gap: 30px; min-height: 52px; padding: 0 19px; border-radius: 14px; text-decoration: none; font-size: 13px; font-weight: 500; transition: transform .22s cubic-bezier(.16,1,.3,1), background-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--cobalt); }
.hero-footnote { margin: 15px 0 0; color: var(--muted); font-size: 12px; }
.hero-art { position: relative; height: 540px; display: grid; place-items: center; }
.hero-paper { position: absolute; width: min(390px, 74%); aspect-ratio: 1; background: var(--butter); border-radius: 48% 52% 49% 51% / 49% 47% 53% 51%; transform: translate(9%, 2%) rotate(-7deg); }
.phone-shot { position: absolute; margin: 0; width: 218px; overflow: hidden; border: 7px solid #22231f; border-radius: 35px; background: #22231f; box-shadow: 0 22px 38px rgba(31, 37, 43, .18); }
.phone-shot img { display: block; width: 100%; height: auto; }
.phone-shot-back { transform: translate(-29%, 6%) rotate(-8deg) scale(.91); }
.phone-shot-front { transform: translate(24%, -2%) rotate(5deg); z-index: 1; }

.statement { display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; padding-block: 104px 124px; border-top: 1px solid var(--line); }
h2 { margin: 0; font-size: clamp(42px, 5.6vw, 70px); line-height: 1.04; letter-spacing: -.035em; }
.statement-copy { max-width: 435px; align-self: end; padding-bottom: 4px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.statement-copy p { margin: 0 0 17px; }
.statement-copy p:last-child { margin-bottom: 0; }

.story-band { background: var(--cobalt); color: var(--butter); }
.story-inner { min-height: 480px; display: grid; grid-template-columns: 1fr .88fr; align-items: center; gap: clamp(60px, 10vw, 140px); padding-block: 80px; }
.story-copy h2 { max-width: 550px; font-size: clamp(44px, 5.5vw, 72px); }
.story-line { margin: 16px 0 0; color: rgba(255, 233, 169, .95); font-size: 14px; font-weight: 500; }
.story-copy > p:last-child { max-width: 440px; margin: 23px 0 0; color: rgba(255, 233, 169, .84); font-size: 15px; line-height: 1.75; }
.quote-card { position: relative; margin: 0; min-height: 320px; padding: 31px 34px; background: var(--butter); border-radius: 14px; color: var(--cobalt); transform: rotate(2deg); box-shadow: 0 18px 30px rgba(31, 37, 43, .2); }
.quote-card-label, .quote-card-topic { display: block; font-size: 11px; }
.quote-card blockquote { margin: 48px 0 41px; font-size: clamp(28px, 3.8vw, 44px); line-height: 1.08; letter-spacing: -.025em; }
.quote-card-topic { color: rgba(37, 61, 177, .65); }
.quote-card-mark { position: absolute; right: 30px; bottom: 23px; color: rgba(37, 61, 177, .23); font-size: 10px; letter-spacing: .1em; }

.closing { padding-block: 0 128px; text-align: center; }
.closing-rule { width: 54px; height: 1px; margin: 0 auto 28px; background: var(--cobalt); }
.closing > p { margin: 0 0 17px; color: var(--muted); font-size: 12px; }
.closing h2 { margin-bottom: 24px; font-size: clamp(49px, 6.5vw, 78px); }
.text-link { display: inline-flex; align-items: center; gap: 13px; font-size: 13px; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.maker-note { display: grid; grid-template-columns: minmax(190px, 260px) 1fr; align-items: center; gap: clamp(44px, 7vw, 88px); padding-block: 0 96px; }
.maker-photo { width: 100%; aspect-ratio: 1.12; margin: 0; overflow: hidden; border-radius: 16px; }
.maker-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.maker-copy { max-width: 560px; }
.maker-copy h2 { margin-bottom: 20px; font-size: clamp(38px, 4.5vw, 54px); }
.maker-quote { position: relative; margin: 0; padding: clamp(27px, 4vw, 42px); border-radius: 16px; background: var(--butter); color: var(--ink); }
.maker-quote::before { display: block; margin: -14px 0 4px; color: var(--cobalt); content: "“"; font: 400 74px/.8 "Twelf", Georgia, serif; }
.maker-quote p { max-width: 58ch; margin: 0 0 15px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.maker-quote .maker-quote-lead { margin-bottom: 21px; color: var(--cobalt); font: 400 clamp(25px, 3vw, 35px)/1.18 "Twelf", Georgia, serif; letter-spacing: -.025em; }
.maker-attribution { display: flex; align-items: baseline; gap: 10px; margin-top: 24px; padding-top: 17px; border-top: 1px solid rgba(37, 61, 177, .2); color: var(--cobalt); font-size: 12px; }
.maker-attribution span:first-child { font-weight: 600; }
.maker-attribution span:last-child { color: rgba(37, 61, 177, .74); }

.footer { background: var(--paper); border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; padding-block: 37px 22px; }
.footer-brand p { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.footer-nav { display: flex; gap: clamp(20px, 3vw, 40px); align-items: start; padding-top: 8px; }
.footer-nav a { font-size: 12px; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 30px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }

.legal-shell { min-height: calc(100vh - 82px); padding-block: 78px 100px; }
.legal-back { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 35px; color: var(--muted); font-size: 12px; text-decoration: none; }
.legal-title { max-width: 900px; margin: 0 0 15px; font-size: clamp(54px, 8vw, 88px); }
.legal-updated { margin: 0 0 48px; color: var(--muted); font-size: 13px; }
.legal-content { max-width: 720px; }
.legal-content h2 { margin: 42px 0 13px; font-size: 31px; }
.legal-content p, .legal-content li { color: var(--ink); font-size: 15px; line-height: 1.78; }
.legal-content ul { padding-left: 21px; }
.legal-content a { color: var(--cobalt); }
.legal-notice { margin: 0 0 35px; padding: 17px 19px; border: 1px solid rgba(37, 61, 177, .36); background: rgba(255, 233, 169, .45); font-size: 13px; line-height: 1.7; }
.placeholder { display: inline; padding: 0 .18em; background: var(--butter); color: var(--ink); }

@media (max-width: 900px) {
  :root { --wrap: min(100% - 42px, 700px); }
  .nav { gap: 18px; margin-left: 0; }
  .top-link { display: none; }
  .hero { min-height: 0; gap: 32px; padding-block: 78px 74px; }
  .hero-art { height: 440px; }
  .phone-shot { width: 180px; border-width: 6px; border-radius: 30px; }
  .statement { gap: 48px; padding-block: 82px 95px; }
  .story-inner { gap: 50px; }
}

@media (max-width: 620px) {
  :root { --wrap: calc(100% - 36px); }
  html { scroll-padding-top: 70px; }
  .topbar { min-height: 68px; }
  .wordmark { font-size: 29px; }
  .nav { gap: 17px; }
  .nav a { font-size: 11px; }
  .nav a:nth-child(1) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 12px; padding-block: 63px 49px; }
  h1 { font-size: clamp(51px, 13.7vw, 75px); }
  .hero-body { max-width: 375px; margin: 21px 0; font-size: 15px; }
  .hero-art { height: 405px; margin-top: 8px; }
  .hero-paper { width: 285px; transform: translate(6%, 2%) rotate(-7deg); }
  .phone-shot { width: 170px; }
  .phone-shot-back { transform: translate(-26%, 4%) rotate(-8deg) scale(.89); }
  .phone-shot-front { transform: translate(24%, -1%) rotate(5deg); }
  .statement { grid-template-columns: 1fr; gap: 25px; padding-block: 66px 76px; }
  .statement h2 { font-size: 49px; }
  .statement-copy { font-size: 14px; }
  .story-inner { grid-template-columns: 1fr; gap: 37px; padding-block: 69px 72px; }
  .story-copy h2 { font-size: 49px; }
  .story-copy > p:last-child { font-size: 14px; }
  .quote-card { min-height: 270px; padding: 26px; transform: rotate(1.4deg); }
  .quote-card blockquote { margin: 36px 0; font-size: 36px; }
  .closing { padding-bottom: 90px; }
  .closing h2 { font-size: 57px; }
  .maker-note { grid-template-columns: 1fr; gap: 30px; padding-bottom: 72px; }
  .maker-photo { max-width: 220px; }
  .maker-copy h2 { font-size: 47px; }
  .maker-quote { padding: 25px 23px; }
  .maker-quote p { font-size: 14px; }
  .maker-quote .maker-quote-lead { font-size: 29px; }
  .footer-inner { grid-template-columns: 1fr; gap: 25px; }
  .footer-nav { flex-wrap: wrap; gap: 15px 22px; }
  .footer-bottom { margin-top: 10px; }
  .legal-shell { min-height: calc(100vh - 68px); padding-block: 50px 74px; }
  .legal-title { font-size: 59px; }
  .legal-content h2 { font-size: 28px; }
  .legal-content p, .legal-content li { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
