@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src:
    url('/assets/fonts/oswald-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src:
    url('/assets/fonts/oswald-latin-ext.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: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src:
    url('/assets/fonts/oswald-latin.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: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src:
    url('/assets/fonts/oswald-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src:
    url('/assets/fonts/oswald-latin-ext.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: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src:
    url('/assets/fonts/oswald-latin.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: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    url('/assets/fonts/oswald-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    url('/assets/fonts/oswald-latin-ext.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: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    url('/assets/fonts/oswald-latin.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: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url('/assets/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url('/assets/fonts/inter-latin-ext.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: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url('/assets/fonts/inter-latin.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: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src:
    url('/assets/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src:
    url('/assets/fonts/inter-latin-ext.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: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src:
    url('/assets/fonts/inter-latin.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url('/assets/fonts/jetbrains-mono-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url('/assets/fonts/jetbrains-mono-latin-ext.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url('/assets/fonts/jetbrains-mono-latin.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src:
    url('/assets/fonts/jetbrains-mono-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src:
    url('/assets/fonts/jetbrains-mono-latin-ext.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src:
    url('/assets/fonts/jetbrains-mono-latin.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;
}

:root {
  --bg: #f6fbff;
  --surface: transparent;
  --surface-2: #e7f1ff;
  --text: #12304d;
  --text-muted: #5f7993;
  --accent: #1f6fe5;
  --accent-dim: #d6e7ff;
  --border: rgba(31, 111, 229, 0.14);
  --page-gutter: 200px;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background:
    radial-gradient(circle at top left, rgba(31, 111, 229, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 52%, #eef6ff 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

/* --- sprocket / film-strip divider (signature element) --- */
.sprockets {
  display: flex;
  gap: 14px;
  padding: 18px 24px;
  overflow: hidden;
  background: rgba(235, 244, 255, 0.85);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sprockets::before {
  content: "";
  display: block;
  width: 100%;
  height: 10px;
  background-image: radial-gradient(circle, var(--text-muted) 2px, transparent 2.5px);
  background-size: 24px 10px;
  background-repeat: repeat-x;
  opacity: 0.45;
}

/* --- header --- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.03em;
  font-weight: 700;
  text-decoration: none;
}
.accent { color: var(--accent); }
.header-tools {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav { display: flex; gap: 28px; }
.nav a {
  text-decoration: none;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--text); }
.lang-switcher {
  display: inline-flex;
  flex: 0 0 auto;
}
.lang-select {
  min-width: 82px;
  border: 1px solid rgba(31, 111, 229, 0.16);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 36px 10px 14px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 13px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

/* --- hero --- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
  gap: 52px;
  align-items: center;
  min-height: calc(100svh - 86px);
  padding-top: 72px;
  padding-bottom: 84px;
}
.hero-copy {
  padding: 0;
  min-height: min(78svh, 860px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-side {
  display: grid;
  gap: 28px;
  align-content: center;
}
.hero-mark {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 0;
}
.countdown {
  width: min(100%, 300px);
  height: auto;
  overflow: visible;
}
.countdown-ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 4 8;
  transform-origin: 100px 100px;
  animation: countdown-spin 42s linear infinite;
}
.countdown-num {
  font-family: var(--font-display);
  font-size: 108px;
  fill: var(--text);
  text-anchor: middle;
  dominant-baseline: middle;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(64px, 6vw, 112px);
  line-height: 0.96;
  letter-spacing: 0.01em;
  font-weight: 700;
  margin-bottom: 28px;
}
.lede {
  color: var(--text-muted);
  font-size: 22px;
  max-width: 760px;
  margin-bottom: 48px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-stats {
  padding: 18px 0 0;
  max-width: 420px;
}
.panel-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.stat-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(31, 111, 229, 0.1);
  font-family: var(--font-mono);
  font-size: 12px;
}
.stat-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.stat-row span {
  color: var(--text-muted);
  text-transform: lowercase;
}
.stat-row strong {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 13px 26px;
  border-radius: 3px;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(31, 111, 229, 0.18);
  transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(31, 111, 229, 0.22);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(31, 111, 229, 0.2);
  box-shadow: none;
}
.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(214, 231, 255, 0.5);
}

/* --- section shared --- */
section {
  padding-top: 72px;
  padding-bottom: 72px;
}
.section-head {
  display: grid;
  grid-template-columns: 180px minmax(0, 920px);
  gap: 34px;
  align-items: start;
  margin-bottom: 48px;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.section-intro {
  max-width: 760px;
  color: var(--text-muted);
  font-size: 18px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 3.5vw, 72px);
  line-height: 0.98;
  letter-spacing: 0.01em;
  font-weight: 700;
}

/* --- services --- */
.services {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 88px;
  padding-bottom: 88px;
}
.services .section-head {
  display: block;
  margin-bottom: 56px;
}
.services .section-title {
  text-align: center;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.service-card {
  min-height: 260px;
  padding: 30px 30px 32px;
  border: 1px solid rgba(31, 111, 229, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(31, 111, 229, 0.08);
}
.service-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.service-title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.service-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.service-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.service-card h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 0;
  letter-spacing: 0.01em;
  line-height: 1;
}
.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 400px;
  line-height: 1.6;
}
.service-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 111, 229, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* --- about --- */
.about {
  padding-top: 88px;
  padding-bottom: 88px;
}
.about .section-head {
  grid-template-columns: 180px minmax(0, 760px);
  margin-bottom: 34px;
}
.about-window {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(31, 111, 229, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 249, 255, 0.94) 100%);
  box-shadow:
    0 24px 60px rgba(31, 111, 229, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.about-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(31, 111, 229, 0.08), transparent 34%),
    radial-gradient(circle at top right, rgba(31, 111, 229, 0.1), transparent 28%);
  pointer-events: none;
}
.about-window__topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 8px 18px;
  border-bottom: 1px solid rgba(31, 111, 229, 0.12);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.92) 60%, rgba(233, 241, 252, 0.94) 100%);
}
.about-window__controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.about-window__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.about-window__dot--close {
  background: #ff5f57;
}
.about-window__dot--minimize {
  background: #febc2e;
}
.about-window__dot--zoom {
  background: #28c840;
}
.about-window__title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-body);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(18, 48, 77, 0.72);
}
.about-window__toolbar {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.about-window__toolgroup {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 8px 20px rgba(31, 111, 229, 0.08);
  backdrop-filter: blur(10px);
}
.about-window__tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  border-radius: 999px;
  color: rgba(18, 48, 77, 0.68);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1;
}
.about-window__tool img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  opacity: 0.72;
}
.about-window__tool--text {
  font-size: 15px;
}
.about-window__tool--list {
  font-size: 17px;
}
.about-window__tool--grid {
  font-size: 17px;
}
.about-window__tool--attach {
  font-size: 17px;
}
.about-window__tool--next {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 10px 24px rgba(31, 111, 229, 0.08);
  font-size: 14px;
}
.about-window__body {
  position: relative;
  z-index: 1;
  padding: 34px 38px 40px;
}
.about-window__text {
  max-width: 980px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
  letter-spacing: 0;
}
.about-window__text + .about-window__text {
  margin-top: 1.32em;
}

/* --- work --- */
.work-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 26px;
}
.work-slot {
  min-height: 180px;
  border-top: 1px solid rgba(31, 111, 229, 0.2);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  background: transparent;
  padding: 18px 0 0;
  text-align: left;
}
.work-slot-wide {
  grid-row: span 2;
}

/* --- calculator --- */
.calculator {
  padding-top: 88px;
  padding-bottom: 88px;
}
.calculator-head {
  max-width: 920px;
  margin-bottom: 42px;
}
.calculator-head .section-title {
  margin-bottom: 16px;
}
.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}
.calculator-form,
.calculator-result {
  border: 1px solid rgba(31, 111, 229, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(31, 111, 229, 0.08);
  height: 100%;
}
.calculator-form {
  padding: 28px;
  display: grid;
  gap: 20px;
}
.calc-field {
  display: grid;
  gap: 10px;
}
.calc-field span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.calc-field select,
.calc-field input[type="range"] {
  width: 100%;
}
.calc-field select {
  border: 1px solid rgba(31, 111, 229, 0.16);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
  outline: none;
}
.calculator-result {
  position: relative;
  overflow: visible;
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.calculator-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.calculator-discount-label {
  position: absolute;
  top: -18px;
  right: -10px;
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: #d62839;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(214, 40, 57, 0.28);
}
.calculator-original-price {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 14px;
  margin-bottom: 10px;
}
.calculator-original-price span {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(31, 111, 229, 0.45);
}
.calculator-price {
  font-family: var(--font-display);
  font-size: clamp(44px, 4vw, 76px);
  line-height: 0.95;
  margin-bottom: 18px;
}
.calculator-note {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 22px;
}
.calculator-points {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--text);
}
.calculator-points li {
  position: relative;
  padding-left: 18px;
}
.calculator-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}
.calculator-result .btn {
  margin-top: auto;
}

/* --- footer --- */
.site-footer {
  margin-top: 72px;
  background: #2c3138;
  color: #dbe5f1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-inner {
  padding-top: 64px;
  padding-bottom: 36px;
  display: grid;
  grid-template-columns: 1fr minmax(0, 520px);
  column-gap: 48px;
}
.footer-copy {
  max-width: 520px;
  margin-bottom: 36px;
  grid-column: 2;
}
.footer-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(219, 229, 241, 0.65);
  margin-bottom: 18px;
}
.footer-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 3vw, 56px);
  line-height: 0.98;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-text {
  max-width: 560px;
  color: rgba(219, 229, 241, 0.72);
  font-size: 17px;
}
.footer-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-bottom: 0;
  grid-column: 2;
  align-content: start;
  max-width: none;
}
.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.footer-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-link:hover {
  background: rgba(31, 111, 229, 0.16);
  border-color: rgba(83, 152, 255, 0.42);
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(4, 12, 24, 0.24);
}
.footer-link:focus-visible {
  outline: 2px solid rgba(112, 176, 255, 0.9);
  outline-offset: 3px;
}
.footer-legal {
  grid-column: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: rgba(219, 229, 241, 0.58);
  max-width: none;
}
.footer-legal-item {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
}
.footer-legal-item[href],
.footer-legal-item[data-open-cookie-settings] {
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, opacity 0.15s ease;
}
.footer-legal-item + .footer-legal-item::before {
  content: "•";
  display: inline-block;
  margin: 0 8px;
  color: rgba(219, 229, 241, 0.34);
}
.footer-legal-item[href]:hover,
.footer-legal-item[data-open-cookie-settings]:hover {
  color: #ffffff;
}
.footer-legal-item[data-open-cookie-settings] {
  width: auto;
  text-align: left;
}
.footer-hours {
  grid-column: 2;
  margin-top: 18px;
  color: rgba(219, 229, 241, 0.76);
}
.footer-hours-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(219, 229, 241, 0.56);
  margin-bottom: 6px;
}
.footer-hours-text {
  font-size: 14px;
  line-height: 1.5;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(219, 229, 241, 0.72);
  grid-column: 1 / -1;
  margin-top: 48px;
}
.footer-bottom-link {
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
  margin-left: auto;
}
.footer-bottom .footer-legal::before {
  content: "•";
  display: inline-block;
  margin-right: 8px;
  color: rgba(219, 229, 241, 0.34);
}
.footer-bottom-link:hover {
  color: #ffffff;
  opacity: 1;
}
.muted { opacity: 0.6; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.legal-page {
  min-height: 100svh;
}
.legal-shell {
  padding-top: 36px;
  padding-bottom: 96px;
}
.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "label"
    "back"
    "title"
    "intro";
  column-gap: 0;
  row-gap: 14px;
  max-width: 1080px;
  min-height: calc(100svh - 210px);
  align-items: start;
  margin-bottom: 28px;
}
.legal-hero > .section-label {
  grid-area: label;
}
.legal-hero h1 {
  grid-area: title;
  max-width: 980px;
  font-size: clamp(66px, 5vw, 104px);
  line-height: 0.92;
  margin-bottom: 0;
}
.legal-hero .section-intro {
  grid-area: intro;
  align-self: start;
  max-width: 760px;
  margin-bottom: 0;
  margin-top: 10px;
  font-size: 19px;
  line-height: 1.55;
}
.legal-back {
  grid-area: back;
  width: fit-content;
  text-decoration: none;
}
.legal-card {
  max-width: 920px;
  padding: 36px;
  border: 1px solid rgba(31, 111, 229, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(31, 111, 229, 0.08);
}
.legal-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.legal-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.legal-breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.legal-breadcrumb a:hover {
  color: var(--accent);
}
.legal-download {
  text-decoration: none;
}
.legal-updated {
  margin-bottom: 22px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}
.legal-meta {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}
.legal-meta p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}
.legal-toc {
  margin-bottom: 28px;
  padding: 22px;
  border: 1px solid rgba(31, 111, 229, 0.12);
  border-radius: 22px;
  background: rgba(242, 247, 255, 0.92);
}
.legal-toc h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 34px);
}
.legal-toc ol,
.legal-toc ul {
  padding-left: 18px;
  display: grid;
  gap: 8px;
}
.legal-toc a {
  color: var(--text);
  text-decoration: none;
}
.legal-toc a:hover {
  color: var(--accent);
}
.legal-body {
  display: grid;
  gap: 26px;
}
.legal-block h2 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 2.2vw, 40px);
  line-height: 1;
}
.legal-block p,
.legal-block li {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
}
.legal-block ul {
  padding-left: 18px;
  display: grid;
  gap: 8px;
}
.legal-block a {
  color: var(--accent);
}
.legal-grid {
  display: grid;
  gap: 18px;
}
.legal-link-card {
  display: block;
  padding: 22px;
  border: 1px solid rgba(31, 111, 229, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(31, 111, 229, 0.08);
}
.legal-link-card h2 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 2vw, 38px);
  line-height: 1;
}
.legal-link-card p {
  margin: 0;
  color: var(--text-muted);
}
.legal-notice {
  padding: 22px;
  border: 1px solid rgba(31, 111, 229, 0.16);
  border-radius: 22px;
  background: rgba(242, 247, 255, 0.92);
}
.legal-notice h2 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 2vw, 38px);
}
.legal-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 24px;
  border: 1px dashed rgba(31, 111, 229, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}
.legal-form__row {
  display: grid;
  gap: 8px;
}
.legal-form__line {
  min-height: 24px;
  border-bottom: 1px solid rgba(78, 100, 128, 0.38);
}
.legal-form__checks {
  display: grid;
  gap: 10px;
}
.legal-form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.legal-form__box {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(78, 100, 128, 0.48);
  border-radius: 4px;
  margin-top: 2px;
}
.legal-lang-note {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.site-popup-open {
  overflow: hidden;
}
.site-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 48, 77, 0.32);
  backdrop-filter: blur(10px);
}
.site-popup__card {
  width: min(100%, 460px);
  padding: 28px;
  border: 1px solid rgba(31, 111, 229, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(18, 48, 77, 0.18);
}
.site-popup__card--wide {
  width: min(100%, 620px);
}
.site-popup__label {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.site-popup__title {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 2.4vw, 42px);
  line-height: 0.98;
}
.site-popup__text {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 16px;
}
.site-popup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.site-popup__actions--stack .btn {
  width: 100%;
}
.site-popup__actions .btn-outline {
  width: auto;
}
.site-popup__link {
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  width: 100%;
  text-align: center;
}
.site-popup__link:hover {
  text-decoration: underline;
}
.cookie-settings__group {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}
.cookie-settings__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(31, 111, 229, 0.12);
  border-radius: 18px;
  background: rgba(242, 247, 255, 0.76);
}
.cookie-settings__row h3 {
  margin-bottom: 8px;
  font-size: 20px;
}
.cookie-settings__row p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}
.cookie-toggle {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}
.cookie-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cookie-toggle span {
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: rgba(31, 111, 229, 0.16);
  position: relative;
  transition: background 0.18s ease;
}
.cookie-toggle span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(18, 48, 77, 0.18);
  transition: transform 0.18s ease;
}
.cookie-toggle input:checked + span {
  background: rgba(31, 111, 229, 0.88);
}
.cookie-toggle input:checked + span::after {
  transform: translateX(22px);
}
.cookie-toggle input:disabled + span {
  background: rgba(31, 111, 229, 0.4);
}
.cookie-toggle input:focus-visible + span {
  outline: 2px solid rgba(31, 111, 229, 0.7);
  outline-offset: 3px;
}

.scroll-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  box-shadow: 0 16px 34px rgba(18, 48, 77, 0.18);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  z-index: 40;
}
.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.scroll-top:hover {
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(18, 48, 77, 0.24);
}
.scroll-top:focus-visible {
  outline: 2px solid rgba(31, 111, 229, 0.7);
  outline-offset: 4px;
}
.scroll-top__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.scroll-top__track,
.scroll-top__progress {
  fill: none;
  stroke-width: 3;
}
.scroll-top__track {
  stroke: rgba(31, 111, 229, 0.14);
}
.scroll-top__progress {
  stroke: var(--accent);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.12s linear;
}
.scroll-top__icon {
  position: relative;
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
}

@media (max-width: 1600px) {
  :root {
    --page-gutter: 120px;
  }
  .hero {
    gap: 36px;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1280px) {
  :root {
    --page-gutter: 72px;
  }
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 64px;
  }
  .hero-copy {
    min-height: auto;
    gap: 24px;
  }
  h1 {
    font-size: clamp(54px, 6vw, 86px);
  }
  .lede {
    font-size: 19px;
    max-width: 620px;
    margin-bottom: 0;
  }
  .section-head {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 24px;
  }
  .calculator-layout {
    grid-template-columns: 1fr;
  }
  .about .section-head {
    grid-template-columns: 140px minmax(0, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr minmax(0, 420px);
  }
  .legal-hero {
    grid-template-columns: 1fr;
    column-gap: 0;
    min-height: calc(100svh - 190px);
  }
  .legal-hero h1 {
    font-size: clamp(58px, 5.4vw, 88px);
  }
  .legal-hero .section-intro {
    font-size: 18px;
  }
}

@media (max-width: 1024px) {
  :root {
    --page-gutter: 40px;
  }
  .scroll-top {
    right: 22px;
    bottom: 22px;
  }
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .header-tools {
    width: 100%;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .nav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-side {
    justify-items: start;
    align-content: start;
  }
  .hero-mark {
    min-height: auto;
  }
  .countdown {
    width: min(100%, 220px);
  }
  .hero-stats {
    width: 100%;
    max-width: 100%;
  }
  .services {
    min-height: auto;
  }
  .work-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .about-window__body {
    padding: 30px 28px 34px;
  }
  .about-window__topbar {
    min-height: 60px;
    padding: 6px 14px;
  }
  .about-window__toolgroup {
    gap: 3px;
    padding: 5px 8px;
  }
  .about-window__tool {
    width: 30px;
    height: 26px;
    font-size: 14px;
  }
  .about-window__tool img {
    width: 12px;
    height: 12px;
  }
  .about-window__tool--next {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .service-card {
    min-height: auto;
  }
  .footer-copy,
  .footer-legal,
  .footer-hours,
  .footer-links,
  .footer-bottom {
    grid-column: auto;
  }
  .footer-links {
    max-width: 320px;
  }
  .legal-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (orientation: portrait) and (max-width: 1280px) {
  :root {
    --page-gutter: 28px;
  }
  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }
  .scroll-top__icon {
    font-size: 24px;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: 58svh;
    padding-top: 32px;
    padding-bottom: 40px;
  }
  .hero-copy {
    min-height: auto;
    gap: 18px;
  }
  .hero-side {
    justify-items: center;
    gap: 18px;
  }
  .hero-mark {
    min-height: auto;
  }
  .countdown {
    width: min(100%, 180px);
  }
  h1 {
    font-size: clamp(42px, 7vw, 68px);
    line-height: 1;
    margin-bottom: 16px;
  }
  .lede {
    font-size: 17px;
    max-width: 100%;
  }
  .hero-actions {
    gap: 10px;
  }
  .services {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .services .section-title {
    text-align: center;
    font-size: clamp(34px, 6vw, 56px);
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .service-card {
    min-height: 0;
    padding: 24px 22px 24px;
  }
  .service-card h2 {
    font-size: 28px;
    line-height: 1.02;
  }
  .service-card p {
    font-size: 15px;
    max-width: none;
  }
  .calculator {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .about {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .about-window {
    border-radius: 22px;
  }
  .about-window__topbar {
    min-height: 52px;
    padding: 4px 12px;
  }
  .about-window__title {
    font-size: 20px;
  }
  .about-window__toolbar {
    gap: 8px;
  }
  .about-window__toolgroup {
    gap: 2px;
    padding: 4px 6px;
  }
  .about-window__tool {
    width: 24px;
    height: 22px;
    font-size: 12px;
  }
  .about-window__tool img {
    width: 10px;
    height: 10px;
  }
  .about-window__tool--next {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .about-window__body {
    padding: 24px 22px 28px;
  }
  .about-window__text {
    font-size: 19px;
    line-height: 1.45;
  }
}

@media (max-aspect-ratio: 4/5) and (min-width: 721px) {
  :root {
    --page-gutter: 32px;
  }
  .hero {
    grid-template-columns: minmax(220px, 320px) minmax(220px, 1fr);
    align-items: center;
    min-height: 86svh;
    padding-top: 88px;
    padding-bottom: 72px;
    gap: 48px;
  }
  .hero-copy {
    max-width: 300px;
    min-height: auto;
    justify-content: start;
    gap: 28px;
  }
  .eyebrow {
    margin-bottom: 0;
  }
  .hero-mark {
    min-height: 360px;
  }
  .countdown {
    width: min(100%, 280px);
  }
  .countdown-num {
    font-size: 104px;
  }
  h1 {
    font-size: clamp(54px, 7vw, 78px);
    line-height: 0.92;
    margin-bottom: 0;
    max-width: 280px;
  }
  .lede {
    font-size: 18px;
    max-width: 100%;
    margin-bottom: 0;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .hero-actions .btn,
  .hero-actions .btn-outline {
    width: auto;
    min-width: 220px;
    text-align: center;
  }
  .hero-side {
    justify-items: center;
    align-content: center;
  }
  .services {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .services .section-head {
    margin-bottom: 28px;
  }
  .services .section-title {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1;
  }
  .service-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
    max-width: 560px;
    margin: 0 auto;
  }
  .service-card {
    padding: 18px 18px 20px;
    border-radius: 20px;
  }
  .service-heading {
    gap: 12px;
    margin-bottom: 14px;
  }
  .service-icon {
    width: 32px;
    height: 32px;
  }
  .service-icon img {
    width: 30px;
    height: 30px;
  }
  .service-card h2 {
    font-size: 23px;
    line-height: 1.02;
  }
  .service-card p {
    font-size: 14px;
    line-height: 1.5;
  }
  .calculator {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .calculator-head {
    margin-bottom: 26px;
  }
}

/* --- responsive --- */
@media (max-width: 720px) {
  :root {
    --page-gutter: 20px;
  }
  .wrap {
    padding: 0 var(--page-gutter);
  }
  section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .header-tools {
    width: 100%;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }
  .nav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }
  .lang-select {
    min-width: 76px;
    padding: 9px 34px 9px 12px;
  }
  .hero {
    min-height: auto;
    padding: 24px 20px 56px;
    gap: 32px;
  }
  .hero-copy {
    min-height: auto;
    padding: 0;
  }
  .hero-side {
    align-content: start;
  }
  .countdown { width: 120px; }
  h1 {
    font-size: 36px;
    line-height: 1.04;
  }
  .lede {
    font-size: 16px;
    margin-bottom: 28px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn,
  .btn-outline {
    width: 100%;
    text-align: center;
  }
  .stat-row {
    flex-direction: column;
    gap: 6px;
  }
  .stat-row strong {
    text-align: left;
  }
  .section-title {
    font-size: 34px;
    line-height: 1.02;
  }
  .section-head,
  .service-grid,
  .calculator-layout,
  .about-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }
  .services {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .service-card,
  .work-slot,
  .work-slot-wide {
    min-height: auto;
  }
  .service-card {
    padding: 24px;
    border-radius: 22px;
  }
  .service-card h2 {
    font-size: 28px;
  }
  .calculator-head,
  .footer-copy {
    max-width: 100%;
  }
  .calculator {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .calculator-form,
  .calculator-result {
    padding: 24px;
    border-radius: 22px;
  }
  .calculator-discount-label {
    top: -14px;
    right: -8px;
    padding: 7px 12px;
    font-size: 10px;
  }
  .footer-copy h2 {
    font-size: 34px;
  }
  .site-footer {
    margin-top: 56px;
  }
  .footer-inner {
    padding-top: 48px;
    padding-bottom: 28px;
  }
  .footer-links {
    max-width: none;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .footer-copy,
  .footer-legal,
  .footer-hours,
  .footer-links,
  .footer-bottom {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-bottom-link {
    margin-left: 0;
  }
  .footer-bottom .footer-legal::before {
    display: none;
  }
  .footer-legal {
    gap: 4px 0;
  }
  .legal-shell {
    padding-top: 48px;
    padding-bottom: 64px;
  }
  .legal-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "back"
      "title"
      "intro";
    min-height: auto;
    column-gap: 0;
    row-gap: 12px;
  }
  .legal-hero h1 {
    font-size: clamp(42px, 7vw, 68px);
    line-height: 0.98;
  }
  .legal-hero .section-intro {
    max-width: 100%;
    margin-bottom: 0;
    font-size: 17px;
  }
  .legal-card {
    padding: 24px;
    border-radius: 22px;
  }
  .legal-toc,
  .legal-form,
  .legal-notice {
    padding: 18px;
    border-radius: 18px;
  }
  .site-popup {
    padding: 16px;
    place-items: center;
  }
  .site-popup__card {
    width: min(100%, 460px);
    padding: 22px;
    border-radius: 22px;
  }
  .cookie-settings__row {
    align-items: flex-start;
    flex-direction: column;
  }
  .service-heading {
    align-items: flex-start;
    gap: 14px;
  }
  .work-slot-wide {
    grid-row: auto;
  }
}

/* --- accessibility --- */
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .countdown-ring { animation: none !important; }
}

@media print {
  .site-header,
  .site-footer,
  .scroll-top,
  .site-popup,
  .legal-back,
  .lang-switcher,
  .legal-download {
    display: none !important;
  }
  body,
  .legal-page {
    background: #ffffff !important;
  }
  .legal-shell {
    padding: 0 !important;
  }
  .legal-card,
  .legal-toc,
  .legal-form,
  .legal-notice {
    box-shadow: none !important;
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.16) !important;
  }
  .legal-hero {
    min-height: auto !important;
    margin-bottom: 20px !important;
  }
}

@keyframes countdown-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
