/* =================================================================
   DynoServers - dyno.css
   Concept: a dyno printout. Graph paper, one red power curve,
   spec numbers set condensed and tabular.
   ================================================================= */

:root {
  --paper:      #f6f8f6;
  --paper-2:    #eef2ef;
  --white:      #ffffff;
  --grid:       #dfe7e3;
  --grid-major: #c6d3cd;
  --ink:        #18212e;
  --ink-2:      #4b5869;
  --ink-3:      #6c7887;
  --red:        #c8232c;
  --red-dk:     #a51b23;
  --blue:       #1d56b0;
  --us:         #1d56b0;
  --ca:         #0f7671;
  --eu:         #a8661a;
  --ok:         #146c43;
  --radius:     6px;
  --wide:       "wdth" 118;
  --cond:       "wdth" 75;
}

/* ---------- base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: tabular-nums;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1 0 auto; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.01em; }
h1 { font-weight: 800; font-variation-settings: var(--wide); }
h2 { font-weight: 750; font-size: 1.5rem; font-variation-settings: "wdth" 108; margin: 2rem 0 .75rem; }
h3 { font-weight: 700; font-size: 1.1rem; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
code { color: var(--ink); background: var(--paper-2); padding: .1em .35em; border-radius: 3px; font-size: .9em; }
.container { max-width: 1240px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 2000; }
.skip:focus { left: 1rem; top: 1rem; }
.small { font-size: .9rem; color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn-order, .btn-ghost {
  display: inline-block; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: .8rem 1.35rem; border-radius: var(--radius); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-order { background: var(--red); color: #fff; border: 2px solid var(--red); }
.btn-order:hover { background: var(--red-dk); border-color: var(--red-dk); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- promo strip ---------- */
.promo { background: var(--ink); color: #e9eef3; font-size: .9rem; }
.promo-in { display: flex; align-items: center; justify-content: center; gap: 1rem; position: relative; padding: .45rem 2.5rem; }
.promo p { margin: 0; text-align: center; }
.promo code { background: transparent; color: #fff; border: 1px dashed #8b98a8; font-weight: 700; letter-spacing: .04em; padding: .05rem .45rem; }
.promo-x { position: absolute; right: .75rem; background: none; border: 0; color: #aab5c2; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: .25rem; }
.promo-x:hover { color: #fff; }

/* ---------- header ---------- */
.top { background: var(--white); border-bottom: 1px solid var(--grid-major); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-mark rect { fill: var(--red); }
.brand-mark path { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; }
.brand-mark circle { fill: #fff; }
.brand-word { font-size: 1.45rem; letter-spacing: -.02em; font-weight: 400; font-variation-settings: "wdth" 100; color: var(--ink-2); }
.brand-word b { font-weight: 850; font-variation-settings: "wdth" 125; color: var(--ink); }
.nav-main ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.nav-main a { display: block; padding: .5rem .8rem; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: var(--radius); }
.nav-main a:hover { background: var(--paper-2); color: var(--ink); }
.nav-main a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.nav-toggle { display: none; font: inherit; font-weight: 700; background: none; border: 2px solid var(--ink); border-radius: var(--radius); padding: .35rem .8rem; color: var(--ink); }
@media (max-width: 991.98px) {
  .nav-toggle { display: block; }
  .nav-main { display: none; width: 100%; padding-bottom: .75rem; }
  .nav-main.open { display: block; }
  .nav-main ul { flex-direction: column; }
  .nav-main a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); }
}

/* ---------- hero (graph paper) ---------- */
.hero {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  border-bottom: 1px solid var(--grid-major);
  padding: 3.25rem 0 3rem;
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2rem, 3.6vw, 3.05rem); font-variation-settings: "wdth" 110; margin: 0 0 1rem; max-width: 18ch; }
.hero-sub h1 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); max-width: 22ch; }
.hero .lead, .hero .lead p { font-size: 1.15rem; font-weight: 400; color: var(--ink-2); max-width: 52ch; margin: 0 0 1.5rem; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin: 0; }
.hero-plain { padding: 2.5rem 0 2.25rem; }
.hero-plain h1 { max-width: 28ch; }
.hero .meta { color: var(--ink-3); font-size: .95rem; margin: 0; }
@media (max-width: 991.98px) {
  .hero-in { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding: 2.25rem 0; }
}

/* the dyno chart */
.dyno { margin: 0; background: var(--white); border: 1px solid var(--grid-major); border-radius: var(--radius); padding: 1rem 1rem .75rem; box-shadow: 0 1px 0 var(--grid-major); }
.dyno svg { display: block; width: 100%; height: auto; }
.dyno figcaption { font-size: .85rem; color: var(--ink-3); padding: .5rem .25rem 0; border-top: 1px solid var(--grid); margin-top: .5rem; }
.dyno .g-minor { fill: none; stroke: var(--grid); stroke-width: .6; }
.dyno .g-major { stroke: var(--grid-major); stroke-width: 1; }
.dyno .g-v { stroke-dasharray: 2 3; }
.dyno .ax { font-family: "Archivo", sans-serif; font-size: 13px; fill: var(--ink-3); font-variation-settings: var(--cond); }
.dyno .ax-y { text-anchor: end; }
.dyno .ax-x { text-anchor: middle; }
.dyno .ax-t { text-anchor: middle; font-weight: 600; fill: var(--ink-2); }
.dyno .curve { fill: none; stroke: var(--red); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.3,.6,.2,1) .2s forwards; }
.dyno .pt { fill: var(--white); stroke: var(--red); stroke-width: 2.5; opacity: 0; animation: pop .3s ease-out 1.5s forwards; }
.dyno .pt:hover { fill: var(--red); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .dyno .curve { animation: none; stroke-dashoffset: 0; }
  .dyno .pt { animation: none; opacity: 1; }
}

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; padding: 0; margin: 0 0 1rem; font-size: .9rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--grid-major); }
.crumbs a { color: var(--ink-2); }

/* ---------- filter bar ---------- */
.filters { background: var(--white); border-bottom: 1px solid var(--grid-major); padding: .85rem 0; z-index: 50; }
@media (min-width: 992px) { .filters { position: sticky; top: 0; } }
.filters-in { display: flex; flex-wrap: wrap; gap: .75rem .75rem; align-items: flex-end; }
@media (min-width: 1200px) { .filters-in { flex-wrap: nowrap; } .fld select { max-width: 190px; } }
.fld { display: flex; flex-direction: column; gap: .2rem; margin: 0; }
.fld span { font-size: .8rem; font-weight: 650; color: var(--ink-2); }
.fld select, .fld input {
  font: inherit; font-size: .92rem; color: var(--ink); background: var(--paper); border: 1px solid var(--grid-major);
  border-radius: var(--radius); padding: .45rem .6rem; min-height: 40px;
}
.fld select { padding-right: 1.8rem; }
.fld select:hover, .fld input:hover { border-color: var(--ink-3); }
.fld-search { flex: 1 1 170px; }
.fld-search input { width: 100%; }
.btn-apply { font: inherit; font-weight: 700; background: var(--ink); color: #fff; border: 0; border-radius: var(--radius); padding: .5rem 1rem; }
@media (max-width: 575.98px) {
  .filters-in { display: grid; grid-template-columns: 1fr 1fr; }
  .fld-search { grid-column: 1 / -1; }
  .fld select { width: 100%; }
}

/* ---------- listing ---------- */
.listing { padding-top: 1.25rem; padding-bottom: 2.5rem; }
.count { display: flex; flex-wrap: wrap; gap: .25rem .6rem; align-items: baseline; color: var(--ink-2); margin: 0 0 .9rem; }
.count strong { color: var(--ink); }
.count .reset { font-weight: 600; }
.count .fresh { margin-left: auto; font-size: .875rem; color: var(--ink-3); }

.srv-list { background: var(--white); border: 1px solid var(--grid-major); border-radius: var(--radius); overflow: hidden; }
.spec-head, .srv {
  display: grid;
  grid-template-columns: 1.05fr 1.7fr .75fr 1.45fr 1.15fr 1.35fr;
  gap: 1rem; align-items: center; padding: .85rem 1.1rem;
}
.spec-head { background: var(--paper-2); border-bottom: 1px solid var(--grid-major); font-size: .8rem; font-weight: 650; color: var(--ink-2); padding-top: .55rem; padding-bottom: .55rem; }
.srv { border-bottom: 1px solid var(--grid); cursor: pointer; position: relative; }
.srv:last-child { border-bottom: 0; }
.srv:hover { background: #fbfcfb; }
.srv:hover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); }
.srv .lbl { display: none; }
.srv-loc a { color: var(--ink); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.srv-loc a:hover { color: var(--red); }
.srv-loc .cc { font-size: .75rem; font-weight: 700; color: var(--ink-3); margin-left: .1rem; }
.srv-loc.g-usa .cc { color: var(--us); }
.srv-loc.g-canada .cc { color: var(--ca); }
.srv-loc.g-europe .cc { color: var(--eu); }
.srv-cpu h3 { font-size: 1rem; font-weight: 700; margin: 0; letter-spacing: 0; line-height: 1.25; }
.srv-cpu .sub { font-size: .85rem; color: var(--ink-3); }
.srv-ram { font-weight: 650; }
.srv-disk, .srv-net { font-size: .93rem; color: var(--ink-2); line-height: 1.35; }
.srv-buy { display: flex; align-items: center; justify-content: flex-end; gap: .9rem; }
.price { text-align: right; line-height: 1; white-space: nowrap; }
.price strong { font-size: 1.5rem; font-weight: 800; font-variation-settings: var(--cond); letter-spacing: -.01em; }
.price span { font-size: .8rem; color: var(--ink-3); margin-left: 1px; }
.price s { display: block; font-size: .8rem; color: var(--ink-3); margin-bottom: .2rem; }
.btn-see { font: inherit; font-size: .88rem; font-weight: 700; color: var(--ink); background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: .45rem .7rem; white-space: nowrap; cursor: pointer; }
.srv:hover .btn-see, .btn-see:hover { background: var(--red); border-color: var(--red); color: #fff; }

.tag { display: inline-block; font-size: .68rem; font-weight: 750; padding: .1rem .38rem; border-radius: 3px; vertical-align: 1px; margin-left: .25rem; line-height: 1.4; }
.tag-ssd { background: #e3f1ea; color: var(--ok); }
.tag-hdd { background: #f6ecdc; color: #8a5413; }
.tag-gpu { background: #ece7f7; color: #4b2a8f; }

.empty { padding: 3rem 1.5rem; text-align: center; }
.empty h2 { margin-top: 0; font-size: 1.3rem; }

@media (max-width: 991.98px) {
  .spec-head { display: none; }
  .srv { grid-template-columns: 1fr 1fr 1fr; grid-template-areas: "loc loc buy" "cpu cpu cpu" "ram disk net"; gap: .55rem 1rem; padding: 1rem; }
  .srv-loc { grid-area: loc; } .srv-cpu { grid-area: cpu; } .srv-ram { grid-area: ram; }
  .srv-disk { grid-area: disk; } .srv-net { grid-area: net; } .srv-buy { grid-area: buy; }
  .srv .lbl { display: block; font-size: .75rem; font-weight: 650; color: var(--ink-3); }
  .srv-buy .btn-see { display: none; }
}
@media (max-width: 575.98px) {
  .srv { grid-template-columns: 1fr 1fr; grid-template-areas: "loc buy" "cpu cpu" "ram disk" "net net"; }
}

/* pager */
.pager ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; padding: 0; margin: 1.5rem 0 0; }
.pager a, .pager span { display: block; min-width: 42px; padding: .5rem .75rem; text-align: center; border: 1px solid var(--grid-major); border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; }
.pager a:hover { border-color: var(--ink); }
.pager [aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager .gap { padding: .5rem .25rem; color: var(--ink-3); }

/* ---------- locations band ---------- */
.band { background: var(--white); border-top: 1px solid var(--grid-major); border-bottom: 1px solid var(--grid-major); padding: 3rem 0; }
.band h2 { margin-top: 0; }
.band-lead { color: var(--ink-2); max-width: 60ch; }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem 2.5rem; margin-top: 1.5rem; }
.loc-col h3 { font-size: 1.05rem; margin: 0 0 .5rem; padding-bottom: .5rem; border-bottom: 2px solid var(--ink); }
.loc-col h3 a { color: var(--ink); text-decoration: none; }
.loc-col h3 a:hover { color: var(--red); }
.loc-col ul { list-style: none; padding: 0; margin: 0; }
.loc-col li a { display: flex; align-items: center; gap: .5rem; padding: .4rem 0; border-bottom: 1px solid var(--grid); color: var(--ink); text-decoration: none; }
.loc-col li a span:not(.flag) { flex: 1; }
.loc-col li a em { font-style: normal; font-size: .88rem; color: var(--ink-3); }
.loc-col li a:hover span { color: var(--red); }

/* ---------- prose + FAQ ---------- */
.prose-wrap { padding: 3rem 0 3.5rem; }
.prose-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
@media (max-width: 991.98px) { .prose-grid { grid-template-columns: 1fr; gap: 2rem; } }
.prose { max-width: 70ch; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: #273242; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .35rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; background: var(--white); }
.prose th, .prose td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--grid); vertical-align: top; }
.prose thead th { border-bottom: 2px solid var(--ink); font-weight: 700; }
.prose tbody th { font-weight: 650; }
.steps { counter-reset: s; list-style: none; padding-left: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 2.6rem; margin-bottom: 1rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: .1rem; width: 1.8rem; height: 1.8rem; border: 2px solid var(--red); color: var(--red); border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.facts { width: 100%; max-width: 480px; }
.city-list { list-style: none; padding: 0 !important; }
.city-list li { padding: .45rem 0; border-bottom: 1px solid var(--grid); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; }
.city-list span { color: var(--ink-3); font-size: .9rem; }

.faq h2 { margin-top: 0; font-size: 1.3rem; }
.faq details { border-top: 1px solid var(--grid-major); }
.faq details:last-child { border-bottom: 1px solid var(--grid-major); }
.faq summary { cursor: pointer; list-style: none; padding: .9rem 2rem .9rem 0; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .7rem; font-size: 1.3rem; font-weight: 400; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 1rem; color: var(--ink-2); }
.faq-a p { margin: 0 0 .5rem; }

/* ---------- locations page ---------- */
.loc-page { padding-top: 2.5rem; padding-bottom: 3rem; }
.loc-group { margin-bottom: 2.5rem; }
.loc-group h2 { margin-top: 0; }
.loc-group h2 a { color: var(--ink); text-decoration: none; }
.loc-group h2 a:hover { color: var(--red); }
.loc-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--grid-major); }
.loc-table th, .loc-table td { padding: .7rem .9rem; border-bottom: 1px solid var(--grid); text-align: left; vertical-align: top; }
.loc-table thead th { background: var(--paper-2); font-size: .85rem; color: var(--ink-2); font-weight: 650; }
.loc-table tbody th a { font-weight: 700; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.loc-table tbody th a:hover { color: var(--red); }
.loc-table td { color: var(--ink-2); font-size: .95rem; }
.loc-table td:nth-child(3), .loc-table td:nth-child(4) { white-space: nowrap; }
@media (max-width: 767.98px) {
  .loc-table thead { display: none; }
  .loc-table tr { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: .7rem .9rem; border-bottom: 1px solid var(--grid); }
  .loc-table th, .loc-table td { padding: 0; border: 0; }
  .loc-table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .loc-table td:nth-child(3) { display: none; }
  .loc-table td:nth-child(4) { grid-column: 2; grid-row: 1; font-weight: 700; color: var(--ink); }
}
.loc-help { margin-top: 1rem; }

/* ---------- guides ---------- */
.guide-list { padding-top: 2.5rem; padding-bottom: 3rem; }
.guide-list > * { max-width: 820px; }
.guide-item { padding: 1.25rem 0; border-bottom: 1px solid var(--grid-major); }
.guide-item h2 { margin: 0 0 .35rem; font-size: 1.4rem; }
.guide-item h2 a { color: var(--ink); text-decoration: none; }
.guide-item h2 a:hover { color: var(--red); }
.guide-item p { margin: 0 0 .25rem; color: var(--ink-2); }
.guide-item .meta { font-size: .875rem; color: var(--ink-3); }
.article-grid { padding-top: 2.5rem; padding-bottom: 3.5rem; }
.article h2 { font-size: 1.45rem; margin-top: 2.25rem; }
.article-side { position: sticky; top: 90px; }
.related { margin-top: 2rem; }
.related h2 { font-size: 1.1rem; margin: 0 0 .5rem; }
.related ul { padding-left: 1.1rem; }
@media (max-width: 991.98px) { .article-side { position: static; } }

/* ---------- about / contact / 404 ---------- */
.about { padding-top: 2.5rem; padding-bottom: 3.5rem; }
.facts-card { background: var(--white); border: 1px solid var(--grid-major); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.facts-card h2 { font-size: 1.05rem; margin: 1.25rem 0 .4rem; }
.facts-card h2:first-child { margin-top: 0; }
.facts-card address, .facts-card p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.facts-card ul { padding-left: 1.1rem; margin: 0; }

.contact { padding-top: 2.5rem; padding-bottom: 3.5rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (max-width: 991.98px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { background: var(--white); border: 1px solid var(--grid-major); border-radius: var(--radius); padding: 1.75rem; }
.contact-form h2 { margin-top: 0; font-size: 1.3rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 575.98px) { .two { grid-template-columns: 1fr; } }
.fieldset { margin-bottom: 1rem; }
.fieldset label, .lg-tests legend { display: block; font-weight: 650; font-size: .92rem; margin-bottom: .3rem; }
.fieldset input, .fieldset textarea, .fieldset select {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--grid-major);
  border-radius: var(--radius); padding: .6rem .75rem;
}
.fieldset input:focus, .fieldset textarea:focus, .fieldset select:focus { border-color: var(--blue); background: var(--white); }
[aria-invalid="true"] { border-color: var(--red) !important; }
.field-err { color: var(--red-dk); font-size: .88rem; margin: .3rem 0 0; font-weight: 600; }
.form-alert { background: #fbe9ea; border-left: 4px solid var(--red); padding: .75rem 1rem; color: var(--red-dk); }
.captcha { display: grid; grid-template-columns: auto auto 1fr; gap: .5rem 1rem; align-items: end; background: var(--paper); border: 1px solid var(--grid); border-radius: var(--radius); padding: 1rem; margin-bottom: 1.25rem; }
.captcha img { border: 1px solid var(--grid-major); border-radius: 4px; background: #fff; }
.captcha-new { font: inherit; font-size: .85rem; font-weight: 650; background: none; border: 1.5px solid var(--ink-3); border-radius: var(--radius); padding: .4rem .65rem; color: var(--ink); cursor: pointer; align-self: center; }
.captcha .fieldset { margin: 0; }
@media (max-width: 575.98px) { .captcha { grid-template-columns: auto 1fr; } .captcha .fieldset { grid-column: 1 / -1; } }
.sent { max-width: 560px; padding: 2rem 0; }
.sent h2 { margin-top: 0; }

.nf { padding-top: 2rem; padding-bottom: 3.5rem; }
.nf-links { columns: 2; padding-left: 1.1rem; }

/* ---------- looking glass ---------- */
.lg { padding-top: 2.5rem; padding-bottom: 3.5rem; }
.lg-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 1.5rem; align-items: stretch; }
@media (max-width: 991.98px) { .lg-grid { grid-template-columns: 1fr; } }
.panel { background: var(--white); border: 1px solid var(--grid-major); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem; }
.panel h2 { font-size: 1.1rem; margin: 0 0 .9rem; }
.lg-tests { border: 0; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.lg-tests legend { grid-column: 1 / -1; }
.radio { display: flex; align-items: center; gap: .45rem; font-size: .92rem; padding: .45rem .6rem; border: 1px solid var(--grid-major); border-radius: var(--radius); cursor: pointer; }
.radio:has(input:checked) { border-color: var(--ink); background: var(--paper-2); font-weight: 650; }
.radio input { accent-color: var(--red); }
#lg-run, #lg-stop { width: 100%; margin-top: .25rem; }
.lg-ips { list-style: none; padding: 0; margin: 0; max-height: 300px; overflow-y: auto; }
.lg-ips li { display: flex; justify-content: space-between; gap: .5rem; padding: .35rem 0; border-bottom: 1px solid var(--grid); font-size: .88rem; }
.lg-ips span { color: var(--ink-2); }
.lg-use-ip { font: inherit; font-size: .85rem; font-variant-numeric: tabular-nums; background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; text-decoration: underline; text-underline-offset: .15em; }
.lg-out { display: flex; flex-direction: column; border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; min-height: 520px; background: #10161f; }
.lg-out-head { display: flex; justify-content: space-between; align-items: center; padding: .6rem 1rem; background: var(--ink); color: #dbe3ec; font-weight: 650; font-size: .9rem; }
.lg-copy { font: inherit; font-size: .8rem; background: transparent; color: #dbe3ec; border: 1px solid #5d6b7c; border-radius: 4px; padding: .2rem .6rem; cursor: pointer; }
#lg-output { flex: 1; margin: 0; padding: 1rem 1.1rem; color: #d3dae3; font: .85rem/1.6 ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all; overflow-y: auto; }
.lg-help { margin-top: 2.5rem; }

/* ---------- modal ---------- */
.sheet { border: 0; border-top: 5px solid var(--red); border-radius: var(--radius); }
.sheet .modal-header { background: var(--paper); border-bottom: 1px solid var(--grid-major); align-items: flex-start; padding: 1.1rem 1.4rem; }
.sheet .modal-title { font-size: 1.35rem; font-weight: 800; font-variation-settings: "wdth" 110; margin: 0; }
.m-loc { margin: 0 0 .2rem; font-weight: 650; color: var(--ink-2); font-size: .92rem; }
.sheet .modal-body { padding: 1.4rem; }
.m-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.75rem; align-items: start; }
@media (max-width: 767.98px) { .m-grid { grid-template-columns: 1fr; } }
.m-spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.m-spec th { color: var(--ink-3); font-weight: 600; padding: .45rem 1rem .45rem 0; white-space: nowrap; vertical-align: top; width: 1%; }
.m-spec td { padding: .45rem 0; font-weight: 550; border-bottom: 1px solid var(--grid); }
.m-spec tr:first-child td { padding-top: 0; }
.m-spec tr:first-child th { padding-top: 0; }
.m-buy { background: var(--paper); border: 1px solid var(--grid-major); border-radius: var(--radius); padding: 1.25rem; text-align: center; }
.m-price { margin-bottom: 1rem; line-height: 1; }
.m-price .big { font-size: 2.6rem; font-weight: 850; font-variation-settings: var(--cond); }
.m-price .per { display: block; color: var(--ink-3); font-size: .9rem; margin-top: .35rem; }
.m-price s { display: block; color: var(--ink-3); font-size: .9rem; margin-bottom: .35rem; }
.m-buy .btn-order { display: block; width: 100%; }
.m-note { font-size: .85rem; color: var(--ink-3); margin: .6rem 0 0; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #b9c4d0; padding: 3rem 0 1.5rem; font-size: .93rem; margin-top: auto; }
.foot a { color: #e6ebf1; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem; }
@media (max-width: 991.98px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot h2 { font-size: .95rem; font-weight: 700; color: #fff; margin: 0 0 .6rem; letter-spacing: 0; }
.foot h2.mt { margin-top: 1.4rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { padding: .15rem 0; }
.foot-brand p { max-width: 36ch; margin: .9rem 0; }
.foot address { margin: 0; line-height: 1.55; }
.brand-inv .brand-word { color: #aeb9c6; }
.brand-inv .brand-word b { color: #fff; }
.foot-legal { border-top: 1px solid #2c3746; margin: 2.25rem 0 0; padding-top: 1.25rem; font-size: .85rem; color: #8f9cab; }

/* ---------- flags (trimmed sprite) ---------- */
.flag{display:inline-block;width:16px;height:11px;background:url(/images/flags.png?v=2) no-repeat 0 0;vertical-align:-1px;border-radius:1px}
.flag-US{background-position:-0px 0;}
.flag-CA{background-position:-16px 0;}
.flag-GB{background-position:-32px 0;}
.flag-UK{background-position:-48px 0;}
.flag-NL{background-position:-64px 0;}
.flag-DE{background-position:-80px 0;}
.flag-FR{background-position:-96px 0;}
.flag-ES{background-position:-112px 0;}
.flag-IT{background-position:-128px 0;}
.flag-CH{background-position:-144px 0;width:11px;}
.flag-PL{background-position:-160px 0;}
.flag-SE{background-position:-176px 0;}
.flag-IE{background-position:-192px 0;}
.flag-BE{background-position:-208px 0;}
.flag-AT{background-position:-224px 0;}
.flag-PT{background-position:-240px 0;}
.flag-DK{background-position:-256px 0;}
.flag-NO{background-position:-272px 0;}
.flag-FI{background-position:-288px 0;}
.flag-CZ{background-position:-304px 0;}
.flag-RO{background-position:-320px 0;}
.flag-BG{background-position:-336px 0;}
.flag-LU{background-position:-352px 0;}
.flag-JP{background-position:-368px 0;}
.flag-SG{background-position:-384px 0;}
.flag-AU{background-position:-400px 0;}
.flag-HK{background-position:-416px 0;}
.flag-BR{background-position:-432px 0;}
.flag-MX{background-position:-448px 0;}
.flag-IN{background-position:-464px 0;}
.flag-ZA{background-position:-480px 0;}
