:root {
  --ink: #19332e;
  --muted: #60746d;
  --paper: #f7f4ed;
  --card: #fffdfa;
  --line: #d8d9ce;
  --lime: #c8e85a;
  --orange: #e85a39;
  --yellow: #f9c84b;
  --green: #5fbc8b;
  --red: #ed6659;
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "DM Mono", monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
}
.app-shell {
  max-width: 640px;
  margin: auto;
  padding: 0 20px 60px;
}
.site-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font: 700 14px var(--mono);
  letter-spacing: -0.06em;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  font-size: 22px;
  letter-spacing: -0.2em;
  margin-right: 8px;
  color: var(--orange);
}
.privacy-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.privacy-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.site-menu {
  position: relative;
  z-index: 20;
}
.site-menu summary {
  align-items: center;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font: 600 10px var(--mono);
  gap: 9px;
  letter-spacing: 0.08em;
  list-style: none;
  padding: 12px 0;
  text-transform: uppercase;
}
.site-menu summary::-webkit-details-marker {
  display: none;
}
.site-menu-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}
.site-menu-icon b {
  background: var(--ink);
  border-radius: 2px;
  display: block;
  height: 2px;
  transition:
    transform 0.15s,
    width 0.15s;
  width: 20px;
}
.site-menu-icon b:last-child {
  width: 14px;
}
.site-menu[open] .site-menu-icon b:first-child {
  transform: translateY(3px) rotate(45deg);
}
.site-menu[open] .site-menu-icon b:last-child {
  transform: translateY(-3px) rotate(-45deg);
  width: 20px;
}
.site-menu nav {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 14px 36px #19332e24;
  min-width: 220px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: 46px;
}
.site-menu nav a {
  border-radius: 9px;
  color: var(--ink);
  display: block;
  font-size: 14px;
  font-weight: 600;
  padding: 12px;
  text-decoration: none;
}
.site-menu nav a:hover,
.site-menu nav a:focus-visible {
  background: #edf3df;
  outline: none;
}
.site-menu nav small {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 10px;
  gap: 6px;
  margin: 5px 4px 0;
  padding: 12px 8px 7px;
}
.page-site-header {
  margin: auto;
  max-width: 640px;
  padding: 0 20px;
}
.plain-page {
  max-width: 640px;
  margin: auto;
  padding: 10px 20px 70px;
}
.plain-page h1 {
  font-size: 52px;
}
.plain-page p,
.plain-page li {
  color: #43564f;
  line-height: 1.6;
}
.plain-page p em {
  color: #bd4029;
}
.plain-page a {
  color: #19332e;
}
.plain-page h2 {
  font-size: 28px;
  margin: 36px 0 12px;
}
.plain-page .page-lede {
  font-size: 18px;
  line-height: 1.55;
}
.plain-page .eyebrow {
  margin-top: 24px;
}
.plain-page .button-link {
  background: var(--ink);
  border-radius: 12px;
  color: #fff;
  display: inline-block;
  font-weight: 600;
  margin-top: 8px;
  padding: 14px 18px;
  text-decoration: none;
}
.plain-page .quiet-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 24px 0;
  padding: 18px;
}
.plain-page .quiet-card p:last-child {
  margin-bottom: 0;
}
.plain-page address {
  font-style: normal;
}
.plain-page time {
  color: var(--muted);
  font-size: 12px;
}
.learn-page {
  max-width: 900px;
}
.learn-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 32px 0;
}
.learn-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 22px;
  text-decoration: none;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.learn-card:hover,
.learn-card:focus-visible {
  border-color: var(--ink);
  outline: none;
  transform: translateY(-2px);
}
.learn-card .eyebrow {
  margin: 0 0 28px;
}
.learn-card h2 {
  font-size: 30px;
  margin: 0 0 12px;
}
.learn-card p {
  font-size: 14px;
  margin-bottom: 0;
}
.article-page {
  max-width: 720px;
}
.article-page h1 {
  font-size: clamp(44px, 10vw, 64px);
}
.article-page h2 {
  margin-top: 42px;
}
.article-meta {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 8px;
  margin: 24px 0 32px;
  padding-bottom: 18px;
}
.article-callout {
  background: #edf3df;
  border-radius: 18px;
  margin: 30px 0;
  padding: 22px;
}
.article-callout > :first-child,
.related-reading > :first-child,
.plain-page .quiet-card > :first-child {
  margin-top: 0;
}
.article-callout p:last-child {
  margin-bottom: 0;
}
.article-sources {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 8px;
}
.article-sources li {
  margin-bottom: 8px;
}
.related-reading {
  background: var(--ink);
  border-radius: 18px;
  color: white;
  margin-top: 42px;
  padding: 24px;
}
.article-page .related-reading h2 {
  margin: 0 0 16px;
}
.related-reading p {
  margin-bottom: 16px;
}
.related-reading h2,
.related-reading a,
.related-reading p {
  color: white;
}
.related-reading a {
  display: block;
  margin-top: 10px;
}
@media (max-width: 640px) {
  .plain-page {
    padding-top: 18px;
  }
  .learn-grid {
    grid-template-columns: 1fr;
  }
  .learn-card {
    min-height: 0;
  }
  .article-page h1,
  .plain-page h1 {
    font-size: 44px;
  }
}
.hero {
  padding: 42px 0 34px;
}
.eyebrow,
.step-kicker {
  font: 500 10px var(--mono);
  letter-spacing: 0.1em;
  color: var(--muted);
}
h1,
h2,
p {
  margin-top: 0;
}
h1,
h2 {
  letter-spacing: -0.055em;
  line-height: 0.98;
}
h1 {
  font: 600 clamp(44px, 12vw, 68px)/0.95 var(--serif);
  margin: 13px 0 18px;
}
h2 {
  font: 600 34px/1 var(--serif);
  margin: 12px 0 22px;
}
em {
  color: var(--orange);
  font-style: italic;
}
.hero-copy {
  font-size: 17px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 330px;
  margin: 0;
}
.calculator {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 10px 34px #1c3c300d;
  overflow: hidden;
}
.stepper {
  height: 4px;
  background: #e6e6dd;
  display: flex;
}
.stepper i {
  height: 100%;
  background: var(--ink);
  transition: width 0.25s;
}
.step {
  display: none;
  padding: 28px 22px 22px;
  animation: slide 0.25s ease;
}
.step.is-active {
  display: block;
}
@keyframes slide {
  from {
    opacity: 0.1;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.step h2 {
  font-size: 30px;
  margin: 11px 0 30px;
}
.field {
  display: block;
  margin: 0 0 19px;
}
.field > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 8px;
}
.field small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  margin: 7px 0 0;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.field-grid .field {
  min-width: 0;
}
.field-grid .field > span {
  white-space: nowrap;
  font-size: 12px;
}
.money-input,
.suffix-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  height: 52px;
  padding: 0 14px;
  transition:
    border 0.15s,
    box-shadow 0.15s;
}
.money-input:focus-within,
.suffix-input:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px #c8e85a5c;
}
.money-input b,
.suffix-input b {
  font: 600 16px var(--mono);
  color: var(--muted);
}
input {
  border: 0;
  outline: 0;
  min-width: 0;
  width: 100%;
  padding: 0 0 0 6px;
  font: 600 18px var(--sans);
  color: var(--ink);
  background: transparent;
}
input::placeholder {
  color: #afb9b4;
  font-weight: 400;
}
.suffix-input input {
  text-align: right;
  padding: 0 5px;
}
.segmented {
  float: right;
  margin-top: -29px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2px;
  display: flex;
}
.segment {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: 500 10px var(--mono);
  padding: 5px 7px;
}
.segment.is-selected {
  color: var(--ink);
  background: var(--lime);
}
.form-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
  padding: 3px 0 18px;
  margin: 0;
}
.next-button {
  width: 100%;
  border: 0;
  border-radius: 13px;
  background: var(--ink);
  color: #fff;
  padding: 16px 18px;
  font: 600 15px var(--sans);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.next-button span {
  font-size: 23px;
  line-height: 10px;
}
.next-button.accent {
  background: var(--orange);
}
.back {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 500 12px var(--mono);
  padding: 0 0 24px;
  cursor: pointer;
}
.results {
  padding-top: 46px;
}
.result-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 500 10px var(--mono);
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 3px 10px;
}
.result-topline button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 500 11px var(--sans);
  text-decoration: underline;
  cursor: pointer;
}
.verdict-card {
  padding: 25px 22px 18px;
  border-radius: 24px;
  color: var(--ink);
  background: #fce5b3;
}
.verdict-card.buy {
  background: #d5efd9;
}
.verdict-card.bolt {
  background: #ffd7d3;
}
.verdict-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.verdict-title span {
  width: 11px;
  height: 11px;
  border-radius: 100%;
  background: var(--yellow);
}
.buy .verdict-title span {
  background: var(--green);
}
.bolt .verdict-title span {
  background: var(--red);
}
.verdict-title p {
  margin: 0;
  font: 500 11px var(--mono);
  letter-spacing: 0.08em;
}
.verdict-card h2 {
  font-size: 33px;
  margin: 18px 0 14px;
}
.verdict-card h2 em {
  color: var(--ink);
}
.verdict-reason {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 23px;
  max-width: 390px;
}
.all-in {
  border-top: 1px solid #19332e2e;
  padding: 16px 0 6px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.all-in span,
.cost-delta {
  font-size: 12px;
  font-weight: 600;
}
.all-in strong {
  font: 600 30px var(--serif);
  letter-spacing: -0.05em;
}
.all-in strong span {
  font: 500 14px var(--sans);
}
.cost-delta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cost-delta > span:last-child {
  font: 500 11px var(--mono);
}
.impact-section,
.target-section,
.share-section {
  padding: 43px 2px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  font: 500 10px var(--mono);
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 0 2px 12px;
}
.squiggle {
  color: var(--orange);
  font-size: 18px;
  line-height: 5px;
}
.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.impact-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  padding: 15px;
}
.impact-card span,
.impact-card small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
}
.impact-card strong {
  display: block;
  font: 600 29px var(--serif);
  letter-spacing: -0.06em;
  margin: 8px 0 3px;
}
.impact-copy {
  font-size: 15px;
  line-height: 1.5;
  margin: 17px 2px 0;
}
.target-section h2,
.share-section h2 {
  font-size: 34px;
  margin-bottom: 20px;
}
.target-price {
  padding: 20px;
  border-radius: 17px;
  background: var(--ink);
  color: white;
}
.target-price span,
.target-price small {
  display: block;
  font-size: 12px;
  color: #c8d3ce;
}
.target-price strong {
  display: block;
  font: 600 40px var(--serif);
  letter-spacing: -0.07em;
  color: var(--lime);
  margin: 5px 0;
}
.price-ladder {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--card);
  overflow: hidden;
}
.ladder-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.ladder-row:last-child {
  border: 0;
}
.ladder-row b {
  font: 600 18px var(--serif);
  letter-spacing: -0.04em;
}
.ladder-row.current {
  background: #fff4df;
}
.ladder-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}
.ladder-label i {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
}
.ladder-row.current .ladder-label i {
  background: var(--orange);
}
.ladder-row.stretch .ladder-label i {
  background: var(--yellow);
}
.details-panel {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.details-panel summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 2px;
  cursor: pointer;
}
.details-panel summary::-webkit-details-marker {
  display: none;
}
.details-panel summary b,
.details-panel summary small {
  display: block;
}
.details-panel summary b {
  font-size: 14px;
}
.details-panel summary small {
  font-size: 11px;
  color: var(--muted);
  padding-top: 2px;
}
.details-panel summary i {
  font: 400 25px var(--serif);
  font-style: normal;
}
.details-panel[open] summary i {
  transform: rotate(45deg);
}
.details-content {
  padding: 3px 0 21px;
}
.assumption-copy,
.source-note {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
.detail-fields {
  margin-top: 18px;
}
.share-section {
  text-align: center;
  padding-bottom: 15px;
}
.share-section p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  margin-top: -10px;
}
.share-actions {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}
.share-actions button {
  flex: 1;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  padding: 14px 8px;
  font: 600 12px var(--sans);
  cursor: pointer;
}
.share-actions .outline-button {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
footer {
  border-top: 1px solid var(--line);
  max-width: 640px;
  margin: auto;
  padding: 23px 20px 40px;
  color: var(--muted);
}
footer span {
  font: 500 11px var(--mono);
  color: var(--ink);
}
footer p {
  font-size: 10px;
  line-height: 1.4;
  margin: 6px 0 0;
}
#toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink);
  color: white;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 12px;
  box-shadow: 0 8px 20px #0003;
  transition: transform 0.25s;
  z-index: 2;
  white-space: nowrap;
}
#toast.show {
  transform: translateX(-50%) translateY(0);
}
@media (min-width: 620px) {
  .app-shell {
    padding-left: 34px;
    padding-right: 34px;
  }
  .step {
    padding: 34px;
  }
  .verdict-card {
    padding: 31px;
  }
  .hero {
    padding-top: 60px;
  }
}
