/* Called For More: shared styles */

:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --band: #F1EFEA;
  --text: #111111;
  --muted: #5C5B57;
  --line: #E4E1DA;
  --navy: #14213D;
  --navy-2: #1C2B4D;
  --on-navy: #FFFFFF;
  --on-navy-muted: rgba(255, 255, 255, 0.72);
  --gold: #A8832F;

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1120px;
  --gutter: 20px;
  --radius: 16px;
  --section: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
picture { display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  padding: 10px 14px; border-radius: 8px;
  background: var(--navy); color: #fff; text-decoration: none;
}
.skip:focus { top: 12px; }

/* The one small label a section may have */
.eyebrow {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-secondary { background: transparent; color: var(--text); border-color: #C9C5BC; }
.btn-secondary:hover { border-color: var(--text); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #ECEEF3; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.text-link:hover { text-decoration-thickness: 2px; }

/* ---------- Top navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 250, 248, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.nav-links a:not(.btn):hover,
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links .nav-cta { margin-left: 10px; }

.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0 4px 0 12px;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 859px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(17, 17, 17, 0.07);
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) {
    display: flex;
    min-height: 54px;
    padding: 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
    color: var(--text);
  }
  .nav-links .nav-cta { margin: 16px 0 0; }
  .nav-links .nav-cta .btn { width: 100%; }
}

/* ---------- Top of home page ---------- */

/* On phones the order is: intro, offers, numbers. On wider screens: intro, numbers, offers. */
.top { display: flex; flex-direction: column; }
/* Phones: unwrap the intro so the social icons can sit under the buttons, like the old Linktree */
.top .hero, .top .hero-inner, .top .hero-text { display: contents; }
.top .hero-photo, .top .hero-text > * { order: 1; }
.top > .offers { order: 2; margin-top: 18px; }
.top .social-wrap { order: 3; margin-top: 14px; justify-content: center; }
.top .social { margin-left: 0; }
.top > .proof-bar { order: 4; }
.top .hero h1 { margin-top: 18px; }

.hero { padding-bottom: 16px; }
.hero-photo { margin: 0 calc(var(--gutter) * -1); }
.hero-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 15%;
}
.hero-text { padding-top: 18px; }
.hero .eyebrow { display: none; margin-bottom: 16px; }
.hero h1 { font-size: 36px; line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.hero-sub {
  margin-top: 10px;
  max-width: 30em;
  font-size: 17px;
  color: var(--muted);
}
.hero-cta { display: none; }

.social-wrap { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.social-label { display: none; font-size: 14px; color: var(--muted); }
.social {
  display: flex;
  gap: 2px;
  margin: 0 0 0 -12px;
  padding: 0;
  list-style: none;
}
.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--text);
}
.social a:hover { color: var(--navy); background: var(--band); }
.social svg { width: 20px; height: 20px; }

/* Numbers bar */
.proof-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-bar div { padding: 0 8px; }
.proof-bar div + div { border-left: 1px solid var(--line); padding-left: 14px; }
.proof-num { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.proof-label { margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--muted); }

/* ---------- Offers ---------- */

.offers-head { display: none; }
.products { display: grid; gap: 12px; }

.offer {
  display: grid;
  grid-template-columns: 96px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.offer:hover { border-color: #CBC6BC; box-shadow: 0 10px 30px rgba(17, 17, 17, 0.07); }
.offer-media {
  display: grid;
  place-items: center;
  padding: 14px 0;
  background: #EDEEF1;
}
.offer-media img {
  width: 64px;
  border-radius: 3px;
  box-shadow: 0 8px 20px rgba(20, 33, 61, 0.28);
}
.offer-body { padding: 14px 16px 16px; }
.offer-meta { font-size: 13px; font-weight: 500; color: var(--muted); }
.offer h3 { margin-top: 4px; font-size: 22px; line-height: 1.15; }
.offer-desc { display: none; }
.offer .btn { margin-top: 12px; }
.price { font-weight: 700; color: var(--text); }

.rows {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.rows li + li { border-top: 1px solid var(--line); }
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  padding: 12px 18px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.row:hover { background: #FBFAF7; }
.row-title { display: block; font-weight: 600; }
.row-sub { display: block; font-size: 14px; color: var(--muted); }
.row-action {
  flex: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.row:hover .row-action { text-decoration: underline; text-underline-offset: 4px; }
.code { font-weight: 700; color: var(--text); letter-spacing: 0.04em; }
.soon {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--band);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  vertical-align: 1px;
}

/* ---------- Sections ---------- */

.section { padding-top: var(--section); padding-bottom: var(--section); }
.section-head { max-width: 620px; margin-bottom: 32px; }
.section-head h2, .section h2 { font-size: 34px; }
.section-head p { margin-top: 14px; color: var(--muted); }

.band { background: var(--band); }

.navy {
  background: var(--navy);
  color: var(--on-navy);
}
.navy .eyebrow { color: var(--on-navy-muted); }

.photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}
.photo-square img { aspect-ratio: 1 / 1; }

.split { display: grid; gap: 32px; }

/* About: a short letter with a sign-off */
.letter h2 { margin-bottom: 20px; }
.letter p + p { margin-top: 16px; }
.letter .body { color: #2B2A27; }
.closing {
  margin-top: 26px !important;
  padding-left: 18px;
  border-left: 3px solid var(--navy);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.25;
}
.signoff {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.signoff img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.signoff-name { font-family: var(--serif); font-size: 24px; line-height: 1.1; }
.signoff-role { font-size: 14px; color: var(--muted); }

/* The shift */
.shift { border-top: 1px solid var(--line); }
.shift h2 { font-size: 36px; line-height: 1.1; }
.shift p { margin-top: 18px; max-width: 480px; color: var(--muted); }
.shift .photo img { border-radius: 14px; }

/* Path: start where you are */
.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.step-num { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--navy); }
.step h3 { margin-top: 14px; font-size: 25px; }
.step p { margin-top: 10px; color: var(--muted); }
.step .text-link { margin-top: auto; padding-top: 10px; }

/* Final call to action */
.cta-panel {
  display: grid;
  gap: 22px;
  padding: 32px 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.cta-panel h2 { font-size: 32px; }
.cta-panel p { margin-top: 10px; color: var(--muted); }
.cta-panel .btn { justify-self: start; }

/* Video */
.video[hidden] { display: none; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}
.video-frame img, .video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  object-fit: cover;
}
.video-play {
  position: absolute; inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
}
.video-play span {
  position: absolute; left: 50%; top: 50%;
  display: grid; place-items: center;
  width: 72px; height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  background: #fff;
  color: var(--text);
}
.video-play svg { width: 24px; height: 24px; margin-left: 4px; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--band);
  font-size: 15px;
}
.footer-grid { display: grid; gap: 32px; }
.footer-line { margin-top: 12px; max-width: 280px; color: var(--muted); }
.footer-col h2 {
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: var(--text);
  text-decoration: none;
}
.footer-col a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Inner pages ---------- */

.page-head { padding: 48px 0 8px; }
.page-head h1 { font-size: 42px; }
.lead { margin-top: 16px; max-width: 540px; font-size: 18px; color: var(--muted); }

.list { margin: 0; padding: 0; list-style: none; }
.list li { padding: 14px 0; border-top: 1px solid var(--line); }
.list li:last-child { border-bottom: 1px solid var(--line); }

.panel {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.panel h2 { font-size: 30px; }
.panel-sub { margin-top: 8px; color: var(--muted); }

.form { display: grid; gap: 18px; margin-top: 22px; }
.form:first-child { margin-top: 0; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #D4D0C7;
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 16px; /* 16px stops phones from zooming in on tap */
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(20, 33, 61, 0.15);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23111111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

/* hidden trap field for spam bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form .btn { width: 100%; min-height: 52px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.form-status { min-height: 1em; font-size: 14px; color: var(--muted); }
.form-status.error { color: #A23B2C; }

.form-done[hidden] { display: none; }
.form-done h2 { font-size: 30px; }
.form-done p { margin-top: 10px; color: var(--muted); }

.page-grid { display: grid; gap: 40px; padding: 32px 0 72px; }
.page-grid h2.small { margin-bottom: 12px; font-size: 24px; }
.page-grid section + section { margin-top: 36px; }

.next-up .rows { margin-top: 14px; }

/* ---------- Tablet and up ---------- */

@media (min-width: 760px) {
  :root { --gutter: 32px; --section: 80px; }

  .top .hero, .top .hero-text { display: block; }
  .top .hero-inner { display: grid; }
  .top > .hero { order: 1; }
  .top > .proof-bar { order: 2; }
  .top > .offers { order: 3; margin-top: 0; }
  .top .hero h1 { margin-top: 0; }
  .top .social-wrap { justify-content: flex-start; }
  .hero { padding-top: 56px; padding-bottom: 0; }
  .hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
  }
  .hero-photo { margin: 0; order: 2; }
  .hero-photo img { aspect-ratio: 4 / 5; object-position: center top; border-radius: 18px; }
  .hero-text { padding-top: 0; }
  .hero .eyebrow { display: block; }
  .hero h1 { font-size: 54px; }
  .hero-sub { font-size: 18px; margin-top: 22px; max-width: 28em; }
  .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
  .social-wrap { margin-top: 26px; }
  .social-label { display: inline; }
  .social { margin-left: 0; }

  .proof-bar { margin-top: 40px; padding: 24px 0; }
  .proof-bar div + div { padding-left: 28px; }
  .proof-num { font-size: 36px; }
  .proof-label { font-size: 14px; }

  .offers { padding-top: 56px; }
  .offers-head { display: block; }
  .offer { grid-template-columns: 180px 1fr; }
  .offer-media { padding: 24px 0; }
  .offer-media img { width: 112px; }
  .offer-body { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; }
  .offer h3 { font-size: 27px; }
  .offer-desc { display: block; margin-top: 10px; margin-bottom: 22px; font-size: 15px; color: var(--muted); }
  .offer .btn { margin-top: auto; }
  .rows { margin-top: 16px; }
  .row { padding: 16px 28px; min-height: 76px; }

  .section-head h2, .section h2 { font-size: 44px; }
  .section-head { margin-bottom: 32px; }
  .photo img { aspect-ratio: 4 / 5; }
  .split .photo { max-width: 420px; }
  .shift h2 { font-size: 46px; }

  .cta-panel { grid-template-columns: 1fr auto; align-items: center; padding: 48px 56px; }
  .cta-panel h2 { font-size: 40px; }

  .footer-grid { grid-template-columns: 1.3fr 2fr; gap: 48px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }

  .page-head { padding-top: 72px; }
  .page-head h1 { font-size: 56px; }
  .panel { padding: 32px; }
}

@media (min-width: 960px) {
  .hero h1 { font-size: 58px; }
  .hero-photo { justify-self: end; width: 100%; max-width: 440px; }

  .products { grid-template-columns: 1fr 1fr; gap: 20px; }
  .offer h3 { min-height: 2.3em; }

  .split { grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
  .split.photo-right { grid-template-columns: 7fr 5fr; }
  .split .photo { max-width: none; }
  .split.photo-right .photo { order: 2; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .page-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; padding-top: 40px; }
}

@media (min-width: 1120px) {
  .hero h1 { font-size: 66px; }
  .shift h2 { font-size: 54px; }
}
