/* I Love Social — design system
   Google-style utility structure + Pinterest accent, with YouTube's shape
   language: pills for controls, soft rounded corners for content.
   Plain CSS, no build step, light theme. */

/* ===============================================================
   Fonts — self-hosted variable files, latin subset
   =============================================================== */

@font-face {
  font-family: 'Inter var';
  src: url('fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jakarta var';
  src: url('fonts/jakarta-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ===============================================================
   Tokens
   =============================================================== */

:root {
  /* Ink */
  --ink: #0f0f0f;
  --ink-strong: #1e293b;
  --ink-2: #606060;
  --ink-3: #909090;

  /* Accents: blue carries function, crimson carries conversion. */
  --blue: #1a73e8;
  --blue-hover: #1557b0;
  --blue-tint: #e8f0fe;
  --red: #e60023;
  --red-hover: #cc001f;
  --red-tint: #fce8e6;

  /* Surfaces */
  --white: #fff;
  --canvas: #fff;
  --surface: #fff;
  --surface-1: #f8fafc;
  --surface-2: #f2f2f2;
  --surface-3: #e8e8e8;
  --line: #e2e8f0;
  --line-2: #dadce0;

  /* Shape — controls are pills, content gets soft corners. */
  --r-pill: 9999px;
  --r-xl: 24px;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;

  /* Elevation — low and diffuse, never heavy. */
  --e1: 0 1px 3px rgb(60 64 67 / 8%), 0 1px 2px rgb(60 64 67 / 4%);
  --e2: 0 2px 6px rgb(60 64 67 / 12%), 0 1px 3px rgb(60 64 67 / 6%);
  --e3: 0 4px 16px rgb(32 33 36 / 14%), 0 2px 6px rgb(32 33 36 / 8%);
  --e4: 0 8px 24px rgb(32 33 36 / 16%);

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --head: 'Jakarta var', 'Plus Jakarta Sans', system-ui, sans-serif;
  --body: 'Inter var', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;

  color-scheme: light;
}

* { box-sizing: border-box; }

/* A class that sets `display` outranks the browser's own [hidden] rule. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 24px;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--head); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.sprite { display: none; }

svg[class] > use,
.feature-icon svg, .type-icon svg, .panel-icon svg,
.h-icon, .tick, .callout-icon, .leading, .chevron, .save svg, .qa summary svg,
.trust svg, .nav-cta svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===============================================================
   Header — YouTube-style bar: logo, pill nav, action
   =============================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 8px rgb(0 0 0 / 4%);
}

.site-header .inner {
  max-width: 1088px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
  color: var(--ink);
  border-radius: var(--r-md);
  transition: opacity 0.15s var(--ease);
}

.brand:hover { opacity: 0.8; }

.logo { display: block; height: 32px; width: auto; }

/* Nav scrolls sideways on narrow screens rather than wrapping or hiding. */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0 auto;
}

.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  flex: none;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.site-nav a:hover { background: var(--surface-2); color: var(--ink); }

.site-nav a[aria-current="page"] {
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 600;
}

.header-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgb(230 0 35 / 30%);
  background: rgb(230 0 35 / 5%);
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}

.header-cta:hover { background: var(--red-tint); border-color: var(--red); }
.header-cta svg { width: 15px; height: 15px; }

@media (max-width: 900px) {
  .site-header .inner { gap: 10px; padding: 0 16px; }
  .header-cta { display: none; }
}

/* ===============================================================
   Layout
   =============================================================== */

.wrap {
  width: 100%;
  max-width: 1088px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
}

/* ===============================================================
   Hero
   =============================================================== */

.hero-wrap {
  position: relative;
  overflow: hidden;
  padding-bottom: 16px;
}

/* Ambient wash, kept faint so it never competes with the input. */
.hero-wrap::before {
  content: "";
  position: absolute;
  top: -180px; left: 50%;
  width: 760px; height: 380px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgb(26 115 232 / 10%), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-wrap::after {
  content: "";
  position: absolute;
  top: 60px; right: -120px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgb(230 0 35 / 5%);
  filter: blur(60px);
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 0 8px;
}

@media (min-width: 768px) { .hero { padding: 72px 0 8px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  margin-bottom: 22px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  box-shadow: var(--e1);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 14px;
  text-transform: uppercase;
  color: var(--ink);
}

.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s var(--ease) infinite;
}

.eyebrow .sep { color: var(--ink-3); font-weight: 400; }
.eyebrow .hot { color: var(--red); font-weight: 700; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 {
  margin: 0;
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

@media (min-width: 768px) {
  .hero h1 { font-size: 56px; line-height: 64px; letter-spacing: -0.03em; }
}

h1 .accent,
h2 .accent { color: var(--red); }

.lede {
  margin: 18px auto 0;
  max-width: 36rem;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) { .lede { font-size: 18px; line-height: 28px; } }

/* Claim pills under the hero */


/* Trust row: plain text with hairline separators, no boxes. */
.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 20px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
}

.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 15px; height: 15px; color: var(--red); flex: none; }

/* ===============================================================
   Search bar — the signature pill
   =============================================================== */

.searchbar { max-width: 760px; margin: 30px auto 0; }

.search-row { display: flex; flex-direction: column; gap: 10px; }

@media (min-width: 640px) {
  .search-row {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--line-2);
    border-radius: var(--r-pill);
    padding: 8px 8px 8px 20px;
    box-shadow: var(--e2);
    transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  }
  .search-row:focus-within {
    border-color: var(--blue);
    box-shadow: var(--e3), 0 0 0 3px rgb(26 115 232 / 15%);
  }
}

.field {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* On mobile the field keeps its own pill, since the row is stacked. */
@media (max-width: 639px) {
  .field {
    background: var(--surface-2);
    border: 1px solid transparent;
    border-radius: var(--r-pill);
    padding: 0 6px 0 18px;
    transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
  }
  .field:focus-within { background: var(--white); border-color: var(--blue); }
}

.field .leading { width: 20px; height: 20px; flex: none; color: var(--red); }

.field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  padding: 14px 0;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.field input::placeholder { color: var(--ink-3); }
.field input:focus { outline: none; }

/* ===============================================================
   Buttons — pills, three weights
   =============================================================== */

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  border-radius: var(--r-pill);
  transition: background 0.15s var(--ease), box-shadow 0.15s var(--ease),
              color 0.15s var(--ease), transform 0.08s var(--ease);
}

button:active:not(:disabled) { transform: scale(0.97); }

.btn-filled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  white-space: nowrap;
  box-shadow: var(--e1);
}

.btn-filled:hover:not(:disabled) { background: var(--red-hover); box-shadow: var(--e2); }
.btn-filled:disabled { background: var(--surface-3); color: var(--ink-3); cursor: not-allowed; box-shadow: none; }

.btn-tonal {
  background: var(--surface-2);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  white-space: nowrap;
}

.btn-tonal:hover:not(:disabled) { background: var(--surface-3); }
.btn-tonal:disabled { color: var(--ink-3); cursor: default; }

.btn-text {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-2);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
}

.btn-text:hover { background: var(--blue-tint); }

@media (min-width: 640px) {
  .search-row .btn-filled { padding: 13px 26px; }
}

/* ===============================================================
   Progress + messages
   =============================================================== */

.progress {
  margin: 18px auto 0;
  max-width: 760px;
  transition: opacity 0.4s var(--ease);
}

.progress.is-done { opacity: 0; pointer-events: none; }

.track {
  height: 4px;
  background: var(--surface-2);
  border-radius: var(--r-pill);
  overflow: hidden;
}

.bar {
  height: 100%;
  width: 0;
  background: var(--red);
  border-radius: var(--r-pill);
  transition: width 0.25s var(--ease);
}

.bar.indeterminate { width: 35%; animation: slide 1.1s var(--ease) infinite; }

@keyframes slide {
  0% { margin-left: 0; }
  50% { margin-left: 65%; }
  100% { margin-left: 0; }
}

.progress-text {
  margin: 9px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink-2);
}

.alert {
  max-width: 760px;
  margin: 16px auto 0;
  padding: 14px 20px;
  border-radius: var(--r-md);
  background: var(--red-tint);
  color: #a3001a;
  font-size: 14px;
  text-align: center;
}

.notes { margin: 0 0 6px; display: flex; flex-direction: column; gap: 5px; }
.notes p { margin: 0; color: var(--ink-2); font-size: 13px; }

/* ===============================================================
   Results
   =============================================================== */

.results { margin-top: 40px; }

.results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.results-meta { min-width: 0; }

.results-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.results-meta h2 {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--blue-tint);
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.results-sub { margin: 6px 0 0; color: var(--ink-2); font-size: 13px; }

/* Load more: a board arrives in batches, so the next one is asked for here. */
.results-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.results-more-note {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  text-align: center;
}

.results-more-note:empty { display: none; }

/* Masonry waterfall */
.grid { column-count: 1; column-gap: 20px; }

@media (min-width: 560px)  { .grid { column-count: 2; } }
@media (min-width: 900px)  { .grid { column-count: 3; } }
@media (min-width: 1400px) { .grid { column-count: 4; } }

.card {
  break-inside: avoid;
  margin: 0 0 20px;
  display: inline-block;
  width: 100%;
}

.media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-2);
  line-height: 0;
  transition: box-shadow 0.2s var(--ease);
}

.card:hover .media { box-shadow: var(--e3); }

.media img, .media video { display: block; width: 100%; height: auto; }

.badge {
  position: absolute;
  left: 10px; top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgb(15 15 15 / 78%);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 14px;
}

.badge svg { width: 12px; height: 12px; }

.card-body { padding: 12px 2px 0; }

.card-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-controls { display: flex; align-items: center; gap: 8px; }

/* Text-bearing control: softened corners rather than a full pill. */
.quality { position: relative; flex: 1; min-width: 0; }

.quality select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: var(--surface-2);
  border: 0;
  border-radius: var(--r-md);
  color: var(--ink);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 11px 27px 11px 13px;
  cursor: pointer;
  text-overflow: ellipsis;
  transition: background 0.15s var(--ease);
}

.quality select:hover { background: var(--surface-3); }
.quality select:focus { outline: none; box-shadow: 0 0 0 2px var(--blue) inset; }

.quality .chevron {
  position: absolute;
  right: 11px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  pointer-events: none;
  color: var(--ink-2);
}

.single-quality {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.save {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 18px;
}

.save:hover:not(:disabled) { background: var(--red-hover); }
.save:disabled { background: var(--surface-2); color: var(--ink-3); cursor: default; }
.save svg { width: 15px; height: 15px; }

.card .track { margin-top: 10px; }

.card-note { margin: 8px 0 0; font-size: 12px; color: var(--ink-2); line-height: 17px; }
.card-note.is-error { color: #a3001a; }

/* ===============================================================
   Content rhythm
   =============================================================== */

.content { padding-top: 8px; }

.band { padding: 56px 0; border-top: 1px solid var(--line); }
.band:first-child { border-top: 0; }
.band.narrow { max-width: 760px; margin-inline: auto; }

@media (min-width: 768px) { .band { padding: 76px 0; } }

.band > h2 {
  margin: 0 0 20px;
  font-family: var(--head);
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .band > h2 { font-size: 32px; line-height: 40px; letter-spacing: -0.02em; }
}

.h-icon { width: 1.1em; height: 1.1em; flex: none; color: var(--red); }

.prose {
  margin: 0 0 16px;
  max-width: 68ch;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 28px;
  letter-spacing: -0.01em;
}

.prose:last-child { margin-bottom: 0; }
.prose a, .explain a, .legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover, .explain a:hover, .legal a:hover { color: var(--blue-hover); }

/* ===============================================================
   Steps
   =============================================================== */

.steps-grid { display: grid; gap: 20px; margin-bottom: 28px; }

@media (min-width: 760px) { .steps-grid { grid-template-columns: 1fr 1fr; } }

.steps-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--e1);
}

.steps-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 18px 46px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 24px;
}

.steps li:last-child { padding-bottom: 0; }

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14.5px; top: 32px; bottom: 6px;
  width: 1.5px;
  background: var(--line);
}

.steps b { color: var(--ink); font-weight: 600; }

/* ===============================================================
   Feature cards
   =============================================================== */

.feature-grid {
  display: grid;
  gap: 18px;
  margin: 0; padding: 0;
  list-style: none;
  grid-template-columns: 1fr;
}

@media (min-width: 620px)  { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 26px;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.feature:hover { box-shadow: var(--e2); transform: translateY(-2px); }

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: var(--blue-tint);
  color: var(--blue);
  margin-bottom: 16px;
}

.feature-icon svg { width: 23px; height: 23px; }

.feature h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 22px; }

/* ===============================================================
   Media type cards
   =============================================================== */

.type-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }

@media (min-width: 820px) { .type-grid { grid-template-columns: 1fr 1fr; } }

.type {
  display: flex;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 26px;
}

.type-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: var(--red);
  color: var(--white);
}

.type-icon svg { width: 22px; height: 22px; }

.type h3 { margin: 2px 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.type p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 25px; }

/* ===============================================================
   Supported links
   =============================================================== */

.link-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

@media (min-width: 760px) { .link-list { grid-template-columns: 1fr 1fr; } }

/* Text rows read better as soft rectangles than as pills. */
.link-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--ink-2);
}

.tick { width: 18px; height: 18px; flex: none; color: var(--blue); }

code {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 2px 7px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  color: var(--ink);
}

.callout {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  background: var(--red-tint);
  color: #7d0015;
  font-size: 15px;
  line-height: 25px;
}

.callout-icon { width: 22px; height: 22px; flex: none; color: var(--red); margin-top: 2px; }

/* ===============================================================
   Explainers
   =============================================================== */

.explain-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }

@media (min-width: 820px) { .explain-grid { grid-template-columns: 1fr 1fr; } }

.explain {
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 26px;
}

.explain h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 24px;
}

.explain p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 25px; }

/* ===============================================================
   Panel note
   =============================================================== */

.panel-note {
  display: flex;
  gap: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 30px;
  box-shadow: var(--e1);
}

.panel-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: var(--r-md);
  background: var(--blue-tint);
  color: var(--blue);
}

.panel-icon svg { width: 25px; height: 25px; }

.panel-note h2 {
  margin: 0 0 12px;
  font-family: var(--head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.panel-note p { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; line-height: 26px; }
.panel-note p:last-child { margin-bottom: 0; }

@media (max-width: 560px) {
  .panel-note { flex-direction: column; gap: 18px; padding: 26px; }
}

/* ===============================================================
   FAQ — rows in a soft container, hairline separators
   =============================================================== */

.faq {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--white);
}

.qa + .qa { border-top: 1px solid var(--line); }

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  transition: background 0.15s var(--ease);
}

.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { background: var(--surface-1); }

.qa summary svg {
  width: 20px; height: 20px;
  flex: none;
  color: var(--ink-3);
  transition: transform 0.22s var(--ease), color 0.15s var(--ease);
}

.qa[open] summary { color: var(--blue); }
.qa[open] summary svg { transform: rotate(180deg); color: var(--blue); }

.qa-body { padding: 0 24px 22px; }
.qa-body p { margin: 0; max-width: 70ch; color: var(--ink-2); font-size: 15px; line-height: 26px; }

/* ===============================================================
   Thumbnail grabber result
   =============================================================== */

.thumb-result {
  display: grid;
  gap: 24px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: var(--e2);
}

@media (min-width: 820px) {
  .thumb-result { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); padding: 26px; }
}

.thumb-preview {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-2);
  line-height: 0;
  aspect-ratio: 16 / 9;
}

.thumb-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }

.thumb-side { min-width: 0; }

.thumb-title { margin: 0 0 4px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 24px; }
.thumb-author { margin: 0 0 18px; color: var(--ink-2); font-size: 13px; }

.size-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }

/* Rows carry two lines of text — rounded, not pill. */
.size-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px 10px 10px 16px;
}

.size-meta { min-width: 0; display: flex; flex-direction: column; }
.size-label { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.size-bytes { font-size: 12px; color: var(--ink-2); }

.muted-note { margin: 18px 0 0; font-size: 12px; line-height: 18px; color: var(--ink-3); }



/* ===============================================================
   Legal / content pages
   =============================================================== */

.legal { max-width: 72ch; margin: 0 auto; padding: 48px 0 76px; }

@media (min-width: 768px) { .legal { padding: 68px 0 94px; } }

.legal h1 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .legal h1 { font-size: 44px; line-height: 52px; letter-spacing: -0.03em; }
}

.legal-meta { margin: 0 0 30px; color: var(--ink-3); font-size: 13px; }
.legal-lede { margin: 0 0 30px; font-size: 17px; line-height: 29px; color: var(--ink); letter-spacing: -0.01em; }

.legal h2 {
  margin: 42px 0 14px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -0.015em;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.legal h2:first-of-type { margin-top: 36px; }

.legal p { margin: 0 0 16px; color: var(--ink-2); font-size: 16px; line-height: 28px; }

.legal ul { margin: 0 0 18px; padding: 0; list-style: none; }

.legal li {
  position: relative;
  padding: 0 0 12px 26px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 27px;
}

.legal li::before {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.legal li strong { color: var(--ink); font-weight: 600; }

/* ===============================================================
   Contact card
   =============================================================== */

.contact-card {
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 30px;
  margin: 0 0 28px;
}

.contact-label {
  margin: 0 0 5px !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3) !important;
}

.contact-value { margin: 0 0 14px !important; font-size: 19px; font-weight: 600; }
.contact-value a { text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }
.contact-note { margin: 0 !important; font-size: 14px !important; color: var(--ink-2); }

/* ===============================================================
   Footer
   =============================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-1);
  padding: 48px 0 56px;
  margin-top: 24px;
}

.footer-inner { text-align: center; }
.footer-inner .logo { margin: 0 auto 18px; }

.footer-nav { margin: 18px 0 22px; }

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 6px;
  margin: 0; padding: 0;
  list-style: none;
}

.footer-nav a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.footer-nav a:hover { background: var(--white); color: var(--ink); }
.footer-nav a[aria-current="page"] { color: var(--red); font-weight: 600; }

.footer-tag { margin: 0 auto; max-width: 48ch; color: var(--ink-2); font-size: 13px; line-height: 21px; }
.footer-fine { margin: 18px 0 0; color: var(--ink-3); font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ===============================================================
   Prose list — bulleted points inside a content band (how-to hub)
   =============================================================== */

.prose-list {
  margin: 0 0 16px;
  padding: 0;
  max-width: 68ch;
  list-style: none;
}

.prose-list li {
  position: relative;
  padding: 0 0 12px 24px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 28px;
  letter-spacing: -0.01em;
}

.prose-list li:last-child { padding-bottom: 0; }

.prose-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.prose-list strong { color: var(--ink); font-weight: 600; }
.prose-list a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* ===============================================================
   One content column, site-wide
   Every block inside .content shares the same width and the same left
   edge, so a card, a paragraph and a list never start at three
   different indents. Headings are centred; body text stays left
   aligned. Long-form pages (main.post) left-align their headings too.
   =============================================================== */

.content {
  max-width: 908px;
  margin-inline: auto;
}

.content .band > .prose,
.content .band > .prose-list,
.content .band > .steps-card,
.content .band > .steps-grid,
.content .band > .faq,
.content .band > .panel-note {
  max-width: none;
  margin-inline: 0;
}

.content .band.narrow { max-width: none; margin-inline: 0; }

.content .band > .steps-card,
.content .band > .steps-grid { margin-bottom: 24px; }

.content .band > h2,
.panel-note h2 {
  justify-content: center;
  text-align: center;
}

.content .band > h2 { max-width: none; }

.steps-card h3 { justify-content: center; text-align: center; }

/* ===============================================================
   Mobile navigation — a hamburger panel instead of a scrolling strip
   =============================================================== */

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}

.nav-toggle:hover { background: var(--surface-2); }
.nav-toggle svg { width: 18px; height: 18px; display: block; }
.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] { background: var(--surface-2); border-color: var(--line-2); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 10px 16px 18px;
    max-height: calc(100vh - 64px);
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--e3);
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 12px 14px;
    border-radius: var(--r-md);
    font-size: 15px;
    line-height: 22px;
  }
}

/* Legal and prose pages get the same centred headings as the tool pages. */
.legal h1,
.legal h2,
.legal .legal-meta { text-align: center; }

/* ===============================================================
   Cross-tool links — sits directly under the tool, before the prose
   =============================================================== */

.tool-links {
  max-width: 860px;
  margin: 0 auto;
  padding: 26px 0 4px;
  text-align: center;
}

.tool-links-head {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.tool-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-links a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-2);
  text-decoration: none;
  box-shadow: var(--e1);
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease),
              background 0.15s var(--ease);
}

.tool-links a:hover {
  color: var(--red);
  border-color: var(--red);
  background: var(--red-tint);
}

@media (max-width: 640px) {
  .tool-links { padding-top: 20px; }
  .tool-links a { font-size: 13px; padding: 7px 13px; }
}

/* ===============================================================
   Blog — post hero, byline and the index listing
   =============================================================== */

.post-hero h1 {
  max-width: 20ch;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.12;
}

.post-meta {
  margin: 16px 0 0;
  color: var(--ink-3);
  font-size: 14px;
  letter-spacing: 0.01em;
}

.post-meta .sep { margin: 0 6px; color: var(--line-2); }

.post-list {
  display: grid;
  gap: 20px;
  max-width: 760px;
  margin-inline: auto;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 30px;
  box-shadow: var(--e1);
  text-align: left;
  transition: box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}

.post-card:hover { box-shadow: var(--e2); border-color: var(--line-2); }

.post-card .post-meta {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}

.post-card h2 {
  margin: 0 0 12px;
  font-family: var(--head);
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-align: left;
}

.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--red); }
.post-card .prose { margin: 0 0 14px; font-size: 15px; line-height: 26px; }

.post-more a {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}

.post-more a:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-more { margin: 0; }

/* ===============================================================
   Blog reading layout
   Long-form pages drop the site's centred-band rhythm for a single
   narrow column: title and byline centred, everything below it left
   aligned, no rules between sections. Measured against the reference
   the brief pointed at — ~860px column, 36px left-aligned h2s, body
   text around 16px/28.
   =============================================================== */

main.post .hero { padding-bottom: 0; }

main.post .post-hero h1 {
  max-width: 22ch;
  margin-inline: auto;
  text-align: center;
}

main.post .post-hero .post-meta,
main.post .post-hero .eyebrow { text-align: center; }

main.post .band {
  padding: 0;
  border-top: 0;
  text-align: left;
}

main.post .band + .band { padding-top: 34px; }

main.post .content > .band:first-child { padding-top: 38px; }

main.post .band > h2 {
  display: block;
  max-width: none;
  margin: 10px 0 16px;
  font-size: 30px;
  line-height: 40px;
  text-align: left;
}

main.post .band > h3,
main.post .steps-card h3 { text-align: left; justify-content: flex-start; }

main.post .prose,
main.post .prose-list {
  font-size: 16.5px;
  line-height: 29px;
  margin-bottom: 22px;
}

main.post .panel-note h2 { text-align: left; justify-content: flex-start; }

/* Screenshots and other inline figures */
.post-figure { margin: 6px 0 26px; }

.post-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--e1);
}

/* A capture of a narrow column would be blown up 1.6x at full width, so it
   sits at something nearer its own scale. */
.post-figure.narrow { max-width: 640px; margin-inline: auto; }

.post-figure figcaption {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 21px;
}

/* The index keeps the same column so cards line up with post bodies */
main.post .post-list { max-width: none; }

/* ---------------------------------------------------------------
   The post's own feature card — same file as its og:image, so a
   shared link and the page open on the same picture.
   --------------------------------------------------------------- */
.post-feature {
  margin: 30px 0 0;
}

.post-feature img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  border-radius: var(--r-xl);
  box-shadow: var(--e2);
}

main.post .content > .band:first-child { padding-top: 34px; }

/* Index cards carry the same card as a thumbnail */
.post-card { padding: 0; overflow: hidden; }

.post-thumb {
  display: block;
  border-bottom: 1px solid var(--line);
  background: var(--wash, #f8fafc);
}

.post-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.post-card:hover .post-thumb img { transform: scale(1.02); }

.post-card-text { padding: 24px 26px 28px; }

/* Two across once the covers are the dominant element, so the archive
   stays scannable instead of one 480px-tall card after another. */
@media (min-width: 821px) {
  main.post .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card h2 { font-size: 20px; line-height: 28px; }
  .post-card .prose { font-size: 14.5px; line-height: 24px; }
}

@media (max-width: 720px) {
  main.post .band > h2 { font-size: 25px; line-height: 33px; }
  .post-feature { margin-top: 22px; }
  .post-feature img { border-radius: var(--r-lg); }
  .post-card-text { padding: 20px 22px 24px; }
  .post-figure figcaption { font-size: 13px; line-height: 20px; }
}

/* "Full guide →" link closing each format card on the homepage */
.type-more { margin: 8px 0 0; }

.type-more a {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}

.type-more a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------
   Supported URL reference table
   --------------------------------------------------------------- */
.url-table {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--e1);
  text-align: left;
  margin-bottom: 24px;
}

.url-row {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 62%);
  gap: 18px;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 25px;
  color: var(--ink-2);
}

.url-row:first-child { border-top: 0; }

.url-head {
  background: #f8fafc;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.url-row code {
  font-size: 13.5px;
  word-break: break-word;
  color: var(--ink);
}

@media (max-width: 720px) {
  .url-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 16px; }
  .url-head { display: none; }
  .url-row span:first-child { font-weight: 600; color: var(--ink); }
}

/* ---------------------------------------------------------------
   Batch results: section headings and per-pin selection
   --------------------------------------------------------------- */
.grid-section {
  grid-column: 1 / -1;
  margin: 18px 0 2px;
  font-family: var(--head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: left;
}

.grid-section::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--red);
}

.card { position: relative; }

.card-pick {
  position: absolute;
  top: 10px;
  right: 10px;     /* the format badge already owns the top-left corner */
  z-index: 2;
  display: none;
  cursor: pointer;
}

.grid.is-pickable .card-pick { display: block; }

.card-pick input {
  position: absolute;
  opacity: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  cursor: pointer;
}

.card-pick-box {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 1px solid rgb(255 255 255 / 70%);
  background: rgb(15 23 42 / 45%);
  backdrop-filter: blur(4px);
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}

.card-pick-box::after {
  content: "";
  display: block;
  width: 6px;
  height: 11px;
  margin: 4px auto 0;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.15s var(--ease);
}

.card-pick input:checked + .card-pick-box {
  background: var(--red);
  border-color: var(--red);
}

.card-pick input:checked + .card-pick-box::after { opacity: 1; }

.card-pick input:focus-visible + .card-pick-box {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.card.is-unpicked { opacity: 0.45; }
.card.is-unpicked .media { filter: grayscale(0.6); }

/* Load-more while a batch is being enumerated */
.btn-tonal.is-busy { opacity: 0.85; }

.btn-tonal.is-busy::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 9px;
  vertical-align: -2px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: cp-spin 0.7s linear infinite;
}

@keyframes cp-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .btn-tonal.is-busy::after { animation: none; }
}

/* ---------------------------------------------------------------
   Profile page: which of the two outputs you want, chosen up front
   --------------------------------------------------------------- */
.mode-pick {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 0 auto 14px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  width: max-content;
  max-width: 100%;
  box-shadow: var(--e1);
}

.mode-pick label { position: relative; cursor: pointer; }

.mode-pick input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.mode-pick span {
  display: block;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.mode-pick input:checked + span { background: var(--red); color: #fff; }
.mode-pick input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (max-width: 460px) {
  .mode-pick { width: 100%; }
  .mode-pick label { flex: 1; }
  .mode-pick span { padding: 9px 10px; font-size: 13.5px; text-align: center; }
}

/* ---------------------------------------------------------------
   Jump links on long reference pages
   --------------------------------------------------------------- */
.toc {
  max-width: 908px;
  margin: 0 auto 10px;
  padding: 22px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #f8fafc;
  text-align: left;
}

.toc-head {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.toc ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 6px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li { counter-increment: toc; }

.toc a {
  display: block;
  padding: 5px 0;
  font-size: 15px;
  line-height: 23px;
  color: var(--ink-2);
  text-decoration: none;
}

.toc a::before {
  content: counter(toc) ".";
  margin-right: 8px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.toc a:hover { color: var(--red); }

html { scroll-behavior: smooth; }
.band[id] { scroll-margin-top: 86px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------------------------------------------------------------
   Contact form
   --------------------------------------------------------------- */
.contact-form { margin: 18px 0 20px; }

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.field { display: block; margin-bottom: 14px; }

.field > span {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.field textarea { resize: vertical; min-height: 130px; line-height: 25px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgb(26 115 232 / 14%);
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note {
  margin: 12px 0 0;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 23px;
}

.form-note.is-ok { background: #f2fbf5; border: 1px solid #bce4ca; color: #0f7a45; }
.form-note.is-error { background: #fef6f7; border: 1px solid #f3cdd5; color: var(--red); }

.contact-fineprint { font-size: 14px; color: var(--ink-3); }
