:root {
  --paper: #f3efe7;
  --paper-deep: #e8e1d5;
  --ink: #252722;
  --muted: #76776f;
  --line: #d7cfc2;
  --accent: #c95f35;
  --white: #fffdf8;
  --dark: #292c27;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 76px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.brand path {
  fill: var(--accent);
  stroke: var(--accent);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header nav a {
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.site-header nav a:not(.header-buy):hover {
  color: var(--accent);
}

.header-buy {
  padding: 12px 16px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
}

.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 120px clamp(24px, 5vw, 76px) 70px;
}

.hero > * {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-right: clamp(0px, 4vw, 60px);
}

.eyebrow,
.section-label {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.hero h1 {
  max-width: 760px;
  margin: 22px 0 27px;
  font-size: clamp(61px, 7.2vw, 106px);
  font-weight: 570;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-intro {
  max-width: 620px;
  margin: 0;
  color: #62645d;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
}

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

.primary-button,
.secondary-button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

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

.primary-button:hover { background: var(--accent); }
.primary-button:active, .secondary-button:active { transform: translateY(1px) scale(.985); }
.primary-button.full { width: 100%; }

.secondary-button {
  border: 1px solid var(--line);
  background: transparent;
}

.text-link {
  padding: 10px 0;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  margin-left: 5px;
  color: var(--accent);
  transition: transform 180ms ease;
}

.text-link:hover span { transform: translateX(4px); }

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 10px;
}

.trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-line i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #547b72;
}

.hero-object {
  position: relative;
  min-height: 660px;
  display: grid;
  place-items: center;
}

.hero-ring {
  position: absolute;
  width: min(44vw, 610px);
  height: min(44vw, 610px);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.hero-ring::before,
.hero-ring::after {
  position: absolute;
  inset: 12%;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.hero-ring::after {
  inset: 28%;
  border-color: var(--accent);
}

.hero-object > img {
  position: relative;
  z-index: 2;
  width: 270px;
  max-height: 600px;
  object-fit: cover;
  object-position: top;
  border: 8px solid var(--ink);
  border-radius: 30px;
  box-shadow: 0 40px 85px rgba(49, 40, 28, 0.24);
  transform: rotate(2.5deg);
}

.hero-note {
  position: absolute;
  z-index: 3;
  min-width: 165px;
  padding: 15px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.91);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(50, 43, 33, 0.1);
}

.hero-note span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.13em;
}

.hero-note strong { font-size: 12px; }
.note-one { top: 24%; left: 0; }
.note-two { right: -2%; bottom: 25%; }

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marquee > div {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 17px 0;
  animation: marquee 28s linear infinite;
}

.marquee span {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.marquee i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-28%); }
}

.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(90px, 11vw, 165px) clamp(24px, 5vw, 76px);
}

.section-label {
  display: flex;
  gap: 14px;
  align-items: center;
}

.section-label span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.section-label p { margin: 0; }

.problem {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 260px;
  gap: 40px;
  align-items: start;
}

.problem-copy h2,
.steps-intro h2,
.buy-copy h2,
.faq-heading h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(43px, 6vw, 82px);
  font-weight: 570;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.problem-copy > p {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.problem-stat {
  padding-top: 9px;
  border-top: 1px solid var(--ink);
}

.problem-stat strong {
  display: block;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 68px;
  font-weight: 400;
  letter-spacing: -0.08em;
}

.problem-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.product-showcase {
  max-width: none;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
}

.product-showcase > * {
  max-width: 1288px;
  margin-left: auto;
  margin-right: auto;
}

.section-label.light { color: #aaa99f; }

.showcase-copy {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 34px;
  align-items: end;
  margin-top: 55px;
  margin-bottom: 54px;
}

.showcase-copy h2,
.exam-copy h2,
.privacy-copy h2 {
  margin: 0;
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 570;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.showcase-copy > p:last-child,
.exam-copy > p,
.privacy-copy > p:last-child {
  margin: 0;
  color: #aaa99f;
  font-size: 14px;
  line-height: 1.65;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px 13px 0 0;
  background: var(--paper);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
}

.browser-bar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #e9e4db;
}

.browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b9b2a7;
}

.browser-bar span:first-child { background: var(--accent); }

.browser-bar p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 9px;
}

.steps {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 40px;
}

.steps-intro { grid-column: 2; }

.step-list {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 70px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.step-list li {
  min-height: 265px;
  padding: 24px 26px 28px 0;
}

.step-list li + li {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.step-number {
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.step-list h3 {
  margin: 65px 0 12px;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.step-list p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.exam-feature {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: center;
  background: var(--paper-deep);
}

.exam-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 35px 80px rgba(53, 44, 32, 0.17);
}

.exam-visual img {
  width: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: left top;
}

.exam-copy p { margin-top: 24px; color: var(--muted); }

.exam-copy ul,
.price-block ul {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.exam-copy li,
.price-block li {
  position: relative;
  padding: 13px 0 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.exam-copy li::before,
.price-block li::before {
  position: absolute;
  top: 18px;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.privacy {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(50px, 10vw, 160px);
  align-items: center;
}

.privacy-mark {
  display: grid;
  place-items: center;
}

.privacy-mark svg {
  width: min(360px, 80%);
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.2;
  animation: slow-turn 24s linear infinite;
}

.privacy-mark path {
  fill: var(--accent);
  stroke: var(--accent);
}

@keyframes slow-turn {
  to { transform: rotate(360deg); }
}

.privacy-copy > p:last-child {
  max-width: 680px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 16px;
}

.buy {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(50px, 10vw, 150px);
  background: var(--accent);
  color: var(--white);
}

.buy .eyebrow { color: rgba(255, 255, 255, 0.68); }
.buy-copy p:last-child { color: rgba(255, 255, 255, 0.75); }

.price-block {
  padding: 35px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(99, 43, 21, 0.22);
}

.price {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.price span {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 82px;
  letter-spacing: -0.09em;
  line-height: 1;
}

.price small {
  margin-top: 12px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.price-block ul { margin-bottom: 25px; }

.buy-note {
  margin: 12px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 9px;
}

.faq {
  display: grid;
  grid-template-columns: 150px minmax(280px, 0.7fr) minmax(400px, 1.3fr);
  gap: 40px;
}

.faq-heading h2 { font-size: clamp(42px, 5vw, 68px); }
.faq-list { border-top: 1px solid var(--ink); }

details { border-bottom: 1px solid var(--line); }

summary {
  position: relative;
  padding: 24px 42px 24px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  position: absolute;
  top: 21px;
  right: 4px;
  color: var(--accent);
  content: "+";
  font-size: 24px;
  font-weight: 400;
}

details[open] summary::after { content: "−"; }

details p {
  margin: -5px 0 24px;
  padding-right: 40px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.feedback-callout {
  margin-top: 30px;
  padding: 25px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, .52);
}

.feedback-callout h3 {
  margin: 10px 0;
  font-size: 25px;
  letter-spacing: -.04em;
}

.feedback-callout > p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 30px;
  padding: 55px clamp(24px, 5vw, 76px);
  border-top: 1px solid var(--line);
}

footer p {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

footer small {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

dialog {
  width: min(520px, calc(100vw - 32px));
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(32, 29, 24, .25);
}

dialog::backdrop {
  background: rgba(27, 28, 24, .58);
  backdrop-filter: blur(4px);
}

dialog #close-dialog {
  position: absolute;
  top: 15px;
  right: 17px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 24px;
}

dialog h2 {
  margin: 14px 0;
  font-size: 34px;
  letter-spacing: -.05em;
}

dialog > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms cubic-bezier(.16, 1, .3, 1), transform 700ms cubic-bezier(.16, 1, .3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 110ms; }
.delay-2 { transition-delay: 220ms; }

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 130px;
  }

  .hero-object {
    min-height: 650px;
    margin-top: 30px;
  }

  .hero-ring {
    width: min(620px, 90vw);
    height: min(620px, 90vw);
  }

  .problem,
  .steps,
  .showcase-copy,
  .exam-feature,
  .privacy,
  .buy,
  .faq {
    grid-template-columns: 1fr;
  }

  .problem-copy,
  .problem-stat,
  .steps-intro,
  .step-list {
    grid-column: auto;
  }

  .problem-stat { max-width: 260px; }
  .showcase-copy { align-items: start; }
  .step-list { margin-top: 38px; }
  .exam-copy { max-width: 700px; }
  .privacy-mark { order: 2; }
  .price-block { max-width: 560px; }
  .faq-list { max-width: 760px; }
}

@media (max-width: 680px) {
  .site-header { height: 74px; }
  .site-header nav a:not(.header-buy) { display: none; }
  .site-header nav { gap: 0; }
  .brand { font-size: 15px; }
  .brand svg { width: 27px; }
  .header-buy { padding: 10px 12px; font-size: 11px !important; }

  .hero {
    width: 100%;
    min-height: auto;
    padding-top: 120px;
  }

  .hero-copy,
  .hero-object {
    width: 100%;
    min-width: 0;
  }

  .hero .eyebrow {
    overflow-wrap: anywhere;
  }

  .hero h1 { font-size: clamp(52px, 15vw, 68px); }
  .hero h1 em {
    display: block;
    font-size: .82em;
    overflow-wrap: anywhere;
  }

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

  .primary-button { width: 100%; }
  .text-link { text-align: center; }
  .hero-object { min-height: 560px; }
  .hero-object > img { width: 225px; max-height: 500px; }
  .hero-note { min-width: 142px; padding: 12px; }
  .note-one { left: 0; }
  .note-two { right: 0; }

  .section { padding-top: 85px; padding-bottom: 85px; }
  .problem-copy h2,
  .steps-intro h2,
  .showcase-copy h2,
  .exam-copy h2,
  .privacy-copy h2,
  .buy-copy h2,
  .faq-heading h2 { font-size: 43px; }

  .step-list { grid-template-columns: 1fr; }
  .step-list li { min-height: auto; padding: 24px 0 35px; }
  .step-list li + li { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .step-list h3 { margin-top: 38px; }
  .exam-visual img { min-height: 430px; }
  .price-block { padding: 26px 20px; }
  footer { grid-template-columns: 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
