/* See.Tech site styles.
 *
 * A drop-in replacement for site.css. Every class name matches, so the same
 * rendered markup works unchanged: this file is what would *become* site.css if
 * the look is approved, not a parallel design that would need porting.
 *
 * What differs from the current stylesheet:
 *   - a real modular type scale, with hard optical tracking at display sizes
 *   - the dark plane treated as a material: grain, gradient mesh, tracked light
 *   - pill buttons with lift, arrow motion, and honest focus states
 *   - a signature scan sweep on product panels
 *   - reveal/counter/bar motion, all opt-out under prefers-reduced-motion
 */

:root {
  /* light plane */
  --page: #FFFFFF;
  --wash: #F6F8FC;
  --line: #E4E9F2;
  --ink: #0A0F1C;
  --body: #4A5568;
  --muted: #6B7A93;

  /* brand */
  --navy: #1F4286;
  --navy-dark: #17346B;
  --signal: #507ABD;
  --signal-lift: #7AB0FF;

  /* product plane, verbatim from the app */
  --base: #060B17;
  --surface: #10182B;
  --surface-2: #0A1020;
  --dline: #1E293B;
  --dtext: #E2E8F0;
  --dmuted: #94A3B8;
  --ddim: #475569;

  --good: #10B981;
  --warn: #F59E0B;
  --crit: #EF4444;
  --info: #3B82F6;

  --r: 14px;
  --pill: 9999px;
  --shadow: 0 1px 2px rgba(10, 15, 28, .04), 0 10px 30px rgba(10, 15, 28, .07);
  --shadow-up: 0 26px 54px -22px rgba(10, 15, 28, .24);
  --shadow-dark: 0 40px 80px -32px rgba(6, 11, 23, .66), 0 2px 8px rgba(6, 11, 23, .3);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wrap: 1180px;

  /* 1.25 modular scale, clamped. Consistent ratios are most of what reads as
     considered; arbitrary sizes are most of what reads as cheap. */
  --step--1: clamp(.82rem, .79rem + .14vw, .9rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.1rem);
  --step-1: clamp(1.25rem, 1.18rem + .35vw, 1.44rem);
  --step-2: clamp(1.56rem, 1.44rem + .6vw, 1.9rem);
  --step-3: clamp(1.95rem, 1.74rem + 1.05vw, 2.5rem);
  --step-4: clamp(2.44rem, 2.08rem + 1.8vw, 3.3rem);
  --step-5: clamp(3.05rem, 2.44rem + 3vw, 4.6rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: var(--sans); font-size: var(--step-0); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px;
}

/* Display type: Inter, heavy, tracked in hard. */
h1, h2, h3, h4 { margin: 0; font-optical-sizing: auto; }
h1 { font-size: var(--step-5); font-weight: 700; letter-spacing: -.045em; line-height: .98; }
h2 { font-size: var(--step-4); font-weight: 700; letter-spacing: -.038em; line-height: 1.04; }
h3 { font-size: var(--step-2); font-weight: 600; letter-spacing: -.022em; line-height: 1.18; }
h4 { font-size: var(--step-1); font-weight: 600; letter-spacing: -.018em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 12px 20px; z-index: 100; }
.skip:focus { left: 0; }

.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--signal); margin: 0 0 18px; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .55; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600;
  text-decoration: none; padding: 13px 22px; border-radius: var(--pill);
  border: 1px solid var(--navy); background: var(--navy); color: #fff; cursor: pointer;
  font-family: inherit; white-space: nowrap;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .2s;
  box-shadow: 0 1px 2px rgba(10, 15, 28, .16);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(31, 66, 134, .28); background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: none; }
.btn--ghost:hover { background: var(--wash); color: var(--navy); border-color: var(--navy); box-shadow: 0 8px 22px rgba(10, 15, 28, .08); }
.btn--quiet { background: transparent; border-color: transparent; color: var(--body); font-weight: 500; padding: 9px 12px; font-size: 13.5px; box-shadow: none; }
.btn--quiet:hover { background: var(--wash); border-color: var(--line); color: var(--navy); transform: none; box-shadow: none; }
.btn--lg { padding: 16px 30px; font-size: 15px; }

/* ---- Header ---- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.topbar.is-stuck { background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--line); }
/* Header metrics are tighter than the rest of the page on purpose: six nav links
   plus four action buttons plus the wordmark is a lot of row to fit inside the
   1180px container, and the alternative is either an overlapping bar or losing
   the desktop nav on a 1280px laptop. Measured, this row needs ~1156px, which
   leaves real slack before the 1240px breakpoint hands over to the Menu button. */
.topbar__inner { display: flex; align-items: center; gap: 20px; padding: 20px 0; transition: padding .3s ease; }
.topbar .btn { padding: 10px 18px; font-size: 14px; }
.topbar .btn--quiet { padding: 9px 12px; font-size: 13.5px; }
.topbar.is-stuck .topbar__inner { padding: 12px 0; }
.brand { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand img { height: 28px; width: auto; }
.nav { display: flex; gap: 16px; margin-left: auto; align-items: center; flex-wrap: nowrap; min-width: 0; }
.nav a { font-size: 14px; font-weight: 500; color: var(--body); text-decoration: none; white-space: nowrap; position: relative; padding: 4px 0; }
/* Underline grows from the left: the difference between "has hover states" and
   "was art-directed". */
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--navy); transform: scaleX(0); transform-origin: left;
  transition: transform .32s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.actions { display: flex; gap: 6px; align-items: center; flex: 0 0 auto; }
.nav-toggle {
  display: none; margin-left: auto; background: transparent; border: 1px solid var(--line);
  border-radius: var(--pill); padding: 9px 16px; font-size: 14px; font-family: inherit; color: var(--ink); cursor: pointer;
}

/* ---- Hero ---- */
.hero { padding: 80px 0 96px; position: relative; }
.hero h1 { max-width: 14ch; margin: 0 0 26px; }
.hero p { max-width: 58ch; color: var(--body); margin: 0; font-size: var(--step-1); line-height: 1.5; }
/* A hero can run to more than one paragraph. Without this they butt together into
   a single slab, which is how a considered opening reads as a wall of text. */
.hero p + p { margin-top: 22px; }
.hero__buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }
.hero--split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; }

/* ---- Sections ---- */
.section { padding: 120px 0; }
.section--wash { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { max-width: 22ch; margin: 0 0 18px; }
.section .lede { max-width: 62ch; color: var(--body); margin: 0 0 60px; font-size: var(--step-1); line-height: 1.5; }
.section__buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

.section--dark {
  background: var(--base); color: var(--dtext); border-block: 1px solid var(--dline);
  position: relative; overflow: hidden;
  background-image: radial-gradient(900px 420px at 15% -10%, rgba(80, 122, 189, .16), transparent 62%);
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lede, .section--dark p { color: var(--dmuted); }
.section--dark .eyebrow { color: var(--signal-lift); }
.section--dark .card { background: var(--surface); border-color: rgba(255, 255, 255, .08); box-shadow: none; }
.section--dark .card h3 { color: #fff; }
.section--dark .card p, .section--dark .ticks li { color: var(--dmuted); }
.section--dark .ticks strong { color: #fff; }
.section--dark .btn--ghost { color: var(--dtext); border-color: rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .06); }
.section--dark .btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.section--dark .faq, .section--dark .faq details { border-color: rgba(255, 255, 255, .09); }
.section--dark .faq summary { color: var(--dtext); }
.section--dark .faq details > div { color: var(--dmuted); }
.section--dark .scans, .section--dark .scan { border-color: rgba(255, 255, 255, .09); }
.section--dark .scan h3 { color: #fff; }

/* ---- Cards ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
.card {
  background: var(--page); border: 1px solid var(--line); border-radius: var(--r);
  padding: 34px 30px; display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
/* A hairline draws itself across the top on hover. */
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--signal), var(--signal-lift));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.card h3 { font-size: var(--step-1); margin: 0 0 12px; }
.card p { margin: 0; color: var(--body); font-size: var(--step--1); line-height: 1.65; }
.card__icon { width: 42px; height: 42px; margin-bottom: 22px; }
.card__foot { margin-top: auto; padding-top: 20px; font-size: 14px; font-weight: 600; }

.pill {
  display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; background: var(--navy); color: #fff;
  padding: 6px 13px; border-radius: var(--pill);
}
.pill--quiet { background: rgba(80, 122, 189, .12); color: var(--signal); }

/* ---- Product panel: a material, not a box ---- */
.panel {
  position: relative; border-radius: 20px; overflow: hidden; color: var(--dtext);
  background:
    radial-gradient(600px 300px at var(--mx, 78%) var(--my, 8%), rgba(80, 122, 189, .22), transparent 62%),
    radial-gradient(420px 260px at 8% 96%, rgba(16, 185, 129, .10), transparent 60%),
    linear-gradient(168deg, #121B31 0%, var(--surface) 46%, var(--surface-2) 100%);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: var(--shadow-dark);
  transition: box-shadow .4s ease;
}
.panel:hover { box-shadow: 0 52px 96px -30px rgba(6, 11, 23, .72), 0 0 0 1px rgba(80, 122, 189, .28); }
/* Grain: stops large dark gradients banding, and gives the surface a physical
   quality flat fills never have. */
.panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
/* The signature device: ambient, not attention-seeking. 6s cycle, soft wash. */
.panel::before {
  content: ""; position: absolute; left: 0; right: 0; height: 190px; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(80, 122, 189, .06) 40%, rgba(122, 176, 255, .16) 50%, rgba(80, 122, 189, .06) 60%, transparent);
  animation: scan 6s linear infinite;
}
@keyframes scan {
  0% { transform: translateY(-210px); opacity: 0; }
  6% { opacity: 1; }
  44% { opacity: 1; }
  52% { transform: translateY(700px); opacity: 0; }
  100% { transform: translateY(700px); opacity: 0; }
}
.panel__bar {
  position: relative; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .02);
}
.panel__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ddim); }
.panel__title { margin-left: 10px; font-size: 12px; color: var(--dmuted); font-weight: 500; }
.panel__body { position: relative; z-index: 3; padding: 28px; }
.panel__score { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.panel__n { font-size: 4.4rem; font-weight: 700; line-height: .86; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.panel__d { color: var(--ddim); font-size: 1.05rem; font-weight: 500; padding-bottom: 8px; }
.panel .pill { background: transparent; border: 1px solid currentColor; margin-left: auto; }
.pill--good { color: var(--good); } .pill--warn { color: var(--warn); } .pill--crit { color: var(--crit); }

.bars { margin-top: 30px; display: grid; gap: 14px; }
.bar { display: grid; grid-template-columns: 132px 1fr 34px; gap: 14px; align-items: center; font-size: 12.5px; }
.bar__k { color: var(--dmuted); text-align: right; }
.bar__t { height: 6px; background: rgba(255, 255, 255, .06); border-radius: var(--pill); overflow: hidden; }
.bar__f { height: 100%; border-radius: var(--pill); background: linear-gradient(90deg, var(--signal), var(--signal-lift)); transition: width 1.3s var(--ease); }
.bar__f--warn { background: linear-gradient(90deg, #B4791A, var(--warn)); }
.bar__f--crit { background: linear-gradient(90deg, #A32E2E, var(--crit)); }
.bar__f--good { background: linear-gradient(90deg, #0B7A57, var(--good)); }
.bar__v { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.panel__legend {
  display: flex; gap: 18px; margin-top: 24px; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .07); font-size: 11.5px; color: var(--dmuted); flex-wrap: wrap;
}
.panel__legend span { display: flex; align-items: center; gap: 7px; }
.sw { width: 8px; height: 8px; border-radius: 2px; }

/* ---- Metrics ---- */
.metrics {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.metric { background: var(--page); padding: 36px 30px; transition: background .35s ease; }
.metric__n { font-size: var(--step-4); font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--navy); }
.metric__l { color: var(--muted); font-size: var(--step--1); margin-top: 12px; }
.section--dark .metrics { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .09); }
.section--dark .metric { background: var(--base); }
.section--dark .metric:hover { background: rgba(255, 255, 255, .025); }
.section--dark .metric__n { color: var(--dtext); }
.section--dark .metric__l { color: var(--dmuted); }
.metric__n--good { color: var(--good) !important; }
.metric__n--warn { color: var(--warn) !important; }
.metric__n--crit { color: var(--crit) !important; }

/* ---- Calculator ---- */
.calc { display: grid; grid-template-columns: 1.45fr 1fr; gap: 44px; align-items: start; }
.calc__picks { border-top: 1px solid var(--line); }
.calc__head, .calc__row { display: grid; grid-template-columns: 1fr 82px 84px 82px; gap: 12px; align-items: center; }
.calc__head { padding: 12px 4px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.calc__head span:not(:first-child) { text-align: right; }
.calc__row { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: var(--step--1); transition: background .2s; }
.calc__row:hover { background: rgba(80, 122, 189, .04); }
.calc__row--on { background: rgba(80, 122, 189, .06); }
.calc__name { font-weight: 500; cursor: pointer; }
.calc__cost { color: var(--muted); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.calc__qty {
  font-family: inherit; font-size: 15px; font-weight: 600; text-align: center; padding: 8px 6px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--page); color: var(--ink);
  width: 100%; font-variant-numeric: tabular-nums; transition: border-color .2s;
}
.calc__qty:focus { outline: 2px solid var(--signal); outline-offset: 1px; border-color: var(--signal); }
.calc__row--on .calc__qty { border-color: var(--signal); }
.calc__sub { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); }
.calc__row--on .calc__sub { color: var(--navy); }
.calc__out { background: var(--wash); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; position: sticky; top: 100px; }
.calc__line { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 10px 0; color: var(--body); font-size: var(--step--1); }
.calc__line strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.calc__line--total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 18px; font-size: var(--step-0); }
.calc__line--total strong { font-size: var(--step-3); color: var(--navy); line-height: 1.1; letter-spacing: -.03em; }
.calc__note { font-size: 13px; color: var(--muted); margin: 16px 0 22px; }
.calc__actions { display: grid; gap: 10px; }
.calc__actions .btn { justify-content: center; }

/* ---- What's New ---- */
.card__tags { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.latest__meta { color: var(--body); font-size: 14px; margin: 0 0 40px; }
.latest__meta strong { color: var(--navy); font-weight: 600; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 36px 48px; }
.item h4 { margin: 0 0 8px; }
.item h4 time { color: var(--signal); font-weight: 500; white-space: nowrap; font-size: .85em; }
.item p { margin: 0; color: var(--body); font-size: var(--step--1); }
.empty { border: 1px dashed var(--line); border-radius: var(--r); padding: 40px; color: var(--body); }

/* ---- Bullets ---- */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.ticks li { position: relative; padding-left: 30px; color: var(--body); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; border-radius: 4px;
  background: linear-gradient(140deg, rgba(80, 122, 189, .22), rgba(80, 122, 189, .08));
  border: 1px solid rgba(80, 122, 189, .3);
}
.ticks strong { color: var(--ink); font-weight: 600; }

/* ---- Accordion ---- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 24px 48px 24px 0; position: relative;
  font-weight: 600; font-size: var(--step-0); color: var(--ink); transition: color .2s;
}
.faq summary:hover { color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--signal); border-bottom: 2px solid var(--signal);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 48px 26px 0; color: var(--body); }
.faq details > div p:first-child { margin-top: 0; }
.faq details > div :last-child { margin-bottom: 0; }

/* ---- Scans ---- */
.scans { display: grid; border-top: 1px solid var(--line); }
.scan { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.scan h3 { font-size: var(--step-0); font-weight: 600; margin: 0 0 6px; letter-spacing: -.01em; }
.scan p { margin: 0; color: var(--body); font-size: var(--step--1); }
.scan__credits { font-size: 12px; font-weight: 600; color: var(--signal); letter-spacing: .04em; text-transform: uppercase; }

/* ---- Split ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split + .split { margin-top: 96px; }
.split h3 { font-size: var(--step-3); font-weight: 700; letter-spacing: -.032em; margin: 0 0 18px; }
.split p { color: var(--body); margin: 0; font-size: var(--step-0); }
.split img { border-radius: var(--r); box-shadow: var(--shadow-up); }

/* A mount for images that cannot stand on the page unaided — chiefly client logos
   drawn in light inks, which fall to ~1.5:1 against white. The plate gives them a
   surface to sit on so they read as placed rather than as a loading failure. */
.plate { border-radius: var(--r); display: grid; place-items: center; padding: 12% 10%; box-shadow: var(--shadow-up); }
.plate--dark { background: var(--surface); border: 1px solid rgba(255, 255, 255, .08); }
.plate--wash { background: var(--wash); border: 1px solid var(--line); }
.plate img { box-shadow: none; border-radius: 0; width: min(100%, 340px); height: auto; }


/* ---- Logos ---- */
.logos { display: flex; flex-wrap: wrap; gap: 52px; align-items: center; justify-content: center; }
.logos img { height: 32px; width: auto; opacity: .5; filter: grayscale(1); transition: opacity .3s, filter .3s; }
.logos img:hover { opacity: 1; filter: none; }

/* ---- Offices ---- */
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px; }
.office h3 { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--signal); margin: 0 0 12px; }
.office address { font-style: normal; color: var(--body); line-height: 1.8; }

/* ---- Forms ---- */
.form { display: grid; gap: 18px; max-width: 540px; }
.form label { font-size: 13px; font-weight: 600; display: grid; gap: 7px; letter-spacing: .01em; }
.form input, .form textarea, .form select {
  font-family: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--page); color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s;
}
.form input:hover, .form textarea:hover { border-color: #C9D4E6; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--signal); outline-offset: 1px; border-color: var(--signal); }
.form .required { color: var(--signal); }
.form__note { font-size: 13px; color: var(--muted); margin: 0; }

/* ---- Article ---- */
.article { max-width: 68ch; margin: 0 auto; padding: 80px 0 96px; }
.article h1 { font-size: var(--step-4); margin: 0 0 20px; }
.article__meta { color: var(--signal); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 40px; }
.article h2 { font-size: var(--step-2); margin: 56px 0 18px; }
.article p { color: var(--body); margin: 0 0 22px; font-size: var(--step-0); line-height: 1.75; }
.article img { border-radius: var(--r); margin: 0 0 44px; box-shadow: var(--shadow-up); }

/* ---- Post cards ---- */
.post-card {
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex;
  flex-direction: column; background: var(--page);
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform .7s var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-up); }
.post-card:hover img { transform: scale(1.03); }
.post-card__body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: var(--step-1); margin: 0 0 12px; }
.post-card h3 a { text-decoration: none; color: var(--ink); }
.post-card h3 a:hover { color: var(--navy); }
.post-card p { color: var(--body); font-size: var(--step--1); margin: 0 0 20px; }
.post-card time { display: block; font-size: 11px; color: var(--signal); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.post-card__more { margin-top: auto; font-weight: 600; font-size: 14px; text-decoration: none; }

/* ---- Closing CTA ---- */
.cta {
  background: var(--base); color: var(--dtext); border-top: 1px solid var(--dline);
  position: relative; overflow: hidden;
  background-image: radial-gradient(760px 360px at 50% 0%, rgba(80, 122, 189, .2), transparent 64%);
}
.cta__inner { padding: 130px 0; text-align: center; position: relative; z-index: 2; }
.cta h2 { margin: 0 auto 22px; max-width: 18ch; color: #fff; }
.cta p { color: var(--dmuted); max-width: 52ch; margin: 0 auto 38px; font-size: var(--step-1); line-height: 1.5; }
.cta .btn { background: #fff; color: var(--base); border-color: #fff; }
.cta .btn:hover { background: #E8EEF9; border-color: #E8EEF9; color: var(--base); box-shadow: 0 12px 34px rgba(255, 255, 255, .16); }
.cta .btn--ghost { background: transparent; color: var(--dtext); border-color: rgba(255, 255, 255, .26); }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.cta__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.footer { background: var(--surface-2); color: var(--dmuted); padding: 72px 0 36px; font-size: var(--step--1); border-top: 1px solid var(--dline); }
.footer a { color: var(--dmuted); text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 48px; }
.footer h4 { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer__logo { height: 28px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: .92; }
.footer__social { display: flex; gap: 14px; margin-top: 20px; }
.footer__social a { display: inline-flex; }
.footer__social svg { width: 20px; height: 20px; fill: currentColor; }
.footer__badge { height: 56px; width: auto; margin-top: 24px; background: #fff; padding: 7px; border-radius: 10px; }
.footer__bottom { border-top: 1px solid var(--dline); padding-top: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; }

/* ---- Motion ---- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 1240px) {
  .topbar__inner { flex-wrap: wrap; gap: 14px; }
  .nav-toggle { display: block; }
  .nav { display: none; order: 3; width: 100%; margin-left: 0; gap: 2px; flex-direction: column; align-items: stretch; padding-bottom: 10px; }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 13px 2px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .actions { margin-left: auto; }
}
@media (max-width: 980px) {
  .hero--split, .split, .calc { grid-template-columns: 1fr; gap: 44px; }
  .calc__out { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .section { padding: 84px 0; }
  .cta__inner { padding: 96px 0; }
}
@media (max-width: 900px) {
  .actions { width: 100%; display: flex; flex-wrap: wrap; gap: 8px; }
  .actions .btn { flex: 1 1 auto; min-width: 0; justify-content: center; white-space: normal; }
  .grid, .grid--2, .items { grid-template-columns: 1fr; }
  .scan { grid-template-columns: 1fr; gap: 10px; }
  .bar { grid-template-columns: 104px 1fr 30px; }
  .calc__head, .calc__row { grid-template-columns: 1fr 68px 68px; }
  .calc__head span:nth-child(2), .calc__cost { display: none; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 64px 0; }
}

@media (pointer: coarse) {
  .card__foot a, .post-card__more, .footer a, .nav a { display: inline-block; min-height: 44px; line-height: 44px; }
  .footer ul { gap: 2px; }
  .calc__qty { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
