:root {
  --bg: #ffffff;
  --text: #111111;
  --text-2: #3d3d3d;
  --muted: #747474;
  --line: #e4e4e4;
  --wire: #d6d6d6;
  --blue: #0047ff;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: baseline; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.brand-note { font-size: 14px; color: var(--muted); }
.top-nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.top-contact { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Intro */
.intro { padding-top: clamp(56px, 9vw, 112px); padding-bottom: 56px; }
.intro h1 {
  max-width: 21ch;
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.intro-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px 48px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 20px;
  border-top: 1px solid var(--text);
}
.intro-foot p { max-width: 54ch; color: var(--text-2); }
.intro-cta {
  font-size: 18px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

/* Wireframe figures */
.figures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: clamp(64px, 9vw, 104px);
}
.figures figure { container-type: inline-size; }
.figures figcaption { margin-top: 14px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.figures figcaption span { margin-right: 10px; color: var(--text); }

.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4.5cqw;
  aspect-ratio: 9 / 19;
  padding: 7cqw 8cqw 8cqw;
  border: 1.5px solid var(--text);
  border-radius: 13cqw;
  background: var(--bg);
  font-size: 4.6cqw;
  line-height: 1.3;
}
.screen > * { flex-shrink: 0; }
.s-status { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4cqw; font-family: var(--mono); font-size: 4.2cqw; }
.s-status::after {
  content: "";
  position: absolute;
  top: 6cqw;
  left: 50%;
  width: 26cqw;
  height: 7cqw;
  border-radius: 99px;
  background: var(--text);
  transform: translateX(-50%);
}
.s-batt { width: 8cqw; height: 4cqw; border: 1px solid var(--text); border-radius: 1.2cqw; }

.s-line { height: 2.6cqw; border-radius: 2px; background: var(--wire); }
.s-line.thick { height: 5.5cqw; background: var(--text); }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }

.s-art {
  flex: 1 1 auto;
  border: 1px solid var(--wire);
  border-radius: 4cqw;
  background:
    linear-gradient(to top right, transparent calc(50% - 0.6px), var(--wire) 50%, transparent calc(50% + 0.6px)),
    linear-gradient(to top left, transparent calc(50% - 0.6px), var(--wire) 50%, transparent calc(50% + 0.6px));
}
.s-dots { display: flex; gap: 2cqw; }
.s-dots i { width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: var(--wire); }
.s-dots i.on { width: 6cqw; border-radius: 99px; background: var(--text); }

.s-btn {
  margin-top: auto;
  padding: 4.2cqw;
  border-radius: 4cqw;
  background: var(--text);
  color: #fff;
  text-align: center;
  font-weight: 500;
}
.s-link { margin-top: -1cqw; text-align: center; font-size: 4cqw; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.s-close { align-self: flex-end; margin-top: -3cqw; font-size: 8cqw; line-height: 1; color: var(--muted); }

.s-list { display: flex; flex-direction: column; gap: 2.4cqw; margin: 2cqw 0; }
.s-list li::before { content: "✓"; margin-right: 2.6cqw; color: var(--blue); }

.s-plan {
  display: flex;
  justify-content: space-between;
  padding: 3.6cqw 4.5cqw;
  border: 1px solid var(--wire);
  border-radius: 3.5cqw;
}
.s-plan span:last-child { font-family: var(--mono); font-size: 4.2cqw; }
.s-plan.sel { border: 1.5px solid var(--blue); background: #f2f5ff; }

.s-chart { display: flex; align-items: flex-end; gap: 2.4cqw; height: 32cqw; margin: 2cqw 0 1cqw; padding-bottom: 1px; border-bottom: 1px solid var(--text); }
.s-chart i { flex: 1; border-radius: 1.2cqw 1.2cqw 0 0; background: var(--wire); }
.s-chart i.hi { background: var(--blue); }

.s-row { display: flex; align-items: center; gap: 4cqw; padding: 1cqw 0; }
.s-sq { flex: none; width: 9cqw; height: 9cqw; border: 1px solid var(--wire); border-radius: 2.6cqw; }

.s-tabs { display: flex; justify-content: space-around; margin-top: auto; padding-top: 4.5cqw; border-top: 1px solid var(--line); }
.s-tabs i { width: 5.5cqw; height: 5.5cqw; border-radius: 1.6cqw; background: var(--wire); }
.s-tabs i.on { background: var(--text); }

.s-field { height: 11cqw; border: 1px solid var(--wire); border-radius: 3cqw; }
.s-toggle { display: flex; justify-content: space-between; align-items: center; padding: 2cqw 0; }
.sw { position: relative; width: 11cqw; height: 6.4cqw; border-radius: 99px; background: var(--wire); }
.sw::after { content: ""; position: absolute; top: 0.8cqw; left: 0.8cqw; width: 4.8cqw; height: 4.8cqw; border-radius: 50%; background: #fff; }
.sw.on { background: var(--blue); }
.sw.on::after { left: auto; right: 0.8cqw; }

/* Content blocks */
.block, .contact {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  padding-top: 28px;
  padding-bottom: clamp(64px, 8vw, 96px);
}
.block::before, .contact::before {
  content: "";
  grid-column: 1 / -1;
  height: 1px;
  margin-bottom: 4px;
  background: var(--text);
}
.block-title { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }

.table { width: 100%; border-collapse: collapse; }
.table th {
  padding: 0 20px 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.table td { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table td:first-child { width: 26%; font-weight: 500; }
.table td:nth-child(2) { color: var(--text-2); }
.table td:last-child { width: 24%; padding-right: 0; font-family: var(--mono); font-size: 13.5px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 14px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.steps h3 { margin: 10px 0 8px; font-size: 18px; font-weight: 600; }
.steps p { font-size: 15.5px; color: var(--text-2); }

.terms li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.terms li:first-child { padding-top: 0; }
.terms strong { font-weight: 600; color: var(--text); }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child summary { padding-top: 0; }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--blue); }
.faq details p { max-width: 62ch; padding-bottom: 20px; color: var(--text-2); }

.contact-lead { max-width: 46ch; margin-bottom: 20px; font-size: 18px; color: var(--text-2); }
.contact-mail {
  font-size: clamp(28px, 5.6vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  text-decoration-thickness: 2px;
  overflow-wrap: anywhere;
}

/* Footer */
.foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.foot-company { display: flex; flex-direction: column; gap: 4px; }
.foot address { font-style: normal; }

/* Responsive */
@media (max-width: 900px) {
  .figures { gap: 16px; }
  .block, .contact { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .brand-note { display: none; }
  .top-nav { gap: 18px; font-size: 14.5px; }
  .intro-foot { grid-template-columns: 1fr; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }

  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: auto !important; }
  .table tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .table tr:first-child { padding-top: 0; }
  .table td { padding: 0; border: 0; }
  .table td:first-child { margin-bottom: 4px; }
  .table td:last-child { margin-top: 6px; }
}

@media (max-width: 420px) {
  .top-nav a:nth-child(2), .top-nav a:nth-child(3) { display: none; }
}
