/* Self-hosted IBM Plex web fonts, SIL Open Font License 1.1 */
@font-face{font-family:'Plex Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/ibm-plex-sans-cyrillic-400-normal.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Plex Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/ibm-plex-sans-latin-ext-400-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Plex Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Plex Sans';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/ibm-plex-sans-cyrillic-500-normal.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Plex Sans';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/ibm-plex-sans-latin-ext-500-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Plex Sans';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Plex Sans';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/ibm-plex-sans-cyrillic-600-normal.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Plex Sans';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/ibm-plex-sans-latin-ext-600-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Plex Sans';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Plex Condensed';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/ibm-plex-sans-condensed-latin-ext-600-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Plex Condensed';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/ibm-plex-sans-condensed-latin-600-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/ibm-plex-mono-latin-ext-400-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/ibm-plex-mono-latin-ext-500-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

/* ==========================================================================
   BGP.international - main stylesheet
   A PlusLayer service. Copyright (c) PlusLayer. All rights reserved.
   Author: Sami Serdar NAYMANLI

   Palette: deep charcoal / slate base, electric teal and emerald accents.
   Type:    IBM Plex Sans Condensed (headings), IBM Plex Sans (text),
            IBM Plex Mono (routing data only: ASNs, prefixes, protocols).

   Contents
     1.  Design tokens and themes
     2.  Base
     3.  Buttons
     4.  Header, navigation, language and theme switches
     5.  Hero and headline wave
     6.  Failover diagram
     7.  Fibre background
     8.  Sections and spacing rhythm
     9.  Shared components (routes, steps, checklists, whois, FAQ, CTA)
     10. Service pages
     11. Pricing
     12. Order, payment and card payment
     13. About
     14. Contact, map, captcha and cookie notice
     15. Legal pages
     16. Sitemap page
     17. 404 and language router
     18. Footer
     19. Justified text
     20. Responsive layout, motion and print
   ========================================================================== */


/* 1. Design tokens and themes
   ========================================================================== */

:root {
  --bg: #1b2128;
  --bg-raised: #222a32;
  --bg-sunk: #161b21;
  --line: #36424d;
  --line-soft: #2b343d;
  --line-footer: var(--line-soft);
  --ink: #e4eaee;
  --ink-2: #a3b0ba;
  --ink-3: #85939e;
  --accent: #1fc8b4;
  --accent-ink: #06231f;
  --emerald: #3ddc97;
  --amber: #f2a541;
  --focus: #7ff0e2;
  --fiber: #1fc8b4;
  --fiber-op: 0.13;
  --pulse-op: 0.75;

  --f-head: 'Plex Condensed', 'Plex Sans', 'Arial Narrow', system-ui, sans-serif;
  --f-text: 'Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --r-sm: 6px;
  --r-md: 10px;
  color-scheme: dark;
}

/* Light palette: an explicit choice, or "auto" with a light operating system theme */
:root[data-theme="light"] {
  --bg: #eef2f4; --bg-raised: #ffffff; --bg-sunk: #e3e9ec; --line: #c4ced5; --line-soft: #d7dfe4; --line-footer: #c8d1d7;
  --ink: #15202a; --ink-2: #485764; --ink-3: #5a6973;
  --accent: #087468; --accent-ink: #ffffff; --emerald: #0c7649; --amber: #995708; --focus: #087468;
  --fiber: #2c6f7a; --fiber-op: 0.12; --pulse-op: 0.5;
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root[data-theme="auto"] {
    --bg: #eef2f4; --bg-raised: #ffffff; --bg-sunk: #e3e9ec; --line: #c4ced5; --line-soft: #d7dfe4; --line-footer: #c8d1d7;
    --ink: #15202a; --ink-2: #485764; --ink-3: #5a6973;
    --accent: #087468; --accent-ink: #ffffff; --emerald: #0c7649; --amber: #995708; --focus: #087468;
    --fiber: #2c6f7a; --fiber-op: 0.12; --pulse-op: 0.5;
    color-scheme: light;
  }
}

/* Plex Sans Condensed has no Cyrillic glyphs: Russian headings use Plex Sans throughout */
:lang(ru) { --f-head: 'Plex Sans', system-ui, sans-serif; }


/* 2. Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; line-height: 1.12; margin: 0 0 0.6em; letter-spacing: -0.005em; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.3vw, 3.6rem); line-height: 1.04; }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.15rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-2); }
.small { font-size: 0.9rem; }
.mono { font-family: var(--f-mono); }
.nohy { -webkit-hyphens: manual; hyphens: manual; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--accent); color: var(--accent-ink); padding: 0.6rem 1rem; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: 1rem; }


/* 3. Buttons
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.9rem; padding: 0.65rem 1.25rem;
  font: 500 1rem/1.2 var(--f-text); text-decoration: none; white-space: nowrap;
  border-radius: var(--r-sm); border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-sm { min-height: 2.4rem; padding: 0.45rem 0.9rem; font-size: 0.95rem; }
.btn-xs { min-height: 1.9rem; padding: 0.2rem 0.6rem; font-size: 0.85rem; font-weight: 500; }
.btn-lg { min-height: 3.1rem; padding: 0.75rem 1.6rem; font-size: 1.05rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn.is-copied { border-color: var(--accent); color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.more-link { align-self: center; font-weight: 600; color: var(--accent); text-underline-offset: 0.2em; }
.more-link::after { content: " \203A"; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-2); cursor: pointer; text-align: left; }
.linklike:hover { color: var(--ink); text-decoration: underline; }


/* 4. Header, navigation, language and theme switches
   ========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; color: var(--ink); flex: none; }
.brand-name { font: 600 1.3rem/1 var(--f-head); letter-spacing: -0.01em; }
.brand-tld { color: var(--ink-2); font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.site-nav > ul { display: flex; list-style: none; gap: 0.25rem; }
.site-nav > ul a { display: block; white-space: nowrap; padding: 0.5rem 0.7rem; color: var(--ink-2); text-decoration: none; border-radius: var(--r-sm); font-weight: 500; }
.site-nav > ul a:hover { color: var(--ink); background: var(--bg-raised); }
.site-nav > ul a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav-tools { display: flex; align-items: center; gap: 0.5rem; }
.nav-toggle { display: none; }

/* Controls that need scripts are hidden when scripts do not run */
html:not(.js) .theme-toggle, html:not(.js) .fo-replay, html:not(.js) .map-load,
html:not(.js) [data-copy], html:not(.js) [data-copy-target], html:not(.js) .cookie-open { display: none; }

/* Language menu */
.lang { position: relative; }
.lang summary, .theme-toggle {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.5rem; padding: 0.35rem 0.7rem;
  color: var(--ink-2); background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm);
  font: 500 0.92rem/1 var(--f-text); cursor: pointer; list-style: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .theme-toggle:hover { color: var(--ink); border-color: var(--ink-3); }
.lang summary svg, .theme-toggle svg { width: 18px; height: 18px; }
.lang .lang-list {
  display: block;
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 11rem; z-index: 60;
  list-style: none; padding: 0.35rem; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.lang .lang-list a { display: flex; align-items: center; gap: 0.65rem; padding: 0.55rem 0.7rem; white-space: nowrap; color: var(--ink); text-decoration: none; border-radius: var(--r-sm); }
.lang .lang-list a:hover { background: var(--bg-sunk); }
.lang .lang-list a[aria-current="true"] { color: var(--accent); }
.flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(127, 127, 127, 0.35); flex: none; }
.footer-tools .lang .lang-list { top: auto; bottom: calc(100% + 6px); left: 0; right: auto; }

/* The theme button shows the icon of the current mode */
.theme-toggle .ti { display: none; }
.theme-toggle[data-mode="auto"] .ti-auto, .theme-toggle:not([data-mode]) .ti-auto,
.theme-toggle[data-mode="light"] .ti-light, .theme-toggle[data-mode="dark"] .ti-dark { display: block; }


/* 5. Hero and headline wave
   ========================================================================== */

.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line-soft); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 1.3rem + 2.2vw, 2.9rem); line-height: 1.24; max-width: none; text-wrap: balance; }
.hero .lead { max-width: none; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.hero-note { margin-top: 1.5rem; color: var(--ink-3); font-size: 0.95rem; }

/* Animated wave under the key phrase of the headline ([[...]] in the language files).
   The wave is an SVG tile in the background; it stops for visitors who prefer reduced motion. */
.wave {
  --wave: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2740%27 height=%2714%27 viewBox=%270 0 40 14%27%3E%3Cdefs%3E%3Cfilter id=%27g%27 x=%27-10%25%27 y=%27-60%25%27 width=%27120%25%27 height=%27220%25%27%3E%3CfeGaussianBlur stdDeviation=%271.9%27/%3E%3C/filter%3E%3C/defs%3E%3Cpath d=%27M0 7 Q10 4.4 20 7 T40 7%27 fill=%27none%27 stroke=%27%231fc8b4%27 stroke-width=%273.6%27 opacity=%27.7%27 filter=%27url(%23g)%27/%3E%3Cpath d=%27M0 7 Q10 4.4 20 7 T40 7%27 fill=%27none%27 stroke=%27%231fc8b4%27 stroke-width=%271.6%27 stroke-linecap=%27round%27/%3E%3C/svg%3E");
  background-image: var(--wave); background-repeat: repeat-x; background-size: 40px 14px; background-position: 0 100%;
  padding-bottom: 0.2em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
:root[data-theme="light"] .wave { --wave: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2740%27 height=%2714%27 viewBox=%270 0 40 14%27%3E%3Cdefs%3E%3Cfilter id=%27g%27 x=%27-10%25%27 y=%27-60%25%27 width=%27120%25%27 height=%27220%25%27%3E%3CfeGaussianBlur stdDeviation=%271.9%27/%3E%3C/filter%3E%3C/defs%3E%3Cpath d=%27M0 7 Q10 4.4 20 7 T40 7%27 fill=%27none%27 stroke=%27%23087468%27 stroke-width=%273.6%27 opacity=%27.7%27 filter=%27url(%23g)%27/%3E%3Cpath d=%27M0 7 Q10 4.4 20 7 T40 7%27 fill=%27none%27 stroke=%27%23087468%27 stroke-width=%271.6%27 stroke-linecap=%27round%27/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: light) { :root[data-theme="auto"] .wave { --wave: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2740%27 height=%2714%27 viewBox=%270 0 40 14%27%3E%3Cdefs%3E%3Cfilter id=%27g%27 x=%27-10%25%27 y=%27-60%25%27 width=%27120%25%27 height=%27220%25%27%3E%3CfeGaussianBlur stdDeviation=%271.9%27/%3E%3C/filter%3E%3C/defs%3E%3Cpath d=%27M0 7 Q10 4.4 20 7 T40 7%27 fill=%27none%27 stroke=%27%23087468%27 stroke-width=%273.6%27 opacity=%27.7%27 filter=%27url(%23g)%27/%3E%3Cpath d=%27M0 7 Q10 4.4 20 7 T40 7%27 fill=%27none%27 stroke=%27%23087468%27 stroke-width=%271.6%27 stroke-linecap=%27round%27/%3E%3C/svg%3E"); } }
@media (prefers-reduced-motion: no-preference) {
  .wave { animation: wave-flow 2.2s linear infinite; }
  @keyframes wave-flow { to { background-position: 40px 100%; } }
}


/* 6. Failover diagram (the one animated story on the site)
   ========================================================================== */

.failover { margin: 0; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1rem 0; overflow: hidden; }
.fo-head { display: flex; justify-content: space-between; align-items: center; padding: 0 0.25rem 0.5rem; }
.fo-title { font: 600 1.05rem/1.2 var(--f-head); }
.fo-replay { display: inline-flex; align-items: center; gap: 0.35rem; background: none; border: 0; color: var(--ink-2); font: 500 0.88rem var(--f-text); cursor: pointer; padding: 0.35rem 0.5rem; border-radius: var(--r-sm); }
.fo-replay:hover { color: var(--ink); background: var(--bg-sunk); }
.fo-replay svg { width: 16px; height: 16px; }
.fo-svg { width: 100%; height: auto; padding: 0.5rem 0 1rem; }
.fo-svg .ln { fill: none; stroke: var(--line); stroke-width: 2; }
.fo-svg .ln-izmir, .fo-svg .ln-fra { stroke-dasharray: 5 6; }
.fo-svg .flow { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 16; opacity: 0; transition: opacity 0.4s, stroke 0.4s; }
.fo-svg .flow-primary { stroke: var(--emerald); }
.fo-svg .flow-izmir, .fo-svg .flow-fra { stroke: var(--accent); }
.fo-svg .node rect { fill: var(--bg-sunk); stroke: var(--line); stroke-width: 1.5; transition: stroke 0.4s; }
.fo-svg text { text-anchor: middle; fill: var(--ink); }
.fo-svg .n-label { font: 600 14px var(--f-head); }
.fo-svg .n-sub { font: 400 12px var(--f-mono); fill: var(--ink-3); }
.fo-svg .cut { opacity: 0; transition: opacity 0.3s; }
.fo-svg .cut circle { fill: var(--bg-raised); stroke: var(--amber); stroke-width: 2; }
.fo-svg .cut path { stroke: var(--amber); stroke-width: 2.4; stroke-linecap: round; }

/* Captions share one grid cell and log lines are laid out from the start,
   so the card keeps one height for the whole loop; the script only toggles .is-on */
.fo-caps { display: grid; }
.fo-caption { margin: -0.25rem 0.25rem 0.75rem; font-size: 0.9rem; color: var(--ink-2); }
.fo-caps .fo-caption { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity 0.3s, visibility 0s linear 0.3s; }
.fo-caps .fo-caption.is-on { visibility: visible; opacity: 1; transition: opacity 0.3s, visibility 0s; }
.fo-log { list-style: none; margin: 0 -1rem; padding: 0.8rem 1rem 0.9rem; border-top: 1px solid var(--line-soft); background: var(--bg-sunk); font: 400 0.8rem/1.55 var(--f-mono); color: var(--ink-2); }
.fo-log li { display: block; padding-left: 3.6em; text-indent: -3.6em; visibility: hidden; opacity: 0; transition: opacity 0.35s; }
.fo-log li.is-on { visibility: visible; opacity: 1; }
html:not(.js) .fo-log li:not(.is-on) { display: none; }
.fo-log .log-t { color: var(--ink-3); margin-right: 0.8rem; }
.fo-log .log-down, .fo-log .log-down2 { color: var(--amber); }
.fo-log .log-ok { color: var(--accent); }
.fo-log .log-r { color: var(--emerald); }

/* Phase "up": everything established, traffic on the primary */
.failover[data-phase="up"] .flow-primary { opacity: 1; }
.failover[data-phase="up"] .node-primary rect { stroke: var(--emerald); }

/* Phase "p1": primary down, traffic on the Izmir tunnel */
.failover[data-phase="p1"] .ln-primary,
.failover[data-phase="p2"] .ln-primary,
.failover[data-phase="ok"] .ln-primary { stroke: var(--amber); stroke-dasharray: 4 5; opacity: 0.6; }
.failover[data-phase="p1"] .cut-primary,
.failover[data-phase="p2"] .cut-primary,
.failover[data-phase="ok"] .cut-primary { opacity: 1; }
.failover[data-phase="p1"] .node-primary rect,
.failover[data-phase="p2"] .node-primary rect,
.failover[data-phase="ok"] .node-primary rect { stroke: var(--amber); }
.failover[data-phase="p1"] .flow-izmir { opacity: 1; }
.failover[data-phase="p1"] .node-izmir rect, .failover[data-phase="p1"] .node-you rect { stroke: var(--accent); }

/* Phase "p2": the Izmir tunnel is down too */
.failover[data-phase="p2"] .ln-izmir,
.failover[data-phase="ok"] .ln-izmir { stroke: var(--amber); stroke-dasharray: 4 5; opacity: 0.6; }
.failover[data-phase="p2"] .cut-izmir,
.failover[data-phase="ok"] .cut-izmir { opacity: 1; }
.failover[data-phase="p2"] .node-izmir rect,
.failover[data-phase="ok"] .node-izmir rect { stroke: var(--amber); }

/* Phase "ok": traffic on Frankfurt, the prefix is still announced */
.failover[data-phase="ok"] .ln-fra { stroke: var(--accent); stroke-dasharray: none; opacity: 0.35; }
.failover[data-phase="ok"] .flow-fra { opacity: 1; }
.failover[data-phase="ok"] .node-fra rect, .failover[data-phase="ok"] .node-you rect { stroke: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
  .fo-svg .flow { animation: flow 1.1s linear infinite; }
  @keyframes flow { to { stroke-dashoffset: -18; } }
}

/* Short laptop screens (1366x768, 1280x800, 1536x864): the whole card fits in the first view.
   The hero keeps its spacing; only the card's inner spacing shrinks. */
@media (min-width: 921px) and (max-height: 860px) {
  .failover { align-self: start; padding-top: 0.8rem; }
  .fo-head { padding-bottom: 0.25rem; }
  .fo-svg { display: block; max-height: 16rem; padding: 0.25rem 0 0.6rem; margin-left: auto; margin-right: auto; }
  .fo-caps .fo-caption { margin-bottom: 0.55rem; }
  .fo-log { padding-top: 0.6rem; padding-bottom: 0.7rem; line-height: 1.45; }
}
/* About 650-690px of browser height (1366x768, 1280x800): one step tighter */
@media (min-width: 921px) and (max-height: 720px) {
  .fo-svg { max-height: 15.25rem; padding-bottom: 0.45rem; }
  .fo-caps .fo-caption { margin-bottom: 0.5rem; }
  .fo-log { padding-top: 0.55rem; padding-bottom: 0.6rem; line-height: 1.42; font-size: 0.78rem; }
}


/* 7. Fibre background
   ========================================================================== */

.has-fiber { position: relative; overflow: hidden; isolation: isolate; }
.has-fiber > .wrap { position: relative; z-index: 1; }
.fiber {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  /* Quiet behind the reading column, stronger at the edges */
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.18) 14%, rgba(0, 0, 0, 0.12) 50%, #000 80%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.18) 14%, rgba(0, 0, 0, 0.12) 50%, #000 80%);
}
.page-head .fiber {
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.15) 45%, #000 85%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.15) 45%, #000 85%);
}
.fb-line { fill: none; stroke: var(--fiber); stroke-width: 1.2; opacity: var(--fiber-op); vector-effect: non-scaling-stroke; }
.fb-line:nth-child(3n) { stroke-width: 1.8; }
.fb-pulse { fill: none; stroke: var(--fiber); stroke-width: 2.2; stroke-linecap: round; opacity: 0; vector-effect: non-scaling-stroke; stroke-dasharray: 26 974; }
.fiber-static { opacity: 0.8; }
.fiber-static .fb-line:nth-child(n+8) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .fb-pulse { opacity: var(--pulse-op); animation: fb-run 14s linear infinite; }
  .fb-p1 { animation-duration: 16s; animation-delay: -3s; }
  .fb-p3 { animation-duration: 12s; animation-delay: -8s; }
  .fb-p4 { animation-duration: 19s; animation-delay: -1s; }
  .fb-p6 { animation-duration: 15s; animation-delay: -11s; }
  .fb-p8 { animation-duration: 21s; animation-delay: -6s; }
  .fb-p9 { animation-duration: 13s; animation-delay: -4s; }
  @keyframes fb-run { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
}
@media (max-width: 720px) {
  .fb-line:nth-child(even), .fb-p4, .fb-p8, .fb-p9 { display: none; }
}


/* 8. Sections and spacing rhythm
   ========================================================================== */

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tight { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.section-alt { background: var(--bg-sunk); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 62ch; margin-bottom: 2.25rem; }
.section-head p { color: var(--ink-2); }
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2rem); }
.page-head h1 { max-width: 20ch; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }

/* Two neighbouring sections on the same background would stack two paddings.
   The second one trims its top so content-to-content spacing stays about 112px (desktop) and 64px (mobile). */
.section.faq { padding-top: clamp(2.5rem, 4.5vw, 3.75rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.section:not(.section-alt) + .section.faq { padding-top: clamp(1rem, 2vw, 1.5rem); }
.section.faq + .section { padding-top: clamp(2rem, 4vw, 3.5rem); }
.section-tight + .section.difference { padding-top: clamp(1rem, 2vw, 1.5rem); }
.sec-handled + .section:not(.section-alt),
.section.platforms + .section:not(.section-alt) { padding-top: clamp(1rem, 2vw, 1.5rem); }


/* 9. Shared components
   ========================================================================== */

/* Home: services as a routing table (problem | solution) */
.routes { list-style: none; border-top: 1px solid var(--line); }
.routes-head, .route { display: grid; grid-template-columns: 13rem minmax(0, 1fr) minmax(0, 1fr) 10.5rem; gap: 1.5rem; align-items: baseline; }
.routes-head { padding: 0.6rem 0; color: var(--ink-3); font-size: 0.88rem; border-bottom: 1px solid var(--line); }
.route { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.route-name { margin: 0; font-size: 1.3rem; }
.route p { margin: 0; }
.route-problem { color: var(--ink-2); }
.route-solution { padding-left: 0.9rem; border-left: 2px solid var(--accent); }
.route-link { justify-self: end; font-weight: 500; }

/* Steps: a real sequence, so numbered */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.steps li { counter-increment: step; position: relative; padding-top: 3.2rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 2.3rem; height: 2.3rem; display: grid; place-items: center;
  font: 500 1rem/1 var(--f-mono); color: var(--accent); border: 1.5px solid var(--accent); border-radius: 50%;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.15rem; left: 2.9rem; right: -0.9rem; height: 0; border-top: 1.5px dashed var(--line); }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--ink-2); margin: 0; font-size: 0.98rem; }
.steps.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Checklists */
.checklist { list-style: none; display: grid; gap: 0.85rem; }
.checklist li { position: relative; padding-left: 1.9rem; color: var(--ink-2); }
.checklist li strong { color: var(--ink); font-weight: 600; display: block; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.3rem; width: 1.15rem; height: 1.15rem;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checklist.compact { gap: 0.45rem; }
.checklist.compact li { color: var(--ink); }
.checklist.duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 2.5rem; margin-top: 1.5rem; }

/* whois-style network facts (real registry data, so monospace) */
.whois { margin: 1.25rem 0 0; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0.4rem 1.1rem; font-family: var(--f-mono); font-size: 0.9rem; }
.whois div { display: grid; grid-template-columns: 11.5rem minmax(0, 1fr); gap: 1rem; padding: 0.6rem 0; border-bottom: 1px dashed var(--line-soft); }
.whois div:last-child { border-bottom: 0; }
.whois dt { color: var(--ink-3); font-family: var(--f-text); font-size: 0.9rem; }
.whois dd { margin: 0; overflow-wrap: anywhere; }
.whois + .prose { margin-top: 2.5rem; }

/* FAQ */
.faq h2 { margin-bottom: 1.25rem; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font: 600 1.12rem/1.35 var(--f-head); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.95rem; font: 400 1.5rem/1 var(--f-mono); color: var(--accent); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--ink-2); max-width: 70ch; margin: 0 0 1.25rem; }

/* Call to action band */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-md); background: var(--bg-raised); }
.cta-band h2 { margin-bottom: 0.3em; }
.cta-band p { margin: 0; color: var(--ink-2); }


/* 10. Service pages
   ========================================================================== */

.jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.jump a { display: inline-block; padding: 0.4rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.jump a:hover { border-color: var(--accent); }
.service h2 { max-width: 28ch; margin-bottom: 1.75rem; }

/* Problem / risk / solution */
.psr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "problem solution" "risk solution"; grid-template-rows: auto 1fr; gap: 1.5rem 3rem; align-items: start; }
.psr h3, .psr .psr-h { font-size: 1rem; font-family: var(--f-text); font-weight: 600; color: var(--ink-3); margin-bottom: 0.4rem; }
.psr-problem { grid-area: problem; }
.psr-risk { grid-area: risk; }
.psr-problem p, .psr-risk p { color: var(--ink-2); max-width: 60ch; }
.psr-risk h3, .psr-risk .psr-h { color: var(--amber); }
.psr-solution { grid-area: solution; background: var(--bg-raised); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r-md); padding: 1.5rem 1.6rem 1.75rem; }
.psr-solution h3, .psr-solution .psr-h { color: var(--accent); }
.psr-solution h4 { margin: 1.25rem 0 0.6rem; font-size: 1rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; }
.tags li { font: 400 0.8rem/1 var(--f-mono); padding: 0.4rem 0.55rem; border: 1px solid var(--line); border-radius: 4px; color: var(--ink-2); background: var(--bg-sunk); }

/* Price box at the top of a dedicated service page */
.offer {
  margin-top: 1.75rem; display: grid; gap: 0.75rem; max-width: 44rem; padding: 1.1rem 1.25rem;
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: inset 3px 0 0 var(--accent);
  background: var(--bg-raised);
  background: color-mix(in srgb, var(--bg-raised) 88%, transparent);
}
.offer-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 0.5rem 1.25rem; }
.offer-row + .offer-row { padding-top: 0.75rem; border-top: 1px solid var(--line-soft); }
.offer-label { font-weight: 600; color: var(--ink); }
.offer .price { text-align: right; }
.offer-note { margin: 0; font-size: 0.88rem; color: var(--ink-3); }

/* Two-way comparison table; the last column is ours */
.cmp-wrap { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--bg-raised); }
.cmp { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.cmp th, .cmp td { padding: 0.95rem 1.25rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line-soft); }
.cmp thead th { border-top: 0; font: 600 0.92rem/1.3 var(--f-text); color: var(--ink-3); background: var(--bg-sunk); }
.cmp thead th.cmp-us { color: var(--accent); }
.cmp tbody th { font-weight: 600; color: var(--ink); width: 24%; }
.cmp td { color: var(--ink-2); width: 38%; }
.cmp td.cmp-us { color: var(--ink); font-weight: 500; background: var(--bg-sunk); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.cmp-more { margin-top: 1rem; }


/* 11. Pricing
   ========================================================================== */

.table-scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-raised); }
.table-scroll:focus-visible { outline-offset: 2px; }
.price-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.price-table th, .price-table td { padding: 0.9rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.price-table thead th { vertical-align: top; border-bottom: 1px solid var(--line); }
.price-table tbody th { font-weight: 500; color: var(--ink-2); width: 22%; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.price-table tfoot th, .price-table tfoot td { border-bottom: 0; }
.price-table tfoot td .btn { margin-top: 0.75rem; }
.price-table tfoot td .price-actions .btn { margin-top: 0; }
/* Price row and button row: the buttons always sit on one line */
.price-table tfoot .tf-price th, .price-table tfoot .tf-price td { padding-bottom: 0.35rem; }
.price-table tfoot .tf-actions th, .price-table tfoot .tf-actions td { padding-top: 0.35rem; padding-bottom: 1.1rem; vertical-align: top; }
.price-table tfoot .tf-actions .price-actions { margin-top: 0; }
.plan-name { display: block; font: 600 1.15rem/1.2 var(--f-head); color: var(--ink); }
.plan-desc { display: block; font-size: 0.9rem; font-weight: 400; color: var(--ink-3); margin-top: 0.3rem; }
.price { display: block; font: 600 1.15rem/1.3 var(--f-head); }
.price strong { font-weight: 600; }
.price small { font: 400 0.85rem var(--f-text); color: var(--ink-3); }
.ic-yes { width: 20px; height: 20px; color: var(--accent); }
.ic-no { color: var(--ink-3); }
.price-list { min-width: 620px; }
.price-list tbody th { width: auto; }
.price-list thead th { color: var(--ink-3); font-weight: 500; font-size: 0.9rem; }
.price-list td { vertical-align: middle; }
.price-list td:last-child { text-align: right; }
.price-list td:last-child .price-actions { margin-top: 0; align-items: flex-end; }
.note { margin-top: 1rem; color: var(--ink-3); font-size: 0.92rem; }

/* Monthly / annual switch */
.term-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 1.5rem; }
.term-switch[hidden] { display: none; }
.term-label { color: var(--ink-2); font-weight: 500; }
.seg { display: inline-flex; padding: 4px; gap: 4px; background: var(--bg-sunk); border: 1px solid var(--line); border-radius: 999px; }
.seg-btn { position: relative; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; padding: 0.35rem 1.1rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 0.98rem var(--f-text); cursor: pointer; }
.seg-btn:hover { color: var(--ink); }
.seg-btn[aria-pressed="true"] { background: var(--bg-raised); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.seg-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.badge-save { font: 600 0.75rem/1 var(--f-mono); padding: 0.3rem 0.45rem; border-radius: 4px; background: var(--accent); color: var(--accent-ink); }
.seg-pref { position: absolute; top: -0.95rem; right: 0.6rem; font: 600 0.68rem/1 var(--f-text); padding: 0.22rem 0.45rem; border-radius: 4px; background: var(--amber); color: var(--bg); white-space: nowrap; }

/* Price display: monthly or annual, chosen by body[data-term] */
.p-a { display: none; }
body[data-term="annual"] .p-m { display: none; }
body[data-term="annual"] .p-a { display: inline; }
.p-sub { display: block; font: 400 0.82rem/1.35 var(--f-text); color: var(--ink-3); margin-top: 0.15rem; }
.price-text { font: 600 1rem/1.3 var(--f-head); color: var(--ink-2); }
.price-actions { display: inline-flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.price-actions.stacked { display: flex; flex-direction: column; align-items: flex-start; }

/* Plan cards replace the comparison table on phones */
.plan-cards { display: none; list-style: none; gap: 1rem; }
.plan-card { background: var(--bg-raised); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r-md); padding: 1.25rem 1.25rem 1.4rem; }
.plan-card h3.plan-name { font-size: 1.3rem; margin: 0; }
.plan-card .plan-desc { margin: 0.3rem 0 1rem; }
.plan-card dl { margin: 0 0 1rem; }
.plan-card dl div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line-soft); }
.plan-card dt { color: var(--ink-2); font-size: 0.95rem; }
.plan-card dd { margin: 0; text-align: right; font-weight: 500; }
.plan-card .price { margin: 0 0 0.9rem; }
.plan-card .btn { width: 100%; }
.plan-card .price-actions { margin-top: 0.5rem; }
.plan-price { margin: 0 0 0.25rem; }


/* 12. Order, payment and card payment
   ========================================================================== */

.order-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); grid-template-areas: "s1 sum" "s2 sum" "s3 sum"; gap: 0 clamp(1.5rem, 4vw, 3rem); align-items: start; }
.order-form[hidden], .order-done[hidden] { display: none; }
.os-1 { grid-area: s1; }
.os-2 { grid-area: s2; }
.os-3 { grid-area: s3; }
.order-summary { grid-area: sum; position: sticky; top: 5.5rem; }
.order-step { padding-bottom: 2.25rem; margin-bottom: 2.25rem; border-bottom: 1px solid var(--line-soft); }
.order-step.os-3 { border-bottom: 0; margin-bottom: 0; }
.order-step h2 { display: flex; align-items: center; gap: 0.75rem; font-size: 1.45rem; margin-bottom: 1.25rem; }
.order-step .term-switch { margin: 0 0 1.5rem; }
.step-no { display: inline-grid; place-items: center; flex: none; width: 2.1rem; height: 2.1rem; font: 500 1rem/1 var(--f-mono); color: var(--accent); border: 1.5px solid var(--accent); border-radius: 50%; }
.og { border: 0; margin: 0 0 1.5rem; padding: 0; }
.og legend { font: 600 1.05rem var(--f-head); color: var(--ink-2); padding: 0; margin-bottom: 0.5rem; }
.og-help { color: var(--ink-2); margin: 0; }

/* Order item rows */
.oi { display: grid; grid-template-columns: minmax(0, 1fr) auto 4.6rem; align-items: center; gap: 1rem; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-raised); transition: border-color 0.15s, box-shadow 0.15s; }
.oi + .oi { margin-top: 0.5rem; }
.oi.is-on { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.oi-check { position: absolute; opacity: 0; width: 1px; height: 1px; }
.oi-main { display: flex; align-items: flex-start; gap: 0.85rem; cursor: pointer; min-width: 0; }
.oi-box { flex: none; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; margin-top: 0.1rem; border: 1.5px solid var(--ink-3); border-radius: 5px; background: var(--bg); }
.oi-box svg { width: 15px; height: 15px; color: var(--accent-ink); opacity: 0; }
.oi-check:checked + .oi-main .oi-box { background: var(--accent); border-color: var(--accent); }
.oi-check:checked + .oi-main .oi-box svg { opacity: 1; }
.oi-check:focus-visible + .oi-main .oi-box { outline: 2px solid var(--focus); outline-offset: 2px; }
.oi-text { min-width: 0; }
.oi-name { display: block; font: 600 1.05rem/1.25 var(--f-head); color: var(--ink); }
.oi-desc { display: block; font-size: 0.88rem; color: var(--ink-3); margin-top: 0.15rem; }
.oi-price { text-align: right; white-space: nowrap; }
.oi-price .price { font-size: 1.05rem; }
.oi-qty input { width: 100%; min-height: 2.5rem; padding: 0.35rem 0.5rem; text-align: center; font: 500 1rem var(--f-mono); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); }
.oi-qty input:disabled { opacity: 0.35; }
.oi-qty input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.order-form .field textarea { min-height: 4.5rem; }
.order-activation { color: var(--ink-2); font-size: 0.93rem; padding: 0.85rem 1rem; border-left: 3px solid var(--accent); background: var(--bg-sunk); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.os-3 .btn-lg { margin-top: 0.5rem; }

/* Order summary */
.sum-card { background: var(--bg-raised); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r-md); padding: 1.35rem 1.35rem 1.1rem; }
.sum-card h2 { font-size: 1.25rem; margin-bottom: 0.9rem; }
.sum-card h3 { font-size: 1rem; margin: 0 0 0.5rem; }
.sum-empty { color: var(--ink-3); margin: 0 0 0.5rem; }
.sum-lines { list-style: none; margin: 0; padding: 0; }
.sum-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.1rem 1rem; padding: 0.6rem 0; border-bottom: 1px dashed var(--line); }
.sl-name { font-weight: 500; }
.sl-amt { font: 500 0.98rem var(--f-mono); text-align: right; white-space: nowrap; }
.sl-meta { grid-column: 1 / -1; color: var(--ink-3); font-size: 0.85rem; }
.sum-totals { margin: 0.6rem 0 0; }
.sum-totals div, .sum-tl dl div, .done-meta div, .acc-dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.35rem 0; }
.sum-totals dt, .sum-tl dt { color: var(--ink-2); }
.sum-totals dd, .sum-tl dd { margin: 0; font-family: var(--f-mono); white-space: nowrap; }
.sum-total { margin-top: 0.35rem; padding-top: 0.7rem !important; border-top: 1px solid var(--line); }
.sum-total dt { color: var(--ink) !important; font-weight: 600; }
.sum-total dd { font: 600 1.3rem var(--f-head) !important; color: var(--accent); }
.sum-note { color: var(--ink-3); font-size: 0.85rem; margin: 0.6rem 0 0; }
.sum-tl { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line-soft); }
.sum-tl dl { margin: 0; }

/* Order confirmation */
.order-done { outline: none; }
.done-head { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.75rem; }
.done-ic { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--accent); }
.done-ic svg { width: 26px; height: 26px; color: var(--accent-ink); }
.done-head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 0.35rem; }
.done-mail { color: var(--ink-2); margin: 0; max-width: 62ch; }
.done-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
.done-box { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.35rem; }
.done-box h3 { font-size: 1.2rem; }
.done-meta { margin: 0 0 0.75rem; }
.done-meta dt { color: var(--ink-2); }
.done-meta dd { margin: 0; text-align: right; }
.done-meta code, .pay-order code, .card-intro code { font: 600 1.05rem var(--f-mono); letter-spacing: 0.02em; color: var(--ink); }
.done-meta strong { font: 600 1.3rem var(--f-head); color: var(--accent); }
.done-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.done-pay p { color: var(--ink-2); }

/* Payment page */
.pay-order, .pay-noorder { background: var(--bg-raised); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-md); padding: 1.25rem 1.4rem; margin-bottom: 2rem; }
.pay-order[hidden], .pay-noorder[hidden] { display: none; }
.pay-order h2 { font-size: 1.2rem; }
.pay-order .done-meta { max-width: 34rem; }
.ref-note { margin: 0.5rem 0 0; font-weight: 500; }
.pay-noorder { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.pay-noorder p { margin: 0; color: var(--ink-2); }
.pay-accounts { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 1.25rem; }
.acc-card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.35rem 1.4rem 1rem; }
.acc-card header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.acc-card h2 { font-size: 1.25rem; margin: 0; }
.acc-cur { font: 600 0.8rem/1 var(--f-mono); padding: 0.4rem 0.5rem; border-radius: 4px; border: 1px solid var(--accent); color: var(--accent); }
.acc-p { color: var(--ink-3); font-size: 0.92rem; margin: -0.25rem 0 0.75rem; }
.acc-dl { margin: 0; }
.acc-dl div { border-bottom: 1px solid var(--line-soft); padding: 0.55rem 0; }
.acc-dl div:last-child { border-bottom: 0; }
.acc-dl dt { color: var(--ink-3); font-size: 0.92rem; flex: none; }
.acc-dl dd { margin: 0; text-align: right; overflow-wrap: anywhere; display: flex; align-items: center; justify-content: flex-end; gap: 0.6rem; }
.acc-dl .mono { font-size: 0.95rem; letter-spacing: 0.01em; }
.acc-dl .btn-xs { margin: 0; flex: none; }
.pay-card-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-top: 1.25rem; padding: 1.25rem 1.4rem; border: 1px dashed var(--accent); border-radius: var(--r-md); }
.pay-card-cta h2 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.pay-card-cta p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.pay-info { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.5rem; }
.pay-info h2 { font-size: 1.25rem; }
.pay-steps { margin: 0 0 1rem; padding: 0; list-style: none; counter-reset: step; color: var(--ink-2); }
.pay-steps li { position: relative; counter-increment: step; margin-bottom: 0.75rem; padding-left: 2.5rem; min-height: 1.75rem; }
.pay-steps li::before { content: counter(step); position: absolute; left: 0; top: 0.05rem; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1.5px solid var(--accent); border-radius: 50%; color: var(--accent); font: 500 0.85rem/1 var(--f-mono); }
.pay-company { background: var(--bg-sunk); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 1.25rem 1.35rem; }
.pay-company p { color: var(--ink-2); }

/* Card payment page */
.card-intro { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.25rem, 3vw, 2.5rem); margin-bottom: 1.75rem; }
.card-intro h2 { font-size: 1.2rem; }
.card-amount { background: var(--bg-raised); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r-md); padding: 1.25rem 1.35rem; }
.card-amount-val { margin: 0 0 0.35rem; }
.card-amount-val strong { font: 600 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/1.2 var(--f-head); color: var(--accent); margin-right: 0.4rem; }
.card-amount-order { color: var(--ink-2); margin: 0 0 0.5rem; }
.card-amount-none p { color: var(--ink-2); margin: 0 0 1rem; }
.card-amount-none[hidden] { display: none; }
.card-amount .btn { width: 100%; max-width: 22rem; }
.card-back { margin: 0.75rem 0 0; }
.paytr-frame { width: 100%; border-radius: var(--r-md); overflow: hidden; }
.paytr-frame iframe { display: block; width: 100%; height: 1200px; border: 0; }


/* 13. About
   ========================================================================== */

.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 1.4rem 1.25rem 1.4rem 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 0.3rem; }
.facts div + div { padding-left: 1.25rem; border-left: 1px solid var(--line-soft); }
.facts dd { margin: 0; font: 600 clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem)/1 var(--f-head); color: var(--ink); }
.facts dt { color: var(--ink-3); font-size: 0.92rem; }
.prose h2 { margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); max-width: 68ch; }
.prose .checklist { margin-bottom: 1rem; }
.about-net { position: static; }

/* The BGP.international difference */
.difference h2 { margin-bottom: 1.5rem; }
.df-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.df-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; font-size: 0.97rem; }
.df-table th, .df-table td { padding: 0.85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.df-table tr:last-child td { border-bottom: 0; }
.df-table th { font-family: var(--f-head); font-size: 1.05rem; font-weight: 600; }
.df-table th:first-child, .df-table td:first-child { color: var(--ink-3); width: 52%; }
.df-table th:last-child { color: var(--accent); border-left: 2px solid var(--accent); }
.df-table td:last-child { color: var(--ink); font-weight: 500; border-left: 2px solid var(--accent); }
.df-uptime {
  margin-top: 2.25rem; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem 2.25rem; align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem); background: var(--bg-raised); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-md);
}
.df-figure { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 8.5rem; }
.df-num { font: 600 clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem)/1 var(--f-head); letter-spacing: -0.01em; }
.df-target .df-num { color: var(--accent); }
.df-guarantee .df-num { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); color: var(--ink); }
.df-lbl { margin-top: 0.4rem; font-size: 0.85rem; color: var(--ink-3); }
.df-text h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.df-text p { margin: 0; color: var(--ink-2); }

/* "No longer your problem" list with the "what is left for you" box */
.handled { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.handled h2 { margin-bottom: 1.5rem; }
.handled-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 2rem; }
.handled-side { padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-raised); box-shadow: inset 3px 0 0 var(--accent); }
.handled-side h2 { font-size: 1.15rem; color: var(--ink-2); margin-bottom: 0.75rem; }
.handled-side .handled-big { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem); line-height: 1.3; font-weight: 600; color: var(--ink); margin-bottom: 0.75rem; }
.handled-side p { color: var(--ink-2); }
.handled-side .btn { margin-top: 0.5rem; }

/* AS connectivity graphs: the SVG arrives without colours and the theme paints it */
.hg-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.hg-card { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-raised); padding: 1.25rem 1.5rem; }
.hg-card figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.hg-card h3 { margin: 0; font-size: 1.05rem; }
.hg-daily { font-size: 0.82rem; color: var(--ink-3); }
.hg-stage { min-height: 18rem; overflow-x: auto; overflow-y: hidden; border-radius: var(--r-sm); }
.hg-stage:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.hg-wait { margin: 0; padding-top: 8rem; text-align: center; color: var(--ink-3); font-size: 0.9rem; }
.hg-fail { display: none; margin: 0.5rem 0 0; color: var(--ink-3); font-size: 0.9rem; }
.hg-hint { display: none; margin: 0.6rem 0 0; font-size: 0.8rem; color: var(--ink-3); text-align: left; }
.hg-src { margin-top: 1rem; font-size: 0.85rem; color: var(--ink-3); }
.hg-card.is-ready .hg-stage { min-height: 0; }
.hg-card.is-ready .hg-wait { display: none; }
.hg-card.is-failed .hg-fail { display: block; }
.hg-card.is-failed .hg-stage { display: none; }
.hg-card.is-scrollable .hg-hint { display: block; }
/* Full card width with a capped height; below 32rem the card scrolls sideways so AS numbers stay readable */
.he-graph { display: block; width: 100%; min-width: 32rem; height: auto; max-height: 36rem; }
.he-graph text { fill: var(--ink-2); font: 500 9px/1 var(--f-mono); }
.he-graph ellipse { fill: var(--bg); stroke: var(--line); stroke-width: 1; transition: stroke 0.15s, fill 0.15s; }
.he-graph .edge path { fill: none; stroke: var(--ink-3); opacity: 0.6; }
.he-graph .edge polygon { fill: var(--ink-3); stroke: var(--ink-3); opacity: 0.6; }
.he-graph .as:hover ellipse { stroke: var(--accent); fill: var(--bg-sunk); fill: color-mix(in srgb, var(--accent) 10%, var(--bg)); }
.he-graph .as:hover text { fill: var(--accent); }
.he-graph .node.self ellipse { stroke: var(--accent); stroke-width: 1.4; fill: var(--bg-sunk); fill: color-mix(in srgb, var(--accent) 16%, var(--bg)); }
.he-graph .node.self text { fill: var(--accent); font-weight: 700; }
.he-graph .edge.self path { stroke: var(--accent); opacity: 0.9; }
.he-graph .edge.self polygon { fill: var(--accent); stroke: var(--accent); opacity: 0.9; }

/* Platforms we work with: every name once, nothing moves */
.platforms h2 { margin-bottom: 1.5rem; }
.pf-row { display: grid; grid-template-columns: 15rem minmax(0, 1fr); align-items: start; gap: 2rem; padding: 1.15rem 0; border-top: 1px solid var(--line-soft); }
.pf-row:last-of-type { border-bottom: 1px solid var(--line-soft); }
.pf-label { margin: 0; padding-top: 0.5rem; font-size: 1rem; font-family: var(--f-text); font-weight: 600; color: var(--ink-2); }
.pf-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; padding: 0; }
.pf-list li {
  padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  font: 600 0.98rem/1.1 var(--f-head); letter-spacing: 0.01em; color: var(--ink-2); background: var(--bg-raised);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.pf-list li:hover { color: var(--accent); border-color: var(--accent); background: var(--bg-sunk); background: color-mix(in srgb, var(--accent) 10%, var(--bg-raised)); }
.pf-note { margin-top: 1rem; font-size: 0.85rem; color: var(--ink-3); }


/* 14. Contact, map, captcha and cookie notice
   ========================================================================== */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.quote-form { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(1.25rem, 3vw, 2rem); }
.quote-form h2 { font-size: 1.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 500; margin-bottom: 0.35rem; font-size: 0.97rem; }
.req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.7rem 0.8rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm);
}
.field input.mono { font-family: var(--f-mono); font-size: 0.95rem; }
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.field select:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.field [aria-invalid="true"] { border-color: var(--amber); }
.hint { display: block; margin: 0.35rem 0 0; color: var(--ink-3); font: 400 0.85rem/1.45 var(--f-text); }
.field.check { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; }
.field.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--accent); }
.field.check label { font-weight: 400; color: var(--ink-2); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-weight: 500; }
.form-status.ok { color: var(--emerald); }
.form-status.err { color: var(--amber); }
.nojs-note { margin: 0 0 1rem; font-weight: 500; color: var(--amber); }
.js .nojs-note { display: none; }

/* Office details */
.office h2 { font-size: 1.5rem; }
.office-list { margin: 0 0 1.5rem; }
.office-list div { padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); }
.office-list dt { color: var(--ink-3); font-size: 0.88rem; }
.office-list dd { margin: 0.15rem 0 0; }
.office-list .small { font-size: 0.85rem; margin-left: 0.35rem; white-space: nowrap; }
.mobile-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem; }
.wa { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.6rem 0.2rem 0.45rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; text-decoration: none; color: var(--ink); }
.wa svg { width: 16px; height: 16px; color: #25d366; }
.wa:hover { border-color: #25d366; }

/* Map (loaded only after consent) */
.map { margin-bottom: 1.25rem; }
.map iframe { width: 100%; height: 260px; border: 1px solid var(--line); border-radius: var(--r-md); display: block; margin-bottom: 0.5rem; background: var(--bg-sunk); }
.map a { font-size: 0.92rem; }
.map-frame { height: 260px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-sunk); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; padding: 1rem; text-align: center; margin-bottom: 0.5rem; overflow: hidden; }
.map-frame.loaded { padding: 0; display: block; }
.map-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 0; margin: 0; display: block; }
.map-load svg { width: 18px; height: 18px; }
.map-note { margin: 0; font-size: 0.85rem; color: var(--ink-3); max-width: 32ch; }

/* Captcha widget, painted with the site tokens */
.captcha { margin-top: 0.25rem; }
altcha-widget {
  --altcha-color-base: var(--bg);
  --altcha-color-base-content: var(--ink);
  --altcha-border-color: var(--line);
  --altcha-color-primary: var(--accent);
  --altcha-color-primary-content: var(--accent-ink);
  --altcha-color-success: var(--emerald);
  --altcha-color-error: var(--amber);
  --altcha-color-neutral: var(--line);
  --altcha-checkbox-border-color: var(--ink-3);
  --altcha-border-radius: 6px;
  --altcha-max-width: 100%;
  --altcha-shadow: none;
  display: block;
}

/* Cookie notice */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 0 var(--gutter) var(--gutter); pointer-events: none; }
.cookie-banner[hidden] { display: none; }
.ck-inner {
  pointer-events: auto; max-width: var(--wrap); margin: 0 auto; padding: 1.1rem 1.25rem;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 1.5rem; align-items: center;
  background: var(--bg-raised); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--r-md); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.ck-title { font-size: 1.1rem; margin: 0 0 0.3rem; }
.ck-copy p { margin: 0; color: var(--ink-2); font-size: 0.95rem; max-width: 70ch; }
.ck-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; }
.ck-btn { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.95rem; }
.ck-btn[hidden] { display: none; }
.ck-settings { grid-column: 1 / -1; display: grid; gap: 0.5rem; }
.ck-settings[hidden] { display: none; }
.ck-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.75rem 0.9rem; background: var(--bg-sunk); border: 1px solid var(--line-soft); border-radius: var(--r-sm); }
.ck-row strong { display: block; font-weight: 600; }
.ck-row span { color: var(--ink-3); font-size: 0.9rem; }
.switch { position: relative; flex: none; width: 2.6rem; height: 1.5rem; }
.switch input { position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 999px; background: var(--line); transition: background 0.2s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: calc(1.5rem - 6px); height: calc(1.5rem - 6px); border-radius: 50%; background: #fff; transition: transform 0.2s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(1.1rem); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: 0.6; }
.switch input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
body.has-cookie-banner .site-footer { padding-bottom: 11rem; }


/* 15. Legal pages
   ========================================================================== */

.legal-toc { margin: 0 0 2.5rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-raised); }
.prose .legal-toc h2 { margin: 0 0 0.75rem; font-size: 1.05rem; }
.legal-toc ol { margin: 0; padding-left: 1.4rem; columns: 2 16rem; column-gap: 2rem; }
.legal-toc li { margin: 0 0 0.35rem; break-inside: avoid; color: var(--ink-3); }
.legal-toc a { color: var(--ink-2); text-decoration: none; }
.legal-toc a:hover { color: var(--accent); text-decoration: underline; }
.legal-toc a:focus-visible { color: var(--accent); text-decoration: underline; }
.legal h2[id] { scroll-margin-top: 6rem; }
.legal-list { margin: 0 0 1rem; padding-left: 1.3rem; max-width: 68ch; color: var(--ink-2); }
.legal-list li { margin: 0 0 0.45rem; padding-left: 0.2rem; }
.legal-list li::marker { color: var(--accent); }


/* 16. Sitemap page
   ========================================================================== */

.sitemap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 3rem; align-items: start; }
.sm-group h2 { font-size: 1.3rem; margin: 0 0 0.9rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.sm-group .sm-list + h2 { margin-top: 2rem; }
.sm-list { list-style: none; display: grid; gap: 0.9rem; }
.sm-list li > a { font-weight: 600; }
.sm-list li > span { display: block; color: var(--ink-3); font-size: 0.92rem; margin-top: 0.15rem; }
.sm-list .sm-sub { padding-left: 1rem; border-left: 2px solid var(--line); margin-top: -0.35rem; }
.sm-list .sm-sub a { font-weight: 400; color: var(--ink-2); }
.sm-list a.sm-site { display: inline-flex; align-items: center; gap: 0.45rem; }
.sm-list a.sm-site .flag { display: inline-block; margin: 0; }
.sm-langs { list-style: none; display: grid; gap: 0.5rem; }
.sm-langs a { display: inline-flex; align-items: center; gap: 0.6rem; }
.sm-xml { margin-top: 2rem; font-size: 0.92rem; }
.sm-xml a { font-family: var(--f-mono); }
.sm-xml span { color: var(--ink-3); margin-left: 0.4rem; }


/* 17. 404 and language router
   ========================================================================== */

.nf-code { font: 500 1rem var(--f-mono); color: var(--amber); margin-bottom: 0.5rem; }
.page-router { min-height: 100vh; display: grid; place-items: center; }
.router { text-align: center; padding: 2rem; }
.router .brand-mark.big { width: 64px; height: 64px; margin: 0 auto 1rem; color: var(--ink); }
.router h1 { font-size: 2rem; }
.router ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.router a { display: inline-block; padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--ink); }
.js .router ul { visibility: hidden; }


/* 18. Footer
   ========================================================================== */

.site-footer { --fgap: 2.25rem; border-top: 1px solid var(--line); background: var(--bg-sunk); padding: 3.5rem 0 var(--fgap); margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) auto auto auto; gap: 2rem clamp(2rem, 4vw, 3.5rem); }
.footer-brand p { color: var(--ink-2); max-width: 34ch; margin-top: 1rem; }
.footer-asn { font-size: 0.9rem; color: var(--ink-3) !important; }
.footer-h { font: 600 1rem/1.2 var(--f-text); color: var(--ink); margin-bottom: 0.9rem; }
.footer-h-sub { margin-top: 1.6rem; }
.footer-grid > div > ul { list-style: none; display: grid; gap: 0.5rem; }
.footer-grid > div > ul a { color: var(--ink-2); text-decoration: none; }
.footer-grid > div > ul a:hover { color: var(--ink); text-decoration: underline; }
.footer-tools { display: flex; gap: 0.5rem; margin-top: 1.25rem; }

/* Keyword tags under the brand */
.footer-tags { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; margin-top: 1.1rem; max-width: 24rem; }
.footer-tags a {
  display: flex; align-items: center; justify-content: center; text-align: center; height: 100%; min-height: 2.1rem;
  padding: 0.3rem 0.35rem; border-radius: 5px; font-size: 0.76rem; font-weight: 500; line-height: 1.2; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); background: var(--bg-raised);
  border-color: color-mix(in srgb, var(--tag) 45%, transparent);
  background: color-mix(in srgb, var(--tag) 12%, transparent);
}
.footer-tags a:hover { background: color-mix(in srgb, var(--tag) 24%, transparent); }
.footer-tags .tag-row0 { --tag: var(--accent); }
.footer-tags .tag-row1 { --tag: var(--emerald); }
.footer-tags .tag-row2 { --tag: #5b8def; }

/* Certificates and green energy */
.footer-trust { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 4rem); align-items: start; margin-top: var(--fgap); padding-top: var(--fgap); border-top: 1px solid var(--line-footer); }
.ft-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.iso-badge {
  display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.65rem 1rem 0.65rem 0.8rem; border-radius: 10px; color: var(--ink); text-decoration: none; transition: border-color 0.15s, background 0.15s;
  border: 1px solid var(--accent); background: var(--bg-raised);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}
.iso-badge:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); }
.iso-ic { width: 30px; height: 30px; color: var(--accent); flex: none; }
.iso-badge strong { display: block; font: 600 1rem/1.2 var(--f-head); letter-spacing: 0.01em; }
.iso-badge small { display: block; font-size: 0.8rem; color: var(--ink-2); margin-top: 0.1rem; }
.ft-cert p, .ft-green p { color: var(--ink-2); font-size: 0.92rem; line-height: 1.6; margin: 1rem 0 0; }
.ft-verify { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 500; white-space: nowrap; }
.ft-verify svg { width: 14px; height: 14px; }
.dmca-badge { display: inline-block; margin-top: 1rem; line-height: 0; }
.dmca-badge img { width: 150px; height: 30px; }
.ft-green { display: flex; gap: 1rem; align-items: flex-start; }
.ft-green p { margin-top: 0.5rem; }
.ft-leaf { flex: none; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; color: var(--emerald); background: var(--bg-raised); background: color-mix(in srgb, var(--emerald) 15%, transparent); }
.ft-leaf svg { width: 24px; height: 24px; }
.ft-h { font: 600 1.08rem/1.25 var(--f-head); color: var(--ink); margin: 0.55rem 0 0; }

/* Copyright line and the "PlusLayer" signature between two hairlines */
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: var(--fgap); padding-top: var(--fgap); border-top: 1px solid var(--line-footer); color: var(--ink-3); font-size: 0.88rem; }
.footer-legal p { margin: 0; }
.footer-powered { display: flex; align-items: center; gap: 1.25rem; margin-top: var(--fgap); }
.wrap.footer-powered { padding-left: 0; padding-right: 0; }
.footer-powered::before, .footer-powered::after { content: ""; flex: 1; border-top: 1px solid var(--line-footer); }
.footer-powered a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 1rem; border: 1px solid var(--line-footer); border-radius: 999px; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: border-color 0.15s; }
.footer-powered .pw-text { font-size: 0.88rem; color: var(--ink-3); }
.footer-powered strong { font: 600 1.02rem/1 var(--f-head); color: var(--ink); letter-spacing: 0.01em; }
.footer-powered a:hover { border-color: var(--accent); }
.footer-powered a:hover strong { color: var(--accent); }
.footer-entities { margin-top: var(--fgap); }
.footer-entities p { margin: 0; color: var(--ink-2); font-size: 0.92rem; line-height: 1.6; }


/* 19. Justified text
   Multi-line paragraphs are justified for an even text block; the last line stays left,
   words are hyphenated by the page language, lists, cards and labels keep normal alignment.
   ========================================================================== */

.lead, .prose p, .psr p, .faq-item p, .df-text p, .steps p, .route-problem, .route-solution,
.section-head p, .cta-band p, .pf-note, .order-activation, .pay-card-cta p, .acc-p, .done-mail,
.card-amount-none p, .footer-brand p:not(.footer-asn), .ft-cert p, .ft-green p, .footer-entities p, .pay-company p {
  text-align: justify;
  text-align-last: left;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 8 3 3;
}
/* Narrow step columns read better left aligned */
.steps.steps-5 p { text-align: left; }


/* 20. Responsive layout, motion and print
   ========================================================================== */

@media (min-width: 901px) {
  .about-net { position: sticky; top: 6rem; }
}
@media (min-width: 1101px) {
  .footer-grid > div > ul a { white-space: nowrap; }
}

/* The full menu needs about 1135px in the longest language (ES); below 1150px it folds into the menu button.
   Without scripts the menu stays visible as a wrapped row under the brand. */
@media (max-width: 1150px) {
  html:not(.js) .header-row { flex-wrap: wrap; padding-bottom: 0.75rem; }
  html:not(.js) .site-nav { flex: 1 1 100%; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; margin: 0; }
  html:not(.js) .site-nav > ul { flex-wrap: wrap; }
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.4rem; margin-left: auto;
    min-height: 2.6rem; padding: 0.4rem 0.8rem; background: none; color: var(--ink);
    border: 1px solid var(--line); border-radius: var(--r-sm); font: 500 0.95rem var(--f-text); cursor: pointer;
  }
  .nav-toggle svg { width: 20px; height: 20px; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem var(--gutter) 1.5rem; background: var(--bg); border-bottom: 1px solid var(--line); margin: 0; }
  .js .site-header.nav-open .site-nav { display: flex; }
  .js .site-nav > ul { flex-direction: column; }
  .js .site-nav > ul a { padding: 0.75rem 0.5rem; font-size: 1.05rem; }
  .js .site-nav > ul a[aria-current] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 0.9rem; }
  .site-nav .lang .lang-list { left: 0; right: auto; }
}
@media (max-width: 1100px) {
  .steps.steps-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps.steps-5 li:nth-child(3)::after { display: none; }
  .steps.steps-5 li:nth-child(2)::after { display: block; }
}
@media (max-width: 1080px) {
  .routes-head { display: none; }
  .route { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "name name" "problem solution" "link link"; gap: 0.75rem 1.5rem; }
  .route-name { grid-area: name; }
  .route-problem { grid-area: problem; }
  .route-solution { grid-area: solution; }
  .route-link { grid-area: link; justify-self: start; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
  .steps li:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .order-form { grid-template-columns: minmax(0, 1fr); grid-template-areas: "s1" "sum" "s2" "s3"; }
  .order-summary { position: static; margin-bottom: 2.25rem; }
  .done-grid, .pay-info, .card-intro { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 920px) {
  .hero-grid, .two-col, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .psr { grid-template-columns: minmax(0, 1fr); grid-template-areas: "problem" "risk" "solution"; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .sitemap-grid { grid-template-columns: minmax(0, 1fr); }
  .df-grid { grid-template-columns: minmax(0, 1fr); }
  .df-uptime { grid-template-columns: 1fr 1fr; }
  .df-text { grid-column: 1 / -1; grid-row: 1; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div, .facts div + div { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .facts div:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--line-soft); }
  .facts div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .handled { grid-template-columns: minmax(0, 1fr); }
  .steps.steps-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.steps-5 li:nth-child(3)::after { display: block; }
  .steps.steps-5 li:nth-child(2n)::after { display: none; }
}
@media (max-width: 760px) {
  .ck-inner { grid-template-columns: minmax(0, 1fr); }
  .ck-actions { justify-content: stretch; }
  .ck-actions .ck-btn { flex: 1 1 auto; }
  .ck-actions [data-ck="accept"] { order: -1; flex-basis: 100%; }
  body.has-cookie-banner .site-footer { padding-bottom: 18rem; }
  .footer-trust { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .table-desktop { display: none; }
  .plan-cards { display: grid; }
  /* IP services: one block per service */
  .price-list, .price-list tbody, .price-list tr, .price-list th, .price-list td { display: block; min-width: 0; width: auto; }
  .price-list thead { display: none; }
  .price-list tr { padding: 1rem 1rem 1.1rem; border-bottom: 1px solid var(--line); }
  .price-list tbody tr:last-child { border-bottom: 0; }
  .price-list th, .price-list td, .price-list tbody tr:last-child th, .price-list tbody tr:last-child td { padding: 0; border: 0; }
  .price-list td { margin-top: 0.6rem; }
  .price-list td:last-child { text-align: left; }
  .price-list .btn { width: 100%; }
  .price-list + .note, .table-scroll + .note { margin-top: 1rem; }
  .pf-row { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .pf-label { padding-top: 0; }
  .checklist.duo { grid-template-columns: minmax(0, 1fr); }
  /* Comparison table becomes one card per row */
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td, .cmp tbody th { display: block; width: auto; }
  .cmp tr { padding: 0.9rem 1rem; border-top: 1px solid var(--line-soft); }
  .cmp tr:first-child { border-top: 0; }
  .cmp th, .cmp td { border: 0; padding: 0.15rem 0; }
  .cmp tbody th { margin-bottom: 0.35rem; }
  .cmp td::before { content: attr(data-label); display: block; font-size: 0.8rem; color: var(--ink-3); }
  .cmp td + td { margin-top: 0.45rem; }
  .cmp td.cmp-us { padding: 0.45rem 0.6rem; border-radius: var(--r-sm); }
}
@media (max-width: 600px) {
  .route { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "problem" "solution" "link"; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li::after { display: none; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .whois div { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-tags { max-width: none; }
  .brand-name { font-size: 1.15rem; }
  .nav-toggle span { display: none; }
}
@media (max-width: 560px) {
  .oi { grid-template-columns: minmax(0, 1fr) 4.2rem; grid-template-areas: "main main" "price qty"; gap: 0.6rem 0.75rem; padding: 0.8rem 0.85rem; }
  .oi-main { grid-area: main; }
  .oi-price { grid-area: price; text-align: left; padding-left: 2.2rem; }
  .oi-qty { grid-area: qty; }
  .seg-btn { padding: 0.35rem 0.8rem; font-size: 0.93rem; }
  /* Bank details: label and copy button on the first line, the value on its own full-width line */
  .acc-dl div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.35rem 0.75rem; padding: 0.7rem 0; }
  .acc-dl dt { grid-column: 1; grid-row: 1; font-size: 0.85rem; }
  .acc-dl dd { display: contents; }
  .acc-dl dd > span { grid-column: 1 / -1; grid-row: 2; min-width: 0; text-align: left; }
  .acc-dl dd > .btn-xs { grid-column: 2; grid-row: 1; }
  .acc-dl .mono { font-size: 0.95rem; }
  .price-list td:last-child .price-actions { align-items: stretch; }
  .handled-list { grid-template-columns: minmax(0, 1fr); }
  .hg-card { padding-left: 1rem; padding-right: 1rem; }
  .offer-row { grid-template-columns: minmax(0, 1fr) auto; }
  .offer-row .price-actions { grid-column: 1 / -1; }
  .offer-row .price-actions .btn { width: 100%; justify-content: center; }
  .steps.steps-5 { grid-template-columns: minmax(0, 1fr); }
  .steps.steps-5 li::after { display: none; }
}
/* Small boxes stay left aligned on phones: too few words per line for even spacing */
@media (max-width: 480px) {
  .card-amount-none p, .acc-p, .done-mail, .pay-card-cta p, .order-activation { text-align: left; }
}
@media (max-width: 420px) {
  .footer-powered { gap: 0.75rem; }
  .iso-badge { flex: 1 1 100%; }
}
/* Very narrow phones (320-400px) */
@media (max-width: 400px) {
  .df-uptime { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem 1rem; padding: 1.1rem; }
  .df-figure { min-width: 0; }
  .df-num { font-size: 2.1rem; }
  .df-guarantee .df-num { font-size: 1.7rem; }
  .df-table th, .df-table td { padding: 0.7rem 0.65rem; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
  .df-table th { font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .failover, .actions, .quote-form { display: none !important; }
  body { background: #fff; color: #000; }
}
