@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Newsreader:ital,opsz,wght@0,6..72,400;1,6..72,400;1,6..72,500&display=swap");

:root {
  color-scheme: light;
  --ink: #121311;
  --ink-soft: #1a1c19;
  --paper: #f4efe5;
  --paper-bright: #fbf8f1;
  --cream: #e9dfcd;
  --gold: #d7a448;
  --gold-deep: #9e6d1f;
  --moss: #15332a;
  --burgundy: #54292d;
  --plum: #2e293a;
  --text: #20211e;
  --muted: #6c685f;
  --line: rgba(32, 33, 30, 0.16);
  --line-light: rgba(255, 255, 255, 0.14);
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::selection {
  color: var(--ink);
  background: var(--gold);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: #f8f2e7;
  background: rgba(15, 16, 15, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}

.brand,
.brand span,
.top-nav,
.hero-actions,
.site-footer,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.brand span {
  align-items: flex-start;
  flex-direction: column;
  line-height: 1;
}

.brand strong {
  font-size: 0.91rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 4px;
  color: var(--gold);
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.top-nav {
  gap: 4px;
}

.top-nav a {
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.top-nav .nav-download {
  margin-left: 8px;
  padding-inline: 17px;
  color: var(--ink);
  background: var(--gold);
}

.top-nav .nav-download:hover,
.top-nav .nav-download:focus-visible {
  color: var(--ink);
  background: #e3b65f;
}

.marketing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  gap: clamp(20px, 4vw, 72px);
  align-items: center;
  min-height: 920px;
  overflow: hidden;
  padding: 140px max(28px, calc((100vw - 1320px) / 2)) 80px;
  color: #f8f2e7;
  background:
    linear-gradient(115deg, rgba(15, 16, 15, 0.98) 0%, rgba(15, 17, 16, 0.93) 48%, rgba(17, 35, 29, 0.94) 100%),
    var(--ink);
}

.marketing-hero::after {
  position: absolute;
  right: -10%;
  bottom: -30%;
  width: 65vw;
  height: 65vw;
  content: "";
  border: 1px solid rgba(215, 164, 72, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(215, 164, 72, 0.025),
    0 0 0 160px rgba(215, 164, 72, 0.018);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, 0.12) 50%, transparent 50.1%),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22% 100%, 100% 90px;
  mask-image: linear-gradient(to right, black, transparent 80%);
}

.hero-copy,
.hero-devices {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.marketing-hero .eyebrow,
.download-section .eyebrow,
.widgets-callout .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.statement-copy {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 700px;
  margin-bottom: 28px;
  font-size: clamp(4.5rem, 8vw, 8.8rem);
  line-height: 0.82;
}

h1 em,
h2 em,
.statement-copy em {
  color: var(--gold);
  font-weight: 400;
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.67);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions {
  gap: 24px;
  flex-wrap: wrap;
}

.app-store-badge {
  display: inline-block;
  width: 180px;
  min-width: 180px;
  line-height: 0;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease;
}

.app-store-badge:hover,
.app-store-badge:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.app-store-badge img {
  width: 100%;
  height: auto;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
}

.text-link span {
  color: var(--gold);
  font-size: 1.2rem;
}

.availability {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
}

.hero-devices {
  min-height: 680px;
}

.device {
  position: absolute;
  width: min(310px, 29vw);
  margin: 0;
  overflow: hidden;
  background: #090a09;
  border: 7px solid #080908;
  border-radius: 48px;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.55);
}

.device img {
  width: 100%;
}

.device-back {
  top: 10px;
  right: 0;
  opacity: 0.76;
  transform: rotate(8deg);
}

.device-front {
  top: 85px;
  left: 5%;
  transform: rotate(-5deg);
}

.verse-note {
  position: absolute;
  right: 4%;
  bottom: 18px;
  width: 230px;
  padding: 18px 20px;
  color: var(--ink);
  background: var(--paper-bright);
  border-left: 3px solid var(--gold);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.32);
  font-family: var(--serif);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.25;
  transform: rotate(2deg);
}

.verse-note span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.statement,
.feature-story,
.screen-gallery,
.policy-section,
.site-footer {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.statement {
  display: grid;
  grid-template-columns: 220px minmax(0, 850px);
  gap: 44px;
  align-items: start;
  padding: 140px 0;
  border-bottom: 1px solid var(--line);
}

.statement .eyebrow {
  padding-top: 17px;
}

.statement-copy {
  margin: 0;
  font-size: clamp(3rem, 5.2vw, 5.4rem);
  line-height: 0.98;
}

.section-intro {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  align-items: end;
  padding: 130px 0 80px;
}

.section-intro h2,
.gallery-heading h2,
.widgets-copy h2,
.download-section h2,
.policy-header h2,
.support-hero h1,
.support-form-section h2,
.summary-section h2 {
  margin: 0;
  font-size: clamp(3.3rem, 6.8vw, 7rem);
  line-height: 0.86;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: center;
  min-height: 850px;
  padding: 90px 0;
  border-top: 1px solid var(--line);
}

.feature-row-reverse {
  grid-template-columns: minmax(420px, 1.22fr) minmax(320px, 0.78fr);
}

.feature-row-reverse .feature-copy {
  order: 2;
}

.feature-copy {
  max-width: 460px;
}

.feature-number {
  display: block;
  margin-bottom: 32px;
  color: var(--gold-deep);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.feature-copy h3 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 4.6vw, 5rem);
  line-height: 0.92;
}

.feature-copy > p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.feature-list {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 600;
}

.feature-list li::before {
  position: absolute;
  top: 17px;
  left: 1px;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

.feature-visual {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 670px;
  overflow: hidden;
  border-radius: 4px;
}

.feature-visual::before {
  position: absolute;
  inset: 9%;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.feature-visual img {
  position: relative;
  z-index: 1;
  width: min(320px, 64%);
  margin-bottom: -130px;
  border: 6px solid #0b0c0b;
  border-radius: 44px;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.38);
}

.feature-visual-green {
  background: var(--moss);
}

.feature-visual-gold {
  background: #7b5721;
}

.feature-visual-burgundy {
  background: var(--burgundy);
}

.feature-visual-plum {
  background: var(--plum);
}

.feature-visual-paper {
  background: #d8ccb7;
}

.paired-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.paired-visual .feature-visual {
  min-height: 640px;
}

.paired-visual .feature-visual:first-child {
  transform: translateY(-45px);
}

.paired-visual .feature-visual:last-child {
  transform: translateY(45px);
}

.screen-gallery {
  padding: 140px 0;
  overflow: visible;
  border-top: 1px solid var(--line);
}

.gallery-heading {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 60px;
  align-items: end;
  margin-bottom: 70px;
}

.gallery-heading > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.screen-rail {
  display: flex;
  gap: 22px;
  width: calc(100vw - max(24px, (100vw - 1240px) / 2));
  overflow-x: auto;
  padding: 10px 0 28px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--gold) rgba(32, 33, 30, 0.08);
  scrollbar-width: thin;
}

.screen-rail figure {
  flex: 0 0 clamp(250px, 24vw, 335px);
  margin: 0;
  scroll-snap-align: start;
}

.screen-rail img {
  width: 100%;
  background: var(--ink);
  border: 5px solid var(--ink);
  border-radius: 40px;
  box-shadow: 0 20px 44px rgba(31, 26, 19, 0.19);
}

.screen-rail figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 17px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.screen-rail figcaption span {
  color: var(--gold-deep);
}

.widgets-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  gap: 60px;
  align-items: center;
  min-height: 820px;
  overflow: hidden;
  padding: 90px max(28px, calc((100vw - 1240px) / 2));
  color: #f8f2e7;
  background:
    radial-gradient(circle at 82% 20%, rgba(215, 164, 72, 0.13), transparent 25%),
    var(--moss);
}

.widgets-copy {
  max-width: 560px;
}

.widgets-copy h2 {
  margin-bottom: 30px;
}

.widgets-copy > p:last-child {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.63);
  line-height: 1.75;
}

.widgets-device {
  align-self: end;
  width: min(420px, 85%);
  margin: 0 auto -150px;
  overflow: hidden;
  border: 7px solid #0b0c0b;
  border-radius: 56px;
  box-shadow: 0 44px 90px rgba(0, 0, 0, 0.43);
  transform: rotate(4deg);
}

.download-section {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 150px 24px;
  color: #f8f2e7;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(215, 164, 72, 0.18), transparent 36%),
    var(--ink);
}

.download-icon {
  width: 94px;
  height: 94px;
  margin-bottom: 34px;
  border-radius: 23px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.38);
}

.download-section h2 {
  max-width: 900px;
  margin-bottom: 24px;
}

.download-section > p:not(.eyebrow) {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.6);
}

.policy-section {
  padding: 140px 0 100px;
}

.policy-header {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: end;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--line);
}

.policy-header h2 {
  max-width: 760px;
}

.privacy-summary p {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.16;
}

.privacy-summary span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  gap: clamp(40px, 8vw, 120px);
  justify-content: center;
  padding-top: 70px;
}

.policy-nav {
  position: sticky;
  top: 98px;
  display: grid;
  align-self: start;
}

.policy-nav a {
  padding: 10px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
}

.policy-nav a:hover,
.policy-nav a:focus-visible {
  color: var(--gold-deep);
}

.policy section {
  scroll-margin-top: 94px;
  padding: 0 0 40px;
}

.policy h3 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1;
}

.policy p {
  color: var(--muted);
  line-height: 1.8;
}

.policy a {
  color: var(--gold-deep);
}

.policy code {
  font-size: 0.84em;
}

.site-footer {
  justify-content: space-between;
  gap: 28px;
  padding: 35px 0 50px;
  border-top: 1px solid var(--line);
}

.footer-brand strong {
  color: var(--text);
}

.site-footer > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.footer-links {
  gap: 20px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
}

/* Support page */
.support-hero,
.support-form-section,
.summary-section {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}

.support-hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 70px;
  align-items: end;
  min-height: 620px;
  padding: 160px 0 90px;
  border-bottom: 1px solid var(--line);
}

.support-copy .lede {
  max-width: 650px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.1rem;
}

.support-card {
  padding: 28px;
  background: var(--paper-bright);
  box-shadow: 0 22px 60px rgba(44, 35, 24, 0.1);
}

.support-icon {
  width: 84px;
  border-radius: 20px;
}

.support-label {
  margin: 28px 0 5px;
  color: var(--gold-deep);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.support-card a {
  font-weight: 600;
}

.support-form-section,
.summary-section {
  padding: 100px 0;
}

.section-heading.compact {
  margin-bottom: 40px;
}

.support-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 42px);
  background: var(--paper-bright);
  box-shadow: 0 22px 60px rgba(44, 35, 24, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: var(--gold-deep);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: var(--ink);
}

.button.secondary {
  background: transparent;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.summary-section {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  align-items: end;
  margin-bottom: 50px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.summary-grid article {
  padding: 30px;
  border-right: 1px solid var(--line);
}

.summary-grid article:last-child {
  border-right: 0;
}

.summary-number {
  color: var(--gold-deep);
  font-size: 0.67rem;
  font-weight: 700;
}

.summary-grid h3 {
  margin: 40px 0 12px;
  font-size: 2rem;
}

.summary-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

@media (max-width: 900px) {
  .top-nav a:not(.nav-download) {
    display: none;
  }

  .marketing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 140px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-devices {
    width: min(650px, 100%);
    min-height: 660px;
    margin-inline: auto;
  }

  .device {
    width: min(300px, 45vw);
  }

  .statement,
  .section-intro,
  .gallery-heading,
  .policy-header,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .statement {
    padding: 100px 0;
  }

  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 80px 0;
  }

  .feature-row-reverse .feature-copy {
    order: 0;
  }

  .feature-copy {
    max-width: 650px;
  }

  .paired-visual .feature-visual {
    min-height: 570px;
  }

  .widgets-callout {
    grid-template-columns: 1fr 0.8fr;
    gap: 20px;
  }

  .policy-header {
    gap: 40px;
  }

  .support-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .top-nav .nav-download {
    margin-left: 0;
    padding: 8px 13px;
  }

  .marketing-hero {
    padding: 118px 20px 60px;
  }

  h1 {
    font-size: clamp(4rem, 20vw, 6rem);
  }

  .hero-devices {
    min-height: 500px;
  }

  .device {
    width: 58vw;
    border-width: 5px;
    border-radius: 34px;
  }

  .device-back {
    right: -8%;
  }

  .device-front {
    left: -3%;
  }

  .verse-note {
    right: 0;
    bottom: 0;
    width: 190px;
    font-size: 1rem;
  }

  .statement,
  .feature-story,
  .screen-gallery,
  .policy-section,
  .site-footer,
  .support-hero,
  .support-form-section,
  .summary-section {
    width: min(100% - 36px, 1240px);
  }

  .statement,
  .screen-gallery,
  .policy-section {
    padding-block: 90px;
  }

  .section-intro {
    padding: 90px 0 55px;
  }

  .section-intro h2,
  .gallery-heading h2,
  .widgets-copy h2,
  .download-section h2,
  .policy-header h2,
  .support-hero h1,
  .support-form-section h2,
  .summary-section h2 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .feature-row {
    min-height: auto;
  }

  .feature-visual,
  .paired-visual .feature-visual {
    min-height: 500px;
  }

  .feature-visual img {
    width: 70%;
    border-radius: 34px;
  }

  .paired-visual {
    gap: 8px;
  }

  .paired-visual .feature-visual:first-child {
    transform: translateY(-18px);
  }

  .paired-visual .feature-visual:last-child {
    transform: translateY(18px);
  }

  .gallery-heading {
    margin-bottom: 45px;
  }

  .screen-rail figure {
    flex-basis: 75vw;
  }

  .widgets-callout {
    grid-template-columns: 1fr;
    min-height: 950px;
    padding: 80px 24px 0;
  }

  .widgets-device {
    width: min(330px, 82%);
    margin-bottom: -110px;
  }

  .download-section {
    padding: 110px 22px;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    padding-top: 45px;
  }

  .policy-nav {
    position: static;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
  }

  .policy-nav a {
    text-align: center;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-hero {
    min-height: auto;
    padding: 130px 0 70px;
  }

  .form-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .summary-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
