:root {
  color-scheme: light;
  --ink: #132032;
  --muted: #5c6878;
  --line: #ccd6e2;
  --panel: #ffffff;
  --soft: #f3f6f9;
  --navy: #10213c;
  --blue: #0b5bd3;
  --green: #13704b;
  --red: #a22b2b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f5f7fa;
  color: var(--ink);
}

button, input, textarea { font: inherit; }

.warranty-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.brand-link img { display: block; width: 176px; max-width: 42vw; }

.header-actions, .language-switch, .mode-tabs, .form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions > a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.language-switch {
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
}

.language-switch button {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.language-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(420px, 0.8fr);
  gap: 48px;
  align-items: end;
  padding: 54px clamp(18px, 6vw, 92px) 46px;
  background: var(--navy);
  color: #fff;
}

.eyebrow { margin: 0 0 10px; color: #91bdfc; font-size: 13px; font-weight: 800; }
.intro-band h1 { margin: 0; font-size: clamp(34px, 5vw, 66px); letter-spacing: 0; }
.intro-band > div > p:last-child { max-width: 760px; margin: 18px 0 0; color: #d4dfef; line-height: 1.7; }

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #40516b;
}

.process-strip li { min-height: 88px; padding: 14px; background: #1a2d4a; }
.process-strip span { display: block; margin-bottom: 13px; color: #91bdfc; font-size: 12px; }
.process-strip strong { font-size: 14px; }

.warranty-shell { width: min(1120px, calc(100% - 32px)); margin: 28px auto 60px; }

.support-scope {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 28px;
  padding: 24px;
  border: 1px solid #cbd8d5;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: #f2f7f5;
}
.support-scope .eyebrow { margin: 0 0 8px; color: #28705c; }
.support-scope h2 { margin: 0; font-size: 24px; }
.support-scope p:not(.eyebrow) { margin: 10px 0 0; color: var(--muted); line-height: 1.6; }
.support-scope ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.support-scope li { min-height: 54px; padding: 12px; border: 1px solid #cddbd7; border-radius: 6px; background: #fff; font-size: 13px; font-weight: 800; line-height: 1.45; }

.mode-tabs { border-bottom: 1px solid var(--line); }
.mode-tabs button {
  padding: 14px 20px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}
.mode-tabs button.active { border-bottom-color: var(--blue); color: var(--blue); }

.service-panel { padding: 28px 0 0; }
.panel-heading { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 18px; }
.panel-heading h2 { margin: 0; font-size: 24px; }
.panel-heading p { max-width: 610px; margin: 0; color: var(--muted); line-height: 1.55; }
.address-heading { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }

form { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: grid; gap: 7px; color: #344256; font-size: 13px; font-weight: 750; }
.span-2 { grid-column: 1 / -1; }

input, textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #b8c5d4;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
textarea { min-height: 86px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 91, 211, 0.12); }

.privacy-check { grid-template-columns: auto 1fr; align-items: start; margin-top: 22px; line-height: 1.55; }
.privacy-check input { width: 18px; min-height: 18px; margin-top: 2px; }
.form-actions { margin-top: 22px; }

.primary-button {
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}
.primary-button:disabled { cursor: wait; opacity: 0.65; }
.form-status { margin: 0; color: var(--muted); font-weight: 700; }
.form-status.error { color: var(--red); }

.lookup-form { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 16px; }
.result-panel { margin-top: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.result-panel h3 { margin: 0 0 16px; }
.result-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.result-summary div { padding: 13px; border: 1px solid #d5dee9; border-radius: 6px; background: var(--soft); }
.result-summary span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.result-summary strong { overflow-wrap: anywhere; }
.status-note { margin: 16px 0 0; padding: 12px 14px; border-left: 4px solid var(--blue); background: #eef5ff; line-height: 1.55; }
.download-button { display: inline-flex; margin-top: 16px; text-decoration: none; }
.timeline { margin: 18px 0 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 11px 0; border-top: 1px solid #e0e6ed; }
.timeline time { color: var(--muted); font-size: 13px; }

.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px clamp(18px, 6vw, 92px); border-top: 1px solid var(--line); background: #fff; color: var(--muted); }
footer a { color: var(--ink); font-weight: 700; }

@media (max-width: 900px) {
  .intro-band { grid-template-columns: 1fr; gap: 30px; }
  .support-scope { grid-template-columns: 1fr; gap: 20px; }
  .panel-heading { display: block; }
  .panel-heading p { margin-top: 8px; }
  .result-summary { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .warranty-header { align-items: flex-start; }
  .header-actions { align-items: flex-end; flex-direction: column; }
  .brand-link img { width: 142px; }
  .intro-band { padding-top: 36px; }
  .process-strip { grid-template-columns: 1fr 1fr; }
  .warranty-shell { width: min(100% - 20px, 1120px); }
  .support-scope { padding: 18px; }
  .support-scope ul { grid-template-columns: 1fr; }
  .form-grid, .lookup-form, .result-summary { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  form { padding: 16px; }
  .mode-tabs button { flex: 1; padding-inline: 8px; }
  .form-actions, footer { align-items: stretch; flex-direction: column; }
  .timeline li { grid-template-columns: 1fr; gap: 5px; }
}
