/* Stonesafe website. One face, JetBrains Mono, on a light Iron page; Graphite at night. */

@font-face {
  font-family: "JetBrains Mono";
  src: url("/static/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/static/fonts/jetbrains-mono-italic.woff2") format("woff2");
  font-weight: 100 800;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: oklch(0.982 0.004 245);
  --raised: oklch(1 0 0);
  --sunk: oklch(0.955 0.008 245);
  --line: oklch(0.88 0.01 245);
  --line-soft: oklch(0.925 0.008 245);
  --ink: oklch(0.24 0.012 255);
  --ink-2: oklch(0.42 0.012 255);
  --ink-3: oklch(0.55 0.01 255);
  --ac: oklch(0.53 0.2 264);
  --ac-ink: oklch(0.985 0.01 264);
  --ac-soft: oklch(0.93 0.035 264);
  --ac-text: oklch(0.45 0.19 264);
  --ok: oklch(0.52 0.12 150);
  --warn: oklch(0.55 0.12 55);
  --warn-soft: oklch(0.95 0.035 70);
  --dot: oklch(0.86 0.012 245);
  --shadow: 0 1px 2px oklch(0.3 0.02 255 / 0.06), 0 12px 32px -12px oklch(0.3 0.04 255 / 0.18);
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1180px;
  --rail: 220px;
  --gut: 24px;
}

:root[data-mode="dark"] {
  color-scheme: dark;
  --page: oklch(0.165 0.005 250);
  --raised: oklch(0.205 0.006 250);
  --sunk: oklch(0.19 0.005 250);
  --line: oklch(0.32 0.008 250);
  --line-soft: oklch(0.255 0.006 250);
  --ink: oklch(0.95 0.005 250);
  --ink-2: oklch(0.76 0.008 250);
  --ink-3: oklch(0.63 0.008 250);
  --ac: oklch(0.72 0.13 264);
  --ac-ink: oklch(0.18 0.03 264);
  --ac-soft: oklch(0.28 0.06 264);
  --ac-text: oklch(0.8 0.1 264);
  --ok: oklch(0.75 0.12 150);
  --warn: oklch(0.78 0.1 70);
  --warn-soft: oklch(0.27 0.04 70);
  --dot: oklch(0.29 0.008 250);
  --shadow: 0 1px 2px oklch(0 0 0 / 0.3), 0 16px 40px -16px oklch(0 0 0 / 0.6);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 15px/1.7 var(--mono);
  font-feature-settings: "calt" 1, "zero" 0;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ac-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ac); }
::selection { background: var(--ac-soft); }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.12; letter-spacing: -0.035em; }
h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.22; letter-spacing: -0.03em; }
h3 { font-size: 16px; line-height: 1.4; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 14px; }
.lead { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); max-width: 64ch; }
.muted { color: var(--ink-2); }
.fine { font-size: 13px; color: var(--ink-3); }
.label {
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
.label.ac { color: var(--ac-text); }
code, kbd { font: inherit; font-size: 0.93em; background: var(--sunk); border: 1px solid var(--line-soft); border-radius: 4px; padding: 0 5px; }

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

/* Header */
.top {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in oklch, var(--page) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -0.03em; font-size: 16px; }
.brand:hover { color: var(--ink); }
.brand svg { width: 22px; height: 22px; }
.nav { display: flex; gap: 22px; flex: 1; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--ac); text-underline-offset: 8px; text-decoration-thickness: 2px; }
.acts { display: flex; align-items: center; gap: 10px; }
.acts .signin { color: var(--ink-2); text-decoration: none; font-size: 14px; padding: 0 6px; }
.acts .signin:hover { color: var(--ink); }
.mode {
  width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px;
  background: transparent; color: var(--ink-2); cursor: pointer; padding: 0;
}
.mode svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.mode .sun { display: none; }
:root[data-mode="dark"] .mode .sun { display: block; }
:root[data-mode="dark"] .mode .moon { display: none; }
.burger, .burger-box { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid transparent;
  font: 500 14px/1 var(--mono); text-decoration: none; cursor: pointer; white-space: nowrap;
  background: var(--ac); color: var(--ac-ink);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.18), 0 1px 2px oklch(0.3 0.1 264 / 0.25);
}
.btn:hover { color: var(--ac-ink); filter: brightness(1.06); }
.btn.quiet { background: var(--raised); color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn.quiet:hover { border-color: var(--ink-3); color: var(--ink); filter: none; }
.btn.small { height: 34px; padding: 0 12px; font-size: 13px; }
.btn.big { height: 46px; padding: 0 20px; font-size: 15px; }
.btn .arrow { font-weight: 400; }
.btn[aria-disabled="true"] { background: var(--sunk); color: var(--ink-3); border-color: var(--line); box-shadow: none; cursor: default; }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.more { font-size: 14px; font-weight: 500; text-decoration: none; }
.more::after { content: " ->"; }

/* Hero */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 92%);
}
.hero .eyebrow { display: inline-flex; gap: 10px; align-items: center; margin-bottom: 26px; }
.hero .eyebrow .pill { border: 1px solid var(--line); background: var(--raised); border-radius: 999px; padding: 3px 10px; font-size: 12px; color: var(--ink-2); }
.hero h1 { max-width: 23ch; font-size: clamp(30px, 4vw, 46px); }
.hero .lead { margin-top: 22px; }
.hero .buttons { margin-top: 30px; }
.hero .fine { margin-top: 14px; }
.hero-shot { margin-top: 56px; }
.hero-shot figcaption { margin-top: 48px; }

/* Figures: a framed screen with a caption */
figure { margin: 0; }
.frame {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--raised); box-shadow: var(--shadow);
}
.frame .chrome { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line-soft); background: var(--sunk); }
.frame .chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.frame .chrome span { margin-left: 10px; font-size: 11.5px; color: var(--ink-3); }
.frame img { width: 100%; height: auto; }
.phone { border: 1px solid var(--line); border-radius: 26px; padding: 7px; background: var(--raised); box-shadow: var(--shadow); }
.phone img { border-radius: 20px; width: 100%; }
figcaption { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }
figcaption b { color: var(--ink-2); font-weight: 600; letter-spacing: 0.06em; margin-right: 8px; }
.stage { position: relative; padding-right: 150px; }
.stage .phone { position: absolute; right: 0; bottom: -36px; width: 230px; }
.stage .phone img { border-radius: 20px; }

/* Sections with a numbered rail */
.sec { padding: 64px 0; border-top: 1px solid var(--line-soft); }
.sec.first { border-top: 0; }
.ruled { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); gap: 0 40px; }
.rail { padding-top: 6px; }
.rail .n { display: block; font-size: 12px; color: var(--ac-text); font-weight: 600; letter-spacing: 0.08em; }
.rail .t { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
.body > h2 + .lead, .body > h2 + p { margin-top: 16px; }
.body > * + .facts, .body > * + .cols, .body > * + .grid, .body > * + figure, .body > * + .table, .body > * + .points, .body > * + .steps, .body > * + .note { margin-top: 32px; }
.body .more { display: inline-block; margin-top: 26px; }
.measure { max-width: 66ch; }

/* Fact sheet: key, dotted leader, value */
.facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.facts li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.facts .k { color: var(--ink-3); white-space: nowrap; }
.facts .lead-dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); min-width: 20px; }
.facts .v { color: var(--ink); text-align: right; }

/* Columns of short items */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--raised); }
.cols > div { padding: 24px 22px 26px; border-left: 1px solid var(--line-soft); }
.cols > div:first-child { border-left: 0; }
.cols h3 { margin: 10px 0 8px; }
.cols p { font-size: 14px; color: var(--ink-2); }
.cols .tag { font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
.cols .tag.ac { color: var(--ac-text); }

/* Point list with marks */
.points { list-style: none; margin: 0; padding: 0; }
.points li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; color: var(--ink-2); }
.points li:first-child { border-top: 1px solid var(--line-soft); }
.points li::before { content: "+"; position: absolute; left: 4px; top: 14px; color: var(--ac-text); font-weight: 700; }
.points.no li::before { content: "-"; color: var(--warn); }
.points b { color: var(--ink); font-weight: 600; }

/* Feature grid with screens */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.grid .item h3 { margin-top: 14px; }
.grid .item p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.grid .shot { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--sunk); }
.grid .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

/* Tables */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 500; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); padding: 0 16px 10px 0; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: var(--ink-2); }
.table td:first-child { color: var(--ink); font-weight: 600; }
.scroll-x { overflow-x: auto; }

/* Diagram in a box */
.diagram { border: 1px solid var(--line); border-radius: 12px; background: var(--raised); padding: 22px 24px; overflow-x: auto; }
.diagram pre { margin: 0; font: 13.5px/1.7 var(--mono); color: var(--ink-2); }
.diagram .h { color: var(--ac-text); font-weight: 600; }

/* Notes */
.note { border: 1px solid var(--line); border-left: 3px solid var(--ac); border-radius: 8px; background: var(--raised); padding: 16px 20px; font-size: 14px; color: var(--ink-2); }
.note.warn { border-left-color: var(--warn); background: var(--warn-soft); }
.note b { color: var(--ink); }

/* Numbered steps */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 44px; font-size: 15px; }
.steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 1px;
  font-size: 12px; font-weight: 600; color: var(--ac-text); border: 1px solid var(--line); border-radius: 6px; padding: 0 5px; background: var(--raised);
}

/* Plan teaser */
.teaser { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--raised); }
.teaser a { display: block; padding: 22px 20px; text-decoration: none; color: var(--ink); border-left: 1px solid var(--line-soft); }
.teaser a:first-child { border-left: 0; }
.teaser a:hover { background: var(--sunk); }
.teaser .size { display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.teaser .price { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.teaser .per { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-3); }

/* Closing band */
.band { border-top: 1px solid var(--line-soft); padding: 72px 0; text-align: center; background:
  radial-gradient(var(--dot) 1px, transparent 1.2px) 0 0 / 22px 22px; }
.band h2 { margin: 0 auto; max-width: 24ch; }
.band .buttons { justify-content: center; margin-top: 26px; }
.band .fine { margin-top: 12px; }

/* Page head for inner pages */
.head { padding: 64px 0 40px; border-bottom: 1px solid var(--line-soft); }
.head .label { margin-bottom: 18px; display: block; }
.head h1 { max-width: 22ch; }
.head .lead { margin-top: 18px; }
.crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.crumb a { color: var(--ink-3); }

/* Feature list page */
.flist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.flist > div { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.flist h3 { font-size: 15px; }
.flist p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.only { font-size: 11px; font-weight: 500; white-space: nowrap; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; margin-left: 8px; vertical-align: 2px; }

/* App cards on the download page */
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.app { border: 1px solid var(--line); border-radius: 12px; background: var(--raised); padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.app .state { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.app .state.on { color: var(--ok); }
.app .state.off { color: var(--ink-3); }
.app p { font-size: 14px; color: var(--ink-2); }
.app .buttons { margin-top: auto; padding-top: 8px; }

/* Guides */
.glist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.glist a { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid var(--line-soft); text-decoration: none; color: var(--ink); }
.glist a:hover { background: var(--raised); }
.glist .num { font-size: 12px; color: var(--ac-text); font-weight: 600; }
.glist .ttl { font-weight: 600; }
.glist .sub { display: block; font-size: 13.5px; color: var(--ink-2); font-weight: 400; margin-top: 2px; }
.glist .go { color: var(--ink-3); }
.article { max-width: 70ch; }
.article h2 { font-size: 18px; margin: 38px 0 14px; letter-spacing: -0.02em; }
.article figure { margin: 30px 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 17px; color: var(--ink-3); font-weight: 400; font-size: 18px; }
.faq details[open] summary::after { content: "-"; }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); font-size: 14.5px; max-width: 70ch; }

/* Legal */
.legal { max-width: 74ch; }
.legal h2 { font-size: 17px; margin: 40px 0 12px; letter-spacing: -0.015em; }
.legal h2 .n { color: var(--ac-text); margin-right: 10px; }
.legal p, .legal li { font-size: 14.5px; color: var(--ink-2); }
.legal ul { padding-left: 20px; margin: 10px 0 0; }
.legal li + li { margin-top: 6px; }
.legal .table { margin-top: 14px; font-size: 13.5px; }
.tldr { border: 1px solid var(--line); border-radius: 12px; background: var(--raised); padding: 20px 24px; margin-bottom: 8px; }
.tldr .label { display: block; margin-bottom: 8px; }
.tldr ul { margin: 0; padding-left: 20px; }
.tldr li { font-size: 14px; color: var(--ink-2); }
.toc { position: sticky; top: 96px; font-size: 13px; }
.toc a { display: block; color: var(--ink-3); text-decoration: none; padding: 3px 0; }
.toc a:hover { color: var(--ink); }
.ph { background: var(--warn-soft); color: var(--warn); border-radius: 4px; padding: 0 4px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 32px; margin-top: 0; background: var(--sunk); }
.foot .cols5 { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
.foot nav a { color: var(--ink-2); text-decoration: none; font-size: 13.5px; }
.foot nav a:hover { color: var(--ink); }
.foot .about { margin-top: 14px; font-size: 13px; color: var(--ink-3); max-width: 30ch; }
.foot .base { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--ink-3); }
.btc { display: inline-flex; gap: 6px; align-items: center; }
.btc i { font-style: normal; width: 16px; height: 16px; border-radius: 50%; background: oklch(0.72 0.16 60); color: white; display: grid; place-items: center; font-size: 10px; font-weight: 700; }

/* Narrow screens */
@media (max-width: 960px) {
  .ruled { grid-template-columns: minmax(0, 1fr); }
  .rail { display: flex; gap: 10px; padding: 0 0 14px; }
  .rail .t { margin-top: 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apps { grid-template-columns: minmax(0, 1fr); }
  .foot .cols5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot .cols5 > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .top .wrap { gap: 12px; }
  .nav { display: none; }
  .burger { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; margin-left: auto; }
  .burger span { display: block; width: 14px; height: 1.5px; background: var(--ink-2); box-shadow: 0 -4px 0 var(--ink-2), 0 4px 0 var(--ink-2); }
  .acts { margin-left: auto; }
  .acts .signin { display: none; }
  .burger-box:checked ~ .nav {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--page); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 16px;
  }
  .burger-box:checked ~ .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
  .burger-box:checked ~ .nav .only-menu { display: block; }
}
.nav .only-menu { display: none; }
@media (max-width: 720px) {
  :root { --gut: 16px; }
  body { font-size: 14.5px; }
  .hero { padding: 44px 0 36px; }
  .hero-shot { margin-top: 36px; }
  .stage { padding-right: 0; }
  .stage .frame { display: none; }
  .stage .phone { position: static; width: 74%; margin: 0 auto; }
  .hero-shot figcaption { margin-top: 16px; text-align: center; }
  .sec { padding: 44px 0; }
  .cols { grid-template-columns: minmax(0, 1fr); }
  .cols > div { border-left: 0; border-top: 1px solid var(--line-soft); }
  .cols > div:first-child { border-top: 0; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .teaser { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teaser a:nth-child(3) { border-left: 0; }
  .teaser a:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
  .flist { grid-template-columns: minmax(0, 1fr); }
  .facts li { flex-wrap: wrap; gap: 2px 12px; }
  .facts .lead-dots { display: none; }
  .facts .v { text-align: left; width: 100%; }
  .head { padding: 40px 0 28px; }
  .glist a { grid-template-columns: 36px 1fr; }
  .glist .go { display: none; }
  .table.stack thead { display: none; }
  .table.stack tr { display: block; border-bottom: 1px solid var(--line); padding: 10px 0; }
  .table.stack td { display: block; border: 0; padding: 3px 0; }
  .table.stack td[data-k]::before { content: attr(data-k) ": "; color: var(--ink-3); font-weight: 400; }
}

/* Pricing: how you pay, the cycle, and the sizes with a summary that follows the pick */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.way {
  display: flex; gap: 14px; align-items: flex-start; text-align: left; padding: 18px 20px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 12px; background: var(--raised); color: var(--ink); font: inherit;
}
.way:hover { border-color: var(--ink-3); }
.way.on { border-color: var(--ac); box-shadow: 0 0 0 3px var(--ac-soft); }
.ring { flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; }
.way.on .ring { border-color: var(--ac); }
.way.on .ring::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ac); }
.way-text { display: flex; flex-direction: column; gap: 6px; }
.way-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.way-name { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.way-desc { font-size: 13.5px; color: var(--ink-2); }
.tag { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; }
.tag.ac { color: var(--ac-text); border-color: var(--ac-soft); background: var(--ac-soft); }
.btc-coin { width: 18px; height: 18px; border-radius: 50%; background: oklch(0.72 0.16 60); color: white; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; }
.switch { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--sunk); }
.switch button, .switch a { font: 500 13.5px/1 var(--mono); padding: 10px 14px; border-radius: 7px; border: 1px solid transparent; background: transparent; color: var(--ink-2); cursor: pointer; text-decoration: none; }
.switch .on { background: var(--raised); color: var(--ink); border-color: var(--line); box-shadow: 0 1px 2px oklch(0.3 0.02 255 / 0.08); }
.hint { margin-top: 12px; font-size: 13.5px; color: var(--ink-3); }
.hint.box { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; background: var(--raised); color: var(--ink-2); margin: 0 0 24px; }
.free { display: flex; gap: 20px; align-items: center; justify-content: space-between; border: 1px dashed var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 28px; }
.free p { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.picker { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.picker:not(:has(.summary)) { grid-template-columns: minmax(0, 1fr); }
.plans-head, .plan { display: grid; grid-template-columns: 28px 1.2fr 1fr 1fr; gap: 12px; align-items: center; }
.plans-head { padding: 0 18px 10px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.plans-head span:last-child, .plan .cost { text-align: right; }
.plans { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--raised); }
.plan { padding: 15px 18px; cursor: pointer; border-top: 1px solid var(--line-soft); position: relative; }
.plan:first-child { border-top: 0; }
.plan:hover { background: var(--sunk); }
.plan.off { cursor: default; color: var(--ink-3); }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan:has(input:checked) { background: var(--ac-soft); }
.plan:has(input:focus-visible) { outline: 2px solid var(--ac); outline-offset: -2px; }
.plan .dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--raised); }
.plan:has(input:checked) .dot { border: 5px solid var(--ac); }
.plan .size { font-weight: 600; font-size: 15px; }
.plan .gb { font-size: 13.5px; color: var(--ink-2); }
.plan .price { font-weight: 600; }
.plan .was { color: var(--ink-3); font-size: 12.5px; margin-right: 6px; }
.summary { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--raised); box-shadow: var(--shadow); }
.big-size { font-size: 44px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.big-size .unit { font-size: 18px; letter-spacing: 0; color: var(--ink-2); }
.big-price { margin-top: 10px !important; }
.big-price .price { font-size: 22px; font-weight: 600; }
.big-price .per { font-size: 13.5px; color: var(--ink-2); }
.sum-facts { margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.sum-facts div { display: flex; justify-content: space-between; gap: 10px; }
.sum-facts dt { color: var(--ink-3); }
.sum-facts dd { margin: 0; text-align: right; }
.summary .chosen { display: none; }
.summary .btn { width: 100%; }
.follows > * { display: none; }
.choose:has(.plan:nth-child(1) input:checked) .follows > :nth-child(1),
.choose:has(.plan:nth-child(2) input:checked) .follows > :nth-child(2),
.choose:has(.plan:nth-child(3) input:checked) .follows > :nth-child(3),
.choose:has(.plan:nth-child(4) input:checked) .follows > :nth-child(4),
.choose:has(.plan:nth-child(5) input:checked) .follows > :nth-child(5),
.choose:has(.plan:nth-child(6) input:checked) .follows > :nth-child(6),
.choose:has(.plan:nth-child(7) input:checked) .follows > :nth-child(7),
.choose:has(.plan:nth-child(8) input:checked) .follows > :nth-child(8),
.choose:has(.plan:nth-child(9) input:checked) .follows > :nth-child(9),
.choose:has(.plan:nth-child(10) input:checked) .follows > :nth-child(10),
.choose:has(.plan:nth-child(11) input:checked) .follows > :nth-child(11),
.choose:has(.plan:nth-child(12) input:checked) .follows > :nth-child(12) { display: revert; }
@media (max-width: 1000px) {
  .picker { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .summary { top: auto; bottom: 12px; z-index: 5; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: 18px; padding: 14px 16px; }
  .summary .picked, .summary .full { display: none; }
  .summary .chosen { display: block; font-weight: 600; }
  .summary .btn { width: auto; }
  .bar-text { min-width: 180px; }
  .bar-text .fine { margin-top: 2px; }
}
@media (max-width: 720px) {
  .ways { grid-template-columns: minmax(0, 1fr); }
  .free { flex-direction: column; align-items: flex-start; }
  .plans-head, .plan { grid-template-columns: 24px 1fr 1fr; }
  .plans-head span:nth-child(3), .plan .gb { display: none; }
  .phones { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .duo-figs { grid-template-columns: minmax(0, 1fr) !important; }
}

/* Checkout and the thank-you page */
.order { border: 1px solid var(--line); border-radius: 12px; background: var(--raised); padding: 22px 24px; }
.order .row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.order .row:last-child { border-bottom: 0; }
.order .total { font-weight: 600; font-size: 17px; }
.slim { max-width: 640px; }
.problem { border: 1px solid var(--warn); background: var(--warn-soft); color: var(--ink); border-radius: 8px; padding: 12px 16px; font-size: 14px; }
.sec.step { padding: 36px 0; }

/* The theme switch in the header is a form, so it works without the script. */
.mode-form { display: contents; }

/* Checkout */
.back { display: inline-block; font-size: 13.5px; color: var(--ink-3); text-decoration: none; margin-bottom: 18px; }
.back:hover { color: var(--ink); }
.order .muted { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; }
.who { margin-top: 26px; }
.who .v { font-weight: 600; margin-top: 4px; }
.pay { margin-top: 24px; }
.pay .btn { width: 100%; }
.pay + .fine { margin-top: 14px; }
.mark-key { fill: var(--ac); }
/* A narrow phone has no room for the button beside the menu; the menu holds it. */
@media (max-width: 420px) {
  .acts .btn { display: none; }
}

/* Space above a block, where the flow of the page needs more than its default. */
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-26 { margin-top: 26px; }
.mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }
.mt-36 { margin-top: 36px; }
.duo-figs { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 36px; }
.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
/* A wide screen beside a phone: the phone keeps a phone's width. */
.duo-figs.with-phone { grid-template-columns: minmax(0, 1fr) 230px; align-items: start; }
@media (max-width: 720px) { .duo-figs.with-phone figure:last-child { width: 70%; margin: 0 auto; } }
/* One phone screen on its own. */
.solo-phone { max-width: 230px; margin-top: 32px; }
/* The links to the sections of a long page, under its head. */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.toc a { font-size: 13px; color: var(--ink-2); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; background: var(--raised); }
.toc a:hover { color: var(--ink); border-color: var(--ink-3); }
.hero .eyebrow { flex-wrap: wrap; }
.hero .eyebrow .pill { white-space: nowrap; }
