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

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

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

:root {
  --cream: #f7f3ea;
  --cream-soft: #f3efe4;
  --forest: #143f17;
  --forest-deep: #0d3213;
  --ink: #1a261a;
  --muted: #657064;
  --gold: #c9a24b;
  --gold-hover: #d5b35f;
  --border: #dcd5c6;
  --shadow: 0 28px 80px rgba(20, 64, 23, 0.13);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--cream);
  font-family: "Palanquin", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.site-header,
main {
  width: min(100% - 40px, 920px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--forest);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.28rem;
  text-decoration: none;
}

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

.header-label {
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

main {
  overflow: hidden;
  background: var(--cream-soft);
  border: 1px solid rgba(20, 64, 23, 0.12);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.85fr);
  column-gap: clamp(34px, 5vw, 56px);
  align-items: center;
  padding: clamp(32px, 4.5vw, 46px);
  color: var(--cream);
  background-color: var(--forest);
  background-image: radial-gradient(rgba(247, 243, 234, 0.1) 0.8px, transparent 0.8px), radial-gradient(circle at 100% 100%, rgba(201, 162, 75, 0.13), transparent 38%);
  background-position: 0 0, 0 0;
  background-size: 18px 18px, auto;
}

.eyebrow,
h1,
.intro { grid-column: 1; }

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

.eyebrow::before {
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 12px 3px 0;
  background: currentColor;
  content: "";
}

h1 {
  max-width: 720px;
  margin: 0;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 3.65rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.012em;
}

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

.intro {
  max-width: 590px;
  margin: 18px 0 0;
  color: rgba(247, 243, 234, 0.75);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.5;
}

.setup-panel {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
}

.actions {
  display: grid;
  gap: 12px;
  margin: 0;
}

.button {
  width: 100%;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover { transform: translateY(-1px); }
.button:focus-visible, .platform-switch:focus-visible, a:focus-visible { outline: 3px solid rgba(201, 162, 75, 0.5); outline-offset: 3px; }
.button-primary { color: var(--forest-deep); background: var(--gold); }
.button-primary:hover { background: var(--gold-hover); }
.button-secondary { color: var(--cream); background: transparent; border-color: rgba(247, 243, 234, 0.34); }
.button-secondary:hover { border-color: rgba(247, 243, 234, 0.7); }

.platform-switch {
  display: block;
  width: fit-content;
  margin-top: 12px;
  padding: 4px 0;
  color: rgba(247, 243, 234, 0.72);
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

#intel-download { margin-top: 8px; }

.assurance {
  width: fit-content;
  margin: 14px 0 0;
  color: rgba(247, 243, 234, 0.68);
  font-size: 0.83rem;
}

.assurance::before { margin-right: 8px; color: var(--gold); content: "✓"; }

.steps {
  padding: clamp(22px, 4vw, 34px) clamp(30px, 6vw, 58px);
  background: var(--cream-soft);
}

h2 {
  margin: 0 0 16px;
  color: var(--forest);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
}
ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
ol { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
li > span { display: grid; width: 30px; height: 30px; place-items: center; color: var(--forest); border: 1px solid rgba(20, 64, 23, 0.3); border-radius: 50%; font-size: 0.78rem; font-weight: 500; }
li p { margin: 0; color: var(--muted); line-height: 1.4; }
li strong { color: var(--ink); }

.feedback { min-height: 24px; margin: 0; padding: 0 72px; color: var(--forest); font-size: 0.9rem; font-weight: 500; }
.feedback:not(:empty) { padding-block: 12px; }
.hidden { display: none !important; }

.tooltip { position: relative; }
.tooltip::after {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: calc(100% + 9px);
  width: max-content;
  max-width: 220px;
  padding: 7px 9px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  content: attr(data-tooltip);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 120ms ease, transform 120ms ease;
}
.tooltip:hover::after, .tooltip:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 560px) {
  .site-header, main { width: min(100% - 24px, 760px); }
  main { border-radius: 20px; }
  .site-header { padding-top: 14px; }
  .header-label { font-size: 0.68rem; }
  .hero { padding: 30px 24px; }
  .steps { padding: 24px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .feedback { padding-inline: 28px; }
}

@media (max-width: 760px) {
  .hero { display: block; }
  .setup-panel { margin-top: 24px; }
  ol { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
