/* PressGlance website — "Soft studio" */
:root {
  --bg: #EEEDF4;
  --card: #FFFFFF;
  --text: #1A1830;
  --muted: #615E78;
  --faint: #8B88A0;
  --line: #E4E2EE;
  --iris: #6E56CF;
  --iris-hover: #5E47BF;
  --iris-ink: #4B36A8;
  --iris-soft: #EAE5FB;
  --iris-tint: #F4F1FD;
  --err: #E5484D;  --err-soft: #FCE3E4;  --err-ink: #B42328;  --err-tint: #FFF3F3;
  --warn: #E8A13A; --warn-soft: #FBF0DD; --warn-ink: #8F5A0B; --warn-tint: #FFF8EC;
  --ok: #12A37C;   --ok-soft: #DDF3EC;   --ok-ink: #0B6E53;   --ok-tint: #F0FAF6;
  --off: #A9A6B8;  --off-soft: #ECEBF1;  --off-ink: #5D5A70;
  --cyan: #16A9E0; --magenta: #D9327F; --yellow: #F4C400; --black: #1A1830;
  --shadow: 0 14px 32px -20px rgba(50, 35, 130, .28);
  --shadow-lg: 0 30px 60px -34px rgba(50, 35, 130, .38);
  --r-xl: 30px; --r-lg: 24px; --r-md: 18px; --r-sm: 12px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  color-scheme: light;
}

*, *::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: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--iris-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--iris); }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.03em; font-weight: 800; color: var(--text); }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); letter-spacing: -.04em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--iris); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 16px; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); line-height: 1.6; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Icons */
.ic { width: 20px; height: 20px; flex: none; }
.ic-badge {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--iris-soft); color: var(--iris-ink);
}
.ic-badge .ic { width: 22px; height: 22px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1rem/1 var(--font); padding: 15px 24px; border-radius: 999px; border: 0;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--iris); color: #fff; box-shadow: 0 12px 24px -14px rgba(110, 86, 207, .9); }
.btn-primary:hover { background: var(--iris-hover); color: #fff; }
.btn-soft { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.btn-soft:hover { color: var(--iris-ink); }
.btn-sm { padding: 10px 16px; font-size: .9rem; }
.btn .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .ic { transform: translateX(3px); }

/* Header: floating pill navigation */
.site-header { position: sticky; top: 14px; z-index: 50; padding-top: 14px; margin-top: -14px; }
.nav {
  display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-radius: 999px; padding: 8px 8px 8px 20px; box-shadow: var(--shadow);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.logo-eye { width: 34px; height: 22px; color: var(--text); }
.nav .brand { margin-right: auto; }
.nav-links { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative; z-index: 1; padding: 9px 14px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-glider {
  position: absolute; z-index: 0; top: 0; left: 0; height: 100%; width: 0; border-radius: 999px;
  background: var(--bg); opacity: 0; transition: transform .35s var(--ease), width .35s var(--ease), opacity .2s;
}
.nav-only-mobile { display: none; }
.lang { position: relative; }
.lang summary {
  list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 9px 12px;
  border-radius: 999px; font-weight: 600; font-size: .85rem; color: var(--muted);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: var(--bg); color: var(--text); }
.lang summary .ic { width: 18px; height: 18px; }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 10px); margin: 0; padding: 6px; list-style: none;
  background: var(--card); border-radius: 18px; box-shadow: var(--shadow-lg); min-width: 160px;
  animation: pop .18s var(--ease);
}
.lang ul a { display: block; padding: 9px 14px; border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 500; }
.lang ul a:hover { background: var(--bg); }
.lang ul a[aria-current] { color: var(--iris-ink); font-weight: 700; }
.nav-toggle { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(40px, 6vw, 64px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 + .lead { margin-top: 18px; }
.section-head .link-arrow { margin-top: 18px; }
.card { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow); }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: 24px; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .ic { width: 18px; height: 18px; color: var(--ok); }
.hero-visual { position: relative; }
.hero-visual { margin-block: 40px; }

.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 12px; font-size: .8rem; font-weight: 600; white-space: nowrap; background: var(--tone-soft, var(--iris-soft)); color: var(--tone-ink, var(--iris-ink)); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-printing { --tone-soft: var(--iris-soft); --tone-ink: var(--iris-ink); }
.pill-idle { --tone-soft: var(--ok-soft); --tone-ink: var(--ok-ink); }
.pill-maintenance { --tone-soft: var(--warn-soft); --tone-ink: var(--warn-ink); }
.pill-error { --tone-soft: var(--err-soft); --tone-ink: var(--err-ink); }
.pill-offline { --tone-soft: var(--off-soft); --tone-ink: var(--off-ink); }

/* Real app screenshots */
.shot { display: block; }
.shot img { display: block; width: 100%; height: auto; }
.shot-card img { border-radius: 24px; box-shadow: var(--shadow-lg); }
.frame-browser { margin: 0; background: var(--card); border-radius: 26px; padding: 10px; box-shadow: var(--shadow-lg); }
.frame-bar { display: flex; gap: 7px; padding: 4px 8px 12px; }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.frame-browser .shot img { border-radius: 16px; }
.tv { margin: 0; }
.tv .shot img { border-radius: 14px; }
.hero-visual { width: 100%; max-width: 440px; justify-self: end; }
.anatomy-card { width: 100%; max-width: 440px; justify-self: center; }
.shot-narrow { max-width: 440px; margin-inline: auto; }
.frame-phone { margin: 0 auto; max-width: 300px; background: var(--text); border-radius: 46px; padding: 10px; box-shadow: var(--shadow-lg); }
.frame-phone .shot img { border-radius: 36px; }

/* Fact strip */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fact { background: var(--card); border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--shadow); }
.fact b { display: block; font-size: 1.35rem; letter-spacing: -.025em; }
.fact span { color: var(--muted); font-size: .92rem; }

/* Feature cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fcard { background: var(--card); border-radius: var(--r-xl); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.fcard h3 { margin-top: 6px; }
.fcard p { color: var(--muted); }
.fcard .link-arrow { margin-top: auto; padding-top: 6px; }

/* Stat bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tile { background: var(--card); border-radius: var(--r-xl); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tile-label { color: var(--muted); font-size: .9rem; font-weight: 500; }
.tile-big { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.tile.span-2 { grid-column: span 2; }
.availability { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 3px; }
.availability i { display: block; border-radius: 3px; }
.key { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--muted); }
.key span { display: inline-flex; align-items: center; gap: 6px; }
.key i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.cols { display: flex; align-items: flex-end; gap: 6px; height: 110px; }
.cols i { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--iris); height: var(--h); transform-origin: bottom; }
.cols i.low { background: #C4B8F1; }
.in .cols i { animation: grow .9s var(--ease) both; }
.cols-axis { display: flex; justify-content: space-between; font-size: .72rem; color: var(--faint); }
.heat { display: grid; grid-template-columns: 34px repeat(14, minmax(0, 1fr)); gap: 4px; font-size: .7rem; color: var(--faint); align-items: center; }
.heat i { aspect-ratio: 1.3; border-radius: 4px; display: block; }
.h0 { background: #F2F0F8; } .h1 { background: #DCD4F7; } .h2 { background: #B5A6EC; } .h3 { background: #8C76DC; } .h4 { background: #6E56CF; }
.toperr { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.toperr li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: .9rem; }
.toperr li span:first-child { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toperr li span:nth-child(2) { color: var(--muted); font-variant-numeric: tabular-nums; }
.toperr .meter { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--bg); overflow: hidden; }
.toperr .meter i { display: block; height: 100%; width: var(--w); background: var(--err); border-radius: 3px; }
.timeline { display: flex; flex-direction: column; gap: 10px; }
.timeline-row { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; align-items: center; font-size: .82rem; font-weight: 600; }
.timeline-band { display: flex; height: 18px; border-radius: 6px; overflow: hidden; background: var(--bg); }
.timeline-band i { display: block; height: 100%; }
.t-print { background: var(--iris); } .t-idle { background: var(--ok); } .t-maint { background: var(--warn); } .t-err { background: var(--err); } .t-off { background: var(--off); } .t-none { background: transparent; }
.inkper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.inkper div { border-radius: 14px; background: var(--bg); padding: 12px; }
.inkper b { display: block; font-size: 1.2rem; letter-spacing: -.02em; }
.inkper span { font-size: .78rem; color: var(--muted); }
.inkper i { display: block; width: 18px; height: 6px; border-radius: 3px; margin-bottom: 8px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--card); border-radius: var(--r-xl); padding: 30px; box-shadow: var(--shadow); counter-increment: step; display: flex; flex-direction: column; gap: 10px; }
.steps li::before { content: counter(step); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--iris); color: #fff; font-weight: 800; margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* Pricing */
.price-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: stretch; }
.price-card { background: var(--card); border-radius: 36px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 18px; }
.price-card.accent { background: linear-gradient(160deg, #7A63D6, #5B44BE); color: #fff; }
.price-card.accent h2, .price-card.accent h3 { color: #fff; }
.price-card.accent p, .price-card.accent li { color: #E6E0FB; }
.price-card.accent .btn { background: #fff; color: var(--iris-ink); box-shadow: none; align-self: flex-start; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--ok-soft); color: var(--ok-ink); margin-top: 1px; }
.price-card.accent .checks .ic { background: rgba(255, 255, 255, .18); color: #fff; }
.price-label { font-size: .95rem; font-weight: 600; color: var(--muted); }
.price-word { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq.center { margin-inline: auto; }
.faq details { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 700; font-size: 1.06rem; letter-spacing: -.01em;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-weight: 500; font-size: 1.3rem; color: var(--iris-ink); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 26px 24px; color: var(--muted); }
.faq .answer p + p { margin-top: 10px; }

/* CTA band */
.cta-band { background: linear-gradient(150deg, #7A63D6 0%, #5B44BE 100%); color: #fff; border-radius: 40px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #E6E0FB; margin-top: 14px; font-size: 1.1rem; max-width: 36rem; }
.cta-band .btn-primary { background: #fff; color: var(--iris-ink); box-shadow: none; }
.cta-band .btn-primary:hover { background: #F4F1FD; }
.cta-band .logo-eye { position: absolute; right: -40px; bottom: -50px; width: 300px; height: 190px; color: rgba(255, 255, 255, .08); pointer-events: none; }
.cta-band .logo-eye circle { fill: rgba(255, 255, 255, .06); }

/* Inner page hero */
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(24px, 4vw, 40px); }
.page-hero h1 { max-width: 16ch; font-size: clamp(2.4rem, 5vw, 4rem); }
.page-hero .lead { margin-top: 22px; max-width: 44rem; }

/* Explainer rows (dashboard + statistics pages) */
.explain { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.explain + .explain { margin-top: clamp(56px, 8vw, 96px); }
.explain.flip > :first-child { order: 2; }
.explain-text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.explain-text h2 + p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }
.explain-wide { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.explain-wide .explain-text { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: end; }
.explain-wide .explain-text .use { margin-top: 0; }
.explain-text .use { margin-top: 22px; background: var(--card); border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: flex-start; }
.explain-text .use .ic { color: var(--iris); margin-top: 2px; }
.explain-text .use b { display: block; margin-bottom: 2px; }
.explain-text .use p { color: var(--muted); font-size: .95rem; }
.explain-visual { min-width: 0; }
.note { color: var(--faint); font-size: .85rem; margin-top: 40px; }

/* Card anatomy */
.anatomy { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.anatomy-card { position: relative; }
.callout { position: absolute; width: 28px; height: 28px; border-radius: 50%; background: var(--text); color: #fff; font-size: .8rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 4px var(--bg); z-index: 3; }
.anatomy-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; counter-reset: an; }
.anatomy-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; counter-increment: an; }
.anatomy-list li::before { content: counter(an); width: 28px; height: 28px; border-radius: 50%; background: var(--text); color: #fff; font-size: .8rem; font-weight: 800; display: grid; place-items: center; }
.anatomy-list b { display: block; }
.anatomy-list p { color: var(--muted); font-size: .97rem; }

.states { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.state { background: var(--card); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.state p { color: var(--muted); font-size: .93rem; }
.state.state-printing { --tone-soft: var(--iris-soft); --tone-ink: var(--iris-ink); }
.state.state-idle { --tone-soft: var(--ok-soft); --tone-ink: var(--ok-ink); }
.state.state-maintenance { --tone-soft: var(--warn-soft); --tone-ink: var(--warn-ink); }
.state.state-error { --tone-soft: var(--err-soft); --tone-ink: var(--err-ink); }
.state.state-offline { --tone-soft: var(--off-soft); --tone-ink: var(--off-ink); }
.state .pill { align-self: flex-start; }

.tv { background: #1A1830; border-radius: 28px; padding: 14px; box-shadow: var(--shadow-lg); }
.tv-stand { width: 120px; height: 14px; margin: 0 auto; background: #2B2846; border-radius: 0 0 10px 10px; }

/* Feature list page */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-grid .fcard { padding: 28px; }
.feature-grid .fcard h3 { font-size: 1.15rem; }
.split-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; overflow: hidden; }
.split-card > div { padding: clamp(28px, 4vw, 48px); }
.split-card > div + div { background: var(--iris-tint); }
.split-card h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.split-card p { color: var(--muted); margin-top: 14px; }
.cross { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cross li { display: flex; gap: 12px; align-items: flex-start; }
.cross .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--iris-soft); color: var(--iris-ink); margin-top: 1px; }

/* Install page */
.reqs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.wizard { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; counter-reset: wz; }
.wizard li { background: var(--card); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); counter-increment: wz; font-size: .95rem; color: var(--muted); }
.wizard li::before { content: counter(wz); display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.04em; color: var(--iris); line-height: 1; margin-bottom: 12px; }
.wizard b { display: block; color: var(--text); margin-bottom: 4px; }
.code { font: 500 .92rem/1.5 ui-monospace, "Cascadia Code", Consolas, monospace; background: var(--text); color: #E8E5F8; border-radius: 14px; padding: 14px 18px; overflow-x: auto; margin-top: 18px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 24px; align-items: start; }
.form-card { background: var(--card); border-radius: 36px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field .opt { color: var(--faint); font-weight: 400; }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--font); color: var(--text); background: var(--bg); border: 1.5px solid transparent;
  border-radius: 14px; padding: 14px 16px; width: 100%; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23615E78' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field input:hover, .field select:hover, .field textarea:hover { background-color: #E8E6F1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: #fff; border-color: var(--iris); box-shadow: 0 0 0 4px var(--iris-soft); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); background-color: var(--err-tint); }
.field .error { color: var(--err-ink); font-size: .88rem; font-weight: 500; }
fieldset.field { border: 0; padding: 0; margin: 0 0 20px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-block; padding: 11px 18px; border-radius: 999px; background: var(--bg); font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s; }
.choice input:checked + span { background: var(--iris); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--iris); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: var(--muted); font-size: .88rem; margin: 4px 0 22px; }
.alert { border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 24px; display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.alert .ic { margin-top: 2px; }
.alert-ok { background: var(--ok-soft); color: var(--ok-ink); }
.alert-err { background: var(--err-soft); color: var(--err-ink); }
.side-card { background: var(--card); border-radius: var(--r-xl); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.side-card + .side-card { margin-top: 20px; }
.side-card h2 { font-size: 1.3rem; }
.side-card p { color: var(--muted); }
.side-card a.mail { font-weight: 700; font-size: 1.05rem; display: inline-flex; gap: 8px; align-items: center; }

/* Prose (privacy) */
.prose { max-width: 760px; background: var(--card); border-radius: 36px; padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow); }
.prose h2 { font-size: 1.4rem; margin: 32px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 20px; }

/* Footer */
.site-footer { margin-top: clamp(64px, 9vw, 112px); padding: 64px 0 28px; background: var(--card); border-radius: 40px 40px 0 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand p { color: var(--muted); margin: 14px 0 16px; max-width: 22rem; font-size: .95rem; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.site-footer h2 { font-size: .85rem; letter-spacing: .02em; color: var(--faint); font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { color: var(--text); text-decoration: none; font-weight: 500; }
.site-footer ul a:hover { color: var(--iris); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: .85rem; }

/* Reveal animation (only when JS runs and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: .9s; }

/* Responsive */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .states { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wizard { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reqs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links a { padding: 9px 10px; }
}
@media (max-width: 1120px) {
  .nav { padding: 8px 8px 8px 18px; }
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: var(--bg); color: var(--text); cursor: pointer;
  }
  .nav-toggle .ic-close, .nav-open .nav-toggle .ic-open { display: none; }
  .nav-open .nav-toggle .ic-close { display: block; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: calc(100% + 10px); flex-direction: column; align-items: stretch;
    background: var(--card); border-radius: 26px; padding: 10px; box-shadow: var(--shadow-lg); gap: 2px;
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .nav-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; border-radius: 16px; }
  .nav-links a.is-active, .nav-links a[aria-current] { background: var(--bg); color: var(--text); }
  .nav-glider { display: none; }
  .nav-only-mobile { display: block; }
  .nav { position: relative; }
}
@media (max-width: 960px) {
  .explain-wide .explain-text { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .explain-wide .explain-text .use { margin-top: 22px; }
  .hero-grid, .explain, .anatomy, .price-band, .contact-grid, .split-card { grid-template-columns: minmax(0, 1fr); }
  .explain.flip > :first-child { order: 0; }
  .hero h1 { max-width: 14ch; }
  .hero-visual { justify-self: center; }
  .grid-3, .steps, .feature-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: min(1180px, 100% - 32px); }
  .nav-cta { display: none; }
  .grid-3, .grid-2, .steps, .feature-grid, .bento, .states, .wizard, .reqs, .form-row { grid-template-columns: minmax(0, 1fr); }
  .tile.span-2 { grid-column: auto; }
  .facts { gap: 12px; }
  .fact { padding: 18px; border-radius: 20px; }
  .fact b { font-size: 1.08rem; }
  .fact span { font-size: .85rem; }
    .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .heat { grid-template-columns: 28px repeat(14, minmax(0, 1fr)); gap: 3px; }
  .inkper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .faq summary { padding: 18px 20px; }
  .faq .answer { padding: 0 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
