:root {
  color-scheme: light;
  --ink: #1d2520;
  --muted: #65716a;
  --paper: #fffaf3;
  --surface: #ffffff;
  --line: #e9dfd2;
  --accent: #c96f3d;
  --accent-dark: #7e3f22;
  --sage: #7c9b82;
  --shadow: 0 18px 48px rgba(65, 47, 33, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(201, 111, 61, 0.13), transparent 34rem),
    linear-gradient(180deg, #fffaf3 0%, #f7efe5 48%, #fffaf3 100%);
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(233, 223, 210, 0.86);
  background: rgba(255, 250, 243, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(126, 63, 34, 0.18);
  border-radius: 50%;
  background: linear-gradient(145deg, #f4b37b, #d37a46 56%, #8fb18f);
  color: #fffaf3;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(126, 63, 34, 0.2);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem 1rem;
}

.nav-links a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--accent-dark);
}

.hero,
.page-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(2rem, 5vw, 4.75rem);
  align-items: center;
  min-height: calc(100vh - 4.3rem);
  padding: clamp(3rem, 8vw, 6.5rem) 0;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
}

.page-title {
  max-width: 12ch;
  font-size: clamp(2.45rem, 5vw, 4.9rem);
}

h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

h3 {
  margin-top: 1.7rem;
  font-size: 1.15rem;
}

.lede {
  max-width: 42rem;
  margin: 1.3rem 0 0;
  color: #38423c;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.78rem 1rem;
  border: 1px solid var(--accent-dark);
  border-radius: 8px;
  background: var(--accent-dark);
  color: #fffaf3;
  font-weight: 750;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--accent-dark);
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 34rem;
  place-items: center;
}

.phone {
  position: relative;
  width: min(100%, 22rem);
  aspect-ratio: 9 / 18.6;
  overflow: hidden;
  border: 10px solid #261d17;
  border-radius: 2rem;
  background: #fff7ed;
  box-shadow: var(--shadow);
}

.phone::before {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  width: 5.2rem;
  height: 0.38rem;
  border-radius: 999px;
  background: #261d17;
  content: "";
  transform: translateX(-50%);
}

.phone-screen {
  display: grid;
  gap: 1rem;
  height: 100%;
  padding: 2.25rem 1.1rem 1.15rem;
  grid-template-rows: auto 1fr auto;
}

.mini-topline {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
}

.photo-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  min-height: 16rem;
}

.swatch-photo {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(126, 63, 34, 0.16);
  border-radius: 0.85rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 38%),
    linear-gradient(155deg, #f2c9a5, #c27743 58%, #93623d);
}

.swatch-photo.after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 38%),
    linear-gradient(155deg, #edbc8f, #a85d34 60%, #6f412a);
}

.swatch-photo span {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  padding: 0.25rem 0.4rem;
  border-radius: 6px;
  background: rgba(255, 250, 243, 0.86);
  color: #4c3323;
  font-size: 0.72rem;
  font-weight: 800;
}

.score-panel {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(126, 63, 34, 0.14);
  border-radius: 1rem;
  background: #fffdf8;
}

.score-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.score-row strong {
  font-size: 2.15rem;
  line-height: 1;
}

.meter {
  overflow: hidden;
  height: 0.5rem;
  border-radius: 999px;
  background: #eadbc9;
}

.meter span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sage), var(--accent));
}

.content {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.doc {
  max-width: 760px;
  padding-bottom: 4rem;
}

.doc p,
.doc li {
  color: #38423c;
}

.doc ul {
  padding-left: 1.2rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.info-card {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.info-card h2,
.info-card h3 {
  margin-top: 0;
}

.notice {
  margin: 2rem 0;
  padding: 1rem;
  border: 1px solid rgba(126, 63, 34, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.support-token {
  display: inline-block;
  max-width: 100%;
  padding: 0.08rem 0.35rem;
  border: 1px solid rgba(126, 63, 34, 0.2);
  border-radius: 6px;
  background: #fffdf8;
  color: var(--accent-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.94em;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.82);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.35rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 29rem;
  }

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

@media (max-width: 520px) {
  .hero,
  .page-shell,
  .nav,
  .footer-inner {
    width: min(100% - 1.25rem, 1120px);
  }

  h1,
  .page-title {
    font-size: clamp(2.65rem, 15vw, 3.55rem);
  }

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

  .button {
    width: 100%;
  }
}
