

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibmplexsans-var.woff2") format("woff2-variations");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --surface: #fcfbf8;         
  --surface-warm: #f4f0e6;    
  --surface-cool: #e9eef3;    
  --ink: #16212e;             
  --text: #141c26;            
  --text-muted: #4f5b6b;      
  --amber: #8a6410;           
  --amber-surface: #fbf0d5;   
  --good: #12664a;            
  --good-surface: #dcf5ea;    
  --bad: #9c2620;             
  --bad-surface: #fceae8;     
  --on-ink: #eef3f8;          
  --on-ink-muted: #a3b2c2;    
  --line: rgba(20, 28, 38, 0.13);

  --radius-panel: 16px;
  --radius-field: 10px;
  --gutter: clamp(1.15rem, 5vw, 2.5rem);
  --column: 62rem;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  
  --t-xs: 0.8rem;      
  --t-sm: 0.875rem;    
  --t-base: 1.0625rem; 
  --t-md: 1.3rem;      
  --t-lg: 1.65rem;     
}

*, *::before, *::after { box-sizing: border-box; }

::selection { background: var(--amber-surface); color: var(--text); }
html { scrollbar-color: var(--text-muted) var(--surface-warm); }
input, select, textarea { caret-color: var(--good); }

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--sans);
  
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--column); margin: 0 auto; padding: 0 var(--gutter); }

a { color: var(--good); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--good); outline-offset: 2px; border-radius: 3px; }
.site-head :focus-visible, .site-foot :focus-visible { outline-color: var(--on-ink); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 10;
  background: var(--on-ink); color: var(--ink); padding: 0.7rem 1rem; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.site-head { background: var(--ink); color: var(--on-ink); }
.site-head .wrap {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1.4rem;
  padding-top: 1.1rem; padding-bottom: 1.1rem;
}
.wordmark {
  font-size: var(--t-md); font-weight: 600; letter-spacing: -0.035em;
  color: var(--on-ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.wordmark .mark { flex: none; }

.wordmark .mark .rim { fill: #c9922a; }
.wordmark .mark .core { fill: var(--ink); }
.site-head .wordmark .mark .core { fill: var(--ink); }
.wordmark .word { display: inline-block; }
.wordmark .tld { font-weight: 400; color: var(--on-ink-muted); }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; margin-left: auto; }
.site-nav a { color: var(--on-ink-muted); text-decoration: none; font-size: var(--t-sm); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--on-ink); text-decoration: underline; }

.hero-figure {
  position: relative; margin: 2rem 0 0;
  border-radius: var(--radius-panel); overflow: hidden;
  background-color: var(--ink);
  min-height: 19rem;
  display: flex; align-items: flex-end;
  isolation: isolate;
}
.hero-figure::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: image-set(url("images/head-goldore-1800.jpg") 1x);
  background-size: cover; background-position: 50% 58%;
}

.hero-figure::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    rgba(22,33,46,0.30) 0%, rgba(22,33,46,0.42) 42%, rgba(22,33,46,0.90) 100%);
}
@media (max-width: 900px) {
  .hero-figure::before { background-image: image-set(url("images/head-goldore-900.jpg") 1x); }
}

.hero-facts {
  display: grid; gap: 0.7rem; width: 100%;
  padding: 1.15rem; margin: 0; list-style: none;
  align-items: stretch;
}
@media (min-width: 700px) {
  .hero-facts { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; }
}

.hero-facts li {
  height: 100%;
  background: rgba(11, 18, 27, 0.72);
  border: 1px solid rgba(238, 243, 248, 0.16);
  border-radius: var(--radius-field);
  padding: 0.72rem 0.9rem;
}
@supports (backdrop-filter: blur(6px)) {
  .hero-facts li { background: rgba(11, 18, 27, 0.55); backdrop-filter: blur(7px); }
}
.hero-facts .value {
  display: block; color: var(--on-ink); font-weight: 600;
  font-size: var(--t-md); letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.hero-facts .label { display: block; color: #c3cedb; font-size: var(--t-xs); margin-top: 0.15rem; }

.credit {
  margin: 0.6rem 0 0; font-size: var(--t-xs); color: var(--text-muted); max-width: 66ch;
  text-wrap: pretty;
}

.credit a, .site-foot .small a { white-space: nowrap; }

main { padding: 2.6rem 0 3.4rem; }
h1 {
  font-size: clamp(1.95rem, 5.6vw, 2.9rem); line-height: 1.07; letter-spacing: -0.03em;
  font-weight: 600; margin: 0 0 0.8rem; max-width: 20ch;
  font-optical-sizing: auto; text-wrap: balance;
}
h2 { font-size: var(--t-lg); line-height: 1.22; letter-spacing: -0.02em; font-weight: 600; margin: 2.4rem 0 0.6rem; }
h3 { font-size: var(--t-md); line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; margin: 1.8rem 0 0.4rem; }
p { max-width: 68ch; margin: 0 0 1rem; }
.intro { font-size: var(--t-md); color: var(--text-muted); max-width: 54ch; }
.muted { color: var(--text-muted); }
.small { font-size: var(--t-sm); }

.calculator-band { background: var(--surface-warm); padding: 2.2rem 0 2.6rem; margin: 2.4rem 0 0; }
.calculator-band > .wrap > h2 { margin-top: 0; }

.calculator-band .note { background: var(--surface); margin-top: 1.6rem; }

.panel {
  border: 1px solid var(--line); border-radius: var(--radius-panel);
  background: #fff; overflow: hidden; margin: 1.4rem 0 0;
  box-shadow: 0 1px 2px rgba(20,28,38,0.05), 0 10px 28px -12px rgba(20,28,38,0.22);
}
.panel-inputs { padding: 1.4rem; display: grid; gap: 1rem; }
@media (min-width: 620px) { .panel-inputs { grid-template-columns: 1fr 1fr; } }

.field label { display: block; font-size: var(--t-xs); letter-spacing: 0.005em;
               color: var(--text-muted); margin-bottom: 0.3rem; }
.field input, .field select {
  width: 100%; font-family: inherit; font-size: var(--t-base); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-field);
  padding: 0.6rem 0.72rem; background: #fff;
}
.field input[inputmode="decimal"] { text-align: right; font-variant-numeric: tabular-nums; }
.field input:hover, .field select:hover { border-color: var(--text-muted); }
.field input:focus, .field select:focus { border-color: var(--good); }
.field .hint { font-size: var(--t-xs); letter-spacing: 0.008em;
               color: var(--text-muted); margin: 0.28rem 0 0; }

.verdict { padding: 1.4rem; border-top: 1px solid var(--line); }
.verdict[data-state="taxed"] { background: var(--bad-surface); }
.verdict[data-state="free"] { background: var(--good-surface); }
.verdict .tag {
  display: inline-block; font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; padding: 0.24rem 0.62rem; border-radius: 999px; margin-bottom: 0.7rem;
  color: #fff;
}
.verdict[data-state="taxed"] .tag { background: var(--bad); }
.verdict[data-state="free"] .tag { background: var(--good); }
.verdict .headline { font-size: var(--t-md); line-height: 1.3; letter-spacing: -0.015em; margin: 0; font-weight: 600; }
.verdict[data-state="taxed"] .headline { color: var(--bad); }
.verdict[data-state="free"] .headline { color: var(--good); }
.verdict .why { margin: 0.6rem 0 0; font-size: var(--t-sm); color: var(--text-muted); max-width: 56ch; }

.figure {
  margin-top: 1.1rem; padding: 0.95rem 1.15rem; border-radius: var(--radius-field);
  background: var(--amber-surface);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem 0.75rem;
}
.verdict[data-state="free"] .figure { background: var(--good-surface); border: 1px solid rgba(18,102,74,0.3); }
.figure .big {
  
  font-weight: 600;
  font-size: clamp(1.75rem, 6.2vw, 2.35rem); line-height: 1; letter-spacing: -0.025em;
  color: var(--amber); font-variant-numeric: tabular-nums;
}
.verdict[data-state="free"] .figure .big { color: var(--good); }
.figure .cap { font-size: var(--t-sm); color: var(--text-muted); }

.rows { border-top: 1px solid var(--line); }
.rows .row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.58rem 1.4rem; font-size: var(--t-sm); border-bottom: 1px solid var(--line);
}
.rows .row:last-child { border-bottom: 0; }
.rows .row .v { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }

.error {
  margin: 0; padding: 0.9rem 1.4rem; background: var(--bad-surface); color: var(--bad);
  border-top: 1px solid var(--line); font-size: var(--t-sm);
}
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.note {
  background: var(--surface-cool); border-radius: var(--radius-field);
  padding: 0.85rem 1.05rem; font-size: var(--t-sm); color: var(--text-muted); max-width: 66ch;
}
.note :last-child { margin-bottom: 0; }

.band { background: var(--surface-warm); padding: 2.4rem 0; margin: 3rem 0 0; }
.band h2 { margin-top: 0; }

.teasers { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
@media (min-width: 680px) { .teasers { grid-template-columns: 1fr 1fr; } }
.teasers { align-items: stretch; }

.teasers li { display: flex; height: 100%; }

.teasers a {
  display: flex; flex-direction: column; width: 100%;
  text-decoration: none; color: inherit;
  border-radius: var(--radius-field); overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.95rem 1.1rem 1.05rem;
}
.teasers a:has(img) { padding: 0; }
.teasers a:hover { border-color: var(--text-muted); }
.teasers a:hover .t { text-decoration: underline; text-decoration-thickness: 2px; }
.teasers img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.teasers .text { display: block; flex: 1; padding: 0.85rem 1rem 1rem; }
.teasers .t { display: block; font-weight: 600; margin-bottom: 0.2rem; }
.teasers .d { display: block; font-size: var(--t-sm); color: var(--text-muted); }

main ul:not([class]), main ol:not([class]) {
  max-width: 68ch; padding-left: 1.35rem; margin: 0 0 1rem;
}
main ul:not([class]) li, main ol:not([class]) li { margin-bottom: 0.4rem; }
main ul:not([class]) li:last-child, main ol:not([class]) li:last-child { margin-bottom: 0; }
main ul:not([class]) li::marker { color: var(--text-muted); }

blockquote {
  margin: 1.4rem 0; padding: 0.9rem 1.2rem;
  border-left: 1px solid var(--line);
  background: var(--surface-warm);
  border-radius: 0 var(--radius-field) var(--radius-field) 0;
  font-size: var(--t-base);
}
blockquote p { margin: 0 0 0.7rem; max-width: 62ch; }
blockquote p:last-child { margin-bottom: 0; }
blockquote cite {
  display: block; margin-top: 0.6rem; font-style: normal;
  font-size: var(--t-sm); color: var(--text-muted);
}

.table-scroll {
  overflow-x: auto; margin: 1.4rem 0;
  border: 1px solid var(--line); border-radius: var(--radius-field);
}
.table-scroll:focus-visible { outline: 3px solid var(--good); outline-offset: 2px; }

table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
caption {
  text-align: left; color: var(--text-muted); font-size: var(--t-sm);
  padding: 0.85rem 1rem 0.7rem; max-width: 66ch;
}
th, td { padding: 0.6rem 1rem; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
thead th {
  font-size: var(--t-xs); letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600; white-space: nowrap;
}
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody td { font-variant-numeric: tabular-nums; }

.site-foot { background: var(--ink); color: var(--on-ink-muted); padding: 2.2rem 0; font-size: var(--t-sm); }
.site-foot a { color: var(--on-ink); }
.site-foot p { max-width: 66ch; margin: 0 0 0.7rem; }
.site-foot .small { font-size: var(--t-xs); color: #93a3b4; }
.site-foot .disclaimer { color: var(--on-ink); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; margin-top: 1rem; }

.verdict { transition: background-color 220ms var(--ease-out); }

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

.stand {
  margin-block: 0.9rem 1.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stand time { font-variant-numeric: tabular-nums; }

.faq {
  margin-block-start: 3rem;
  padding-block-start: 1.75rem;
  border-block-start: 1px solid var(--line);
}

.faq h3 {
  margin-block: 1.6rem 0.5rem;
  font-size: 1.05rem;
}

.faq h3:first-of-type { margin-block-start: 1rem; }
.faq p { margin-block: 0; }
