/* ClaimBee logo plan */
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
:root {
  --blue: #5170FF; --blue-deep: #2F43B8; --sky: #E9EEFF; --line: #CCD6F7; --ink: #14161F; --slate: #4B5162;
  --honey: #FFC542; --honey-pale: #FFE38F; --action: #4562F5;
  --m: clamp(16px, 2.2vw, 32px); --gap: clamp(12px, 1.7vw, 24px);
  --t-xl: clamp(2.75rem, 1rem + 5.6vw, 6.5rem); --t-l: clamp(2rem, 1.3rem + 2.2vw, 3.25rem);
  --t-m: clamp(1.25rem, 1rem + .8vw, 1.625rem); --t-body: clamp(1.0625rem, 1rem + .2vw, 1.1875rem); --t-s: .9375rem;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif; font-size: var(--t-body); line-height: 1.5; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: var(--t-l); }
h3 { font-size: var(--t-m); letter-spacing: -0.025em; }
p { text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
section { padding: clamp(80px, 9vw, 160px) var(--m) 0; }

.lockup { display: inline-flex; align-items: center; gap: .3em; text-decoration: none; color: inherit; font-size: 28px; }
.lockup .lk-m { width: 1.42em; height: 1.42em; flex: none; }
.lockup .lk-w { width: 3.99em; height: .75em; margin-top: -.02em; }
.lockup.sm { font-size: 18px; }
.lockup.big { font-size: clamp(32px, 4vw, 52px); }

.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; height: 72px; padding: 0 var(--m); background: #fff; }
.bar .lockup { margin-right: auto; font-size: 24px; }
.bar nav { display: flex; gap: 24px; font-size: var(--t-s); }
.bar nav a { text-decoration: none; }
.bar nav a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--honey); text-decoration-thickness: 2px; }
.pill { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; background: var(--action); color: #fff; text-decoration: none; font-weight: 600; font-size: var(--t-s); transition: background-color .2s; }
.pill:hover { background: var(--blue-deep); }

.hero { padding: 0; display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - 72px); }
.hero-field { background: var(--honey); display: grid; place-items: center; overflow: hidden; }
.hero-mark { width: min(58%, 520px); height: auto; aspect-ratio: 1; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-3deg); } }
.hero-copy { padding: clamp(40px, 6vw, 96px) var(--m); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.hero h1 { font-size: var(--t-xl); line-height: .95; letter-spacing: -0.05em; max-width: 10ch; }
.lead { font-size: var(--t-m); line-height: 1.35; letter-spacing: -0.015em; max-width: 30ch; }
.meta { display: flex; gap: 40px; flex-wrap: wrap; font-size: var(--t-s); }
.meta dt { color: var(--slate); }
.meta dd { font-weight: 500; }

.before-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.before figure { display: grid; gap: 18px; align-content: start; }
.was img, .new-tile { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #F4F5F8; border-radius: 16px; padding: 8%; }
.new-tile { background: var(--sky); display: grid; place-items: center; }
.new-tile svg { width: 46%; aspect-ratio: 1; height: auto; }
.before figcaption { max-width: 52ch; }

.idea-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.idea article { background: var(--sky); border-radius: 18px; padding: 28px; display: grid; gap: 12px; align-content: start; }
.idea-fig { width: 100%; height: auto; aspect-ratio: 5 / 4; background: #fff; border-radius: 12px; margin-bottom: 8px; }
.idea p { color: var(--ink); }

.build { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.build-copy { display: grid; gap: 20px; }
.specs { display: grid; gap: 4px; font-size: var(--t-s); }
.specs li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 12px; border-radius: 8px; }
.specs li:nth-child(odd) { background: var(--sky); }
.specs li span:first-child { font-weight: 600; }
.build-fig { background: #fff; border-radius: 18px; overflow: hidden; }
.build-fig svg { width: 100%; height: auto; }

.word-stage { margin-top: 40px; background: var(--ink); color: #fff; border-radius: 20px; padding: clamp(40px, 7vw, 120px) clamp(24px, 6vw, 96px); }
.word-big { width: 100%; height: auto; aspect-ratio: 399 / 75; }
.word-notes { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.word-notes p { max-width: 54ch; }

.lk-grid { margin-top: 40px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--gap); }
.lk-grid figure { display: grid; gap: 12px; }
.lk-tile { min-height: 260px; background: var(--sky); border-radius: 18px; display: flex; align-items: center; justify-content: center; gap: 20px; padding: 24px; }
.lk-grid figcaption { font-size: var(--t-s); color: var(--slate); }
.stack { display: grid; justify-items: center; gap: 10px; }
.st-m { width: 84px; height: 84px; }
.st-w { width: 150px; height: 28px; }
.app { width: 96px; height: 96px; border-radius: 24px; background: var(--blue); display: grid; place-items: center; }
.app svg { width: 70%; height: 70%; }
.app-ink { background: var(--ink); }

.colour-lead { margin-top: 18px; max-width: 62ch; }
.swatches { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.swatches li { display: grid; gap: 2px; font-size: var(--t-s); }
.sw { display: block; height: 140px; border-radius: 14px; background: var(--c); margin-bottom: 10px; }
.sw-white { box-shadow: inset 0 0 0 1px var(--line); }
.swatches b { font-size: var(--t-body); }
.swatches li span:last-child { color: var(--slate); }
.colour-note { margin-top: 28px; font-size: var(--t-s); color: var(--slate); max-width: 70ch; }

.grounds { padding-top: clamp(40px, 5vw, 80px); }
.g-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.g { position: relative; min-height: 240px; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; padding: 24px; }
.g p { position: absolute; left: 20px; bottom: 16px; font-size: var(--t-s); opacity: .85; }
.g-photo { background: var(--ink); color: var(--ink); }
.g-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.g-chip { position: relative; background: #fff; border-radius: 12px; padding: 14px 18px; }
.g-chip .lockup { font-size: 22px; }
.g-photo p { color: #fff; }

.sizes-row { margin-top: 40px; display: flex; align-items: flex-end; gap: clamp(24px, 4vw, 64px); flex-wrap: wrap; background: var(--sky); border-radius: 18px; padding: 40px; }
.sizes-row figure { display: grid; justify-items: center; gap: 10px; }
.sizes-row figcaption { font-size: var(--t-s); color: var(--slate); }
.tab-ui { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 10px 10px 0 0; padding: 10px 14px; min-width: 280px; font-size: 13px; }
.tab-ui svg { width: 16px; height: 16px; }
.tab-x { margin-left: auto; color: var(--slate); }

.use-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); }
.u { display: grid; gap: 12px; align-content: start; }
.u figcaption { font-size: var(--t-s); color: var(--slate); }
.u-app { grid-column: span 4; }
.u-pdf { grid-column: span 2; }
.u-card { grid-column: span 2; }
.u-social { grid-column: span 2; }
.u-sticker { grid-column: span 2; }
.app-win { display: grid; grid-template-columns: 240px 1fr; min-height: 300px; border-radius: 16px; overflow: hidden; background: #F4F6FD; }
.app-side { background: #EEF1FC; padding: 18px; display: flex; flex-direction: column; gap: 18px; font-size: 14px; }
.app-side ul { display: grid; gap: 4px; }
.app-side li { padding: 7px 10px; border-radius: 8px; }
.app-side li.on { background: var(--blue); color: #fff; }
.app-total { margin-top: auto; background: var(--blue); color: #fff; border-radius: 10px; padding: 10px 12px; display: grid; }
.app-total b { font-size: 20px; letter-spacing: -0.03em; }
.app-main { padding: 22px; display: grid; gap: 12px; align-content: start; }
.app-h { font-weight: 600; }
.app-line { height: 12px; border-radius: 6px; background: #DDE3F8; }
.w70 { width: 70%; } .w50 { width: 50%; }
.pdf { background: #fff; border-radius: 8px; min-height: 300px; padding: 22px; box-shadow: 0 0 0 1px var(--line); font-size: 14px; display: grid; gap: 6px; align-content: start; }
.pdf-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; margin-bottom: 6px; box-shadow: 0 1px 0 var(--line); }
.pdf-head b { font-size: 18px; }
.pdf-total { margin-top: 18px; display: flex; justify-content: space-between; font-weight: 600; background: var(--honey-pale); padding: 6px 8px; border-radius: 4px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cards > div { aspect-ratio: 85 / 55; border-radius: 10px; padding: 14px; }
.card-front { background: #fff; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; justify-content: space-between; font-size: 12px; line-height: 1.35; }
.card-front .lockup { font-size: 14px; }
.card-back { background: var(--blue); display: grid; place-items: center; }
.card-back svg { width: 46%; height: auto; aspect-ratio: 1; }
.social { display: flex; align-items: center; gap: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); border-radius: 14px; padding: 22px; min-height: 140px; }
.avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; flex: none; }
.avatar svg { width: 64%; height: 64%; }
.social b { display: block; font-size: 18px; }
.social span { color: var(--slate); font-size: 14px; }
.sticker-bg { background: #2A2D38; border-radius: 14px; min-height: 140px; display: grid; place-items: center; padding: 22px; }
.sticker { width: 96px; height: 96px; border-radius: 50%; background: var(--honey); display: grid; place-items: center; transform: rotate(-8deg); box-shadow: 0 0 0 5px #fff; }
.sticker svg { width: 66%; height: 66%; --body: var(--ink); --wing-front: #fff; --wing-back: #FFF3CC; }

.rules-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.space { display: grid; gap: 14px; }
.space-box { background: var(--sky); border-radius: 18px; padding: 56px; display: grid; place-items: center; }
.space-box .lockup { font-size: 34px; outline: 2px dashed var(--blue); outline-offset: 20px; }
.donts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.donts li { display: grid; gap: 10px; font-size: var(--t-s); }
.dont-tile { position: relative; height: 140px; border-radius: 14px; background: #FBEDED; display: grid; place-items: center; overflow: hidden; }
.dont-tile svg { width: 64px; height: 64px; }
.dont-tile::after { content: ""; position: absolute; width: 140%; height: 3px; background: #B33A3A; transform: rotate(-32deg); }

.ex-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.ex-grid figure { display: grid; gap: 14px; align-content: start; }
.ex-tile { aspect-ratio: 4 / 3; border-radius: 18px; background: #F4F5F8; display: grid; place-items: center; }
.ex-tile svg { width: 34%; height: auto; }
.ex-dark { background: var(--ink); }

.file-list { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px var(--gap); }
.file-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; border-radius: 10px; background: var(--sky); }
.file-list a { font-weight: 600; text-underline-offset: 4px; }
.file-list span { color: var(--slate); font-size: var(--t-s); }

.end { margin-top: clamp(80px, 9vw, 160px); background: var(--blue-deep); color: #fff; padding: 64px var(--m); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.end .lockup { font-size: 34px; }
.end p { color: #DCE1FF; }

@media (max-width: 900px) {
  .bar nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-field { min-height: 52svh; }
  .before-grid, .idea-grid, .build, .word-notes, .lk-grid, .g-grid, .rules-grid, .ex-grid, .file-list { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: 1fr 1fr; }
  .use-grid { grid-template-columns: 1fr; }
  .u-app, .u-pdf, .u-card, .u-social, .u-sticker { grid-column: auto; }
  .app-win { grid-template-columns: 1fr; }
  .app-main { display: none; }
  .donts { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .hero-mark { animation: none; } html { scroll-behavior: auto; } }
