/* SIP to Retire brand kit. Colours from the brand palette (assets/colors/colors.css). */
:root {
  --teal: #0F766E; --teal-hover: #115E59; --navy: #1E3A8A; --saffron: #F59E0B; --saffron-text: #B45309;
  --ink: #0F172A; --slate: #475569; --mist: #E2E8F0; --paper: #F8FAFC; --night: #0B1220;
  --bg: #FFFFFF; --bg-alt: #F8FAFC; --surface: #FFFFFF; --fg: #0F172A; --muted: #475569; --faint: #64748B;
  --border: #E2E8F0; --border-strong: #CBD5E1; --accent: #0F766E; --accent-soft: #F0FDFA; --accent-fg: #FFFFFF;
  --good: #15803D; --bad: #B91C1C; --shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 8px 24px -12px rgb(15 23 42 / 0.12);
  --header: rgb(255 255 255 / 0.82);
  --radius: 16px; --font: 'Inter Variable', Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --deva: 'Noto Sans Devanagari Variable', 'Noto Sans Devanagari', sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0B1220; --bg-alt: #0E1729; --surface: #111A2E; --fg: #E2E8F0; --muted: #94A3B8; --faint: #8391A7;
    --border: #1E293B; --border-strong: #334155; --accent: #2DD4BF; --accent-soft: #0D2A2A; --accent-fg: #04201D;
    --good: #4ADE80; --bad: #F87171; --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px -12px rgb(0 0 0 / 0.5);
    --header: rgb(11 18 32 / 0.8); color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #0B1220; --bg-alt: #0E1729; --surface: #111A2E; --fg: #E2E8F0; --muted: #94A3B8; --faint: #8391A7;
  --border: #1E293B; --border-strong: #334155; --accent: #2DD4BF; --accent-soft: #0D2A2A; --accent-fg: #04201D;
  --good: #4ADE80; --bad: #F87171; --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px -12px rgb(0 0 0 / 0.5);
  --header: rgb(11 18 32 / 0.8); color-scheme: dark;
}

/* Theme-dependent images: .on-light shows in light, .on-dark in dark. */
.on-dark, .only-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .on-dark, :root:not([data-theme='light']) .only-dark { display: inline-block !important; }
  :root:not([data-theme='light']) .on-light, :root:not([data-theme='light']) .only-light { display: none !important; }
}
:root[data-theme='dark'] .on-dark, :root[data-theme='dark'] .only-dark { display: inline-block !important; }
:root[data-theme='dark'] .on-light, :root[data-theme='dark'] .only-light { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--font); font-feature-settings: 'cv11', 'ss01'; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent); text-underline-offset: 3px; }
strong { font-weight: 650; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[lang='hi'] { font-family: var(--deva); }
.tab { font-variant-numeric: tabular-nums; }
.i { width: 18px; height: 18px; flex: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--accent); color: var(--accent-fg); padding: 8px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: var(--header); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--border); }
.top-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); flex: none; }
.brand img { width: 132px; height: auto; }
.brand-tag { font-size: 13px; font-weight: 600; color: var(--muted); padding-left: 10px; border-left: 1px solid var(--border-strong); line-height: 1.2; }
.nav { display: none; gap: 2px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 10px; border-radius: 8px; }
.nav a:hover { color: var(--fg); background: var(--bg-alt); }
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 960px) { .nav { display: flex; } .top-actions { margin-left: 8px; } }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--fg); cursor: pointer; }
.icon-btn:hover { border-color: var(--border-strong); }
.hide-xs { display: none !important; }
@media (min-width: 480px) { .hide-xs { display: inline-flex !important; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2; color: var(--fg); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 10px; padding: 10px 16px; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s; white-space: nowrap; }
.btn:hover { border-color: var(--faint); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { background: var(--teal-hover); border-color: var(--teal-hover); }
:root[data-theme='dark'] .btn-primary:hover { background: #5EEAD4; border-color: #5EEAD4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .btn-primary:hover { background: #5EEAD4; border-color: #5EEAD4; } }
.btn-lg { font-size: 16px; padding: 13px 20px; border-radius: 12px; }
.btn-sm { font-size: 13.5px; padding: 7px 11px; border-radius: 9px; gap: 6px; }
.btn-sm .i { width: 16px; height: 16px; }
.btn .sz { color: var(--faint); font-weight: 500; font-variant-numeric: tabular-nums; }
.btn-primary .sz, .cta-meta { color: inherit; opacity: .8; font-weight: 500; }
.cta-meta { margin-left: 4px; }
.btn-light { background: #FFFFFF; color: #0F172A; border-color: #FFFFFF; }
.btn-light:hover { background: #F0FDFA; border-color: #F0FDFA; }
.btn-ghost-light { background: transparent; color: #FFFFFF; border-color: rgb(255 255 255 / .45); }
.btn-ghost-light:hover { border-color: #FFFFFF; background: rgb(255 255 255 / .08); }
.link { font-weight: 600; text-decoration: none; font-size: 15px; }
.link:hover { text-decoration: underline; }

/* Hero */
.hero { padding: 40px 0 8px; background:
  radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%), var(--bg); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.cta .btn { white-space: normal; text-align: center; }
@media (min-width: 960px) { .hero { padding: 80px 0 16px; } .hero-in { grid-template-columns: 1fr 1.05fr; gap: 56px; } }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
h1 { font-size: clamp(36px, 7vw, 60px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(28px, 4.6vw, 44px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }
h3 { font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }
.lede { color: var(--muted); font-size: 17px; line-height: 1.6; margin-top: 16px; max-width: 64ch; text-wrap: pretty; }
@media (min-width: 640px) { .lede { font-size: 18px; } }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta .btn { flex: 1 1 auto; }
@media (min-width: 480px) { .cta .btn { flex: 0 0 auto; } }
.fine { font-size: 14px; color: var(--faint); margin-top: 14px; }
.hero-art { display: grid; border-radius: 22px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.pane { position: relative; display: grid; place-items: center; padding: 48px 28px; min-height: 170px; }
.pane img { width: min(82%, 400px); }
.pane-light { background: #FFFFFF linear-gradient(rgb(15 118 110 / .06) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgb(15 118 110 / .06) 1px, transparent 1px) 0 0 / 24px 24px; background-color: #FFFFFF; }
.pane-dark { background: radial-gradient(circle at 75% 20%, #134E4A 0%, #0B1220 65%); }
.pane-label { position: absolute; left: 16px; bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #64748B; }
.pane-dark .pane-label { color: #94A3B8; }
@media (min-width: 960px) { .pane { min-height: 210px; } }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 40px 0 0; }
.facts > div { background: var(--surface); padding: 16px 18px; }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 600; }
.facts dd { font-weight: 650; margin-top: 4px; display: flex; align-items: center; gap: 8px; font-size: 15px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); flex: none; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); margin-top: 56px; } }

/* Sections */
.section { padding: 64px 0; border-top: 1px solid var(--border); }
.section.alt { background: var(--bg-alt); }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.sec-head { margin-bottom: 36px; }
.sub-h { font-size: 20px; margin: 48px 0 18px; display: flex; align-items: center; gap: 8px; }
.hint { color: var(--faint); font-size: 14px; margin-top: 18px; }
.note { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.meta { font-size: 12.5px; color: var(--faint); font-weight: 500; white-space: nowrap; }

.anatomy { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: flex-end; padding: 18px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: 28px; width: fit-content; max-width: 100%; }
.anatomy div { display: flex; align-items: baseline; gap: 10px; }
.anatomy small { font-size: 13px; color: var(--faint); white-space: nowrap; }
.an-sip { font-size: 34px; font-weight: 800; letter-spacing: -0.032em; line-height: 1; }
.an-to { font-size: 34px; font-weight: 500; letter-spacing: -0.02em; color: var(--accent); line-height: 1; }

/* Cards and grids */
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .grid-5 { grid-template-columns: repeat(5, 1fr); } }
.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 960px) { .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.grid-icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .grid-icons { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid-icons { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; } .icon-card .btn-sm { font-size: 12.5px; padding: 6px 8px; gap: 4px; } .icon-card .btn-sm .i { width: 14px; height: 14px; } }
.grid-social { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-social { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid-social { grid-template-columns: repeat(12, 1fr); } .grid-social .social-card { grid-column: span 3; } .grid-social .social-card.is-wide { grid-column: span 6; } }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.logo-card, .icon-card, .social-card { display: flex; flex-direction: column; overflow: visible; }
.preview { display: grid; place-items: center; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; padding: 36px 28px; min-height: 180px; border-bottom: 1px solid var(--border); }
.preview img { width: auto; max-width: min(86%, 380px); max-height: 120px; }
.preview.is-square { padding: 28px; min-height: 0; aspect-ratio: 4 / 3; }
.preview.is-square img { width: 52%; max-width: 132px; }
.logo-card .preview.is-square + .card-body .dl-row { gap: 6px; }
.logo-card .preview.is-square + .card-body .btn-sm { padding: 6px 9px; }
@media (min-width: 720px) { .preview { min-height: 210px; } }
.preview.is-flush { padding: 0; min-height: 0; overflow: hidden; }
.preview.is-flush img { max-width: 100%; max-height: none; width: 100%; }
.preview.is-icon { min-height: 150px; padding: 24px; }
.bg-light { background: #FFFFFF; }
.bg-paper { background: #F8FAFC; }
.bg-dark { background: #0B1220; }
.bg-teal { background: #0F766E; }
.bg-navy { background: #1E3A8A; }
.bg-saffron { background: #F59E0B; }
:root[data-theme='dark'] .bg-light, :root[data-theme='dark'] .bg-paper { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .04); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.dl-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.icon-card .card-body { padding: 14px 14px 16px; }
.icon-card h3 { font-size: 15px; }
.icon-card .note { font-size: 13px; }
.app-img { width: 88px; border-radius: 22.8%; box-shadow: 0 6px 16px -6px rgb(15 23 42 / .35); }
.app-img.is-bleed { border-radius: 22%; }
.avatar-img { width: 96px; border-radius: 50%; box-shadow: 0 6px 16px -6px rgb(15 23 42 / .35); }
.fav-row { display: flex; align-items: flex-end; gap: 14px; }
.fav-row img { image-rendering: auto; }
.bg-email { background: #F1F5F9; padding: 28px 20px; }
.email-band { background: #0F766E; border-radius: 10px; padding: 18px 24px; width: min(100%, 320px); display: flex; }
.email-band img { width: 180px; }
.bg-signin { background: linear-gradient(135deg, #CCFBF1, #DBEAFE); padding: 24px 20px; }
.signin-card { background: #FFFFFF; border-radius: 12px; box-shadow: 0 10px 30px rgb(15 23 42 / .15); padding: 20px 22px; width: min(100%, 300px); display: grid; gap: 10px; }
.signin-card img { width: 160px; margin-bottom: 4px; }
.sk { display: block; height: 8px; border-radius: 4px; background: #E2E8F0; }
.sk-1 { width: 70%; } .sk-2 { width: 100%; height: 26px; border: 1px solid #CBD5E1; background: #FFFFFF; }
.sk-btn { width: 100%; height: 26px; background: #0F766E; border-radius: 7px; }

/* PNG size menu */
.menu { position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu .chev { margin-left: -2px; transition: transform .15s; }
.menu[open] .chev { transform: rotate(180deg); }
.menu-pop { position: absolute; z-index: 5; left: 0; top: calc(100% + 6px); min-width: 190px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: 0 12px 32px -8px rgb(15 23 42 / .28); padding: 6px; display: grid; }
.menu-pop a { display: flex; justify-content: space-between; gap: 16px; padding: 8px 10px; border-radius: 8px; color: var(--fg); text-decoration: none; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.menu-pop a:hover, .menu-pop a:focus-visible { background: var(--bg-alt); }
.menu-pop .sz { color: var(--faint); }

/* Mark */
.mark-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .mark-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; } }
.construct { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.construct svg { width: 100%; height: auto; display: block; max-width: 480px; margin: 0 auto; }
.construct figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; text-align: center; }
.construct .grid-line { stroke: var(--border-strong); }
.construct .box { stroke: var(--border-strong); }
.construct .clear { fill: color-mix(in srgb, var(--accent) 7%, transparent); stroke: var(--accent); }
.construct .m-bar { fill: #0F766E; }
.construct .m-drop { fill: #14B8A6; }
:root[data-theme='dark'] .construct .m-bar { fill: #2DD4BF; }
:root[data-theme='dark'] .construct .m-drop { fill: #5EEAD4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .construct .m-bar { fill: #2DD4BF; } :root:not([data-theme='light']) .construct .m-drop { fill: #5EEAD4; } }
.construct .dim { stroke: var(--faint); fill: none; }
.construct .dim-t { fill: var(--faint); font: 600 2.2px var(--font); }
.ideas { display: grid; gap: 22px; }
.ideas li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.ideas .num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--accent); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.ideas h3 { font-size: 19px; margin-bottom: 4px; }
.ideas p { color: var(--muted); }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.spec { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.spec-k { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 600; }
.spec-v { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; }
.spec-n { font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.min-demo { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.min-demo img { flex: none; }

/* Colour */
.ratio { display: grid; grid-template-columns: 6fr 3fr 1fr; height: 72px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); margin-bottom: 40px; }
.ratio > div { display: flex; flex-direction: column; justify-content: center; padding: 0 14px; line-height: 1.2; min-width: 0; }
.ratio span { font-weight: 800; font-size: 18px; }
.ratio small { font-size: 12.5px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r60 { background: #F8FAFC; color: #0F172A; }
.r30 { background: linear-gradient(90deg, #0F766E 0 60%, #1E3A8A 60%); color: #FFFFFF; }
.r10 { background: #F59E0B; color: #0F172A; padding: 0 8px !important; }
.swatch-group + .swatch-group { margin-top: 32px; }
.group-title { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 12px; }
.swatches { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .swatches { grid-template-columns: repeat(3, 1fr); } .swatches-neutrals { grid-template-columns: repeat(4, 1fr); } .swatches-supporting { grid-template-columns: repeat(5, 1fr); } .swatches-data { grid-template-columns: repeat(4, 1fr); } }
.swatches-primary .chip { height: 150px; }
@media (max-width: 719px) { .swatches-primary { grid-template-columns: 1fr; } .swatches-primary .chip { height: 110px; } }
.swatch { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.chip { background: var(--c); height: 104px; padding: 12px 14px; display: flex; align-items: flex-end; }
.chip.is-pale { box-shadow: inset 0 -1px 0 var(--border); }
.chip-name { font-weight: 700; font-size: 15px; }
.swatch-body { padding: 12px 12px 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.swatch-role { font-size: 13px; color: var(--muted); line-height: 1.45; }
.codes { display: grid; gap: 4px; margin-top: auto; }
.code { display: flex; align-items: center; gap: 8px; width: 100%; font: inherit; font-size: 13px; background: var(--bg-alt); color: var(--fg); border: 1px solid transparent; border-radius: 8px; padding: 6px 8px; cursor: pointer; text-align: left; }
.code:hover { border-color: var(--border-strong); }
.code .k { font-size: 11px; font-weight: 700; color: var(--faint); width: 30px; letter-spacing: .04em; }
.code .v { font-variant-numeric: tabular-nums; font-weight: 600; flex: 1; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 12.5px; }
.code .i { width: 15px; height: 15px; color: var(--faint); }
.code.copied .i { color: var(--accent); }
.contrast { margin-top: 40px; padding: 20px; }
.contrast h3 { margin-bottom: 12px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; min-width: 520px; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--border); }
td { padding: 10px; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: 0; }
tr.bad td { color: var(--bad); }
tr.bad td:first-child { text-decoration: line-through; }
.pair { display: inline-grid; place-items: center; width: 44px; height: 30px; border-radius: 7px; background: var(--pbg); color: var(--pfg); font-weight: 700; border: 1px solid rgb(15 23 42 / .08); }
.files-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 28px; }
.files-k { font-weight: 650; margin-right: 6px; }

/* Type */
.type-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 900px) { .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.type-card { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.type-top { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.specimen { font-size: 88px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--accent); min-width: 120px; }
.specimen.deva { font-weight: 700; letter-spacing: 0; font-size: 80px; }
.type-top h3 { font-size: 22px; }
.weights { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 17px; }
.nums { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.nums span { color: var(--faint); font-weight: 400; }
.deva-line { font-size: 40px; font-weight: 700; line-height: 1.4; }
.scripts { display: flex; flex-wrap: wrap; gap: 8px; }
.scripts span { border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; font-size: 16px; font-weight: 600; background: var(--bg-alt); }
.type-card .link { margin-top: auto; }
.scale { margin-top: 20px; padding: 8px 24px; overflow: hidden; }
.scale-row { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--border); white-space: nowrap; overflow: hidden; }
.scale-row:last-child { border-bottom: 0; white-space: normal; }
.scale-k { width: 28px; flex: none; font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; font-weight: 600; }
.s96 { font-size: clamp(56px, 10vw, 96px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.s64 { font-size: clamp(40px, 7vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.s44 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.s32 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; letter-spacing: -0.02em; }
.s24 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.s16 { font-size: 16px; color: var(--muted); }

/* Usage */
.do-h { color: var(--good); margin-top: 0; }
.dont-h { color: var(--bad); }
.rule { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; position: relative; }
.rule-art { display: grid; place-items: center; height: 130px; padding: 16px; overflow: hidden; border-bottom: 3px solid; }
.rule.do .rule-art { border-bottom-color: var(--good); }
.rule.dont .rule-art { border-bottom-color: var(--bad); }
.rule-art img { width: min(80%, 180px); }
.rule figcaption { padding: 12px 14px 14px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.rule figcaption strong { color: var(--fg); display: block; }
.x-recolour { filter: hue-rotate(150deg) saturate(1.6); }
.x-stretch { transform: scale(1.3, .72); }
.x-tilt { transform: rotate(-14deg); }
.clear-demo { display: inline-block; padding: 12px; outline: 1.5px dashed #0F766E; outline-offset: 0; border-radius: 4px; background: rgb(15 118 110 / .05); }
.clear-demo img { width: 140px; }
.usage-notes { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 900px) { .usage-notes { grid-template-columns: repeat(3, 1fr); } }
.usage-notes .card { padding: 20px; }
.usage-notes h3 { margin-bottom: 6px; }
.usage-notes p { color: var(--muted); font-size: 15px; }
.strike { text-decoration: line-through; text-decoration-color: var(--bad); }
.gain, .loss { display: inline-block; font-weight: 700; padding: 1px 8px; border-radius: 6px; margin-right: 4px; }
.gain { color: var(--good); background: color-mix(in srgb, var(--good) 12%, transparent); }
.loss { color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, transparent); }

/* Voice */
.voice-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .voice-grid { grid-template-columns: 1.1fr 1fr; gap: 28px; } }
.tagline-card { padding: 28px; background: linear-gradient(160deg, #0F766E, #134E4A 55%, #1E3A8A); color: #F8FAFC; border: 0; }
.tagline-card .note { color: #CCFBF1; }
.tag-k { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: #5EEAD4; }
.tagline { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 12px 0 14px; text-wrap: balance; }
.tagline-hi { font-size: 28px; font-weight: 700; color: #FCD34D; margin-bottom: 8px; }
.traits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.traits li { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.traits h3 { margin-bottom: 4px; }
.traits p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.say { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 900px) { .say { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.say-k { display: flex; align-items: center; gap: 6px; font-weight: 700; margin-bottom: 10px; }
.say-yes { color: var(--good); }
.say-no { color: var(--bad); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 500; font-size: 15px; }
.chips-no li { text-decoration: line-through; text-decoration-color: var(--bad); color: var(--muted); }

/* Contact and footer */
.contact { border-top: 0; padding-top: 0; }
.contact-card { border-radius: 24px; padding: 32px 24px; background: radial-gradient(800px 300px at 90% 0%, rgb(45 212 191 / .25), transparent 60%), linear-gradient(135deg, #0B1220, #0F2A33); color: #F8FAFC; display: grid; gap: 24px; align-items: center; }
.contact-card h2 { font-size: clamp(26px, 3.6vw, 36px); }
.contact-card p { color: #CBD5E1; margin-top: 8px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-actions .btn { flex: 1 1 auto; }
@media (min-width: 900px) { .contact-card { grid-template-columns: 1.2fr 1fr; padding: 48px; } .contact-actions { justify-content: flex-end; } .contact-actions .btn { flex: 0 0 auto; } }
.foot { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--faint); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot a { color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: #0F172A; color: #F8FAFC; padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgb(0 0 0 / .25); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 60; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
:root[data-theme='dark'] .toast { background: #F8FAFC; color: #0F172A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .toast { background: #F8FAFC; color: #0F172A; } }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 519px) {
  .specs { grid-template-columns: 1fr; }
  .ratio { grid-template-columns: 6fr 3fr 1.4fr; }
  .ratio > div { padding: 0 10px; }
  .r10 span { font-size: 14px; }
  .swatches:not(.swatches-primary) .code { padding: 6px; gap: 6px; }
  .swatches:not(.swatches-primary) .code .k { width: 26px; font-size: 10px; }
  .swatches:not(.swatches-primary) .code .v { font-size: 11.5px; white-space: nowrap; }
  .swatches:not(.swatches-primary) .code .i { display: none; }
}
.min-demo { flex-wrap: wrap; }

.bg-theme { background: var(--bg-alt); }
.fav-row img { max-width: none; }
@media (max-width: 639px) { .scale-row { white-space: normal; } }
