/* tekda site: shared styles. Left-aligned editorial layout, ruled lists, one accent. */
:root {
  --bg: #F1F4F5;
  --surface: #E6EBED;
  --fg: #0D1A24;
  --muted: #4C5D69;
  --line: #C5CFD4;
  --accent: #0B7A6B;
  --accent-fg: #FFFFFF;
  --panel: #0D1A24;
  --panel-fg: #DDE7EC;
  --panel-dim: #8CA0AC;
  --panel-ok: #5FD8BE;
  --panel-grid: #2A3A45;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
  padding-block: env(safe-area-inset-top, 0px) env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B141B; --surface: #121F29; --fg: #E7EEF1; --muted: #93A5B0; --line: #25353F;
    --accent: #4FD1B5; --accent-fg: #07211C;
    --panel: #07100F; --panel-fg: #DDE7EC; --panel-dim: #7F939F; --panel-ok: #5FD8BE; --panel-grid: #1E2D33;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B141B; --surface: #121F29; --fg: #E7EEF1; --muted: #93A5B0; --line: #25353F;
  --accent: #4FD1B5; --accent-fg: #07211C;
  --panel: #07100F; --panel-fg: #DDE7EC; --panel-dim: #7F939F; --panel-ok: #5FD8BE; --panel-grid: #1E2D33;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; padding-inline: 20px; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1120px; margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.muted { color: var(--muted); }

/* header */
header { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding-block: 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.logo { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.04em; text-decoration: none; }
.logo span { color: var(--accent); }
nav { display: flex; gap: 26px; align-items: center; font-size: 15px; font-weight: 500; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover, nav a[aria-current="page"] { color: var(--fg); }
nav a[aria-current="page"]:not(.btn) { border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-fg); padding: 12px 22px; border-radius: 4px; font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; font-family: var(--body); }
.btn:hover { filter: brightness(1.08); }
nav .btn, nav .btn:hover { color: var(--accent-fg); padding: 9px 16px; }
.arrow { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }

/* home hero + feature rows */
.hero, .feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero { padding-block: 72px 80px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 19px; color: var(--muted); max-width: 54ch; margin: 24px 0 30px; }
.actions { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.feature { padding-block: 56px; }
.feature h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.feature p { margin: 0 0 14px; max-width: 54ch; color: var(--muted); }

/* inner page hero */
.page-hero { padding-block: 56px 56px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); margin-top: 14px; max-width: 22ch; }
.page-hero .lead { margin-bottom: 28px; }
.crumb { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.crumb:hover { color: var(--fg); }

/* panel with chart */
.panel { background: var(--panel); color: var(--panel-fg); border-radius: 6px; padding: 20px 20px 16px; font-family: var(--mono); font-size: 12px; min-width: 0; }
.panel .top { display: flex; justify-content: space-between; gap: 12px; color: var(--panel-dim); border-bottom: 1px solid var(--panel-grid); padding-bottom: 12px; margin-bottom: 8px; }
.panel svg { display: block; width: 100%; height: auto; }
.panel .legend { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--panel-dim); padding-top: 10px; }
.panel .legend i { display: inline-block; width: 18px; height: 0; border-top: 2px solid var(--panel-fg); vertical-align: middle; margin-right: 6px; }
.panel .legend i.f { border-top: 2px dashed var(--panel-ok); }
.panel .legend i.m { border-top: 2px solid var(--panel-ok); }
.panel .legend i.b { height: 8px; border: 0; background: var(--panel-ok); opacity: .25; }

/* sections */
section { padding-block: 72px; border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); }
.sec-head p { margin: 0; color: var(--muted); max-width: 56ch; align-self: end; }

.services { list-style: none; margin: 0; padding: 0; }
.services > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; padding-block: 28px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.services > li:last-child { border-bottom: 1px solid var(--line); }
.services h3 { font-size: 24px; letter-spacing: -0.015em; }
.services .label { margin-bottom: 10px; }
.desc { color: var(--muted); min-width: 0; }
.desc p { margin: 0 0 12px; max-width: 62ch; }
.desc .arrow { color: var(--fg); display: inline-block; margin-top: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags span { font-family: var(--mono); font-size: 12px; border: 1px solid var(--line); border-radius: 3px; padding: 3px 9px; color: var(--fg); }
.checks { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 8px; max-width: 62ch; }
.checks li { padding-left: 22px; position: relative; color: var(--fg); }
.checks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; background: var(--accent); }

.minis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.minis > div { border-top: 2px solid var(--fg); padding-top: 16px; }
.minis h3 { font-size: 20px; margin-bottom: 8px; }
.minis p { margin: 0 0 10px; color: var(--muted); font-size: 15.5px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { padding: 4px 24px 0 0; counter-increment: s; }
.steps li::before { content: "Step " counter(s); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); display: block; border-top: 2px solid var(--accent); padding-top: 14px; margin-bottom: 10px; }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.statement { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; letter-spacing: -0.01em; max-width: 34ch; margin: 0 0 22px; }

.cta { background: var(--surface); border-radius: 6px; padding: 40px; display: flex; gap: 24px 40px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-block: 24px 72px; }
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); max-width: 22ch; }
.cta p { margin: 10px 0 0; color: var(--muted); max-width: 46ch; }

.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
tr:last-child td { border-bottom: 0; }
td.n, th.n { text-align: right; }
.cap { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 10px 0 0; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; padding-block: 8px 72px; }
.contact h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 20px; }
.contact ol { list-style: none; counter-reset: c; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact ol li { counter-increment: c; padding-left: 44px; position: relative; }
.contact ol li::before { content: counter(c); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border: 1.5px solid var(--accent); border-radius: 50%; color: var(--accent); font-family: var(--mono); font-size: 13px; display: grid; place-items: center; }
.contact ol strong { display: block; font-family: var(--display); font-size: 19px; letter-spacing: -.01em; }
.contact ol span { color: var(--muted); font-size: 15.5px; }
form { display: grid; gap: 18px; background: var(--surface); padding: 28px; border-radius: 6px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 11px 12px; width: 100%; min-width: 0; }
textarea { min-height: 130px; resize: vertical; }
.status { font-size: 14px; color: var(--muted); min-height: 1.4em; margin: 0; }

footer { border-top: 1px solid var(--line); padding-block: 28px 36px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 14px; color: var(--muted); }
footer nav { font-size: 14px; gap: 20px; flex-wrap: wrap; }

.bigword { font-family: var(--display); font-weight: 700; font-size: clamp(60px, 15vw, 176px); line-height: .9; letter-spacing: -0.05em; color: var(--fg); }
.bigword span { color: var(--accent); }
.page-hero h1.bigword { font-size: clamp(60px, 15vw, 176px); max-width: none; margin-top: 12px; margin-bottom: 8px; }
.why { max-width: 920px; }
.why h2 { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.04; margin: 14px 0 22px; }
.why h2 em { font-style: normal; color: var(--accent); white-space: nowrap; }
.why p { font-size: 19px; color: var(--muted); max-width: 60ch; margin: 0 0 28px; }
.tbl.text td, .tbl.text th { white-space: normal; vertical-align: top; min-width: 150px; }
.tbl.text td:first-child { font-weight: 600; }
.prices { list-style: none; padding: 0; margin: 0 0 30px; max-width: 700px; }
.prices li { display: flex; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; padding-block: 14px; border-top: 1px solid var(--line); font-size: 18px; }
.prices li:last-child { border-bottom: 1px solid var(--line); }
.prices strong { font-family: var(--display); font-size: 22px; color: var(--accent); white-space: nowrap; }
.pkgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 14px; }
.pkg { border: 1px solid var(--line); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; min-width: 0; }
.pkg.featured { border: 2px solid var(--accent); }
.pkg h2 { font-size: clamp(24px, 2.6vw, 30px); }
.pkg .price { font-family: var(--display); font-size: clamp(34px, 4vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin: 6px 0 0; color: var(--accent); }
.pkg .price span { font-family: var(--body); font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.pkg p { margin: 0; }
.pkg .checks { flex: 1; }
@media (max-width: 760px) { .pkgs { grid-template-columns: minmax(0, 1fr); } .pkg { padding: 24px; } }
.jump { display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { font-family: var(--mono); font-size: 13px; border: 1px solid var(--line); border-radius: 3px; padding: 6px 12px; text-decoration: none; }
.jump a:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 960px) {
  .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero, .feature, .sec-head, .services > li, .contact { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero { padding-block: 44px 56px; }
  .feature { padding-block: 40px; }
  .page-hero { padding-block: 40px; }
  .steps, .steps.three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 8px; }
  section { padding-block: 52px; }
  header nav { width: 100%; overflow-x: auto; gap: 20px; padding-bottom: 4px; }
  header nav a { white-space: nowrap; }
  .cta { padding: 28px; }
}
@media (max-width: 520px) {
  .pair { grid-template-columns: minmax(0, 1fr); }
  .steps, .steps.three, .minis { grid-template-columns: minmax(0, 1fr); }
  form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
