/* Runvord VPN — runestone: pale stone page, granite, red ochre paint, lichen. System fonts only. */
:root {
  --stone: #E7E2D6;
  --stone-2: #DCD5C5;
  --chalk: #F5F2EB;
  --granite: #2B3133;
  --granite-2: #3B4244;
  --ink: #1F2426;
  --ink-soft: #4A5154;
  --ochre: #A8432A;
  --ochre-dark: #7A2E1C;
  --lichen: #66764A;
  --line: rgba(31, 36, 38, .16);
  --carve: Copperplate, "Copperplate Gothic", "Copperplate Gothic Light", "Trajan Pro", "Palatino Linotype", serif;
  --text: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--stone) url("/assets/grain.svg") repeat;
  color: var(--ink);
  font: 17px/1.62 var(--text);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ochre); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ochre-dark); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--granite); color: var(--chalk); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* bar */
.bar { position: sticky; top: 0; z-index: 5; background: rgba(43, 49, 51, .96); color: var(--chalk); border-bottom: 3px solid var(--ochre); }
.bar-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand-mark { border-radius: 8px; }
.brand-name { font: 600 21px/1 var(--carve); letter-spacing: .06em; }
.brand-name span { color: #D9876A; }
.site-nav { display: flex; gap: 26px; font: 500 15px/1 var(--ui); }
.site-nav a { color: var(--chalk); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: #D9876A; color: #fff; }
.menu-btn { display: none; font: 600 15px/1 var(--ui); color: var(--chalk); background: transparent; border: 1px solid rgba(245, 242, 235, .4); border-radius: var(--radius); padding: 9px 14px; cursor: pointer; }

/* buttons */
.btn { display: inline-block; font: 600 16px/1 var(--ui); padding: 15px 22px; border-radius: var(--radius); text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--ochre); color: #fff; }
.btn-primary:hover { background: var(--ochre-dark); color: #fff; }
.btn-soon { background: var(--granite); color: var(--chalk); cursor: default; }
.btn-ghost { border-color: var(--granite); color: var(--granite); }
.btn-ghost:hover { background: var(--granite); color: var(--chalk); }

/* hero */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { font: 600 13px/1 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--lichen); margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--carve); font-weight: 600; letter-spacing: .03em; line-height: 1.15; }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); margin: 0 0 22px; }
.lead { font-size: 20px; color: var(--ink-soft); margin: 0 0 30px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stone { margin: 0; }
.hero-stone figcaption { font: 14px/1.5 var(--ui); color: var(--ink-soft); text-align: center; margin-top: 10px; }

/* runestone svg */
.runestone { width: 100%; max-width: 440px; margin: 0 auto; }
.rs-ground { fill: rgba(31, 36, 38, .18); }
.rs-stone { fill: #4E5554; stroke: #2F3534; stroke-width: 3; }
.grain-l { fill: #6C7371; }
.grain-d { fill: #3A403F; }
.rs-band-edge { fill: none; stroke: var(--ochre-dark); stroke-width: 38; }
.rs-band { fill: none; stroke: var(--ochre); stroke-width: 32; }
.rs-band-fill { fill: var(--ochre); stroke: var(--ochre-dark); stroke-width: 3; }
.rs-eye { fill: var(--ink); }
.rn-band { fill: none; stroke: var(--ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.rn-band-dot { fill: var(--ink); }
.rs-algiz-shadow { fill: none; stroke: #1C2021; stroke-width: 1.35; stroke-linecap: round; }
.rs-algiz { fill: none; stroke: #C65A3B; stroke-width: 1.35; stroke-linecap: round; }

/* sections */
.section { padding: 72px 0; }
.section-dark { background: var(--granite); color: var(--chalk); }
.carved { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 14px; }
.carved::after { content: ""; display: block; width: 72px; height: 4px; background: var(--ochre); margin-top: 16px; }
.section-lead { font-size: 19px; margin: 0 0 32px; color: inherit; opacity: .85; }

.tablets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.tablet { background: var(--chalk); border: 1px solid var(--line); border-radius: 18px 18px 6px 6px; padding: 28px 26px 24px; box-shadow: 0 2px 0 var(--stone-2); }
.tablet h3 { font-size: 21px; margin: 16px 0 10px; }
.tablet p { margin: 0; color: var(--ink-soft); }
.rune-icon { width: 30px; height: 48px; }
.rune-icon path { fill: none; stroke: var(--ochre); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.waystones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.waystone { background: var(--granite-2); border-radius: 46% 46% 8px 8px / 30% 30% 8px 8px; padding: 26px 10px 18px; text-align: center; border-bottom: 4px solid var(--ochre); }
.ws-code { display: block; font: 600 22px/1 var(--carve); letter-spacing: .12em; color: #E2957A; }
.ws-city { display: block; font: 600 15px/1.3 var(--ui); margin-top: 12px; }
.ws-country { display: block; font: 13px/1.3 var(--ui); opacity: .7; margin-top: 3px; }

.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 30px; border: 2px solid var(--granite); border-radius: var(--radius); background: var(--chalk); }
.ledger-col { padding: 26px 28px; }
.ledger-col + .ledger-col { border-left: 2px solid var(--granite); }
.ledger h3, .ledger h2 { font-size: 20px; margin: 0 0 14px; }
.ledger ul { margin: 0; padding-left: 20px; }
.ledger li { margin-bottom: 10px; }
.ledger-never { background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(102, 118, 74, .07) 14px 16px); }
.ledger-never li { text-decoration: none; }
.ledger-never h3, .ledger-never h2 { color: var(--lichen); }
.ledger-more { margin: 18px 0 0; }

/* documents */
.doc { padding: 56px 0 72px; }
.doc-wrap { max-width: 820px; }
.doc-head h1 { font-size: clamp(34px, 4.6vw, 48px); margin: 0 0 8px; }
.doc-date, .doc-lead { font: 15px/1.5 var(--ui); color: var(--ink-soft); margin: 0 0 30px; }
.doc-lead { font-size: 18px; }
.doc h2 { font-size: 23px; margin: 38px 0 10px; }
.doc .ledger-doc { margin: 28px 0 10px; }
.doc .ledger-doc h2 { margin-top: 0; }
.keep { width: 100%; border-collapse: collapse; font: 15px/1.45 var(--ui); }
.keep th { text-align: left; font-weight: 600; border-bottom: 2px solid var(--granite); padding: 0 8px 8px 0; }
.keep td { border-bottom: 1px solid var(--line); padding: 9px 8px 9px 0; vertical-align: top; }

.waymarks { list-style: none; counter-reset: wm; margin: 0; padding: 0; }
.waymarks > li { counter-increment: wm; position: relative; padding: 4px 0 4px 64px; margin-bottom: 18px; }
.waymarks > li::before { content: counter(wm); position: absolute; left: 0; top: 4px; width: 44px; height: 54px; display: flex; align-items: center; justify-content: center; font: 600 18px/1 var(--carve); color: var(--chalk); background: var(--granite); border-radius: 22px 22px 4px 4px; border-bottom: 3px solid var(--ochre); }
.waymarks h2 { margin: 6px 0 6px; font-size: 21px; }
.waymarks p { margin: 0; }

.register { display: grid; grid-template-columns: 220px 1fr; margin: 30px 0 0; border-top: 2px solid var(--granite); }
.register dt, .register dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.register dt { font: 600 16px/1.35 var(--carve); letter-spacing: .03em; padding-right: 20px; color: var(--ochre-dark); }

.faq section { border-top: 1px solid var(--line); padding: 6px 0 10px; }
.faq h2 { font-size: 21px; }
.faq ol { padding-left: 22px; }
.contact-card { margin-top: 36px; background: var(--granite); color: var(--chalk); padding: 26px 28px; border-radius: 18px 18px 6px 6px; border-bottom: 4px solid var(--ochre); }
.contact-card h2 { margin: 0 0 10px; }
.contact-card a { color: #E8A58C; }

/* 404 */
.lost { padding: 90px 0; text-align: center; }
.lost-wrap { max-width: 560px; }
.lost-stone { width: 120px; margin: 0 auto 24px; }
.lost-stone path { fill: #4E5554; stroke: #2F3534; stroke-width: 2; }
.lost h1 { font-size: 40px; margin: 0 0 10px; }

/* footer */
.foot { background: var(--granite); color: rgba(245, 242, 235, .86); padding: 0 0 34px; font: 15px/1.6 var(--ui); }
.foot-band { height: 14px; margin: 0 0 40px; background: var(--ochre) url("/assets/band.svg") repeat-x center / auto 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-title { font: 600 13px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: #D9876A; margin: 0 0 14px; }
.foot address { font-style: normal; margin: 6px 0; }
.foot p { margin: 0 0 6px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot a { color: var(--chalk); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(245, 242, 235, .16); font-size: 13px; opacity: .75; }

/* narrow screens */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stone { max-width: 360px; margin: 0 auto; }
  .tablets { grid-template-columns: 1fr; }
  .waystones { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-maker { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .js .menu-btn { display: inline-block; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 67px; flex-direction: column; gap: 0; background: var(--granite); padding: 8px 24px 18px; border-bottom: 3px solid var(--ochre); }
  .js .site-nav.open { display: flex; }
  .js .site-nav a { padding: 12px 0; }
  .no-js .site-nav { gap: 14px; font-size: 14px; }
  .ledger { grid-template-columns: 1fr; }
  .ledger-col + .ledger-col { border-left: 0; border-top: 2px solid var(--granite); }
  .waystones { grid-template-columns: repeat(2, 1fr); }
  .register { grid-template-columns: 1fr; }
  .register dt { padding-bottom: 4px; border-bottom: 0; }
  .register dd { padding-top: 0; }
  .waymarks > li { padding-left: 56px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
