/* silver-sands.net */
:root {
  --bg: #1B1314;
  --bg-deep: #0F0B0C;
  --card: #211819;
  --muted: #312628;
  --border: #4B4234;
  --gold: #EBC05C;
  --gold-light: #F5D384;
  --red: #C11532;
  --red-end: #A1122A;
  --red-hover: #A5122B;
  --text: #FFFFFF;
  --text-soft: #D1D9E0;
  --text-red: #F8778D;
  --wine: #330000;
  --wine-mid: #510000;
  --gold-line: rgba(235, 192, 92, .35);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --r-card: 12px;
  --r-btn: 6px;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --bar-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg-deep); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: linear-gradient(135deg, #0F0B0C, #1B1314);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  overflow-x: clip;
  padding-bottom: calc(var(--bar-height) + env(safe-area-inset-bottom));
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(42px, 10.5vw, 68px); color: var(--text); }
h2 { font-size: clamp(32px, 7vw, 44px); color: var(--gold); font-weight: 600; }
h3 { font-size: 24px; line-height: 1.15; font-weight: 600; color: var(--text); }
p { margin: 0 0 var(--s4); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 var(--s4); padding-left: var(--s5); }
li { margin-bottom: var(--s2); }
li:last-child { margin-bottom: 0; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-light); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
strong { font-weight: 600; color: var(--text); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1152px; margin-inline: auto; padding-inline: var(--s4); }
.skip {
  position: absolute; left: var(--s2); top: -64px; z-index: 100;
  background: var(--gold); color: var(--bg-deep); padding: var(--s3) var(--s4); border-radius: var(--r-btn); font-weight: 600;
}
.skip:focus { top: var(--s2); color: var(--bg-deep); }
.fine { font-size: 13px; line-height: 1.5; color: var(--text-soft); }

/* Top bar */
.topbar { background: var(--bg-deep); border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-soft); }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: var(--s2); min-height: 36px; text-align: center; }
.topbar strong { color: var(--gold); }
.topbar a { display: inline-flex; align-items: center; min-height: 36px; font-weight: 600; white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg-deep); border-bottom: 1px solid var(--border); }
.site-header > .wrap { display: flex; align-items: center; gap: var(--s2); min-height: 64px; }
.brand { display: block; flex: none; }
.brand img { height: 44px; width: auto; }
.header-actions { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }
.menu-btn, .menu-close {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; padding: 0;
  background: transparent; color: var(--gold); border: 1px solid var(--border); border-radius: var(--r-btn); cursor: pointer;
}
.menu-btn:hover, .menu-close:hover { background: var(--muted); }
.nav-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(304px, 85vw);
  background: var(--card); border-left: 1px solid var(--border); padding: var(--s3) var(--s4) var(--s5);
  transform: translateX(100%); visibility: hidden; overflow-y: auto;
  transition: transform .22s ease, visibility .22s;
}
.nav-open .nav-panel { transform: none; visibility: visible; transition: transform .22s ease, visibility 0s; }
.nav-panel-head { display: flex; justify-content: flex-end; margin-bottom: var(--s3); }
.nav-panel ul { list-style: none; margin: 0; padding: 0; }
.nav-panel li { margin: 0; border-bottom: 1px solid var(--border); }
.nav-panel li a {
  display: flex; align-items: center; min-height: 52px; color: var(--text); text-decoration: none;
  font: 500 17px/1.2 var(--body);
}
.nav-panel li a:hover, .nav-panel li a[aria-current="page"] { color: var(--gold); }
.nav-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(15, 11, 12, .75); opacity: 0; visibility: hidden; transition: opacity .22s, visibility .22s; }
.nav-open .nav-scrim { opacity: 1; visibility: visible; }
.nav-open body { overflow: hidden; }

/* Buttons and code chip */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: var(--s3) var(--s5);
  background: linear-gradient(#C11532, #A1122A); color: var(--text); border: 0; border-radius: var(--r-btn);
  text-decoration: none; text-align: center; font: 600 18px/1.2 var(--body);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.btn:hover { background: var(--red-hover); color: var(--text); }
.btn-small { min-height: 44px; padding: var(--s1) var(--s2); max-width: 132px; font-size: 13px; line-height: 1.2; box-shadow: none; }
.btn-ghost { background: transparent; border: 2px solid var(--gold); color: var(--gold); box-shadow: none; }
.btn-ghost:hover { background: var(--muted); color: var(--gold); }
.cta-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--s3); margin-bottom: var(--s4); }
.cta-row .btn { flex: 1 1 280px; }
.code-chip {
  display: inline-flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: var(--s2); min-height: 52px;
  padding: var(--s1) var(--s1) var(--s1) var(--s3);
  background: rgba(15, 11, 12, .75); border: 2px solid var(--gold); border-radius: var(--r-btn); color: var(--text-soft);
}
.code-label { font-size: 13px; }
.code-chip code { font: 700 18px/1 var(--mono); letter-spacing: .08em; color: var(--gold-light); user-select: all; }
.copy-btn {
  min-height: 40px; min-width: 64px; padding: 0 var(--s2); background: transparent; color: var(--text-soft); cursor: pointer;
  border: 1px solid var(--border); border-radius: var(--r-btn); font: 500 13px/1 var(--body);
}
.copy-btn:hover { background: var(--muted); color: var(--text); }
.copy-buffer { position: fixed; top: 0; left: -9999px; }

/* Hero */
.hero, .page-hero {
  background:
    linear-gradient(rgba(15, 11, 12, .35), rgba(15, 11, 12, .8)),
    radial-gradient(ellipse 65% 90% at 80% 15%, rgba(193, 21, 50, .42), transparent 72%),
    radial-gradient(ellipse 55% 75% at 8% 95%, rgba(148, 1, 1, .4), transparent 70%),
    linear-gradient(135deg, #330000, #1B1314 62%, #0F0B0C);
  border-bottom: 1px solid var(--border);
}
.hero { padding-block: var(--s6) var(--s7); }
.hero-grid { display: grid; gap: var(--s6); align-items: center; }
.hero h1 { margin-bottom: var(--s4); }
.hero-sub, .page-lead { font-size: 18px; color: var(--text-soft); margin-bottom: var(--s5); max-width: 60ch; }
.page-hero { padding-block: var(--s6) var(--s7); }
.page-hero h1 { margin-bottom: var(--s4); font-size: clamp(38px, 9.5vw, 60px); }
.page-hero.plain .page-lead { margin-bottom: 0; }
.page-hero .cta-row { max-width: 640px; }

/* Offer card: two masked layers, so the gold border follows the notches */
.stub {
  --y: 140px;
  --r: 12px;
  --hole-l: radial-gradient(circle var(--r) at 0 var(--y), transparent calc(100% - .5px), #000 100%);
  --hole-r: radial-gradient(circle var(--r) at 100% var(--y), transparent calc(100% - .5px), #000 100%);
  position: relative; width: 100%; max-width: 448px; margin-inline: auto; padding: 2px; background: var(--gold); border-radius: var(--r-card);
  -webkit-mask: var(--hole-l), var(--hole-r); -webkit-mask-composite: source-in;
  mask: var(--hole-l), var(--hole-r); mask-composite: intersect;
}
.stub-inner {
  --hole-l: radial-gradient(circle calc(var(--r) + 2px) at -2px calc(var(--y) - 2px), transparent calc(100% - .5px), #000 100%);
  --hole-r: radial-gradient(circle calc(var(--r) + 2px) at calc(100% + 2px) calc(var(--y) - 2px), transparent calc(100% - .5px), #000 100%);
  position: relative; background: var(--card); border-radius: 10px;
  -webkit-mask: var(--hole-l), var(--hole-r); -webkit-mask-composite: source-in;
  mask: var(--hole-l), var(--hole-r); mask-composite: intersect;
}
.stub-top { display: flex; align-items: center; justify-content: center; height: calc(var(--y) - 2px); padding: var(--s4) var(--s5); }
.stub-top img { width: 240px; height: auto; }
.stub-perf { position: absolute; top: calc(var(--y) - 3px); left: 24px; right: 24px; border-top: 2px dashed var(--gold-line); }
.stub-body { padding: var(--s5); }
.stub-title { font: 700 44px/1.05 var(--display); color: var(--text); margin-bottom: var(--s1); }
.stub-sub { color: var(--text-soft); margin-bottom: var(--s4); }
.stub-facts { margin: 0 0 var(--s4); }
.stub-facts div { display: flex; justify-content: space-between; gap: var(--s4); padding-block: var(--s2); border-top: 1px solid var(--border); }
.stub-facts dt { color: var(--text-soft); flex: none; }
.stub-facts dd { margin: 0; font-weight: 600; text-align: right; }
.stub-facts .stub-code { font-family: var(--mono); color: var(--gold-light); letter-spacing: .06em; }

/* Trust strip */
.trust { border-block: 1px solid var(--border); }
.trust ul { list-style: none; margin: 0; padding: var(--s2) 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s3); }
.trust li { display: flex; align-items: center; gap: var(--s2); min-height: 44px; margin: 0; font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.25; }
.trust a { color: var(--text); display: flex; align-items: center; gap: var(--s2); min-height: 44px; text-decoration: none; }
.trust a:hover { color: var(--gold); }
.trust svg { width: 22px; height: 22px; flex: none; color: var(--gold); }

/* Sections */
.section { padding-block: var(--s7); }
.section-alt { background: rgba(33, 24, 25, .7); }
.section-head { max-width: 720px; margin-bottom: var(--s6); }
.section-head h2 { margin-bottom: var(--s3); }
.section-head p { color: var(--text-soft); margin: 0; }
.prose > * { max-width: 768px; }
.prose h2 { margin: var(--s7) 0 var(--s3); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: var(--s5) 0 var(--s2); }
.prose p, .prose li { color: var(--text-soft); }
.prose .callout p { color: var(--text); }
.after-block { margin-top: var(--s5); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; max-width: 768px; }
.timeline > li { position: relative; margin: 0; padding: 0 0 var(--s6) 64px; min-height: 48px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--gold); }
.timeline > li:last-child::before { display: none; }
.step-num {
  position: absolute; left: 0; top: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: var(--card); color: var(--gold); border: 2px solid var(--gold); border-radius: 50%; font: 700 24px/1 var(--display);
}
.timeline h3, .timeline .tl-h { padding-top: var(--s3); margin-bottom: var(--s2); font-size: 28px; line-height: 1.15; font-weight: 600; color: var(--text); }
.timeline p + p { margin-top: var(--s3); }
.timeline p { color: var(--text-soft); }

/* Calculator */
.calc {
  background: linear-gradient(150deg, #330000 0%, #211819 70%);
  border: 1px solid var(--gold); border-radius: var(--r-card); padding: var(--s5) var(--s4);
}
.calc-head { margin-bottom: var(--s5); }
.calc-head h2 { margin-bottom: var(--s2); }
.calc-head p { color: var(--text-soft); margin: 0; }
.calc-grid { display: grid; gap: var(--s5); }
.calc-label { display: block; font-weight: 600; margin-bottom: var(--s2); }
.calc-field { position: relative; }
.calc-prefix { position: absolute; left: var(--s4); top: 50%; transform: translateY(-50%); font: 700 28px/1 var(--display); color: var(--gold); pointer-events: none; }
.calc-input {
  width: 100%; height: 64px; padding: 0 var(--s3) 0 var(--s6); background: var(--bg-deep); color: var(--text);
  border: 2px solid var(--gold); border-radius: var(--r-btn); font: 700 28px/1 var(--display); letter-spacing: .02em; appearance: textfield;
}
.calc-input::-webkit-outer-spin-button, .calc-input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.calc-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); margin-top: var(--s3); }
.calc-presets button {
  min-height: 44px; padding: 0 var(--s1); background: rgba(15, 11, 12, .6); color: var(--text); cursor: pointer;
  border: 1px solid var(--border); border-radius: var(--r-btn); font: 500 14px/1 var(--body);
}
.calc-presets button:hover { background: var(--muted); }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin: 0; }
.calc-out div { background: rgba(15, 11, 12, .65); border: 1px solid var(--border); border-radius: var(--r-btn); padding: var(--s3); min-width: 0; }
.calc-out dt { font-size: 14px; color: var(--text-soft); line-height: 1.3; }
.calc-out dd { margin: var(--s1) 0 0; font: 700 28px/1.1 var(--display); overflow-wrap: anywhere; }
.calc-out .calc-total { grid-column: 1 / -1; border: 2px solid var(--gold); }
.calc-out .calc-total dd { color: var(--gold); font-size: 44px; }
.calc-summary { margin: var(--s4) 0 0; }
.calc-note { margin: var(--s3) 0 0; color: var(--text-soft); font-size: 15px; }
.calc-note.is-warning { color: var(--text-red); font-weight: 600; }
.calc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--border); }
.calc-foot .fine { flex: 1 1 280px; margin: 0; }
.calc-foot .btn { flex: 1 1 280px; }

/* Cards */
.card-row { display: grid; gap: var(--s4); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: var(--s5); }
.card h3 { color: var(--gold-light); margin-bottom: var(--s2); }
.card p { color: var(--text-soft); }
.section-alt .card { background: var(--bg-deep); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-card); margin-block: var(--s4) var(--s5); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.4; }
caption { text-align: left; padding: var(--s3); font-weight: 600; color: var(--text); background: var(--muted); }
th, td { padding: var(--s3) var(--s2); text-align: left; vertical-align: top; border-top: 1px solid var(--border); }
th { color: var(--gold); font-weight: 600; }
thead th { background: var(--muted); border-top: 0; }
td { color: var(--text-soft); }
tbody th { color: var(--text); }
th:first-child, td:first-child { padding-left: var(--s3); }
td.num, th.num { font-variant-numeric: tabular-nums; }

/* Callouts and checklist */
.callout { background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: var(--r-card); padding: var(--s4) var(--s5); margin-block: var(--s4) var(--s5); }
.helpline { font: 700 44px/1.1 var(--display); color: var(--gold); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: var(--s6); }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 7px; width: 14px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}

/* FAQ */
.faq-list { max-width: 800px; display: grid; gap: var(--s3); }
.faq-list details { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); }
.section-alt .faq-list details { background: var(--bg-deep); }
.faq-list details[open] { border-color: var(--gold); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 56px; padding: var(--s3) var(--s4);
  cursor: pointer; font-weight: 600; list-style: none; border-radius: var(--r-card);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; color: var(--gold); font: 700 28px/1 var(--display); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 var(--s4) var(--s4); color: var(--text-soft); }

/* Final CTA band */
.band { position: relative; background: linear-gradient(135deg, #330000, #1B1314); padding-block: var(--s7); text-align: center; }
.band::before, .band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 8px;
  background: repeating-linear-gradient(-45deg, var(--gold) 0 10px, var(--bg-deep) 10px 20px);
}
.band::before { top: 0; }
.band::after { bottom: 0; }
.band h2 { margin-bottom: var(--s3); }
.band p { color: var(--text-soft); max-width: 60ch; margin-inline: auto; }
.band .btn { margin-block: var(--s2) var(--s4); width: 100%; max-width: 384px; }

/* Footer */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding-block: var(--s6); font-size: 15px; color: var(--text-soft); }
.footer-offer { padding-bottom: var(--s5); margin-bottom: var(--s5); border-bottom: 1px solid var(--border); }
.footer-offer strong { color: var(--gold); }
.footer-grid { display: grid; gap: var(--s5); }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s4); }
.footer-nav li { margin: 0; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; }
.footer-nav a:hover { color: var(--gold); text-decoration: underline; }
.footer-title { font: 600 20px/1.2 var(--display); color: var(--gold); margin-bottom: var(--s2); }
.footer-link { display: inline-block; padding-block: var(--s3); font-weight: 500; }
.footer-legal { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--border); font-size: 14px; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--card); border-top: 1px solid var(--gold);
  padding: var(--s2) var(--s4) calc(var(--s2) + env(safe-area-inset-bottom));
  transform: translateY(100%); visibility: hidden; transition: transform .2s ease, visibility .2s;
}
.sticky-cta.is-visible { transform: none; visibility: visible; }
.sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); max-width: 720px; margin-inline: auto; min-height: 52px; }
.sticky-text { font-size: 13px; line-height: 1.3; color: var(--text-soft); min-width: 0; }
.sticky-text strong { display: block; font: 700 20px/1.1 var(--display); color: var(--gold); }
.sticky-cta .btn { flex: none; min-height: 48px; padding: var(--s2) var(--s4); font-size: 16px; }

/* 404 */
.notfound { padding-block: var(--s8); text-align: center; }
.notfound h1 { margin-bottom: var(--s4); }
.notfound p { color: var(--text-soft); max-width: 52ch; margin-inline: auto; margin-bottom: var(--s5); }
.notfound .btn { margin: var(--s1); }

@media (max-width: 359px) {
  .wrap { padding-inline: var(--s3); }
  .brand img { height: 36px !important; }
  .btn-small { max-width: 116px; font-size: 12px; }
}

@media (min-width: 420px) {
  .btn-small { max-width: none; padding-inline: var(--s3); font-size: 14px; white-space: nowrap; }
}

@media (min-width: 600px) {
  .wrap { padding-inline: var(--s5); }
  .calc { padding: var(--s6); }
  .code-chip { flex: 0 1 auto; }
  .trust ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--s6); }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1000px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .section { padding-block: var(--s8); }
  .hero { padding-block: var(--s8) var(--s9); }
  .page-hero { padding-block: var(--s8); }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: var(--s7); }
  .card-row { grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
  .calc { padding: var(--s7); }
  .calc-grid { grid-template-columns: 1fr 1.2fr; gap: var(--s7); }
  .footer-grid { grid-template-columns: 2fr 1fr; gap: var(--s7); }
  .menu-btn, .menu-close, .nav-panel-head, .nav-scrim { display: none; }
  .site-header > .wrap { gap: var(--s5); }
  .nav-panel {
    position: static; width: auto; order: 1; margin-inline: auto; padding: 0; border: 0; background: none;
    transform: none; visibility: visible; overflow: visible; transition: none;
  }
  .nav-panel ul { display: flex; gap: var(--s1); }
  .nav-panel li { border: 0; }
  .nav-panel li a { min-height: 44px; padding-inline: var(--s3); font: 500 15px/1 var(--body); border-radius: var(--r-btn); }
  .nav-panel li a:hover { background: var(--muted); }
  .nav-panel li a[aria-current="page"] { color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
  .header-actions { order: 2; margin-left: 0; }
  .btn-small { font-size: 15px; }
}

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