/* AnySkin Tech blog (techblog/CLAUDE.md). Poppins: SIL Open Font License, served from here, Latin subset. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/blog/assets/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/blog/assets/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/blog/assets/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/blog/assets/fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("/blog/assets/fonts/poppins-800.woff2") format("woff2"); }
html { color-scheme: light; } body { margin: 0; } img { max-width: 100%; } [hidden] { display: none !important; }
/* Layout: an app-like column (680px reading width) under a full-bleed navy hero; the CAPTCHA tiles are the signature. */
:root {
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --ink: #14142B;
  --muted: #6E7191;
  --line: #EFF0F6;
  --soft: #EBECFE;
  --accent: #7436D9;
  --accent-2: #A996FF;
  --navy: #262340;
  --navy-2: #35314E;
  --on-navy: #FFFFFF;
  --on-navy-muted: #C6C7D4;
  --logo: #40148B;
  --louie: #F58427;
  --louie-light: #FBB677;
  --tile-1: #EBECFE;
  --tile-ink: #262340;
  --shadow: 0 1px 2px rgba(20,20,43,.05), 0 8px 28px rgba(20,20,43,.07);
  --font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12111F; --surface: #1D1B30; --ink: #F3F3FA; --muted: #A0A3BD; --line: #2C2945;
    --soft: #2A2547; --accent: #A996FF; --accent-2: #7436D9; --navy: #1D1B30; --navy-2: #2C2945;
    --on-navy-muted: #A0A3BD; --tile-1: #2A2547; --tile-ink: #F3F3FA;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12111F; --surface: #1D1B30; --ink: #F3F3FA; --muted: #A0A3BD; --line: #2C2945;
  --soft: #2A2547; --accent: #A996FF; --accent-2: #7436D9; --navy: #1D1B30; --navy-2: #2C2945;
  --on-navy-muted: #A0A3BD; --tile-1: #2A2547; --tile-ink: #F3F3FA;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px rgba(0,0,0,.35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
.gutter { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.col { max-width: 680px; margin: 0 auto; }
.wide { max-width: 1040px; margin: 0 auto; }

/* Top bar */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--navy) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--navy); }
.topbar .wide { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-navy); }
.brand b { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand span { font-weight: 500; font-size: 0.8rem; color: var(--accent-2); border: 1px solid color-mix(in srgb, var(--accent-2) 45%, transparent); border-radius: 999px; padding: 1px 9px; letter-spacing: 0.02em; }
.toplinks { display: flex; gap: 20px; font-size: 0.85rem; }
.toplinks a { color: var(--on-navy-muted); text-decoration: none; }
.toplinks a:hover, .toplinks a:focus-visible { color: var(--on-navy); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

/* Hero */
.hero { background: var(--navy); color: var(--on-navy); overflow: hidden; position: relative; }
.hero .wide { padding-block: 56px 72px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero .wide { grid-template-columns: 1fr; gap: 40px; padding-block: 40px 56px; } }
.kicker { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); }
.hero h1 { font-size: clamp(3rem, 9vw, 5.6rem); font-weight: 800; line-height: 0.95; margin-top: 14px; letter-spacing: -0.04em; }
.dek { margin-top: 20px; font-size: clamp(1.1rem, 2.4vw, 1.3rem); line-height: 1.5; color: var(--on-navy-muted); max-width: 30ch; }
.dek em { color: var(--on-navy); font-style: normal; font-weight: 600; }
.meta { margin-top: 24px; font-size: 0.82rem; color: var(--on-navy-muted); display: flex; gap: 14px; flex-wrap: wrap; }

/* CAPTCHA widget */
.widget-wrap { position: relative; justify-self: center; width: min(100%, 380px); margin-top: 64px; }
.widget { position: relative; z-index: 2; background: #FFFFFF; color: #14142B; border-radius: 20px; padding: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 16px; }
.check-row { display: flex; align-items: center; gap: 14px; }
.check { width: 34px; height: 34px; border-radius: 9px; border: 2px solid #C6C7D4; background: #FFF; cursor: pointer; display: grid; place-items: center; flex: none; transition: border-color .2s, background .2s; }
.check svg { width: 20px; height: 20px; stroke: #FFF; stroke-width: 3; fill: none; stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .35s ease .05s; }
.check[aria-checked="true"] { background: #7436D9; border-color: #7436D9; }
.check[aria-checked="true"] svg { stroke-dashoffset: 0; }
.check-label { font-weight: 600; font-size: 1.05rem; }
.check-sub { font-size: 0.8rem; color: #6E7191; line-height: 1.4; min-height: 2.8em; }
.widget-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #EFF0F6; padding-top: 12px; font-size: 0.7rem; color: #A0A3BD; }
/* Louie sits behind the card's top-right corner, only his top half showing; his bubble stands to his left. */
.louie-peek { position: absolute; z-index: 1; right: 4px; top: -78px; width: 112px; transform: rotate(8deg); transform-origin: 50% 100%; transition: transform .4s cubic-bezier(.3,1.4,.5,1); }
.widget-wrap:hover .louie-peek { transform: rotate(2deg) translateY(-6px); }
.bubble { position: absolute; z-index: 3; right: 124px; top: -60px; background: var(--louie-light); color: #14142B; font-size: 0.82rem; font-weight: 600; line-height: 1.3; padding: 8px 14px; border-radius: 16px 16px 4px 16px; white-space: nowrap; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
@media (max-width: 420px) { .louie-peek { width: 96px; top: -58px; } .bubble { right: 104px; top: -46px; } }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.tile { aspect-ratio: 1 / 1.15; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: clamp(1.1rem, 3.4vw, 1.5rem); text-decoration: none; color: #262340; background: #EBECFE; transition: transform .2s, background .2s, color .2s; }
.tile:nth-child(odd) { background: #DCD6FF; }
.tile:hover, .tile:focus-visible { transform: translateY(-3px); background: #7436D9; color: #FFF; }

/* Article */
.article { padding-block: 64px 40px; display: flex; flex-direction: column; gap: 56px; }
.prose { display: flex; flex-direction: column; gap: 20px; }
.prose p { font-size: 1.08rem; }
.lead { font-size: 1.28rem !important; line-height: 1.6; font-weight: 500; }
.stat { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); padding: 28px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; }
.stat b { font-size: clamp(3rem, 10vw, 4.4rem); font-weight: 800; line-height: 1; color: var(--accent); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat p { font-size: 1rem; color: var(--muted); }
.stat p strong { color: var(--ink); font-weight: 600; }
@media (max-width: 480px) { .stat { grid-template-columns: 1fr; gap: 10px; } }
h2.sec { font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 700; line-height: 1.2; }
.label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.dropped { display: flex; flex-wrap: wrap; gap: 8px; }
.dropped span { font-size: 0.9rem; padding: 6px 14px; border-radius: 999px; background: var(--line); color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: color-mix(in srgb, var(--muted) 70%, transparent); }

/* Letters */
.letters { display: flex; flex-direction: column; gap: 14px; }
.letter { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); padding: 26px 26px 26px 24px; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 22px; scroll-margin-top: 84px; }
.letter .big { grid-row: span 3; width: 72px; height: 82px; border-radius: 16px; background: var(--soft); color: var(--accent); display: grid; place-items: center; font-size: 2.4rem; font-weight: 800; line-height: 1; }
.letter h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; padding-top: 4px; }
.letter p { font-size: 1rem; color: var(--ink); }
.letter .ours { font-size: 0.92rem; color: var(--muted); border-left: 2px solid var(--accent-2); padding-left: 12px; margin-top: 8px; }
@media (max-width: 520px) { .letter { grid-template-columns: 1fr; padding: 22px; } .letter .big { grid-row: auto; width: 56px; height: 64px; font-size: 1.9rem; margin-bottom: 6px; } }

/* Emotion band */
.feel { background: var(--navy); color: var(--on-navy); border-radius: 28px; padding: 36px 32px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px; }
.feel h2 { font-size: clamp(1.7rem, 4.4vw, 2.3rem); font-weight: 700; line-height: 1.15; max-width: 18ch; }
.feel p { color: var(--on-navy-muted); font-size: 1.05rem; max-width: 46ch; }
.feel p strong { color: var(--on-navy); font-weight: 600; }
.feel .louie-side { position: absolute; right: -54px; bottom: -40px; width: 170px; transform: rotate(10deg); }
.feel .bubble-side { position: relative; align-self: flex-end; margin-right: 96px; background: var(--louie-light); color: #14142B; font-size: 0.85rem; font-weight: 600; padding: 8px 14px; border-radius: 16px 16px 4px 16px; z-index: 2; }
@media (max-width: 560px) { .feel { padding: 28px 22px 120px; } .feel .louie-side { width: 130px; right: -30px; bottom: -34px; } .feel .bubble-side { position: absolute; right: 16px; bottom: 96px; margin: 0; } }

.signoff { font-size: 1rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 24px; }

/* Index */
.intro { padding-block: 64px 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; position: relative; }
.intro h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; max-width: 14ch; }
.intro p { margin-top: 16px; font-size: 1.15rem; color: var(--muted); max-width: 40ch; }
.intro-louie { position: relative; width: 150px; }
.intro-louie img { width: 150px; display: block; transform: rotate(-8deg); }
.intro-louie .bubble { right: 70px; top: -30px; }
@media (max-width: 640px) { .intro { grid-template-columns: 1fr; } .intro-louie { justify-self: end; width: 110px; margin-top: 30px; } .intro-louie img { width: 110px; } .intro-louie .bubble { right: 50px; top: -34px; } }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--navy); color: var(--on-navy); border-radius: 28px; overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .25s; }
.feature:hover { transform: translateY(-3px); }
.feature .txt { padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.feature h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.feature p { color: var(--on-navy-muted); font-size: 1.02rem; line-height: 1.55; }
.feature .go { margin-top: auto; font-weight: 600; color: var(--accent-2); }
.feature .art { background: var(--navy-2); padding: 36px; display: grid; align-content: center; gap: 16px; }
.feature .art .tiles { gap: 6px; }
.feature .art .mini { background: #FFF; border-radius: 14px; padding: 14px; display: flex; align-items: center; gap: 12px; color: #14142B; font-weight: 600; font-size: 0.92rem; }
.feature .art .mini i { width: 24px; height: 24px; border-radius: 7px; background: #7436D9; display: grid; place-items: center; flex: none; }
.feature .art .mini i svg { width: 14px; height: 14px; stroke: #FFF; stroke-width: 3; fill: none; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature .art { order: -1; } }
.soon { padding-block: 32px 72px; color: var(--muted); font-size: 0.95rem; }

/* Footer */
footer { border-top: 1px solid var(--line); }
footer .wide { padding-block: 28px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--muted); }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
