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

@font-face {
  font-family: "Newsreader";
  src: url("fonts/Newsreader-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

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

@font-face {
  font-family: "Mulish";
  src: url("fonts/Mulish-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #f7f1e6;
  --paper-deep: #eee1c8;
  --surface: #fffcf6;
  --ink: #211d19;
  --ink-soft: #625b4f;
  --clay: #925b38;
  --clay-dark: #6f3f27;
  --saffron: #d79b42;
  --olive: #737659;
  --line: rgba(72, 57, 39, 0.16);
  --shadow: 0 30px 80px rgba(60, 42, 24, 0.17), 0 6px 20px rgba(60, 42, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap,
.site-header {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--clay);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-decoration: none;
}

.brand-mark {
  color: var(--clay);
}

.site-header nav,
.site-footer nav {
  display: flex;
  gap: 28px;
}

.site-header nav a,
.site-footer nav a {
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer nav a:hover {
  color: var(--clay);
}

.site-header nav a {
  position: relative;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.78fr);
  gap: clamp(36px, 8vw, 110px);
  align-items: center;
  min-height: 780px;
  padding-block: 70px 110px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

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

h1,
h2 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(58px, 7.2vw, 96px);
  line-height: 0.96;
}

h1 em {
  color: var(--clay);
  font-weight: 400;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.03;
}

.lede {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.cta {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--clay);
  box-shadow: 0 10px 24px rgba(111, 63, 39, 0.18);
  color: #fff9ed;
  font-weight: 600;
  text-align: center;
}

.hero-actions p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 32px 0 0;
  padding: 0;
  color: var(--olive);
  font-size: 13px;
  font-weight: 600;
  list-style: none;
}

.trust-row li::before {
  content: "✓";
  margin-right: 7px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 680px;
}

.sun {
  position: absolute;
  top: 18px;
  right: -140px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: rgba(215, 155, 66, 0.23);
}

.phone {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border: 9px solid rgba(255, 253, 248, 0.86);
  border-radius: 58px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  height: auto;
}

.phone-hero {
  width: min(415px, 92%);
  transform: rotate(1.6deg);
}

.principle-band {
  padding: 38px 24px;
  background: var(--ink);
  color: #f7edd9;
  text-align: center;
}

.principle-band p {
  max-width: 900px;
  margin: 0 auto;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.2;
}

.section {
  padding-block: 130px;
}

.split {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 0.65fr);
  gap: clamp(70px, 11vw, 150px);
  align-items: center;
}

.section-copy {
  max-width: 590px;
}

.section-copy > p:not(.eyebrow),
.showcase-copy > p:not(.eyebrow),
.assurance-card > p:not(.eyebrow),
.final-cta > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 17px;
}

.phone-detail {
  width: min(390px, 100%);
  justify-self: end;
  transform: rotate(-1.2deg);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 56px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature-grid article {
  min-height: 260px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 252, 246, 0.72);
}

.feature-grid article:nth-child(2),
.feature-grid article:nth-child(3) {
  background: var(--paper-deep);
}

.feature-number {
  display: block;
  margin-bottom: 42px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.feature-grid h3 {
  margin-bottom: 8px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
}

.feature-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(290px, 0.72fr) minmax(500px, 1.15fr);
  gap: 90px;
  align-items: center;
}

.showcase-copy {
  position: relative;
  z-index: 3;
}

.device-pair {
  position: relative;
  min-height: 730px;
}

.phone-secondary {
  position: absolute;
  top: 10px;
  left: 0;
  width: 350px;
  transform: rotate(-3.5deg);
}

.phone-back {
  top: 95px;
  right: 0;
  left: auto;
  z-index: 0;
  transform: rotate(4deg);
}

.assurance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.assurance-card {
  min-height: 500px;
  padding: clamp(36px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface);
}

.assurance-card h2 {
  font-size: clamp(42px, 5vw, 64px);
}

.assurance-card a {
  display: inline-block;
  margin-top: 18px;
  color: var(--clay);
  font-weight: 600;
  text-decoration: none;
}

.assurance-dark {
  background: var(--ink);
  color: #fbf3e3;
}

.assurance-dark .eyebrow {
  color: #e7af68;
}

.assurance-dark > p:not(.eyebrow) {
  color: #cfc4b4;
}

.assurance-dark a {
  color: #efbd7c;
}

.assurance-card .small {
  margin-top: 34px;
  font-size: 13px !important;
}

.final-cta {
  padding-block: 150px;
  text-align: center;
}

.final-cta h2 {
  max-width: 850px;
  margin-inline: auto;
}

.final-cta > p:not(.eyebrow) {
  margin-bottom: 28px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 32px;
  align-items: center;
  padding-block: 42px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

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

.copyright {
  grid-column: 1 / -1;
  font-size: 11px !important;
}

/* Legal pages */
.doc-shell {
  min-height: 100vh;
}

.doc-header {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 32px;
}

.doc {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 110px;
}

.doc h1 {
  margin-bottom: 30px;
  font-size: clamp(46px, 8vw, 72px);
}

.doc h2 {
  margin: 52px 0 14px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
}

.doc h3 {
  margin: 32px 0 10px;
  font-size: 17px;
}

.doc p,
.doc li {
  color: var(--ink-soft);
  font-size: 16px;
}

.doc p {
  margin-bottom: 16px;
}

.doc ul,
.doc ol {
  padding-left: 24px;
}

.doc li {
  margin-bottom: 8px;
}

.doc strong {
  color: var(--ink);
}

.doc hr {
  margin: 36px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.doc a {
  color: var(--clay);
}

.loading-note {
  color: var(--ink-soft);
}

.doc-footer,
.noscript-note {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

.doc-footer {
  padding: 30px 0 50px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

.doc-footer a {
  color: var(--clay);
}

.noscript-note {
  color: var(--ink-soft);
}

/* Support */
.support-header,
.support-page {
  width: min(980px, calc(100% - 40px));
}

.support-page {
  margin: 0 auto;
}

.support-hero {
  max-width: 790px;
  padding: 90px 0 120px;
}

.support-hero h1,
.not-found h1 {
  margin-bottom: 26px;
}

.support-hero > p:not(.eyebrow) {
  max-width: 660px;
  color: var(--ink-soft);
  font-size: 19px;
}

.support-email {
  margin-top: 16px;
  text-decoration: none;
}

.support-address {
  margin: 12px 0 0;
  font-size: 13px !important;
}

.faq {
  padding: 100px 0 120px;
  border-top: 1px solid var(--line);
}

.faq > h2 {
  max-width: 700px;
  margin-bottom: 48px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-grid article {
  min-height: 230px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 252, 246, 0.72);
}

.faq-grid h3 {
  margin-bottom: 12px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.15;
}

.faq-grid p,
.support-note > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.support-note {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(300px, 1fr);
  gap: 70px;
  align-items: start;
  padding: 85px 0 120px;
  border-top: 1px solid var(--line);
}

.support-note h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 58px);
}

.support-note > p {
  padding-top: 40px;
  font-size: 17px;
}

.compact-footer {
  margin-top: 40px;
}

.not-found {
  display: flex;
  min-height: 100vh;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.not-found > p:not(.eyebrow) {
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 19px;
}

.not-found .cta {
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 52px;
    text-align: center;
  }

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

  .hero-actions,
  .trust-row {
    justify-content: center;
  }

  .lede {
    margin-inline: auto;
  }

  .hero-visual {
    min-height: 640px;
  }

  .split,
  .showcase {
    grid-template-columns: 1fr;
  }

  .phone-detail {
    justify-self: center;
  }

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

  .device-pair {
    width: min(650px, 100%);
    margin-inline: auto;
  }

  .assurance {
    grid-template-columns: 1fr;
  }

  .support-note {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .support-note > p {
    padding-top: 0;
  }
}

@media (max-width: 620px) {
  .wrap,
  .site-header {
    width: min(100% - 30px, 1180px);
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 42px 82px;
  }

  h1 {
    font-size: clamp(52px, 16vw, 72px);
  }

  h2 {
    font-size: 46px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-visual {
    min-height: 580px;
  }

  .sun {
    right: -210px;
  }

  .phone {
    border-width: 6px;
    border-radius: 46px;
  }

  .phone-hero {
    width: min(350px, 92%);
  }

  .section {
    padding-block: 90px;
  }

  .split {
    gap: 58px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 230px;
  }

  .device-pair {
    min-height: 580px;
  }

  .phone-secondary {
    width: 255px;
  }

  .phone-back {
    top: 75px;
  }

  .assurance-card {
    min-height: auto;
  }

  .final-cta {
    padding-block: 105px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer .brand,
  .site-footer nav {
    justify-content: center;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .copyright {
    grid-column: auto;
  }

  .support-hero {
    padding: 64px 0 86px;
  }

  .faq {
    padding-block: 76px 88px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid article {
    min-height: auto;
  }
}

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

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