  :root {
    --navy: #0A1628;
    --deep: #060E1A;
    --card: #0F1D2F;
    --line: #1A2A3A;
    --gold: #C9A84C;
    --gold-soft: #D4B65E;
    --muted: #9CA3AF;
    --white: #FFFFFF;
    --light: #E6E9ED;
    --radius: 20px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    background: var(--navy);
    color: var(--white);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; }
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
  @media (max-width: 600px) { .wrap { padding: 0 16px; } }

  /* Header */
  header {
    position: sticky; top: 0; z-index: 10;
    background: rgba(10, 22, 40, .92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .bar { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
  .bar img { height: 26px; width: auto; display: block; }
  nav { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
  nav a { text-decoration: none; transition: color .2s; }
  nav a:hover { color: var(--white); }
  @media (max-width: 820px) { nav { display: none; } }

  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    height: 44px; padding: 0 20px; border-radius: 999px;
    background: var(--gold); color: var(--navy);
    font: 600 14px/1 'Inter', sans-serif; text-decoration: none;
    border: 0; cursor: pointer; white-space: nowrap;
    transition: background .2s;
  }
  .btn:hover { background: var(--gold-soft); }
  .btn svg { width: 16px; height: 16px; }
  .btn.ghost { background: transparent; color: var(--white); border: 1px solid var(--line); }
  .btn.ghost:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
  .btn.sm { height: 36px; padding: 0 14px; font-size: 13px; }
  :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

  /* Intro */
  .intro { padding-top: 96px; padding-bottom: 72px; }
  .eyebrow { color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
  h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; margin: 16px 0 20px; max-width: 14ch; }
  .lede { color: var(--muted); font-size: 18px; max-width: 46ch; }
  @media (max-width: 600px) { .intro { padding-top: 56px; padding-bottom: 40px; } }

  section { padding: 72px 0; border-top: 1px solid var(--line); }
  .head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
  h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
  .head p { color: var(--muted); max-width: 44ch; margin-top: 8px; }
  h3 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 40px 0 16px; }

  /* Swatches */
  .core { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
  .sup { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
  @media (max-width: 1000px) { .sup { grid-template-columns: repeat(4, 1fr); } }
  @media (max-width: 560px) { .sup { grid-template-columns: repeat(2, 1fr); } .sup .swatch:last-child { grid-column: span 2; min-height: 110px; } }
  @media (max-width: 820px) { .core { grid-template-columns: 1fr; } }
  .swatch {
    position: relative; display: flex; flex-direction: column; justify-content: space-between;
    min-height: 260px; padding: 24px; border-radius: var(--radius);
    border: 1px solid var(--line); cursor: pointer; text-align: left;
    font-family: inherit; color: inherit; transition: transform .2s ease;
  }
  .swatch:hover { transform: translateY(-3px); }
  .swatch:active { transform: translateY(0) scale(.99); }
  .sup .swatch { min-height: 150px; padding: 16px; border-radius: 16px; }
  .swatch .name { font-size: 15px; font-weight: 600; }
  .swatch .use { font-size: 13px; opacity: .72; margin-top: 2px; }
  .swatch .hex { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
  .sup .swatch .hex { font-size: 17px; }
  .swatch .copy {
    position: absolute; top: 20px; right: 20px;
    font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px;
    background: rgba(255,255,255,.14); opacity: 0; transition: opacity .2s;
  }
  .sup .swatch .copy { top: 12px; right: 12px; }
  .swatch.light .copy { background: rgba(10,22,40,.08); }
  .swatch:hover .copy, .swatch:focus-visible .copy { opacity: 1; }
  @media (hover: none) { .swatch .copy { opacity: 1; } }
  .swatch.light { color: var(--navy); border-color: transparent; }
  .swatch.done .copy { opacity: 1; }

  /* Type */
  .type { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
  @media (max-width: 820px) { .type { grid-template-columns: 1fr; } }
  .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
  @media (max-width: 600px) { .card { padding: 24px; } }
  .aa { font-size: clamp(120px, 18vw, 200px); font-weight: 700; letter-spacing: -0.05em; line-height: .9; color: var(--gold); }
  .fontname { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
  .fontname strong { font-size: 28px; letter-spacing: -0.02em; }
  .spec { display: grid; gap: 24px; }
  .spec .row { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .spec .row:last-child { border-bottom: 0; padding-bottom: 0; }
  .spec .label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
  .spec .sample-h { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
  .spec .sample-b { font-size: 17px; color: #D5D9DF; }
  .spec .note { font-size: 13px; color: var(--muted); margin-top: 6px; }

  /* Logos */
  .logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  @media (max-width: 900px) { .logos { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .logos { grid-template-columns: 1fr; } }
  .asset { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; }
  .stage { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 40px; }
  .stage img { max-width: 78%; max-height: 64%; }
  .stage.icon img { max-height: 58%; }
  .meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; flex-wrap: wrap; }
  .meta b { font-size: 14px; font-weight: 600; }
  .meta span { display: block; font-size: 12px; color: var(--muted); }
  .dl { display: flex; gap: 8px; }

  /* Photos (profile + covers) */
  .photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
  #profile-grid { grid-template-columns: minmax(0, 420px); }
  #profile-grid img { width: 62%; margin: 36px auto; border-radius: 50%; background: none; }
  .photos.covers { grid-template-columns: repeat(2, 1fr); }
  @media (max-width: 760px) { .photos.covers { grid-template-columns: 1fr; } }
  @media (max-width: 400px) { .photos.covers { grid-template-columns: 1fr; } }
  .photo img { width: 100%; display: block; background: var(--deep); }


  /* Posts */
  .anatomy { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: 48px; align-items: center; }
  @media (max-width: 860px) { .anatomy { grid-template-columns: 1fr; } }
  .anatomy img { width: 100%; border-radius: 16px; display: block; border: 1px solid var(--line); }
  .parts { list-style: none; display: grid; gap: 24px; }
  .parts li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
  .parts li::before { content: attr(data-n); width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; display: grid; place-items: center; }
  .parts b { display: block; font-size: 18px; letter-spacing: -0.01em; }
  .parts span { color: var(--muted); font-size: 15px; }
  .parts .tip { grid-template-columns: 1fr; margin-top: 8px; padding: 16px 18px; border: 1px dashed rgba(201,168,76,.7); border-radius: 12px; color: var(--muted); font-size: 15px; }
  .parts .tip::before { display: none; }
  .rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
  @media (max-width: 900px) { .rules { grid-template-columns: 1fr; } }
  .rules .card { padding: 26px; }
  .rules b { display: block; font-size: 17px; margin-bottom: 6px; letter-spacing: -0.01em; }
  .rules p { color: var(--muted); font-size: 15px; }
  .examples { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
  .examples img { width: 100%; aspect-ratio: 4 / 5; display: block; }
  .examples .meta span { max-width: 26ch; }
  .note { margin-top: 24px; color: var(--muted); font-size: 14px; }

  /* Don'ts */
  .donts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  @media (max-width: 700px) { .donts { grid-template-columns: 1fr; } }
  .dont .stage { aspect-ratio: 1; padding: 24px; position: relative; }
  .dont .stage::after {
    content: ""; position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%;
    background: #E5484D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/14px no-repeat;
  }
  .dont .meta { padding: 14px 18px; }
  .dont .meta b { font-weight: 500; }

  /* Canva */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
  @media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
  .step { counter-increment: s; }
  .step::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 700; margin-bottom: 20px; }
  .step b { display: block; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 6px; }
  .step p { color: var(--muted); font-size: 15px; }
  .step .btn { margin-top: 18px; }

  footer { padding: 48px 0 64px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

  /* Toast */
  .toast {
    position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
    background: var(--white); color: var(--navy); font-weight: 600; font-size: 14px;
    padding: 12px 18px; border-radius: 999px; display: flex; align-items: center; gap: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,.4); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s; z-index: 20;
  }
  .toast.show { opacity: 1; transform: translate(-50%, 0); }
  .toast i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(0,0,0,.15); }
  @media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

  /* Icon library */
  .pointer { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s; flex-wrap: wrap; }
  .pointer:hover { border-color: var(--gold); }
  .pointer b { font-size: 18px; letter-spacing: -0.01em; }
  .pointer span { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; }
  .pointer .peek { display: flex; gap: 14px; color: var(--gold); }
  .pointer .peek svg { width: 28px; height: 28px; }

  .toolbar { position: sticky; top: 72px; z-index: 9; background: rgba(10, 22, 40, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .toolbar .wrap { display: flex; gap: 12px 24px; align-items: center; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
  .search { flex: 1 1 220px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--white); padding: 0 18px; font: 15px 'Inter', sans-serif; }
  .search::placeholder { color: var(--muted); }
  .search:focus { outline: none; border-color: var(--gold); }
  .seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); gap: 2px; }
  .seg button { height: 34px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font: 500 13px 'Inter', sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
  .seg button[aria-pressed="true"] { background: var(--line); color: var(--white); }
  .seg i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); }
  .toolbar .lbl { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }

  .group { padding: 40px 0 8px; }
  .group h3 { margin: 0 0 16px; }
  .tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
  .tile { aspect-ratio: 1; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--tile-fg, var(--gold)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; cursor: pointer; font-family: inherit; transition: border-color .2s, transform .2s; padding: 10px; }
  .tile:hover { border-color: var(--gold); transform: translateY(-2px); }
  .tile svg { width: 40px; height: 40px; }
  .tile span { font-size: 12px; color: var(--muted); text-align: center; line-height: 1.3; }
  body.on-light .tile { background: var(--light); border-color: transparent; }
  body.on-light .tile span { color: #4B5563; }
  .empty { padding: 64px 0; color: var(--muted); }

  dialog.icon-sheet { margin: auto; border: 1px solid var(--line); border-radius: 24px; background: var(--card); color: var(--white); padding: 0; width: min(420px, calc(100vw - 32px)); }
  dialog.icon-sheet::backdrop { background: rgba(3, 8, 16, .7); backdrop-filter: blur(4px); }
  .sheet-stage { display: grid; place-items: center; height: 240px; border-radius: 24px 24px 0 0; color: var(--tile-fg, var(--gold)); background: var(--navy); }
  body.on-light .sheet-stage { background: var(--light); }
  .sheet-stage svg { width: 120px; height: 120px; }
  .sheet-body { padding: 22px 24px 24px; }
  .sheet-body b { font-size: 20px; letter-spacing: -0.01em; }
  .sheet-body p { color: var(--muted); font-size: 14px; margin: 4px 0 18px; }
  .sheet-body .dl { flex-wrap: wrap; }
  .sheet-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: var(--white); cursor: pointer; font-size: 20px; line-height: 1; }
  @media (max-width: 600px) {
    .toolbar { position: static; }
    .tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .tile svg { width: 34px; height: 34px; }
  }

  /* Logo groups */
  .logo-group + .logo-group { margin-top: 48px; }
  .logo-group h3 { margin: 0 0 4px; }
  .group-note { color: var(--muted); font-size: 15px; margin-bottom: 16px; max-width: 60ch; }
  .logos.two { grid-template-columns: repeat(2, 1fr); }
  .logos.two .stage { aspect-ratio: 16 / 9; }
  @media (max-width: 560px) { .logos.two { grid-template-columns: 1fr; } }
