/* Hallmark · studied: yes · macrostructure: Product Showcase · tone: quiet near-white · anchor hue: indigo
   theme: studied-DNA (source: https://www.sarvam.ai) · paper #FCFCFC · accent #16256B / #212191 · display Newsreader · body Figtree
   GJ Polyplast v2. Tokens and components from DESIGN.md. Mobile first. */

:root {
  --color-paper: #fcfcfc;
  --color-paper-2: #f5f5f5;
  --color-paper-3: #f0f0f0;
  --color-white: #ffffff;
  --color-ink: #1f1f1f;
  --color-ink-2: #3d3d3d;
  --color-ink-3: #666666;
  --color-rule: #e6e6e6;
  --color-accent: #16256b;
  --color-accent-ink: #212191;
  --color-on-accent: #ffffff;
  --color-on-accent-2: #c9d3f5;
  --color-cta: #2a2c33;
  --color-cta-hover: #3d404a;
  --color-focus: #3333cc;
  --tint-orange: #feede6;
  --tint-indigo: #e8effc;
  --tint-green: #e3f1d8;

  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(2.75rem, 2rem + 3vw, 4rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  --fs-card: 1.25rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --fs-small: 0.9375rem;
  --fs-label: 0.75rem;

  --gutter: 16px;
  --section: clamp(80px, 9vw, 128px);
  --radius-card: 16px;
  --radius-panel: 12px;
  --radius-pill: 999px;
  --ease-out: cubic-bezier(0.2, 0, 0, 1);
  --dur-fast: 150ms;
  --dur-base: 350ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { margin: 0 0 0.5em; color: var(--color-ink); }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.025em; line-height: 1.08; }
h1 { font-size: var(--fs-display); line-height: 1.04; }
h2 { font-size: var(--fs-h2); }
h3 { font-family: var(--font-body); font-size: var(--fs-card); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 66ch; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }
address { font-style: normal; }
strong { font-weight: 600; }

a { color: var(--color-accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
a:hover { color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.band--indigo :focus-visible { outline-color: var(--color-white); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 20; padding: 12px 16px; background: var(--color-cta); color: var(--color-white); border-radius: var(--radius-pill); }
.skip-link:focus { top: 8px; }

/* Micro label and eyebrow */
.micro { font-family: var(--font-body); font-size: var(--fs-label); font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--color-ink-3); margin: 0 0 12px; line-height: 1.4; }
.eyebrow { display: flex; justify-content: center; margin: 0 auto 20px; max-width: none; }
.eyebrow span { display: inline-block; padding: 8px 20px; border-top: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); color: var(--color-accent-ink); font-size: var(--fs-small); font-weight: 500; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--color-paper); border-bottom: 1px solid var(--color-rule); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; padding-top: 8px; padding-bottom: 8px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--color-ink); text-decoration: none; }
.wordmark:hover { color: var(--color-ink); }
.wordmark__gj { color: var(--color-accent-ink); margin-right: 0.22em; }
.nav { display: flex; gap: 4px; width: 100%; margin: 0 0 0 -6px; }
.nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--radius-pill); color: var(--color-ink); text-decoration: none; font-size: var(--fs-small); font-weight: 500; }
.nav__link:hover { background: var(--color-paper-2); color: var(--color-ink); }
.nav__link[aria-current="page"] { background: var(--color-paper-3); }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--radius-pill); font-family: var(--font-body); font-size: 1rem; font-weight: 600; text-decoration: none; transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.btn--primary { background: var(--color-cta); color: var(--color-white); }
.btn--primary:hover { background: var(--color-cta-hover); color: var(--color-white); }
.btn--ghost { background: var(--color-paper-2); border-color: var(--color-rule); color: var(--color-ink); }
.btn--ghost:hover { background: var(--color-paper-3); color: var(--color-ink); }
.band--indigo .btn--primary { background: var(--color-white); color: var(--color-accent); }
.band--indigo .btn--primary:hover { background: var(--tint-indigo); color: var(--color-accent); }
.band--indigo .btn--ghost-dark, .btn--ghost-dark { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: var(--color-white); }
.band--indigo .btn--ghost-dark:hover { border-color: var(--color-white); color: var(--color-white); }

/* Pastel panels (flat tints, no gradient) */
.panel { display: grid; place-items: center; border-radius: var(--radius-panel); padding: 12px; }
.panel--orange { background: var(--tint-orange); }
.panel--indigo { background: var(--tint-indigo); }
.panel--green { background: var(--tint-green); }
.panel img { width: 100%; max-width: 420px; }
.panel--wide { margin-bottom: 24px; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 var(--section); text-align: center; }
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 15ch; margin-left: auto; margin-right: auto; }
.hero__lead { max-width: 40rem; margin: 0 auto 32px; color: var(--color-ink-2); font-size: var(--fs-lead); line-height: 1.7; }
.showcase { display: grid; gap: 12px; width: 100%; margin-top: clamp(48px, 7vw, 80px); padding: 12px; background: var(--color-white); border: 1px solid var(--color-rule); border-radius: var(--radius-card); }
.showcase__tile { display: flex; flex-direction: column; text-align: left; padding-bottom: 8px; }
.showcase__tile p { margin: 0 8px; color: var(--color-ink-2); font-size: var(--fs-small); }
.showcase__label { margin: 12px 8px 2px; font-family: var(--font-body); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.showcase__label a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); text-decoration: none; }
.showcase__label a:hover { color: var(--color-accent-ink); text-decoration: underline; }

/* The one motion idea: the hero rises into place once, on load. */
@keyframes rise {
  from { transform: translateY(20px); }
  to { transform: translateY(0); }
}
.rise { animation: rise var(--dur-base) var(--ease-out) both; }
.rise--1 { animation-delay: 40ms; }
.rise--2 { animation-delay: 110ms; }
.rise--3 { animation-delay: 180ms; }
.rise--4 { animation-delay: 250ms; }
.rise--5 { animation-delay: 320ms; animation-duration: 500ms; }
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; }
  a, .btn { transition: none; }
}

/* Bands */
.band { padding: var(--section) 0; }
.band--tight-top { padding-top: 0; }
.band--indigo { background: var(--color-accent); color: var(--color-on-accent-2); }
.band--indigo h2 { color: var(--color-on-accent); }
.band--indigo p { color: var(--color-on-accent-2); }
.section-title { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }

/* Product family cards */
.families { display: grid; gap: 16px; }
.family { display: grid; gap: 20px; padding: 12px; background: var(--color-white); border: 1px solid var(--color-rule); border-radius: var(--radius-card); }
.family__media { padding: 8px; }
.family__body { padding: 4px 8px 12px; }
.family h2, .family h3 { font-family: var(--font-body); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.family h2 a, .family h3 a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); text-decoration: none; }
.family h2 a:hover, .family h3 a:hover { color: var(--color-accent-ink); }
.family p { color: var(--color-ink-2); }
.textlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.note { color: var(--color-ink-3); margin-top: 24px; }

/* Uses split */
.split { display: grid; gap: 8px; }
.uses { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--color-rule); }
.uses li { margin: 0; padding: 18px 0 18px 32px; border-bottom: 1px solid var(--color-rule); position: relative; color: var(--color-ink-2); }
.uses li::before, .checks li::before { content: ""; position: absolute; left: 0; top: 1.5em; width: 18px; height: 18px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.5l3.5 3.5 7.5-8' fill='none' stroke='%23212191' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat; }
.uses strong { color: var(--color-ink); }

/* Indigo ask band */
.ask { text-align: center; display: flex; flex-direction: column; align-items: center; }
.ask p { max-width: 38rem; margin: 0 auto 28px; font-size: var(--fs-lead); }
.ask .btn-row { justify-content: center; }
.band--prose .prose-col { max-width: 640px; }

/* Inner page head */
.page-head { padding: 24px 0 clamp(40px, 6vw, 72px); text-align: center; }
.page-head__inner { display: flex; flex-direction: column; align-items: center; }
.page-head h1 { max-width: 18ch; }
.page-head--center { padding: var(--section) 0; }
.lead { max-width: 40rem; margin: 0 auto; color: var(--color-ink-2); font-size: var(--fs-lead); line-height: 1.7; }
.crumbs { align-self: stretch; }
.crumbs ol { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 8px; font-size: var(--fs-small); color: var(--color-ink-3); }
.crumbs li { margin: 0; display: flex; align-items: center; min-height: 44px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink-3); }

/* Cards on inner pages */
.cards { display: grid; gap: 16px; }
.card { padding: clamp(20px, 3vw, 32px); background: var(--color-white); border: 1px solid var(--color-rule); border-radius: var(--radius-card); }
.card h2 { font-family: var(--font-body); font-size: var(--fs-card); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p { color: var(--color-ink-2); }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--color-ink-2); }
.checks li::before { top: 0.8em; }
.also { margin-top: 40px; text-align: center; }
.also ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.also li { margin: 0; }

/* Company record */
.record { width: 100%; border-collapse: collapse; margin-top: 8px; }
.record th, .record td { text-align: left; vertical-align: top; padding: 12px 0; border-top: 1px solid var(--color-rule); font-size: var(--fs-small); }
.record th { width: 38%; padding-right: 16px; color: var(--color-ink-3); font-weight: 500; }
.record td { color: var(--color-ink); overflow-wrap: anywhere; }

/* Contact */
.contact__list { margin: 0 0 24px; }
.contact__row { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--color-rule); }
.contact__row dt { color: var(--color-ink-3); font-size: var(--fs-small); }
.contact__row dd { margin: 0; font-size: 1.125rem; }
.contact__row dd a { display: inline-flex; align-items: center; min-height: 44px; }

/* Footer */
.site-footer { background: var(--color-paper-2); border-top: 1px solid var(--color-rule); padding: 56px 0 24px; font-size: var(--fs-small); color: var(--color-ink-2); }
.site-footer__grid { display: grid; gap: 32px; }
.site-footer .wordmark { margin-bottom: 8px; }
.site-footer__list { list-style: none; padding: 0; margin: 8px 0 0; }
.site-footer__list li { margin: 0; }
.site-footer__list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); text-decoration: none; }
.site-footer__list a:hover { color: var(--color-accent-ink); text-decoration: underline; }
.site-footer__base { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--color-rule); }
.site-footer__base p { margin: 0; color: var(--color-ink-3); overflow-wrap: anywhere; }

@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .site-header__inner { flex-wrap: nowrap; }
  .nav { width: auto; margin: 0 -14px 0 0; }
  .showcase { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .family { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; }
  .family:nth-child(even) .family__media { order: 2; }
  .family__body { padding: 8px 24px; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; }
  .contact__row { grid-template-columns: 120px minmax(0, 1fr); align-items: baseline; }
  .site-footer__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
}
.uses li::before { top: calc(18px + 0.8em); }
