@font-face {
  font-family: "Space Grotesk";
  src: url("../DetailQuote/DetailQuote/Fonts/SpaceGrotesk-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../DetailQuote/DetailQuote/Fonts/SpaceGrotesk-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../DetailQuote/DetailQuote/Fonts/SpaceGrotesk-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../DetailQuote/DetailQuote/Fonts/SpaceGrotesk-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest: #1e3a2f;
  --deep: #142820;
  --canvas: #f9faf6;
  --card: #ffffff;
  --line: #e4e6df;
  --field: #f3f4f0;
  --muted: #8e9992;
  --ink: #1a1c1a;
  --lime: #bef264;
  --leaf: #3f6a00;
  --paid: #22c55e;
  --shadow: 0 18px 50px rgba(20, 40, 32, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Space Grotesk", "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

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

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  background: rgba(249, 250, 246, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.wordmark {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--forest);
}

.wordmark span { color: var(--leaf); }

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 600;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--forest);
  color: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 56px 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
}

h1, h2, h3 { letter-spacing: -0.04em; margin: 0; }

h1 {
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.95;
  color: var(--forest);
  max-width: 11ch;
}

.lede {
  max-width: 46ch;
  margin: 18px 0 0;
  font-size: 18px;
  color: #424844;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  font-weight: 700;
}

.button.primary { background: var(--forest); color: white; }
.button.primary .arrow { color: var(--lime); margin-left: 8px; }
.button.quiet { background: white; color: var(--forest); border: 1px solid var(--line); }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.facts span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--field);
}

.phone {
  background: var(--forest);
  color: white;
  border-radius: 32px;
  padding: 22px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticket {
  margin-top: 16px;
  background: white;
  color: var(--ink);
  border-radius: 20px;
  padding: 16px;
}

.ticket-row, .total-row, .pay-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.muted { color: var(--muted); }
.small { font-size: 13px; }
.strong { font-weight: 700; color: var(--forest); }

.rule {
  height: 1px;
  margin: 12px 0;
  background: var(--line);
}

.total {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--forest);
}

.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
  background: var(--field);
  color: var(--forest);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
}

.stamp {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 8px;
  border: 2px solid var(--paid);
  border-radius: 6px;
  color: var(--paid);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transform: rotate(-12deg);
}

section { padding: 64px 0; }

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--forest);
  max-width: 16ch;
}

.section-copy {
  max-width: 58ch;
  color: #424844;
  margin-top: 12px;
}

.grid-3, .grid-2 {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}

.card h3 { font-size: 22px; color: var(--forest); margin-bottom: 8px; }
.card p { margin: 0; color: #424844; }

.step {
  font-size: 13px;
  font-weight: 700;
  color: var(--leaf);
  letter-spacing: 0.06em;
}

.math {
  background: var(--deep);
  color: white;
  border-radius: 28px;
  padding: 28px;
}

.math h2 { font-size: clamp(32px, 4vw, 44px); }
.math p { color: rgba(255, 255, 255, 0.78); }

.sizes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.size {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
}

.size strong { display: block; font-size: 20px; }
.size em { color: var(--lime); font-style: normal; font-weight: 700; }

.stages { display: flex; gap: 8px; margin-bottom: 16px; }
.stage {
  flex: 1;
  text-align: center;
  border-radius: 10px;
  padding: 8px 4px;
  background: var(--field);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.stage.on { background: var(--lime); color: var(--forest); }

.split {
  display: grid;
  grid-template-rows: 1fr 1fr;
  min-height: 280px;
  border-radius: 16px;
  overflow: hidden;
  color: white;
  font-weight: 700;
}

.split div { display: flex; align-items: flex-start; padding: 12px; }
.before { background: #8e9992; }
.after { background: var(--forest); justify-content: flex-end; }

footer {
  padding: 28px 0 48px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

@media (max-width: 1100px) {
  nav .hide-small { display: none; }
  .hero, .grid-3, .grid-2, .sizes { grid-template-columns: 1fr; }
  h1 { max-width: none; }
  footer { flex-direction: column; }
}
