:root {
  --cream: #faf0db;
  --parchment: #f5e8cf;
  --linen: #e8d6b8;
  --sand: #d6bd96;
  --ink: #2b211a;
  --muted-ink: #6e5945;
  --soft-ink: #967f63;
  --terracotta: #a34a30;
  --ember: #d17540;
  --sage: #6e8563;
  --gold: #c4914a;
  --line: rgba(110, 89, 69, 0.18);
  --surface: rgba(255, 255, 255, 0.36);
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--parchment);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 42%, rgba(110, 133, 99, 0.12)),
    linear-gradient(180deg, var(--cream), var(--parchment) 48%, #ead8b9);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(43, 33, 26, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 33, 26, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 70%);
}

a {
  color: inherit;
  text-decoration-color: rgba(163, 74, 48, 0.5);
  text-underline-offset: 4px;
}

a:hover {
  color: var(--terracotta);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(250, 240, 219, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  width: min(100% - 40px, var(--max-width));
  min-height: 68px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.mark {
  position: relative;
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(163, 74, 48, 0.18);
  border-radius: 50%;
  background: rgba(163, 74, 48, 0.1);
}

.mark::before {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(163, 74, 48, 0.26);
  border-radius: 50%;
  content: "";
}

.mark::after {
  position: absolute;
  width: 10px;
  height: 15px;
  border-radius: 10px 10px 10px 2px;
  background: var(--terracotta);
  content: "";
  transform: rotate(-18deg);
  transform-origin: bottom center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted-ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  display: grid;
  width: min(100% - 40px, var(--max-width));
  min-height: calc(100svh - 68px);
  margin: 0 auto;
  padding: 64px 0 80px;
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.78fr);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 650;
  line-height: 0.98;
}

h1 {
  max-width: 720px;
  font-size: clamp(4.5rem, 12vw, 9.5rem);
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
}

h3 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.lede {
  max-width: 540px;
  margin: 26px 0 0;
  color: var(--muted-ink);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 650;
  line-height: 1.44;
}

.actions {
  display: flex;
  margin-top: 34px;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--terracotta);
  color: white;
  font-weight: 800;
  padding: 0 22px;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  background: #923f29;
  color: white;
  transform: translateY(-1px);
}

.text-link {
  color: var(--muted-ink);
  font-weight: 800;
  text-decoration: none;
}

.phone-wrap {
  display: grid;
  justify-items: center;
}

.phone {
  width: min(100%, 330px);
  min-height: 612px;
  border: 10px solid #14110f;
  border-radius: 44px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.35), transparent 46%),
    linear-gradient(180deg, var(--cream), var(--parchment) 64%, #ead8b9);
  box-shadow: 0 26px 70px rgba(43, 33, 26, 0.22);
  overflow: hidden;
}

.phone-screen {
  display: flex;
  min-height: 592px;
  flex-direction: column;
  padding: 28px 22px 22px;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.phone-notch {
  width: 82px;
  height: 24px;
  margin: -4px auto 30px;
  border-radius: 999px;
  background: #050403;
}

.phone-title {
  margin-top: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.3rem;
  font-weight: 650;
  line-height: 1.06;
}

.phone-copy {
  margin: 16px 0 24px;
  color: var(--muted-ink);
  font-weight: 650;
  line-height: 1.42;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  align-items: baseline;
  gap: 10px;
  grid-template-columns: 16px 1fr;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.28;
}

.check-list li::before {
  color: var(--terracotta);
  content: "\2713";
}

.phone-button {
  margin-top: auto;
  border-radius: 8px;
  background: var(--terracotta);
  color: white;
  font-weight: 800;
  padding: 15px 18px;
  text-align: center;
}

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

.section {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 86px 0;
}

.split {
  display: grid;
  align-items: start;
  gap: clamp(34px, 7vw, 96px);
  grid-template-columns: 0.86fr 1.14fr;
}

.feature-list {
  display: grid;
  gap: 26px;
}

.feature {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.feature p,
.legal-copy p,
.support-copy p {
  color: var(--muted-ink);
  font-size: 1.04rem;
  font-weight: 570;
  line-height: 1.64;
}

.feature p {
  margin: 10px 0 0;
}

.legal-hero {
  width: min(100% - 40px, 860px);
  margin: 0 auto;
  padding: 78px 0 46px;
}

.legal-copy,
.support-copy {
  width: min(100% - 40px, 860px);
  margin: 0 auto;
  padding: 0 0 90px;
}

.legal-copy section,
.support-copy section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.legal-copy h2,
.support-copy h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.legal-copy h3,
.support-copy h3 {
  margin-bottom: 10px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 850;
}

.legal-copy ul,
.support-copy ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted-ink);
  font-weight: 570;
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 28px 0;
  justify-content: space-between;
  gap: 20px;
  color: var(--soft-ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  text-decoration: none;
}

.reveal {
  animation: rise 700ms ease both;
}

.reveal-delay {
  animation: rise 850ms 120ms ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 780px) {
  .nav {
    width: min(100% - 28px, var(--max-width));
  }

  .nav-links {
    gap: 14px;
    font-size: 0.86rem;
  }

  .hero {
    width: min(100% - 28px, var(--max-width));
    min-height: auto;
    padding: 44px 0 64px;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(4rem, 21vw, 6.4rem);
  }

  .phone {
    width: min(100%, 310px);
    min-height: 570px;
  }

  .phone-screen {
    min-height: 550px;
  }

  .section,
  .legal-hero,
  .legal-copy,
  .support-copy,
  .footer-inner {
    width: min(100% - 28px, var(--max-width));
  }

  .section {
    padding: 66px 0;
  }

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

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand span:not(.mark) {
    display: none;
  }

  .nav-links {
    gap: 12px;
  }

  .hero {
    padding-top: 34px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
