/* MECHOWL: the design's values, in one place (owner's approval 2026-11-29, platform spec ch3 3.13). Canonical in hiragg/mechowl-review
   (MechOwlReview/src/design-tokens.css, copied to platform/design/tokens.css by `npm run platform:design`); every product and the official
   site copies it unchanged and draws its screens with these variables and parts. The words, numbers, order, pictures and navigation stay
   the product's own: this file changes only how they look.

   Rules of the parts (ch3 3.13):
   - No box inside a box of the same colour: a part inside a card or band is divided by a line (--mo-line), not filled again.
   - A badge or mark never sits on top of text: it has its own line (the savings badge above a price card, never on its corner).
   - A phrase (a number with its unit, a word) never breaks in the middle: .mo-nw, and Japanese text breaks between phrases
     (word-break: auto-phrase, where the browser has it).
   - No navy box, no pure black. Light grounds with dark text only where the owner set them (2026-11-29): MechOwl's speech bubble
     (cream, --mo-bubble), the screen image's window (--mo-window), the drawing paper and a finding's detail card (--mo-sheet).
   - A button's colour says what it does (2026-11-29, ch7 7.7 K): ① free start / sample: green fill; ② paid AI, going to an AI
     feature, buying, adding credits: orange fill; ③ business, quote, Enterprise: blue fill; ④ any other action (report, share,
     close, back, choose again, sign in): a white 1.5px outline on a faint white fill; ⑤ what cannot be undone (delete, cancel the
     plan, leave): a red outline; ⑥ going to another page: a text link (underlined, ↗ when external), never a button.
     Never a near-black filled button on the dark page. Action buttons have 12px corners (--mo-radius-action).
   - On a phone (390px) the layout stays the product's; only colours, corners and lines follow these values. */
:root{
  --mo-bg:#0B0D10;
  --mo-surface:#12151A;
  --mo-card-top:#252B36;
  --mo-card-bottom:#252B36;
  --mo-box:#252B36;
  --mo-box-hover:#2D3441;
  --mo-line-box:rgba(255,255,255,.20);
  --mo-on-box-2:#D5D9E0;
  --mo-band:#0E1014;
  --mo-line:rgba(255,255,255,.08);
  --mo-line-table:rgba(255,255,255,.24);
  --mo-line-row:rgba(255,255,255,.16);
  --mo-table-head:#323A47;
  --mo-on-table-head:#E3E6EB;
  --mo-table-body:#222833;
  --mo-table-body-alt:#1C222B;
  --mo-line-button:rgba(255,255,255,.18);
  --mo-line-button-hover:rgba(255,255,255,.40);
  --mo-text:#EDEFF3;
  --mo-text-2:#C2C7D0;
  --mo-text-note:#A3AAB6;
  --mo-text-small:#9CA4B1;
  --mo-wordmark:#E7E9EE;
  --mo-wordmark-reading:#A9AFBC;
  --mo-catch:#C9CDD5;
  --mo-heading:#fff;
  --mo-accent:#2DD4BF;
  --mo-accent-hover:#5EEAD4;
  --mo-on-accent:#04201C;
  --mo-label:#5EEAD4;
  --mo-paid:#F59E0B;
  --mo-paid-hover:#FBBF24;
  --mo-on-paid:#1A1000;
  --mo-business:#60A5FA;
  --mo-business-hover:#93C5FD;
  --mo-on-business:#06121F;
  --mo-secondary:rgba(255,255,255,.10);
  --mo-line-secondary:rgba(255,255,255,.75);
  --mo-on-secondary:#FFFFFF;
  --mo-danger-fill:rgba(248,113,113,.10);
  --mo-danger-line:#F87171;
  --mo-on-danger:#FECACA;
  --mo-link:#5EEAD4;
  --mo-bubble:#F4F1EA;
  --mo-on-bubble:#0B0D10;
  --mo-window:#FFFFFF;
  --mo-window-bar:#EEF1F4;
  --mo-on-window:#1F2630;
  --mo-on-window-2:#4A5361;
  --mo-window-line:#DDE2E8;
  --mo-shadow-window:0 30px 80px rgba(0,0,0,.55);
  --mo-sheet:#FFFFFF;
  --mo-sheet-frame:#DDE2E8;
  --mo-sheet-line:#D3D9E0;
  --mo-on-sheet:#111418;
  --mo-on-sheet-2:#3A414C;
  --mo-grid-line:rgba(255,255,255,.06);
  --mo-grid-cell:36px;
  --mo-radius-card:16px;
  --mo-radius-table:12px;
  --mo-radius-band:24px;
  --mo-radius-button:999px;
  --mo-radius-action:12px;
  --mo-space-section:clamp(48px,6vw,72px);
  --mo-content:1200px;
  --mo-card-pad:clamp(20px,1.7vw,24px);
  --mo-heading-section:clamp(28px,2.3vw,32px);
  --mo-hero-title:clamp(44px,4.4vw,72px);
  --mo-hero-catch:clamp(20px,1.8vw,26px);
  --mo-card-gap:20px;
  --mo-motion:.18s;
  --mo-tracking-heading:-.02em;
  --mo-tracking-display:-.03em;
  --mo-shadow-primary:0 8px 24px rgba(45,212,191,.35);
  --mo-shadow-card:0 16px 40px rgba(0,0,0,.45);
  --mo-inset-primary:inset 0 1px 0 rgba(255,255,255,.35);
}
@media screen{html:lang(ja){word-break:auto-phrase}}
/* The products menu keeps its own line counts (its descriptions are cut at two lines). */
.products-menu-list{word-break:normal}
.mo-nw{white-space:nowrap}

/* Buttons: the main one filled with the accent, the second one outlined. Both lift 2px on hover. */
.mo-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:var(--mo-radius-action);font-weight:700;text-decoration:none;cursor:pointer;transition:transform var(--mo-motion),box-shadow var(--mo-motion),background var(--mo-motion),border-color var(--mo-motion),color var(--mo-motion)}
/* ① free start and the sample */
.mo-btn-primary,.mo-btn-free{background:var(--mo-accent);color:var(--mo-on-accent);border:1px solid var(--mo-accent);box-shadow:var(--mo-inset-primary)}
.mo-btn-primary:hover,.mo-btn-free:hover{background:var(--mo-accent-hover);border-color:var(--mo-accent-hover);transform:translateY(-2px);box-shadow:var(--mo-shadow-primary),var(--mo-inset-primary)}
/* ② paid AI, an AI feature, buying, adding credits */
.mo-btn-paid{background:var(--mo-paid);color:var(--mo-on-paid);border:1px solid var(--mo-paid);box-shadow:var(--mo-inset-primary)}
.mo-btn-paid:hover{background:var(--mo-paid-hover);border-color:var(--mo-paid-hover);transform:translateY(-2px);box-shadow:0 8px 24px rgba(245,158,11,.30),var(--mo-inset-primary)}
/* ③ business, quote, Enterprise */
.mo-btn-business{background:var(--mo-business);color:var(--mo-on-business);border:1px solid var(--mo-business)}
.mo-btn-business:hover{background:var(--mo-business-hover);border-color:var(--mo-business-hover);transform:translateY(-2px)}
/* ④ any other action */
.mo-btn-secondary{background:var(--mo-secondary);color:var(--mo-on-secondary);border:1.5px solid var(--mo-line-secondary);font-weight:600}
.mo-btn-secondary:hover{border-color:var(--mo-accent);background:rgba(255,255,255,.14);transform:translateY(-2px)}
/* ⑤ cannot be undone */
.mo-btn-danger{background:var(--mo-danger-fill);color:var(--mo-on-danger);border:1.5px solid var(--mo-danger-line);font-weight:600}
.mo-btn-danger:hover{background:rgba(248,113,113,.18);transform:translateY(-2px)}
/* The top page's explanation sections (2026-11-29, ch3 3.13; the values written 2026-11-30, ch3 3.14): one part for WHY, HOW IT WORKS,
   RESULTS, TRUST & DATA and a product's others. The values are Review AI's top page (measured at 1366px; the reference):
   - the label above the heading: 13px, 600, letter-spacing .08em, the label colour, 6px under it (8px on a phone);
   - the heading: clamp(20px,1.7vw,24px) (23px on a phone), 800, line-height 1.3, margin 0;
   - the card: padding 15px (14px on a phone), radius 16px, the box colour and line, 12px between the icon and the text (14px on a phone);
   - the icon: 30px (48px on a phone), at the top-left corner inside the padding (its top edge on the title's first line's top);
   - the title 15px (16px on a phone) / line-height 1.4 (1.45 on a phone), bold, white; the text 13px (14px on a phone) / 1.6 (1.65 on a phone), directly under the title
     (4px), the box's second text colour. Rows: cards in one row share the title row's height = the tallest title among them (all one
     line: no gap), and the text starts at the same height in every card (subgrid; ch3 3.14).
   On a PC (1024px or more) the label and the heading on the left, the cards in one row on the right. Phones stack. */
:root{
  --mo-sec-label-size:13px;--mo-sec-label-gap:6px;--mo-sec-card-pad:15px;--mo-sec-card-gap:12px;--mo-sec-icon:30px;
  --mo-sec-title-size:15px;--mo-sec-text-size:13px;--mo-sec-title-gap:4px;--mo-sec-title-lh:1.4;--mo-sec-text-lh:1.6;
}
@media (max-width:1023px){
  :root{--mo-sec-label-gap:8px;--mo-sec-card-pad:14px;--mo-sec-card-gap:14px;--mo-sec-icon:48px;--mo-sec-title-size:16px;--mo-sec-text-size:14px;--mo-sec-title-lh:1.45;--mo-sec-text-lh:1.65}
}
/* The card is a grid at every width (2026-11-30, a request from Engineering AI): the icon in the first column over both rows, the title and the text in the
   second column. Below 1024px the cards stack in one column (no subgrid: each card has its own two rows); from 1024px the cards share the rows (below). */
.mo-section-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.mo-section-card{display:grid;grid-template-columns:var(--mo-sec-icon) minmax(0,1fr);column-gap:var(--mo-sec-card-gap);row-gap:0;align-items:start;padding:var(--mo-sec-card-pad);border-radius:var(--mo-radius-card);background:var(--mo-box);border:1px solid var(--mo-line-box);transition:background var(--mo-motion)}
.mo-section-card>svg,.mo-section-card>.mo-section-icon{grid-row:1 / span 2;width:var(--mo-sec-icon);height:var(--mo-sec-icon)}
.mo-section-card>:is(h3,p){grid-column:2}
.mo-section-card h3{font-size:var(--mo-sec-title-size);line-height:var(--mo-sec-title-lh);margin:0 0 var(--mo-sec-title-gap)}
.mo-section-card p{font-size:var(--mo-sec-text-size);line-height:var(--mo-sec-text-lh);margin:0;color:var(--mo-on-box-2)}
@media (min-width:1024px){
  .mo-section{display:grid;grid-template-columns:minmax(170px,21%) minmax(0,1fr);column-gap:28px;align-items:start;margin-top:28px}
  .mo-section-head{grid-column:1}
  .mo-section-head h2{font-size:clamp(20px,1.7vw,24px);line-height:1.3;margin:0}
  .mo-section-cards{grid-column:2;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto 1fr;gap:0 12px}
  .mo-section-card{grid-row:span 2;grid-template-rows:subgrid}
}
/* The width of the page's contents (2026-11-30, ch3 3.14): two kinds, chosen with a class on the page's outer box.
   .mo-page--doc: pages that explain (a product's top, pricing, the official site) = Review AI's: 1200px of contents with 32px at each side (12px on a phone).
   .mo-page--tool: a tool's screen keeps its own width (the product sets --mo-tool-max; none = the whole width). */
:root{--mo-page-pad:32px}
@media (max-width:520px){:root{--mo-page-pad:12px}}
.mo-page{box-sizing:border-box;margin-inline:auto;padding-inline:var(--mo-page-pad)}
.mo-page--doc{max-width:calc(1200px + 2 * var(--mo-page-pad))}
.mo-page--tool{max-width:var(--mo-tool-max,none)}
/* A table cell with a support mark (対応・一部・未対応) and its detail (2026-11-29): one row aligned on the first line's text; a second line
   of the detail starts under the detail, not under the mark. On a phone (600px or less) the mark has its own line. */
.mo-mark-cell{display:flex;align-items:baseline;gap:8px}
.mo-mark-cell>:first-child{flex:none;white-space:nowrap}
.mo-mark-cell>:last-child{flex:1 1 auto;min-width:0}
@media (max-width:600px){.mo-mark-cell{display:block}.mo-mark-cell>:first-child{margin-bottom:2px}}
/* ⑥ going to another page: a text link */
.mo-link{color:var(--mo-link);text-decoration:underline;text-underline-offset:3px;font-weight:600}

/* Cards: a vertical gradient, a thin line. Only a card that can be pressed (a link or a card holding a link or button) lifts 4px on hover
   and its line takes the accent; a card that only explains does not move: under the pointer only its ground turns a little lighter
   (--mo-box-hover; owner 2026-11-29, ch3 3.13). */
.mo-card{border-radius:var(--mo-radius-card);border:1px solid var(--mo-line-box);background:var(--mo-box);padding:var(--mo-card-pad);transition:transform var(--mo-motion),border-color var(--mo-motion),box-shadow var(--mo-motion),background var(--mo-motion)}
:is(a.mo-card,.mo-card:has(a[href],button)):hover{transform:translateY(-4px);border-color:rgba(94,234,212,.45);box-shadow:var(--mo-shadow-card)}
.mo-card:not(a):not(:has(a[href],button)):hover,.mo-section-card:hover{background:var(--mo-box-hover)}

/* Tables (2026-11-29): 14px, rows 10-12px high padding, the head row #323A47 (text #E3E6EB), the body rows #222833 and #1C222B in turn,
   rows divided by lines .16, the frame .24 (2026-11-29, second round); numbers aligned right. */
.mo-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;font-size:14px;background:var(--mo-table-body)}
.mo-table-wrap{border:1px solid var(--mo-line-table);border-radius:var(--mo-radius-table);overflow:hidden;overflow-x:auto}
.mo-table th,.mo-table td{padding:11px 14px;vertical-align:baseline}
.mo-table th{background:var(--mo-table-head);font-size:13px;font-weight:600;color:var(--mo-text-2);text-align:left;border-bottom:1px solid var(--mo-line-table)}
.mo-table td{border-bottom:1px solid var(--mo-line-row)}
.mo-table th{color:var(--mo-on-table-head)}
.mo-table tbody tr:nth-child(even) td{background:var(--mo-table-body-alt)}
.mo-table .num{text-align:right}
.mo-table tbody tr:hover td{background:rgba(255,255,255,.05)}

/* MechOwl's speech bubble: cream with dark text; the tail (a triangle of the same colour) points at MechOwl. */
.mo-bubble{position:relative;background:var(--mo-bubble);color:var(--mo-on-bubble);border:0;border-radius:14px;font-size:15px;line-height:1.55}
.mo-bubble:before{content:"";position:absolute;left:-11px;top:var(--mo-bubble-tip,14px);width:12px;height:20px;background:var(--mo-bubble);clip-path:polygon(100% 0,0 50%,100% 100%)}

/* The screen image's window (2026-11-29): a light window — white, a light grey top bar with dark grey text, readable contents, the
   drawing paper white, a deep shadow so it stands out on the dark page. */
.mo-window{background:var(--mo-window);color:var(--mo-on-window);border:1px solid rgba(255,255,255,.14);border-radius:var(--mo-radius-card);box-shadow:var(--mo-shadow-window);overflow:hidden}
.mo-window-bar{background:var(--mo-window-bar);color:var(--mo-on-window-2);border-bottom:1px solid var(--mo-window-line)}

/* The faint grid behind a hero and the page's top: white 6%, 36px cells. */
.mo-grid{background-image:linear-gradient(var(--mo-grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--mo-grid-line) 1px,transparent 1px);background-size:var(--mo-grid-cell) var(--mo-grid-cell)}

/* A band across the page, and the small label above a heading. */
.mo-band{background:var(--mo-band);border-top:1px solid var(--mo-line);border-bottom:1px solid var(--mo-line)}
.mo-band-box{border-radius:var(--mo-radius-band);border:1px solid var(--mo-line)}
.mo-eyebrow{font-size:13px;font-weight:600;letter-spacing:.08em;color:var(--mo-label)}

@media (prefers-reduced-motion:reduce){
  .mo-btn,.mo-card{transition:none}
  .mo-btn:hover,.mo-btn-primary:hover,.mo-btn-free:hover,.mo-btn-paid:hover,.mo-btn-business:hover,.mo-btn-secondary:hover,.mo-btn-danger:hover,.mo-card:hover{transform:none}
}
