/* ============================================================
   Gridwise identity layer (loaded after style.css).
   The UI is a spreadsheet: formula bar header, hairline cell grid,
   column letters and row numbers, green selection outline with a
   fill handle, sheet tabs and a status bar in the footer.
   ============================================================ */

:root {
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --grid: color-mix(in srgb, var(--ink) 9%, transparent);
  --grid-strong: color-mix(in srgb, var(--ink) 16%, transparent);
  --head-bg: color-mix(in srgb, var(--primary) 6%, #f3f5f4);
  --sel: var(--accent);
  --sel-soft: color-mix(in srgb, var(--accent) 9%, var(--paper));
  --radius-lg: 6px;
  --radius-md: 4px;
  --radius-sm: 3px;
  --shadow-sm: 0 1px 0 var(--grid);
  --shadow-md: 0 14px 30px -24px color-mix(in srgb, var(--ink) 45%, transparent);
  --shadow-lg: 0 24px 50px -32px color-mix(in srgb, var(--ink) 50%, transparent);
}

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 96px 28px;
  background-attachment: fixed;
}
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.025em; }
h1 em, h2 em { font-style: normal; color: var(--accent); font-weight: 700; background: linear-gradient(transparent 62%, var(--sel-soft) 62%); }
.mono { font-family: var(--mono); font-size: 0.92em; }

/* ---------- buttons: square, cell-like ---------- */
.btn { border-radius: var(--radius-sm); font-weight: 700; letter-spacing: 0; }
.btn:hover { transform: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--ink) 25%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 85%, var(--ink)); }
.btn-outline { background: var(--paper); border: 1px solid var(--grid-strong); }
.btn-outline:hover { border-color: var(--sel); box-shadow: inset 0 0 0 1px var(--sel); }
.btn-accent { background: var(--paper); color: var(--ink); }
.btn-accent:hover { background: var(--sel-soft); }

/* ---------- eyebrow as a referenced cell ---------- */
.eyebrow { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.02em; text-transform: none; color: var(--accent); }
.eyebrow::before { content: "fx"; width: auto; height: auto; background: none; font-style: italic; color: var(--muted); }
.cell-eyebrow { display: inline-flex; align-items: stretch; border: 1px solid var(--grid-strong); background: var(--paper); font-size: 0.84rem; font-weight: 700; color: var(--ink); }
.cell-eyebrow > span:not(.cell-ref) { padding: 5px 10px; }
.cell-eyebrow { gap: 0; }
.cell-eyebrow { padding-right: 10px; align-items: center; }
.cell-ref { font-family: var(--mono); font-weight: 600; font-size: 0.76rem; background: var(--head-bg); color: var(--muted); padding: 5px 9px; margin-right: 10px; border-right: 1px solid var(--grid-strong); align-self: stretch; display: inline-flex; align-items: center; }

/* ---------- header: ribbon + formula bar ---------- */
.site-nav { background: var(--paper); border-bottom: 1px solid var(--grid-strong); backdrop-filter: none; }
.site-nav.is-scrolled { box-shadow: var(--shadow-md); }
.nav-ribbon { background: var(--primary); color: #fff; }
.nav-inner { height: 58px; }
.nav-ribbon .brand, .nav-ribbon .brand-name { color: #fff; }
.brand { font-weight: 800; letter-spacing: -0.03em; font-size: 1.24rem; }
.brand-mark { width: 30px; height: 30px; border-radius: 4px; background: transparent; display: inline-grid; place-items: center; color: currentColor; box-shadow: none; position: relative; }
.brand-mark::after { display: none; }
.brand-mark svg { width: 30px; height: 30px; }
.bm-cell { fill: var(--accent); stroke: currentColor; stroke-width: 1.6; }
.bm-handle { fill: currentColor; }
.nav-links { gap: 4px; }
.nav-links a { color: color-mix(in srgb, #fff 78%, var(--primary)); padding: 8px 14px; font-weight: 600; border-radius: 3px 3px 0 0; font-size: 0.9rem; }
.nav-links a:hover { color: #fff; background: color-mix(in srgb, #fff 10%, transparent); }
.nav-login { color: #fff; }
.nav-login:hover { color: color-mix(in srgb, var(--accent) 40%, #fff); }
.menu-toggle { border-radius: 4px; background: transparent; color: #fff; border-color: color-mix(in srgb, #fff 30%, transparent); }
.formula-bar { border-top: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); background: var(--paper); }
.formula-inner { display: flex; align-items: center; height: 34px; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.name-box { width: 64px; text-align: center; border-right: 1px solid var(--grid-strong); padding-right: 10px; margin-right: 10px; color: var(--ink); font-weight: 600; }
.fx { font-style: italic; color: var(--accent); font-weight: 600; margin-right: 12px; padding-right: 12px; border-right: 1px solid var(--grid-strong); }
.formula-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.formula-text::before { content: "=\""; color: var(--muted); }
.formula-text::after { content: "\""; color: var(--muted); }
.mobile-nav { background: var(--paper); border-top: 1px solid var(--grid-strong); }
.mobile-nav a { border-bottom: 1px solid var(--grid); }

/* ---------- hero ---------- */
.gw-hero { padding: 72px 0 64px; }
.gw-hero-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; }
.gw-hero h1 { font-size: clamp(2.5rem, 5vw, 4.1rem); line-height: 1.02; margin: 22px 0 20px; }
.gw-hero .lead { font-size: 1.12rem; color: var(--text); max-width: 560px; }
.gw-hero .cta-row { margin-top: 30px; }
.hero-note { margin-top: 22px; color: var(--muted); font-size: 0.9rem; }
.hero-note .mono { color: var(--accent); }

.gw-sheet { position: relative; background: var(--paper); border: 1px solid var(--grid-strong); box-shadow: var(--shadow-lg); font-size: 0.86rem; }
.gw-sheet-bar { display: flex; align-items: center; height: 38px; border-bottom: 1px solid var(--grid-strong); font-family: var(--mono); font-size: 0.8rem; padding: 0 10px; }
.gw-sheet-bar .name-box { width: 48px; }
.gw-sheet-formula { color: var(--ink); }
.gw-sheet-grid { display: grid; grid-template-columns: 40px 1fr 0.8fr 1fr 1.1fr; }
.gw-sheet-grid > div { border-right: 1px solid var(--grid); border-bottom: 1px solid var(--grid); height: 36px; display: flex; align-items: center; padding: 0 10px; white-space: nowrap; }
.gh, .rh { background: var(--head-bg); color: var(--muted); font-family: var(--mono); font-size: 0.74rem; justify-content: center; padding: 0 !important; }
.gh.is-col, .rh.is-row { background: color-mix(in srgb, var(--accent) 16%, var(--head-bg)); color: var(--accent); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.rh.is-row { box-shadow: inset -2px 0 0 var(--accent); }
.c.th { font-weight: 700; color: var(--ink); background: color-mix(in srgb, var(--primary) 4%, var(--paper)); }
.c.num { justify-content: flex-end; font-variant-numeric: tabular-nums; font-family: var(--mono); font-size: 0.8rem; }
.c .bar { display: block; height: 12px; width: var(--w); background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 55%, #fff), var(--accent)); }
.c.tot { font-weight: 700; border-top: 2px solid var(--ink); }
.c.sel { position: relative; outline: 2px solid var(--sel); outline-offset: -2px; background: var(--sel-soft); }
.handle { position: absolute; right: -4px; bottom: -4px; width: 8px; height: 8px; background: var(--sel); border: 1.5px solid var(--paper); }
.spark { width: 64px; height: 18px; color: var(--accent); }
.gw-sheet-foot { display: flex; align-items: center; gap: 2px; height: 34px; background: var(--head-bg); padding: 0 8px; font-size: 0.78rem; }
.gw-sheet-foot .tab { padding: 6px 12px; color: var(--muted); }
.gw-sheet-foot .tab.is-active { background: var(--paper); color: var(--accent); font-weight: 700; box-shadow: inset 0 -2px 0 var(--accent); }
.gw-sheet-sum { margin-left: auto; font-family: var(--mono); color: var(--muted); font-size: 0.74rem; }
.gw-comment { position: absolute; right: -22px; bottom: -86px; width: 220px; background: #fff8d6; border: 1px solid #e6d58a; padding: 10px 12px; font-size: 0.8rem; color: #4a4120; box-shadow: var(--shadow-md); }
.gw-comment b { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.gw-comment::before { content: ""; position: absolute; left: -9px; top: 12px; border: 4px solid transparent; border-right-color: #e6d58a; border-width: 5px 9px 5px 0; }

/* ---------- status strip (trust) ---------- */
.status-strip { background: var(--primary); color: #fff; }
.status-strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 26px; padding: 14px 24px; font-size: 0.86rem; font-weight: 600; }
.status-item { display: inline-flex; align-items: center; gap: 9px; }
.status-dot { width: 8px; height: 8px; background: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent); }

/* ---------- section heads ---------- */
.gw-head { max-width: 680px; margin-bottom: 44px; }
.gw-head h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin: 18px 0 14px; }
.gw-head p { color: var(--muted); font-size: 1.05rem; }
.gw-head a { color: var(--accent); text-decoration: underline; }

/* ---------- catalog: a workbook ---------- */
.workbook { background: var(--paper); border: 1px solid var(--grid-strong); box-shadow: var(--shadow-md); }
.workbook-tabs { display: flex; flex-wrap: wrap; gap: 2px; background: var(--head-bg); border-bottom: 1px solid var(--grid-strong); padding: 8px 8px 0; }
.wb-tab { border: 1px solid transparent; border-bottom: 0; background: transparent; padding: 9px 16px; font-weight: 700; font-size: 0.88rem; color: var(--muted); cursor: pointer; border-radius: 3px 3px 0 0; }
.wb-tab:hover { color: var(--ink); background: color-mix(in srgb, var(--paper) 60%, transparent); }
.wb-tab.is-active { background: var(--paper); color: var(--accent); border-color: var(--grid-strong); box-shadow: inset 0 2px 0 var(--accent); margin-bottom: -1px; }
.sheet-colhead, .sheet-row { display: grid; grid-template-columns: 52px 92px 1fr 110px 130px 56px; align-items: stretch; }
.sheet-colhead { background: var(--head-bg); border-bottom: 1px solid var(--grid-strong); font-family: var(--mono); font-size: 0.72rem; color: var(--muted); text-transform: uppercase; }
.sheet-colhead span { padding: 8px 14px; border-right: 1px solid var(--grid); }
.stage-group[hidden] { display: none; }
.stage-row { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 0 18px; background: color-mix(in srgb, var(--primary) 5%, var(--paper)); border-bottom: 1px solid var(--grid-strong); padding: 16px 18px 16px 0; }
.stage-tab { font-family: var(--mono); font-size: 0.7rem; color: var(--accent); writing-mode: vertical-rl; transform: rotate(180deg); justify-self: center; font-weight: 600; }
.stage-row h3 { font-size: 1.15rem; }
.stage-row p { color: var(--muted); font-size: 0.9rem; max-width: 640px; }
.stage-level { font-family: var(--mono); font-size: 0.74rem; color: var(--primary); border: 1px solid var(--grid-strong); background: var(--paper); padding: 4px 9px; white-space: nowrap; }
.sheet-row { position: relative; border-bottom: 1px solid var(--grid); background: var(--paper); transition: background 0.15s; color: var(--text); border-radius: 0; box-shadow: none; overflow: visible; }
.sheet-row > span { border-right: 1px solid var(--grid); padding: 14px; display: flex; flex-direction: column; justify-content: center; }
.sheet-row:hover { background: var(--sel-soft); transform: none; box-shadow: inset 0 0 0 2px var(--sel); z-index: 1; }
.sheet-row:hover .row-num { background: color-mix(in srgb, var(--accent) 18%, var(--head-bg)); color: var(--accent); }
.row-num { background: var(--head-bg); font-family: var(--mono); font-size: 0.78rem; color: var(--muted); align-items: center; padding: 0 !important; }
.row-cover { padding: 10px !important; }
.row-cover img, .row-cover .cover-art { width: 70px; height: 70px; object-fit: cover; border: 1px solid var(--grid); }
.row-cover .cover-art { font-size: 0; padding: 0; }
.row-main h3 { font-size: 1.08rem; margin: 3px 0 4px; line-height: 1.25; }
.row-headline { color: var(--muted); font-size: 0.9rem; }
.sheet-row .product-tag { font-family: var(--mono); font-size: 0.7rem; color: var(--accent); background: none; padding: 0; letter-spacing: 0; text-transform: none; border-radius: 0; }
.row-format { font-size: 0.8rem; color: var(--muted); font-weight: 600; line-height: 1.35; }
.row-price { align-items: flex-end; text-align: right; }
.row-price .product-price { font-family: var(--mono); font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.row-type { font-size: 0.72rem; color: var(--muted); }
.row-go { align-items: center; color: var(--accent); border-right: 0 !important; }
.row-go svg { width: 20px; height: 20px; }
.workbook--plain .sheet-row:last-child { border-bottom: 0; }

/* ---------- how it works: chained functions ---------- */
.gw-how { background: var(--paper); border-top: 1px solid var(--grid-strong); border-bottom: 1px solid var(--grid-strong); }
.fn-chain { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--grid-strong); counter-reset: fn; }
.fn-step { padding: 28px 24px 30px; border-right: 1px solid var(--grid-strong); position: relative; background: var(--paper); }
.fn-step:last-child { border-right: 0; }
.fn-step:not(:last-child)::after { content: "\2192"; position: absolute; right: -13px; top: 26px; width: 24px; height: 24px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 0.85rem; z-index: 1; }
.fn-name { display: inline-block; font-family: var(--mono); font-size: 0.9rem; font-weight: 600; color: var(--accent); background: var(--sel-soft); padding: 4px 9px; outline: 2px solid var(--sel); outline-offset: -2px; margin-bottom: 18px; }
.fn-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.fn-step p { color: var(--muted); font-size: 0.93rem; }

/* ---------- about: cell comments ---------- */
.gw-about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: start; }
.gw-about h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin: 18px 0 10px; }
.gw-about .about-sub { font-family: var(--mono); color: var(--accent); font-size: 0.86rem; margin-bottom: 20px; }
.gw-about p { margin-bottom: 14px; }
.gw-notes h3 { font-size: 1.2rem; margin-bottom: 18px; }
.cell-note { position: relative; background: #fffbe6; border: 1px solid #eadc98; padding: 16px 18px 16px 20px; margin-bottom: 14px; box-shadow: var(--shadow-md); }
.cell-note::before { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 14px 14px 0; border-color: transparent #d9534f transparent transparent; }
.cell-note:nth-child(odd) { transform: rotate(-0.4deg); }
.cell-note:nth-child(even) { transform: rotate(0.5deg); margin-left: 18px; }
.note-ref { font-family: var(--mono); font-size: 0.7rem; color: #8a7a35; display: block; margin-bottom: 4px; }
.cell-note strong { color: #3b341a; font-size: 1rem; }
.cell-note p { color: #5a5130; font-size: 0.92rem; margin: 4px 0 0; }

/* ---------- values: a header row of TRUE cells ---------- */
.values-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--grid-strong); background: var(--paper); }
.value-cell { padding: 24px 22px 54px; border-right: 1px solid var(--grid); position: relative; }
.value-cell:last-child { border-right: 0; }
.value-ref { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); background: var(--head-bg); padding: 3px 8px; display: inline-block; margin-bottom: 14px; }
.value-cell h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value-cell p { color: var(--muted); font-size: 0.93rem; }
.value-check { position: absolute; left: 22px; bottom: 18px; font-family: var(--mono); font-size: 0.78rem; font-weight: 600; color: var(--accent); background: var(--sel-soft); padding: 2px 8px; }

/* ---------- FAQ ---------- */
.gw-faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { gap: 0; border: 1px solid var(--grid-strong); background: var(--paper); }
.faq-item { border: 0; border-bottom: 1px solid var(--grid); border-radius: 0; }
.faq-item:last-child { border-bottom: 0; }
.faq-item.is-open { box-shadow: inset 3px 0 0 var(--sel); }
.faq-question span { color: var(--accent); font-family: var(--mono); }

/* ---------- CTA: a selected range ---------- */
.gw-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 44px 48px; background: var(--primary); color: #fff; outline: 3px solid var(--sel); outline-offset: -3px; }
.gw-cta h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 8px; }
.gw-cta p { color: color-mix(in srgb, #fff 78%, var(--primary)); max-width: 640px; }
.gw-cta .handle { right: -6px; bottom: -6px; width: 12px; height: 12px; }

/* ---------- footer: sheet tabs, cells, status bar ---------- */
.site-footer { background: var(--paper); color: var(--text); padding: 0; border-top: 1px solid var(--grid-strong); }
.sheet-tabs { background: var(--head-bg); border-bottom: 1px solid var(--grid-strong); }
.sheet-tabs-inner { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 2px; padding-top: 6px; }
.tabs-arrows { font-size: 0.6rem; color: var(--muted); padding: 0 12px 10px 0; letter-spacing: 6px; }
.sheet-tab { padding: 8px 16px; font-size: 0.84rem; font-weight: 600; color: var(--muted); border-radius: 3px 3px 0 0; }
.sheet-tab:hover { color: var(--ink); background: color-mix(in srgb, var(--paper) 60%, transparent); }
.sheet-tab.is-active { background: var(--paper); color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); margin-bottom: -1px; border: 1px solid var(--grid-strong); border-bottom-color: var(--paper); }
.footer-cells { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; border-left: 1px solid var(--grid); margin: 36px 0; }
.fcell { border-right: 1px solid var(--grid); border-top: 1px solid var(--grid); border-bottom: 1px solid var(--grid); padding: 30px 24px 26px; position: relative; }
.fcell-ref { position: absolute; top: 0; left: 0; font-family: var(--mono); font-size: 0.66rem; color: var(--muted); background: var(--head-bg); padding: 2px 7px; }
.fcell .brand { color: var(--ink); margin-bottom: 12px; }
.fcell .brand-mark { color: var(--primary); }
.fcell p { color: var(--muted); font-size: 0.9rem; }
.fcell h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); margin-bottom: 14px; font-family: var(--mono); font-weight: 600; }
.fcell ul { display: grid; gap: 8px; }
.fcell a { color: var(--text); font-size: 0.92rem; word-break: break-word; }
.fcell a:hover { color: var(--accent); }
.footer-hours { color: var(--muted); font-size: 0.86rem; }
.status-bar { background: var(--primary); color: color-mix(in srgb, #fff 80%, var(--primary)); padding: 14px 0 16px; font-size: 0.78rem; }
.status-bar .footer-legal-line { color: inherit; margin-bottom: 6px; }
.status-bar .footer-copy { color: color-mix(in srgb, #fff 62%, var(--primary)); }
.status-ready { font-family: var(--mono); color: #fff; background: var(--accent); padding: 1px 7px; margin-right: 8px; }

/* ---------- inner pages ---------- */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--grid-strong); padding: 64px 0 44px; }
.page-hero h1 { font-weight: 800; }
.page-hero--compact { padding: 46px 0 34px; }
.legal-doc, .auth-card, .contact-form-card, .contact-info, .guarantee-block, .price-card, .module-item, .feature-card, .faq-item { border-radius: var(--radius-md); }
.legal-doc { border: 1px solid var(--grid-strong); box-shadow: var(--shadow-md); position: relative; }
.legal-doc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: repeating-linear-gradient(180deg, var(--head-bg) 0 27px, var(--grid-strong) 27px 28px); }
.legal-doc h2 { font-weight: 700; border-bottom: 1px solid var(--grid); padding-bottom: 8px; }
.auth-card { border: 1px solid var(--grid-strong); box-shadow: var(--shadow-md); }
.form-control { border-radius: var(--radius-sm); border-color: var(--grid-strong); }
.form-control:focus { border-color: var(--sel); box-shadow: inset 0 0 0 1px var(--sel); outline: none; }
.contact-form-card { border: 1px solid var(--grid-strong); background: var(--paper); }
.contact-info { background: var(--primary); border: 1px solid var(--primary); outline: 3px solid var(--accent); outline-offset: -3px; }
.contact-info .icon-wrap { background: color-mix(in srgb, #fff 10%, transparent); color: #fff; }
.icon-wrap { border-radius: 3px; }
.guarantee-block { border: 1px solid var(--grid-strong); }
.guarantee-badge { border-radius: 4px; background: var(--accent); }

/* product page */
.product-hero { background: transparent; padding: 56px 0 72px; }
.product-hero h1 { font-weight: 800; }
.product-hero-cover { border-radius: 0; transform: none; border: 1px solid var(--grid-strong); box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1; }
.spec-sheet { width: 100%; border-collapse: collapse; background: var(--paper); margin-top: 18px; border: 1px solid var(--grid-strong); font-size: 0.9rem; }
.spec-sheet th { text-align: left; background: var(--head-bg); font-family: var(--mono); font-size: 0.74rem; font-weight: 600; color: var(--muted); width: 34%; padding: 9px 12px; border-bottom: 1px solid var(--grid); border-right: 1px solid var(--grid); }
.spec-sheet td { padding: 9px 12px; border-bottom: 1px solid var(--grid); font-weight: 600; color: var(--ink); }
.spec-sheet small { color: var(--muted); font-weight: 500; }
.platform { background: var(--paper); border-top: 1px solid var(--grid-strong); border-bottom: 1px solid var(--grid-strong); }
.feature-grid { gap: 0; border: 1px solid var(--grid-strong); }
.feature-card { border: 0; border-right: 1px solid var(--grid); border-bottom: 1px solid var(--grid); border-radius: 0; background: var(--paper); }
.feature-icon { border-radius: 3px; background: var(--sel-soft); color: var(--accent); }
.module-list { gap: 0; border: 1px solid var(--grid-strong); background: var(--paper); }
.module-item { border: 0; border-bottom: 1px solid var(--grid); border-radius: 0; grid-template-columns: 52px 1fr; }
.module-item:last-child { border-bottom: 0; }
.module-num { border-radius: 0; background: var(--head-bg); color: var(--muted); font-family: var(--mono); font-size: 0.9rem; font-weight: 600; width: 52px; height: 52px; }
.check-list svg { color: var(--accent); }
.price-card { border: 1px solid var(--grid-strong); border-radius: 0; outline: 3px solid var(--sel); outline-offset: -3px; }
.price-card::before { display: none; }
.price-amount { font-family: var(--mono); letter-spacing: -0.03em; }
.breadcrumb a { color: var(--accent); }

/* account page */
.data-table th { background: var(--head-bg); font-family: var(--mono); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .gw-hero-grid, .gw-about-grid, .gw-faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .gw-comment { right: 8px; }
  .fn-chain { grid-template-columns: 1fr 1fr; }
  .fn-step:nth-child(2) { border-right: 0; }
  .fn-step:nth-child(-n+2) { border-bottom: 1px solid var(--grid-strong); }
  .fn-step:nth-child(2)::after { display: none; }
  .values-row { grid-template-columns: 1fr 1fr; }
  .value-cell:nth-child(-n+2) { border-bottom: 1px solid var(--grid); }
  .footer-cells { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
}
@media (max-width: 720px) {
  body { background-size: 64px 24px; }
  .formula-inner .name-box { width: 44px; }
  .gw-hero { padding: 44px 0 70px; }
  .gw-sheet { font-size: 0.74rem; }
  .gw-sheet-grid { grid-template-columns: 26px 0.8fr 0.8fr 1fr 0.9fr; }
  .gw-sheet-grid > div { padding: 0 6px; height: 30px; }
  .c.num { font-size: 0.68rem; }
  .spark { width: 44px; }
  .gw-sheet-sum { display: none; }
  .gw-comment { width: 180px; bottom: -48px; }
  .status-strip-inner { justify-content: flex-start; }
  .sheet-colhead { display: none; }
  .sheet-row { grid-template-columns: 36px 76px 1fr; grid-template-areas: "n c m" "n c p"; }
  .row-num { grid-area: n; grid-row: 1 / 3; }
  .row-cover { grid-area: c; grid-row: 1 / 3; padding: 8px !important; }
  .row-cover img, .row-cover .cover-art { width: 60px; height: 60px; }
  .row-main { grid-area: m; border-right: 0 !important; padding-bottom: 4px !important; }
  .row-price { grid-area: p; flex-direction: row !important; justify-content: flex-start !important; align-items: baseline !important; gap: 8px; border-right: 0 !important; padding-top: 0 !important; text-align: left; }
  .row-format, .row-go { display: none !important; }
  .stage-row { grid-template-columns: 36px 1fr; }
  .stage-level { grid-column: 2; justify-self: start; margin-top: 8px; }
  .fn-chain, .values-row { grid-template-columns: 1fr; }
  .fn-step { border-right: 0; border-bottom: 1px solid var(--grid-strong); }
  .fn-step::after { display: none; }
  .value-cell { border-right: 0; border-bottom: 1px solid var(--grid); }
  .footer-cells { grid-template-columns: 1fr; }
  .gw-cta { padding: 32px 26px; }
  .cell-note:nth-child(even) { margin-left: 0; }
}
