
  /* ============ Mago brand page — warm, light, playful ============ */
  :root {
    --paper: #FBF6F1;        /* warm light ground */
    --paper-2: #FFFFFF;      /* raised cards */
    --peach: #FFE9DC;        /* soft orange tint */
    --peach-2: #FFDFCC;
    --ink: #2E2723;          /* warm near-black text */
    --muted: #7A6E65;        /* secondary text */
    --line: #EADFD5;         /* soft hairlines */
    --orange: #FF7A33;
    --orange-deep: #E65000;
    --charcoal: #373330;

    --display: 'DM Sans', 'Helvetica Neue', sans-serif;
    --body: 'DM Sans', 'Helvetica Neue', sans-serif;
    --mono: 'DM Mono', 'Menlo', monospace;

    --r-card: 28px;
    --r-tile: 22%;           /* icon corner ratio 56/256 */
    --shadow: 0 1px 2px rgba(70, 40, 20, 0.04), 0 14px 34px -16px rgba(70, 40, 20, 0.14);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16.5px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  ::selection { background: var(--orange); color: #fff; }
  a { color: var(--orange-deep); text-decoration: none; }
  a:hover { text-decoration: underline; text-underline-offset: 3px; }
  a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

  .wrap { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

  h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(30px, 4.4vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-wrap: balance;
  }
  h2 .pop { color: var(--orange); }

  .chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--peach);
    color: var(--orange-deep);
    font-weight: 500;
    font-size: 13.5px;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
  }
  .chip::before {
    content: "";
    width: 8px; height: 8px;
    background: var(--orange);
    transform: rotate(45deg);
    border-radius: 2px;
  }

  .lede { max-width: 58ch; color: var(--muted); font-size: 17.5px; }
  .lede strong { color: var(--ink); font-weight: 500; }

  /* ============ Nav ============ */
  nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-brand { display: flex; align-items: center; gap: 11px; padding: 14px 0; }
  .nav-brand svg { width: 34px; height: 34px; }
  .nav-brand .wm { font-size: 19px; letter-spacing: -0.02em; }
  .nav-brand .wm b { font-weight: 700; }
  .nav-brand .wm span { font-weight: 300; color: var(--muted); }
  nav .kit-btn {
    font-size: 14px;
    font-weight: 500;
    color: var(--orange-deep);
    background: var(--peach);
    padding: 9px 18px;
    border-radius: 999px;
    transition: background 0.2s ease;
  }
  nav .kit-btn:hover { background: var(--peach-2); text-decoration: none; }

  /* ============ Hero ============ */
  .hero { position: relative; padding: 64px 0 96px; }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 48px;
    align-items: center;
  }

  .hero h1 {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(42px, 5.6vw, 66px);
    line-height: 1.04;
    letter-spacing: -0.04em;
  }
  .hero h1 .pop { color: var(--orange); }
  .hero h1 .tilt {
    display: inline-block;
    background: var(--charcoal);
    color: #fff;
    padding: 0 18px 6px;
    border-radius: 18px;
  }

  .hero p {
    margin-top: 24px;
    max-width: 46ch;
    font-size: 18.5px;
    color: var(--muted);
  }
  .hero p strong { color: var(--ink); font-weight: 500; }

  /* chat card */
  .chat {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: var(--shadow);
    padding: 22px;
    transition: transform 0.35s cubic-bezier(.2,.8,.3,1.1);
  }
  .chat:hover { transform: translateY(-4px); }

  .chat-head {
    display: flex; align-items: center; gap: 10px;
    padding-bottom: 14px; margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }
  .chat-head svg { width: 28px; height: 28px; }
  .chat-head .t { font-weight: 500; font-size: 14.5px; }
  .chat-head .s { font-size: 12.5px; color: var(--muted); }
  .chat-head .live {
    margin-left: auto;
    width: 8px; height: 8px; border-radius: 50%;
    background: #3FA96B;
  }

  .msg { display: flex; margin-bottom: 14px; opacity: 0; animation: rise 0.5s ease-out forwards; }
  .msg.you { justify-content: flex-end; animation-delay: 0.3s; }
  .msg.mago { animation-delay: 0.9s; }
  .msg.you2 { justify-content: flex-end; animation-delay: 1.6s; }
  .msg.mago2 { animation-delay: 2.2s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .bubble {
    max-width: 82%;
    background: var(--peach);
    color: var(--ink);
    padding: 10px 15px;
    border-radius: 14px;
    font-size: 14.5px;
    line-height: 1.5;
  }

  .answer { font-size: 14.5px; line-height: 1.55; color: #4A423C; width: 100%; }
  .answer strong { color: var(--ink); font-weight: 700; }
  .answer .up { color: #3FA96B; font-weight: 500; }

  .micro-label {
    display: block;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #9A9088;
    margin: 12px 0 8px;
  }
  .bars { display: flex; flex-direction: column; gap: 8px; }
  .bar-row {
    display: grid;
    grid-template-columns: 108px 1fr 36px;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
  }
  .bar-track { height: 8px; background: #F3EBE3; border-radius: 4px; overflow: hidden; }
  .bar-fill { display: block; height: 100%; border-radius: 4px; }
  .bar-num { font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }

  .confirm-row { display: flex; gap: 8px; margin-top: 12px; }
  .confirm-row span {
    font-size: 12.5px; font-weight: 500;
    padding: 6px 15px; border-radius: 999px;
  }
  .confirm-row .yes { background: var(--charcoal); color: #fff; }
  .confirm-row .no { background: #fff; color: var(--muted); border: 1px solid var(--line); }

  .chat-input {
    display: flex; align-items: center; gap: 10px;
    margin-top: 18px;
  }
  .chat-input .field {
    flex-grow: 1;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13.5px;
    color: #9A9088;
    background: #fff;
  }
  .chat-input .send {
    flex: none;
    width: 38px; height: 38px;
    border-radius: 11px;
    background: var(--orange);
    display: flex; align-items: center; justify-content: center;
  }

  /* ============ Sections ============ */
  section.pad { padding: 96px 0 0; }
  section.pad:last-of-type { padding-bottom: 96px; }

  /* ============ The mark ============ */
  .logo-cards {
    margin-top: 44px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
  .logo-card {
    border-radius: var(--r-card);
    border: 1px solid var(--line);
    background: var(--paper-2);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(.2,.8,.3,1.1);
  }
  .logo-card:hover { transform: translateY(-4px); }
  .logo-card.span { grid-column: 1 / -1; }

  .logo-stage {
    display: flex; align-items: center; justify-content: center;
    padding: 52px 30px;
    min-height: 250px;
  }
  .logo-stage.dark { background: var(--charcoal); }
  .logo-stage.tint { background: linear-gradient(150deg, #FFF0E5, #FFE3D0); }
  .logo-stage svg { width: min(190px, 52%); height: auto; }
  .logo-card.span .logo-stage svg { width: min(400px, 78%); }

  .logo-info { padding: 20px 26px 24px; }
  .logo-info h3 {
    font-family: var(--display);
    font-weight: 650;
    font-size: 19px;
    letter-spacing: -0.01em;
  }
  .logo-info p { font-size: 14.5px; color: var(--muted); margin-top: 5px; max-width: 60ch; }
  .logo-info .file {
    display: inline-block;
    margin-top: 12px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--orange-deep);
    background: var(--peach);
    padding: 3px 10px;
    border-radius: 8px;
  }

  .mark-tip {
    margin-top: 26px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--peach);
    border-radius: 20px;
    padding: 20px 24px;
    max-width: 720px;
  }
  .mark-tip .glyph {
    flex: none;
    width: 38px; height: 38px;
    background: var(--orange);
    transform: rotate(45deg);
    border-radius: 22%;
    margin: 4px 6px 0;
  }
  .mark-tip p { font-size: 15px; color: #6E4A32; }
  .mark-tip p strong { color: var(--ink); font-weight: 500; }

  /* ============ Color ============ */
  .palette {
    margin-top: 44px;
    display: flex;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .pal {
    flex: 1;
    min-height: 230px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: flex 0.45s cubic-bezier(.3,.7,.3,1);
  }
  .pal:hover { flex: 1.7; }
  .pal .name { font-family: var(--display); font-weight: 650; font-size: 16px; white-space: nowrap; }
  .pal .hex { font-family: var(--mono); font-size: 12.5px; margin-top: 3px; opacity: 0.85; white-space: nowrap; }
  .pal.p1 { background: var(--orange); color: #fff; flex: 1.7; }
  .pal.p1:hover { flex: 2.2; }
  .pal.p2 { background: var(--orange-deep); color: #fff; }
  .pal.p3 { background: var(--charcoal); color: #F4EFEA; }
  .pal.p4 { background: #FFFFFF; color: var(--ink); border-left: 1px solid var(--line); }
  .pal.p5 { background: var(--peach); color: #93542F; }

  .color-note { margin-top: 26px; font-size: 15px; color: var(--muted); max-width: 58ch; }
  .color-note strong { color: var(--ink); font-weight: 500; }

  /* ============ Type ============ */
  .type-card {
    margin-top: 44px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: var(--shadow);
    padding: 40px 44px;
    overflow: hidden;
  }
  .type-hero {
    font-size: clamp(42px, 7.5vw, 84px);
    letter-spacing: -0.035em;
    line-height: 1.05;
    white-space: nowrap;
  }
  .type-hero b { font-weight: 700; }
  .type-hero span { font-weight: 300; color: var(--muted); }
  .type-rows { margin-top: 30px; display: grid; gap: 18px; }
  .type-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    align-items: baseline;
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }
  .type-row .lbl { font-size: 13px; color: var(--muted); }
  .type-row .lbl b { display: block; color: var(--orange-deep); font-weight: 500; font-size: 14px; }
  .type-row .sample { min-width: 0; }
  .sample.disp { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; }
  .sample.body-s { font-size: 16px; max-width: 56ch; }
  .sample.mono-s { font-family: var(--mono); font-size: 14px; color: var(--muted); overflow-x: auto; }
  .type-note { margin-top: 24px; font-size: 15px; color: var(--muted); max-width: 60ch; }
  .type-note b { font-weight: 700; color: var(--ink); }
  .type-note span.lt { font-weight: 300; color: var(--ink); }

  /* ============ Do / Don't ============ */
  .dodont {
    margin-top: 44px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
  .dd-card {
    border-radius: var(--r-card);
    padding: 28px 30px;
    box-shadow: var(--shadow);
  }
  .dd-card.do { background: var(--paper-2); border: 1px solid var(--line); }
  .dd-card.dont { background: var(--charcoal); color: #F4EFEA; }
  .dd-card h3 {
    font-family: var(--display);
    font-weight: 700;
    font-size: 21px;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
  }
  .dd-card.do h3 { color: var(--orange-deep); }
  .dd-card.dont h3 { color: var(--orange); }
  .dd-card ul { list-style: none; }
  .dd-card li {
    padding: 8px 0 8px 30px;
    position: relative;
    font-size: 15px;
  }
  .dd-card.do li { color: var(--muted); }
  .dd-card.dont li { color: #C9C0B8; }
  .dd-card li strong { font-weight: 500; }
  .dd-card.do li strong { color: var(--ink); }
  .dd-card.dont li strong { color: #F4EFEA; }
  .dd-card li::before {
    position: absolute; left: 0; top: 8px;
    font-weight: 700;
  }
  .dd-card.do li::before { content: "✓"; color: var(--orange-deep); }
  .dd-card.dont li::before { content: "✕"; color: var(--orange); }

  /* ============ Press ============ */
  .press-cards { margin-top: 44px; display: grid; gap: 26px; }
  .press-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: var(--shadow);
    padding: 28px 32px;
  }
  .press-card .tag-row {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px;
  }
  .press-card .tag-row .t {
    font-family: var(--display); font-weight: 650; font-size: 16px; color: var(--orange-deep);
  }
  .press-card .tag-row .w { font-size: 13px; color: var(--muted); }
  .press-card p { font-size: 16px; max-width: 72ch; }
  .press-card p em { color: var(--muted); font-style: normal; }

  .facts-strip {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .fact {
    background: var(--paper-2);
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
  }
  .fact b { color: var(--ink); font-weight: 500; }

  /* ============ Partners ============ */
  .partners-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 26px 52px;
    margin-top: 30px;
  }
  .partners-row a {
    display: flex;
    align-items: center;
    filter: grayscale(1);
    opacity: 0.55;
    transition: filter 0.25s ease, opacity 0.25s ease;
  }
  .partners-row a:hover { filter: grayscale(0); opacity: 1; }
  .partners-row a.boost { filter: grayscale(1) brightness(0.55) contrast(1.2); opacity: 0.8; }
  .partners-row a.boost:hover { filter: none; opacity: 1; }
  .partners-row img { display: block; width: auto; }
  .partners-note { margin-top: 26px; font-size: 14px; color: #9A9088; max-width: 60ch; }

  /* ============ Footer ============ */
  footer {
    margin-top: 96px;
    background: var(--charcoal);
    color: #C9C0B8;
    border-radius: 36px 36px 0 0;
    padding: 56px 0;
  }
  .foot-grid {
    display: flex; justify-content: space-between; align-items: center; gap: 28px;
    flex-wrap: wrap;
  }
  .foot-brand { display: flex; align-items: center; gap: 14px; }
  .foot-brand svg { width: 44px; height: 44px; }
  .foot-brand .wm { font-size: 24px; color: #fff; letter-spacing: -0.02em; }
  .foot-brand .wm b { font-weight: 700; }
  .foot-brand .wm span { font-weight: 300; color: #C9C0B8; }
  .foot-meta { font-size: 13.5px; line-height: 1.9; text-align: right; }
  .foot-meta .files { font-family: var(--mono); font-size: 12px; color: #9A9088; }
  .foot-meta .files a { color: #C9C0B8; }
  .foot-meta .files a:hover { color: #FF9A5C; }

  /* scroll reveal */
  .js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(.2,.7,.3,1);
  }
  .js .reveal.in { opacity: 1; transform: none; }

  /* ============ Motion & responsive ============ */
  @media (prefers-reduced-motion: reduce) {
    .msg { animation: none; opacity: 1; }
    .chat, .logo-card, .pal { transition: none; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
  }

  @media (max-width: 880px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero { padding-top: 32px; }
    .logo-cards { grid-template-columns: 1fr; }
    .dodont { grid-template-columns: 1fr; }
    .type-hero { white-space: normal; }
    .type-card { padding: 28px 24px; }
    .type-row { grid-template-columns: 1fr; gap: 6px; }
    .foot-meta { text-align: left; }
    .palette { flex-direction: column; }
    .pal { min-height: 96px; }
    .pal.p4 { border-left: 0; border-top: 1px solid var(--line); }
  }

  .hero-free { margin-top: 14px; font-size: 15.5px; color: var(--muted); }
  .hero-free strong { color: var(--ink); font-weight: 600; }

  /* ============ FAQ ============ */
  .faq { margin-top: 40px; display: grid; gap: 12px; max-width: 820px; }
  .faq details {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0 24px;
    box-shadow: var(--shadow);
  }
  .faq summary {
    cursor: pointer;
    list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 18px 0;
    font-weight: 600; font-size: 16.5px;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: "+";
    flex: none;
    color: var(--orange);
    font-size: 24px; font-weight: 400; line-height: 1;
    transition: transform 0.2s ease;
  }
  .faq details[open] summary::after { transform: rotate(45deg); }
  .faq .a { padding: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 66ch; }
  .faq .a strong { color: var(--ink); font-weight: 500; }
  .faq .a code {
    font-family: var(--mono); font-size: 13px;
    background: var(--peach); color: var(--orange-deep);
    padding: 2px 7px; border-radius: 6px;
  }

  /* ============ Nav menu ============ */
  .nav-brand .wm { white-space: nowrap; }
  .nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper-2);
    color: var(--ink);
    align-items: center; justify-content: center;
    cursor: pointer;
  }
  .nav-toggle .ico-close { display: none; }
  nav.open .nav-toggle .ico-burger { display: none; }
  nav.open .nav-toggle .ico-close { display: block; }
  .nav-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
  .nav-links a.pg { font-size: 14.5px; font-weight: 500; color: var(--muted); }
  .nav-links a.pg:hover { color: var(--ink); text-decoration: none; }
  .nav-links a.pg.active { color: var(--ink); position: relative; }
  .nav-links .pg.soon { color: #B8A897; font-size: 14.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; cursor: default; }
  .soon-badge {
    font-size: 10.5px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
    background: var(--peach); color: var(--orange-deep);
    padding: 3px 8px; border-radius: 999px;
  }
  .soon-pill { color: var(--muted); cursor: default; }
  .soon-pill:hover { border-color: var(--line); }
  .nav-links a.pg.lang {
    font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
    color: #9A9088; margin-left: -12px;
  }
  .nav-links a.pg.lang:hover { color: var(--ink); border-color: var(--orange); }
  .nav-links a.pg.active::after {
    content: ""; position: absolute; left: 50%; bottom: -9px;
    width: 6px; height: 6px; background: var(--orange);
    border-radius: 2px; transform: translateX(-50%) rotate(45deg);
  }

  /* ============ USP cards ============ */
  .usp-grid {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
  }
  .usp-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: var(--shadow);
    padding: 26px 28px;
  }
  .usp-icon {
    width: 44px; height: 44px;
    border-radius: 13px;
    background: var(--peach);
    color: var(--orange-deep);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
  }
  .usp-card h3 { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
  .usp-card p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

  /* ============ Core + addons layers ============ */
  .layers-grid {
    margin-top: 44px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
  }
  .layer-copy p { font-size: 16px; color: var(--muted); max-width: 52ch; }
  .layer-copy p + p { margin-top: 14px; }
  .layer-copy p strong { color: var(--ink); font-weight: 500; }
  .addon-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
  .addon-chip {
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--orange-deep);
    background: var(--peach);
    border-radius: 9px;
    padding: 6px 12px;
  }
  .layer-links { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
  .btn-dark {
    background: var(--charcoal); color: #fff;
    padding: 11px 22px; border-radius: 999px;
    font-size: 14px; font-weight: 500;
  }
  .btn-dark:hover { background: #4A4440; text-decoration: none; }
  .btn-line {
    border: 1px solid var(--line); background: var(--paper-2); color: var(--ink);
    padding: 11px 22px; border-radius: 999px;
    font-size: 14px; font-weight: 500;
  }
  .btn-line:hover { border-color: var(--orange); text-decoration: none; }

  .stack {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: var(--shadow);
    padding: 26px;
    display: flex; flex-direction: column; gap: 12px;
  }
  .stack .lvl { border-radius: 16px; padding: 15px 20px; font-size: 14.5px; font-weight: 500; }
  .stack .lvl .sub { display: block; font-size: 12.5px; font-weight: 400; }
  .lvl.addons {
    border: 1.5px dashed #D8C9BA; color: var(--muted);
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  }
  .lvl.addons svg { width: 34px; height: 34px; flex: none; }
  .lvl.addons .plus {
    width: 34px; height: 34px; border-radius: 8px;
    border: 1.5px dashed #D8C9BA; color: #B8A897;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 500;
  }
  .lvl.core { background: linear-gradient(135deg, #FF7A33, #E65000); color: #fff; }
  .lvl.core .sub { color: rgba(255,255,255,0.85); }
  .lvl.store { background: var(--charcoal); color: #F4EFEA; }
  .lvl.store .sub { color: #C9C0B8; }
  .stack-note { font-size: 12.5px; color: #9A9088; text-align: center; }

  /* ============ Page header (subpages) ============ */
  .page-head { padding: 64px 0 0; }
  .page-head h1 {
    font-weight: 800;
    font-size: clamp(38px, 5.5vw, 62px);
    letter-spacing: -0.04em;
    line-height: 1.04;
    text-wrap: balance;
  }
  .page-head h1 .pop { color: var(--orange); }
  .page-head .lede { margin-top: 16px; }

  /* ============ Addons table ============ */
  .addons-card {
    margin-top: 44px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .coming-banner {
    display: flex; align-items: center; gap: 12px;
    padding: 15px 26px;
    background: var(--peach);
    color: #93542F;
    font-size: 14.5px;
  }
  .coming-banner b { color: var(--ink); font-weight: 700; }
  .coming-banner .dot {
    width: 9px; height: 9px; flex: none;
    background: var(--orange);
    border-radius: 2px; transform: rotate(45deg);
  }
  .table-scroll { overflow-x: auto; }
  table.addons { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 680px; }
  table.addons th {
    text-align: left;
    font-size: 11px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: #9A9088;
    padding: 16px 26px;
    border-bottom: 1px solid var(--line);
  }
  table.addons td {
    padding: 17px 26px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    vertical-align: middle;
  }
  table.addons tr:last-child td { border-bottom: 0; }
  td .pkg { font-family: var(--mono); font-size: 13px; color: var(--ink); white-space: nowrap; }
  tr.soon td { opacity: 0.6; }
  .badge {
    display: inline-block;
    font-size: 11.5px; font-weight: 500;
    border-radius: 999px; padding: 3px 11px;
    background: var(--peach); color: var(--orange-deep);
    white-space: nowrap;
  }
  .contrib-card {
    margin-top: 44px;
    background: var(--charcoal);
    color: #F4EFEA;
    border-radius: var(--r-card);
    padding: 36px 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
  }
  .contrib-card h3 { font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
  .contrib-card p { margin-top: 10px; font-size: 15px; color: #C9C0B8; max-width: 56ch; }
  .contrib-card p code { font-family: var(--mono); font-size: 13px; color: #FF9A5C; }
  .contrib-card .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
  .btn-orange {
    background: var(--orange); color: #fff;
    padding: 12px 24px; border-radius: 999px;
    font-size: 14.5px; font-weight: 500;
  }
  .btn-orange:hover { background: var(--orange-deep); text-decoration: none; }
  .contrib-card .btn-line { background: transparent; color: #F4EFEA; border-color: #5A534D; }
  .contrib-card .btn-line:hover { border-color: var(--orange); }

  .foot-nav { display: flex; gap: 18px; margin-bottom: 6px; justify-content: flex-end; }
  .foot-nav a { color: #C9C0B8; font-size: 13.5px; }
  .foot-nav a:hover { color: #FF9A5C; }

  @media (max-width: 880px) {
    nav { flex-wrap: wrap; padding: 16px 0; }
    .nav-brand { padding: 4px 0; }
    .nav-brand svg { width: 30px; height: 30px; }
    .nav-toggle { display: flex; }
    .nav-links {
      display: none;
      width: 100%;
      flex-direction: column;
      align-items: stretch;
      gap: 2px;
      margin-top: 14px;
      padding: 8px;
      background: var(--paper-2);
      border: 1px solid var(--line);
      border-radius: 20px;
      box-shadow: var(--shadow);
    }
    nav.open .nav-links { display: flex; }
    .nav-links a.pg, .nav-links .pg.soon {
      display: flex; justify-content: space-between; align-items: center;
      padding: 14px 16px;
      font-size: 16px;
      border-radius: 12px;
    }
    .nav-links a.pg.active { background: var(--paper); }
    .nav-links a.pg.lang {
    font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
    color: #9A9088; margin-left: -12px;
  }
  .nav-links a.pg.lang:hover { color: var(--ink); border-color: var(--orange); }
  .nav-links a.pg.active::after { display: none; }
    .nav-links .kit-btn { margin: 8px 4px 4px; text-align: center; padding: 13px 18px; font-size: 15px; }
    .nav-links a.pg.lang { font-size: 14px; letter-spacing: 0.04em; border: 0; background: transparent; }
    .usp-grid { grid-template-columns: 1fr; }
    .layers-grid { grid-template-columns: 1fr; gap: 40px; }
    .contrib-card { grid-template-columns: 1fr; padding: 28px; }
    .contrib-card .actions { justify-content: flex-start; }
    .nav-links { gap: 18px; }
    .foot-nav { justify-content: flex-start; }
  }

  /* ============ Addon listing ============ */
  .addon-grid {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
  .addon-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: var(--shadow);
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .addon-card.wip { background: transparent; box-shadow: none; border-style: dashed; }
  .addon-head { display: flex; align-items: center; gap: 14px; }
  .addon-icon {
    width: 46px; height: 46px;
    flex: 0 0 46px;
    display: grid; place-items: center;
    font-size: 22px; line-height: 1;
    background: var(--peach);
    border-radius: var(--r-tile);
  }
  .addon-card.wip .addon-icon { background: var(--line); }
  .addon-head h3 { font-size: 19px; line-height: 1.3; }
  .addon-badge {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .addon-badge.live { background: var(--orange); color: #fff; }
  .addon-badge.dev { background: var(--line); color: var(--muted); }
  .addon-card p { color: var(--muted); }
  .addon-meta {
    margin-top: auto;
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--muted);
  }
  .addon-meta code { font-family: inherit; font-size: inherit; }
  .addon-links { display: flex; flex-wrap: wrap; gap: 12px; }

  @media (max-width: 860px) {
    .addon-grid { grid-template-columns: 1fr; }
  }

  /* ============ Addon detail page ============ */
  .crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
  .crumbs a { color: var(--muted); }
  .crumbs a:hover { color: var(--ink); }
  .crumbs span { margin: 0 4px; }
  .crumbs span[aria-current] { color: var(--ink); margin: 0; }

  .addon-title { display: flex; align-items: center; gap: 18px; }
  .addon-icon.big { width: 64px; height: 64px; flex: 0 0 64px; font-size: 30px; }
  .addon-title h1 { margin-bottom: 2px; }

  .demo-grid {
    margin-top: 44px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 44px;
    align-items: start;
  }
  .demo-copy h3 { font-size: 18px; margin-bottom: 6px; }
  .demo-copy h3 + p { color: var(--muted); margin-bottom: 26px; }
  .demo-copy h3 + p:last-child { margin-bottom: 0; }

  .kv { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
  .kv-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line);
  }
  .kv-row:last-child { border-bottom: 0; padding-bottom: 0; }
  .kv-row span:first-child { color: var(--muted); flex: 0 0 auto; }
  .kv-row span:last-child { text-align: right; color: var(--ink); }
  .kv-row .ok { color: #3FA96B; font-weight: 500; }

  .cmd {
    margin-top: 16px;
    background: var(--charcoal);
    border-radius: 14px;
    padding: 16px 20px;
    overflow-x: auto;
  }
  .cmd code {
    font-family: var(--mono);
    font-size: 13.5px;
    color: #FFCDAD;
    white-space: nowrap;
  }
  .cmd code::before { content: "$ "; color: #8A7E74; }

  @media (max-width: 860px) {
    .demo-grid { grid-template-columns: 1fr; gap: 36px; }
    .addon-title { gap: 14px; }
    .addon-icon.big { width: 52px; height: 52px; flex: 0 0 52px; font-size: 24px; }
  }
