:root {
  --paper: #ffffff;
  --surface: #ffffff;
  --ink: #141414;
  --muted: #4a5868;
  --faint: #8592a1;
  --hairline: #e6eaf0;
  --copper: #ff7a1a;
  --copper-deep: #c4540a;
  --copper-deep-hover: #ff8f3d;
  --navy: #0b2e4f;
  --receipt: #0b2e4f;
  --receipt-ink: #ffffff;
  --receipt-muted: #c9d5e1;
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --header-h: 84px;
  --shadow-dialog: 0 16px 40px rgba(11, 46, 79, 0.16);
  --glass: #ffffff;
  --focus: #ff7a1a;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  scroll-padding-bottom: calc(150px + env(safe-area-inset-bottom));
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Golos Text", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  padding-bottom: calc(132px + env(safe-area-inset-bottom));
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .dock {
  visibility: hidden;
}

section,
[id] {
  scroll-margin-top: 84px;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

legend {
  margin-bottom: 8px;
  padding: 0;
}

.after-title {
  margin-top: 12px;
}

.span-all {
  grid-column: 1 / -1;
}

.copy-buffer {
  position: fixed;
  left: -999px;
  top: 0;
}

.case h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3,
.logo-name {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.04;
  overflow-wrap: normal;
  hyphens: manual;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.08;
}

a {
  color: inherit;
}

::selection {
  background: #f0d2c4;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.skip:focus {
  top: 12px;
}

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

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.num {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 14px;
  line-height: 1.45;
}

.kicker {
  margin-bottom: 12px;
  color: var(--copper-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  padding: 56px 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 28px;
}

.section-head p {
  margin-top: 12px;
}

.accent {
  color: var(--copper-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: transparent;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
  font-size: 15px;
}

.btn-primary {
  background: var(--copper);
  border-color: var(--copper);
  color: #141414;
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--copper-deep-hover);
  border-color: var(--copper-deep-hover);
}

.btn-secondary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.btn-secondary:hover {
  background: #2a2622;
}

.btn-ghost {
  border-color: var(--hairline);
  background: var(--surface);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: #cfc6bb;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-wide {
  width: 100%;
}

.topbar {
  background: var(--navy);
  color: #dce5ee;
  font-size: 13px;
}

.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  align-items: center;
  min-height: 40px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.topbar b {
  color: #fff;
}

.topbar-desc {
  color: #fff;
  font-weight: 600;
}

.topbar-extra {
  margin-left: auto;
}

@media (max-width: 720px) {
  .topbar-extra {
    display: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--hairline);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.logo img {
  width: 168px;
  height: auto;
}

.logo-name {
  display: block;
  font-size: 16px;
  line-height: 1.1;
}

.logo-note {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--copper-deep);
}

.header-call {
  display: none;
}

.nav-toggle {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.nav-panel {
  position: fixed;
  z-index: 35;
  inset: var(--header-h) 0 0;
  overflow: auto;
  padding: 8px 20px 28px;
  background: var(--paper);
}

.nav-panel a,
.nav-panel button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  background: none;
  text-align: left;
  text-decoration: none;
  font-size: 20px;
}

.hero-screen {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--navy);
  color: #fff;
}

.hero-photo,
.hero-screen::before {
  display: none;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 18px;
}

.hero-copy {
  color: #f7f5f2;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
}

.hero-copy .kicker,
.hero-copy .accent {
  color: #ffb27a;
}

.hero-copy .accent {
  color: var(--copper);
}

.hero-copy .lede,
.hero-copy .meta-line {
  color: rgba(247, 245, 242, 0.88);
}

.hero-copy .lede {
  max-width: 34rem;
  margin-top: 14px;
  font-size: 18px;
}

.hero-note {
  margin-top: 18px;
  margin-bottom: 8px;
}

.hero-card {
  position: relative;
  z-index: 2;
  padding: 16px;
  border-radius: 20px;
}

.glass {
  background: #fff;
  border: 1px solid #e6eaf0;
  box-shadow: 0 18px 40px rgba(11, 46, 79, 0.16);
}

.meta-line {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.fine {
  max-width: 38rem;
  margin-top: 14px;
}

.board {
  display: grid;
  gap: 8px;
  margin: 12px 0 16px;
}

.board div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(22, 21, 19, 0.1);
  font-size: 14px;
}

.board dt {
  font-weight: 400;
}

.board dd {
  margin: 0;
  text-align: right;
}

.hero-copy .board {
  max-width: 22rem;
  margin-top: 22px;
}

.hero-copy .board div {
  border-top-color: rgba(247, 245, 242, 0.28);
}

.hero-copy .board dd {
  color: #f3d2c3;
}

.stack {
  display: grid;
  gap: 12px;
}

label,
.label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d9d2c8;
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

::placeholder {
  color: var(--faint);
  opacity: 1;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  accent-color: var(--copper-deep);
}

.field-error {
  color: #8a2a1f;
  font-size: 14px;
}

.trust-inline {
  margin-top: 10px;
}

.calc-layout,
.final-grid,
.b2b-grid,
.docs-grid,
.split {
  display: grid;
  gap: 24px;
}

.receipt {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--receipt);
  color: var(--receipt-ink);
}

.receipt .kicker,
.receipt .muted {
  color: var(--receipt-muted);
}

.result-sum {
  margin: 8px 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.result-notes {
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.result-notes li + li {
  margin-top: 8px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.chip[aria-pressed="true"] {
  border-color: var(--copper-deep);
  color: var(--copper-deep);
}

.checks {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.checks label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  grid-template-columns: none;
}

.price-panel,
.panel {
  padding: 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.price-tools {
  display: grid;
  gap: 12px;
  margin-bottom: 8px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding-bottom: 4px;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: none;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  white-space: nowrap;
}

.tab[aria-selected="true"] {
  border-bottom-color: var(--copper-deep);
  color: var(--ink);
}

.price-head {
  display: none;
}

.price-row {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
}

.price-row h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.price-k {
  display: block;
  margin-bottom: 2px;
  color: var(--faint);
  font-size: 12px;
}

.price-row .btn {
  min-height: 44px;
}

.fix-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

.fix-form .form-fields {
  display: grid;
  gap: 12px;
}

.service,
.trust-list > div,
.faq-item {
  border-top: 1px solid var(--hairline);
}

.service {
  padding: 20px 0;
}

.service h3,
.trust-list h3,
.steps h3,
.fleet-row h3 {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.index-no {
  display: block;
  margin-bottom: 8px;
  color: var(--copper-deep);
  font-size: 12px;
}

.trust-list > div {
  padding: 18px 0;
}

.case + .case {
  margin-top: 56px;
}

.case-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.case-photos figure {
  margin: 0;
}

.shot {
  height: 112px;
  border-radius: var(--radius-sm);
}

.case-photos figcaption {
  margin-top: 6px;
  color: var(--faint);
  font-size: 12px;
}

.metal-a {
  background:
    repeating-linear-gradient(90deg, #3a342e 0 14px, #2a2521 14px 16px),
    #4a433c;
}

.metal-b {
  background: repeating-linear-gradient(#6d655c 0 10px, #4e4842 10px 12px);
}

.metal-c {
  background:
    linear-gradient(#8d4528, #8d4528) 0 0 / 100% 6px no-repeat,
    repeating-linear-gradient(135deg, #2c2824 0 12px, #403a35 12px 24px);
}

.specs {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.specs div {
  display: grid;
  gap: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--hairline);
}

.specs dt {
  color: var(--faint);
  font-size: 12px;
}

.quote {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  font-size: 18px;
  line-height: 1.4;
}

.quote footer {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
}

.band-ink {
  background: var(--navy);
  color: #fff;
}

.band-ink .muted,
.band-ink .fine {
  color: var(--receipt-muted);
}

.band-ink .kicker {
  color: #ffb27a;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.fleet-head {
  display: none;
}

.fleet-row {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
}

.doc-card {
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.doc-card strong {
  display: block;
  margin: 12px 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.rule {
  height: 3px;
  width: 48px;
  background: var(--copper-deep);
}

.faq-item h3 {
  margin: 0;
  font-size: inherit;
  font-weight: 400;
}

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 16px 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: 18px;
  line-height: 1.3;
}

.faq-item .mark {
  flex: none;
  color: var(--copper-deep);
}

.faq-item .answer {
  padding: 0 0 16px;
  max-width: 68ch;
}

.faq-item ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.final {
  padding-bottom: 72px;
}

.form-success {
  display: grid;
  gap: 12px;
}

.site-footer {
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--hairline);
}

.footer-grid {
  display: grid;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a {
  color: var(--muted);
}

.dock {
  position: fixed;
  z-index: 40;
  right: 10px;
  bottom: calc(8px + env(safe-area-inset-bottom));
  left: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-lg);
}

.dock-apps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.dock .btn,
.dock-apps button {
  min-height: 44px;
  padding: 8px;
  font-size: 14px;
}

.dock-apps button {
  border: 1px solid rgba(22, 21, 19, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 251, 0.55);
}

body.keyboard .dock,
.dock.is-quiet {
  visibility: hidden;
  pointer-events: none;
}

dialog {
  width: min(460px, calc(100vw - 24px));
  max-height: min(92dvh, 760px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-dialog);
}

dialog::backdrop {
  background: rgba(22, 21, 19, 0.48);
}

.dialog-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dialog-head h2 {
  font-size: 1.4rem;
}

#doc-dialog {
  width: min(640px, calc(100vw - 24px));
}

#doc-dialog .doc-card strong {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

@media (max-width: 359px) {
  .wrap {
    width: min(1120px, calc(100% - 20px));
  }

  .case-photos {
    grid-template-columns: 1fr;
  }

  .shot {
    height: 88px;
  }

  .logo-note {
    display: none;
  }
}

@media (min-width: 720px) {
  .price-panel,
  .panel,
  .hero-card {
    padding: 20px;
  }

  .shot {
    height: 180px;
  }

  .fix-form .form-fields {
    grid-template-columns: 1.2fr 1fr 0.8fr auto;
    align-items: end;
  }
}

@media (min-width: 800px) {
  .section {
    padding: 88px 0;
  }

  .calc-layout,
  .final-grid,
  .b2b-grid,
  .docs-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: start;
  }

  .receipt {
    position: sticky;
    top: 88px;
  }

  .price-head,
  .fleet-head {
    display: grid;
    gap: 16px;
    padding: 8px 0;
    color: var(--faint);
    font-size: 12px;
  }

  .price-head {
    grid-template-columns: minmax(0, 1.5fr) 180px 120px;
  }

  .fleet-head {
    grid-template-columns: 1.2fr 0.7fr 1.5fr;
  }

  .price-row,
  .fleet-row {
    gap: 16px;
    align-items: center;
  }

  .price-row {
    grid-template-columns: minmax(0, 1.5fr) 180px 120px;
  }

  .fleet-row {
    grid-template-columns: 1.2fr 0.7fr 1.5fr;
    align-items: baseline;
  }

  .price-k {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .service-list,
  .trust-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .service:nth-child(odd),
  .trust-list > div:nth-child(odd) {
    padding-right: 28px;
  }

  .service:nth-child(even),
  .trust-list > div:nth-child(even) {
    padding-left: 28px;
    border-left: 1px solid var(--hairline);
  }

  .service:nth-child(n + 3) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 20px;
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }

  .case {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: start;
  }

  .shot {
    height: 220px;
  }
}

@media (min-width: 900px) {
  .nav-links,
  .header-call {
    display: flex;
  }

  .nav-toggle,
  .nav-panel {
    display: none !important;
  }
}

@media (min-width: 1180px) {
  html {
    scroll-padding-bottom: 32px;
  }

  body {
    padding-bottom: 0;
    padding-right: 112px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.86fr);
    gap: 28px;
    align-items: end;
    padding: 48px 0 24px;
  }

  .hero-card {
    margin-top: 0;
  }

  .dock {
    top: 88px;
    right: 12px;
    bottom: auto;
    left: auto;
    width: 92px;
    grid-template-columns: 1fr;
  }

  .dock-apps {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .dock .btn {
    min-height: 64px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.photo-grid {
  display: grid;
  gap: 12px;
}

.photo-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 20px;
}

.photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card-copy {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 14px 16px;
  border-radius: 16px;
}

.photo-card-copy h3 {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.photo-card-copy p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.photo-card-copy .card-meta {
  color: var(--ink);
  font-size: 13px;
}

.photo-card-copy .btn {
  width: 100%;
  margin-top: 12px;
}

.case-photos .shot {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 14px;
}

.film {
  display: grid;
  gap: 10px;
  margin: 8px 0 28px;
}

.film img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
}

.price-panel,
.panel {
  border-radius: 20px;
}

@media (min-width: 800px) {
  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .photo-card {
    min-height: 520px;
  }

  .case-photos .shot {
    height: 280px;
  }

  .film {
    grid-template-columns: 1.35fr 1fr 1fr;
  }

  .film img {
    height: 260px;
  }
}

@media (min-width: 1180px) {
  .hero-screen {
    margin: 12px 12px 0 0;
    border-radius: 28px;
  }
}
