:root {
  color-scheme: light;
  --ink: #171d30;
  --muted: #4e586d;
  --line: #dce1ed;
  --paper: #f7f8fc;
  --blue: #3344ce;
  --navy: #202554;
  font-family: system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--blue); text-underline-offset: .18em; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
p, li { line-height: 1.65; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); margin-bottom: 20px; }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.875rem); margin-bottom: 15px; }
h3 { font-size: 1.125rem; margin-bottom: 10px; }
.shell { width: min(1140px, calc(100% - 52px)); margin-inline: auto; }
.site-header, .site-footer { background: white; }
.site-header { border-bottom: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); margin-top: auto; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 760; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
nav a { color: var(--muted); text-decoration: none; font-size: .9rem; }
nav a:hover, nav a[aria-current], nav a.active { color: var(--blue); text-decoration: underline; }
.skip { position: absolute; left: 10px; top: 10px; padding: 8px; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.hero { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: clamp(24px, 6vw, 85px); padding-block: clamp(60px, 9vw, 120px); }
.lead { margin-bottom: 26px; }
.kicker { color: var(--blue); font: 700 .73rem/1.5 ui-monospace, monospace; letter-spacing: .11em; margin-bottom: 16px; }
.summary { font-size: clamp(1rem, 2.2vw, 1.21rem); color: var(--muted); max-width: 52ch; margin-bottom: 0; }
.button { display: inline-flex; gap: 14px; align-items: center; background: var(--blue); color: white; border-radius: 7px; padding: 13px 17px; font-weight: 680; text-decoration: none; }
.button:hover { background: #2635b2; }
.text-link { font-weight: 680; }
.preview { padding: 14px; border-radius: 18px; background: var(--navy); box-shadow: 0 18px 36px #22286225; }
.preview-top { display: flex; justify-content: space-between; gap: 8px; padding: 7px 6px 16px; font: 650 .7rem/1.5 ui-monospace, monospace; letter-spacing: .1em; color: #dfe3ff; }
.preview-body { padding: clamp(16px, 3vw, 32px); border-radius: 9px; background: #fff; }
.preview-field { display: grid; grid-template-columns: 23px 1fr auto; align-items: center; gap: 9px; padding-block: 11px; border-top: 1px solid var(--line); }
.preview-field > span, .preview-field small { color: var(--muted); }
.preview-field small { display: block; margin-top: 3px; }
.swatches { display: flex; gap: 4px; }
.swatches i { width: 13px; height: 13px; border-radius: 50%; background: #5265db; }
.swatches i:nth-child(2) { background: #cf9f68; }
.swatches i:nth-child(3) { background: #252a46; }
.monogram { background: #e9ebfd; padding: 5px 8px; border-radius: 4px; font: 700 .8rem ui-monospace, monospace; }
.catalog { border-top: 1px solid var(--line); padding-block: 38px 76px; }
.product-grid { display: grid; gap: 14px; }
.product-card { display: flex; gap: 18px; align-items: flex-start; background: white; border: 1px solid var(--line); border-radius: 12px; padding: clamp(16px, 3vw, 30px); }
.product-card .kicker { margin-bottom: 7px; }
.product-card h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 9px; }
.product-card h2 a { color: var(--ink); text-decoration: none; }
.product-card h2 a:hover { text-decoration: underline; }
.product-card p:not(.kicker), .feature-grid p { color: var(--muted); margin-bottom: 12px; }
.app-mark { display: block; border-radius: 10px; object-fit: contain; flex: none; }
.detail-mark { margin-block: 20px 14px; }
.inner { padding-block: clamp(38px, 7vw, 84px); }
.inner > .text-link + .lead { margin-top: 20px; }
.inner h1 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); }
.actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.feature-section, .workflow { margin-top: 55px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-grid article { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.feature-grid span { display: block; color: var(--blue); margin-bottom: 12px; font: 700 .82rem ui-monospace, monospace; }
.article { max-width: 730px; }
.article section { border-top: 1px solid var(--line); padding: 22px 0 9px; }
.article section h2 { font-size: 1.3rem; }
.article p:not(.kicker), .article li, .workflow li { color: var(--muted); }
@media (max-width: 790px) {
  .hero { grid-template-columns: 1fr; }
  .preview { max-width: 540px; }
}
@media (max-width: 580px) {
  .shell { width: calc(100% - 32px); }
  .header-inner, .footer-inner { flex-direction: column; align-items: flex-start; gap: 13px; }
  nav { gap: 8px 15px; }
  .feature-grid { grid-template-columns: 1fr; }
  .product-card { gap: 10px; }
  .preview-top { font-size: .61rem; }
}
