/* Hallmark · v2.0.0 · built: the project · redesign: polish · genre: editorial · theme: brand (Sophrona app dark theme, lime signal) */
/* Hallmark critique · app palette kept; text sizes from the Hallmark scale (1.25 ratio, 16px body); spacing only 8 / 16 / 32 / 40 (owner's rule, 4 Dec) */
/* Hallmark · waive 24b · spacing is the owner's 8 / 16 / 32 / 40 set, not the Hallmark space scale */
/* Notes: "How it works" is the section's own h2 (nav links to #how), not an eyebrow. Middot strings sit inside the Stats card, copied from the app screen. */
/* Sophrona landing. Colors are the app's dark theme (Theme.kt DarkColors); lime only on marks and the main action.
   Breakpoints like the Figma video: below 768 = phone (burger menu, one column, full-width buttons), 768 = tablet,
   960 = menu shows in the bar and pictures sit beside the words, 1200 = desktop, 1600 = big screens. */
:root {
  --bg: #0B0C0E;
  --card: #17181C;
  --raised: #24262B;
  --line: rgba(244, 245, 247, 0.08);
  --text: #F4F5F7;
  --sub: #9A9DA5;
  --muted: #7E818A;
  --lime: #C6FF3D;
  --on-lime: #101114;
  --lime-hover: #D4FF6B;
  --ok: #69E639;
  --nav-bg: rgba(11, 12, 14, 0.9);
  --nav-glass: rgba(11, 12, 14, 0.75);
  --surface-feature: #111215;
  --frame: #1C1D21;
  --footer-bg: #08090B;
  --scrollbar: #2A2C32;
  --edge-faint: rgba(244, 245, 247, 0.06);
  --edge-soft: rgba(244, 245, 247, 0.10);
  --edge: rgba(244, 245, 247, 0.12);
  --edge-strong: rgba(244, 245, 247, 0.18);
  --shadow: rgba(0, 0, 0, 0.45);
  --shadow-deep: rgba(0, 0, 0, 0.5);
  --mask: #000;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* Spacing: only these four. 8 = heading to its text, 16 = between items, 32 = text to picture or button, 40 = between groups and sections */
  --s1: 8px; --s2: 16px; --s4: 32px; --s5: 40px;
  --pad: var(--s2);

  /* Text sizes: the Hallmark scale (1.25 ratio from a 16px body) */
  --text-xs: 0.8125rem;   /* 13: legal lines, small labels */
  --text-sm: 0.875rem;    /* 14: nav, captions, footer links */
  --text-md: 1rem;        /* 16: body text */
  --text-lg: 1.25rem;     /* 20: questions, step titles */
  --text-xl: 1.5625rem;   /* 25 */
  --text-2xl: 1.953rem;   /* 31: big lines in the problem cards */
  --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);      /* 44 to 84: the hero headline */
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem);        /* 32 to 56: section headings */
  --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); /* 20 to 26: card and row headings */
  --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);    /* 18 to 22: the line under a heading */

  /* Motion: one curve and one time for everything that comes in (Hallmark --dur-long) */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-short: 220ms;
  --dur-long: 420ms;

  /* One soft edge for every scene picture, so they all melt into the page the same way */
  --blend-x: linear-gradient(to right, transparent 0%, var(--mask) 16%, var(--mask) 84%, transparent 100%);
  --blend-y: linear-gradient(to bottom, transparent 0%, var(--mask) 12%, var(--mask) 80%, transparent 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; scrollbar-color: var(--scrollbar) var(--bg); overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(64px + var(--s1)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: clip;
  background: var(--bg); color: var(--text);
  font: 400 var(--text-md)/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
p, li { text-wrap: pretty; }
::selection { background: var(--lime); color: var(--on-lime); }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--pad); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 8px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: var(--nav-bg); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: var(--s2); height: 64px; }
.logo { display: inline-flex; align-items: center; gap: var(--s1); font-weight: 600; font-size: var(--text-lg); text-decoration: none; }
.logo img { border-radius: 8px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-tag { color: var(--sub); font-size: var(--text-xs); font-weight: 400; }
.nav-links { display: none; gap: var(--s4); margin-left: auto; }
.nav-link { color: var(--sub); text-decoration: none; font-size: var(--text-sm); transition: color var(--dur-short) var(--ease); }
.nav-link:hover { color: var(--text); }
.nav .btn-sm { margin-left: auto; }
.menu-cta { display: none; }

/* Burger: phones and small tablets. Without scripting the bar just shows the logo and the button. */
.burger { display: none; }
.has-menu .burger {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -8px; padding: 0;
  border: 0; border-radius: 12px; background: transparent; color: var(--text); cursor: pointer;
}
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--dur-short) var(--ease); }
.burger span { position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(6px); }
.nav.open .burger span { background: transparent; }
.nav.open .burger span::before { background: var(--text); transform: rotate(45deg); }
.nav.open .burger span::after { background: var(--text); transform: rotate(-45deg); }
.nav.open .nav-links {
  display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0;
  padding: var(--s1) var(--pad) var(--s4); background: var(--bg); border-bottom: 1px solid var(--line);
}
.nav.open .nav-link { display: flex; align-items: center; min-height: 48px; font-size: var(--text-md); color: var(--text); border-bottom: 1px solid var(--line); }
.nav.open .menu-cta { display: inline-flex; margin-top: var(--s4); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 var(--s4); border-radius: 12px;
  font: 500 var(--text-md)/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur-short) var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-sm { height: 40px; padding: 0 var(--s2); font-size: var(--text-sm); border-radius: 10px; }
.btn-primary { background: var(--lime); color: var(--on-lime); }
.btn-primary:hover { background: var(--lime-hover); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--edge-strong); }
.btn-ghost:hover { background: var(--edge-faint); }

/* Hero: on phones the picture first, rounded and soft on every edge, then the words */
.hero { position: relative; }
.hero-in { display: flex; flex-direction: column; }
.hero-art { padding-top: var(--s2); }
.hero-art img {
  width: 100%; aspect-ratio: 1 / 1; max-height: 48svh; object-fit: cover; object-position: 50% 58%; border-radius: 24px;
  -webkit-mask-image: var(--blend-x), var(--blend-y);
  -webkit-mask-composite: source-in;
          mask-image: var(--blend-x), var(--blend-y);
          mask-composite: intersect;
}
.hero-text { position: relative; margin-top: calc(-1 * var(--s2)); }
h1 .accent, .h2 .accent { color: var(--lime); }
h1 {
  max-width: 14ch; font-size: var(--text-display); line-height: 1.04; font-weight: 500; letter-spacing: -0.03em;
  overflow-wrap: break-word; min-width: 0; text-wrap: balance;
}
.lead { margin-top: var(--s1); max-width: 32rem; color: var(--sub); font-size: var(--text-lead); line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.actions > .btn, .dl { flex: 1 1 100%; }
.dl { display: flex; flex-direction: column; align-items: center; }
.dl .btn { width: 100%; }
.dl-note { margin-top: var(--s1); color: var(--sub); font-size: var(--text-sm); line-height: 1.5; text-decoration-color: var(--lime); text-underline-offset: 3px; }
.dl-note:hover { color: var(--text); }

/* Ticker: a slow strip of what the app does */
.ticker {
  margin-top: var(--s5); padding-block: var(--s2); overflow: hidden; border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(to right, transparent, var(--mask) 12%, var(--mask) 88%, transparent);
          mask-image: linear-gradient(to right, transparent, var(--mask) 12%, var(--mask) 88%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: tick 48s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: var(--s4); padding-right: var(--s4); color: var(--sub); font-size: var(--text-sm); white-space: nowrap; }
.ticker span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); opacity: 0.8; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Sections and their headings */
.section { padding-top: var(--s5); }
.sec-head { display: grid; }
.h2 { max-width: 20ch; font-size: var(--text-section); line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
.sub { margin-top: var(--s1); max-width: 38rem; color: var(--sub); font-size: var(--text-lead); line-height: 1.5; }

/* Problem: three cards with one big line each */
.pgrid { display: grid; gap: var(--s2); margin-top: var(--s4); }
.pcard { padding: var(--s4) var(--s2); border-radius: 24px; background: var(--surface-feature); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.pbig { margin-bottom: var(--s1); font-size: var(--text-2xl); line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; color: var(--lime); }
.pcard p:last-child { color: var(--sub); }

/* Scene rows: the character scene on one side; the words and the app screen on the other.
   A hairline between rows, 40 above and 40 below it. */
.row { display: grid; gap: var(--s4); padding-block: var(--s5); border-top: 1px solid var(--line); }
#helps .sec-head + .row { border-top: 0; padding-top: var(--s4); }
.art { width: 100%; max-width: 520px; margin-inline: auto; }
.scene {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%;
  -webkit-mask-image: var(--blend-x), var(--blend-y);
  -webkit-mask-composite: source-in;
          mask-image: var(--blend-x), var(--blend-y);
          mask-composite: intersect;
}
.copy { max-width: 34rem; }
.copy h3 { font-size: var(--text-title); line-height: 1.2; font-weight: 500; letter-spacing: -0.015em; text-wrap: balance; }
.copy > h3 + p { margin-top: var(--s1); }
.copy > p + p { margin-top: var(--s2); }
.copy > p { color: var(--sub); }

/* The app screen under the words */
.shot { margin: var(--s4) 0 0; }
.phone {
  width: min(272px, 74%); padding: var(--s1); border-radius: 34px; background: var(--frame);
  box-shadow: inset 0 0 0 1px var(--edge), 0 24px 56px var(--shadow-deep);
}
.phone img { width: 100%; border-radius: 26px; }
.ui-row, .ui-alarm { max-width: 440px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--edge-soft); }
.ui-row { border-radius: 20px; background: var(--card); }
.ui-row img { width: 100%; }
.ui-alarm { padding: var(--s1); border-radius: 24px; background: var(--bg); }
.ui-alarm img { width: 100%; border-radius: 16px; }

/* Five features: bento of real app cards */
.fgrid { display: grid; gap: var(--s2); margin-top: var(--s4); }
.fcard {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  padding: var(--s4) var(--s2) 0; border-radius: 24px; background: var(--surface-feature); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.fnum { font: 500 var(--text-xs)/1 var(--mono); color: var(--lime); }
.fcard h3 { margin-top: var(--s2); font-size: var(--text-title); line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; }
.fcard p { margin-top: var(--s1); max-width: 45ch; color: var(--sub); }
.fcard .fben { color: var(--text); font-weight: 500; }
.fshot { margin-top: auto; padding: var(--s4) 0; }
.fshot img { width: 100%; max-width: 460px; border-radius: 20px; box-shadow: 0 0 0 1px var(--edge-faint), 0 20px 48px var(--shadow); }
.fphone {
  align-self: center; width: min(236px, 72%); margin-top: var(--s4); padding: var(--s1) var(--s1) 0; border-radius: 30px 30px 0 0;
  background: var(--frame); box-shadow: inset 0 0 0 1px var(--edge);
  height: 300px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, var(--mask) 70%, transparent);
          mask-image: linear-gradient(to bottom, var(--mask) 70%, transparent);
}
.fphone img { width: 100%; border-radius: 24px 24px 0 0; }

/* How it works: steps on one side, the Stats card on the other */
.how { display: grid; gap: var(--s5); }
.how-art { margin: 0; }
.how-art figcaption { margin-top: var(--s1); color: var(--muted); font-size: var(--text-sm); }
.steps { margin: var(--s4) 0 0; padding: 0; list-style: none; display: grid; }
.steps li { display: grid; align-content: start; grid-template-columns: 40px 1fr; padding: var(--s2) 0; border-top: 1px solid var(--line); }
.step-n { color: var(--lime); font-size: var(--text-lg); line-height: 1.4; font-weight: 500; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: var(--text-lg); line-height: 1.4; font-weight: 500; }
.steps p { margin-top: var(--s1); color: var(--sub); }
.steps b { color: var(--text); font-weight: 500; }

/* Stats card, drawn to match the app's Tracked apps card */
.stats-card {
  width: 100%; max-width: 440px; padding: 0 var(--s2) var(--s1); border-radius: 24px; background: var(--card); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--edge-soft);
  font-family: Roboto, var(--sans);
}
.sc-chart { display: block; width: calc(100% + 2 * var(--s2)); max-width: none; height: auto; margin: 0 calc(-1 * var(--s2)); border-radius: 24px 24px 0 0; border-bottom: 1px solid var(--edge-soft); }
.sc-head { display: flex; justify-content: space-between; padding: var(--s2) 0; border-bottom: 1px solid var(--edge-soft); font-size: var(--text-md); font-weight: 500; }
.sc-row { display: flex; align-items: center; gap: var(--s2); padding: var(--s2) 0; border-bottom: 1px solid var(--edge-soft); }
.sc-row:last-child { border-bottom: 0; }
.sc-row img { width: 40px; height: 40px; border-radius: 10px; }
.sc-main { flex: 1; min-width: 0; }
.sc-top { display: flex; justify-content: space-between; gap: var(--s2); font-size: var(--text-sm); line-height: 1.4; color: var(--sub); }
.sc-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-top b { color: var(--text); font-weight: 500; }
.sc-time { flex: none; white-space: nowrap; color: var(--text); font-variant-numeric: tabular-nums; }
.sc-main i { display: block; height: 4px; margin-top: var(--s1); border-radius: 2px; background: linear-gradient(to right, var(--ok) var(--w), var(--raised) var(--w)); }

/* FAQ */
.faq { margin-top: var(--s4); max-width: 800px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s2);
  min-height: 56px; padding: var(--s2) 0; cursor: pointer; list-style: none; font-size: var(--text-lg); line-height: 1.4; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 auto; width: 9px; height: 9px; margin-right: var(--s1);
  border-right: 1.5px solid var(--sub); border-bottom: 1.5px solid var(--sub);
  transform: translateY(-3px) rotate(45deg); transition: transform var(--dur-short) var(--ease);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { padding-bottom: var(--s2); color: var(--sub); max-width: 62ch; }
.text-link-inline { color: var(--text); text-decoration-color: var(--lime); text-underline-offset: 3px; }

/* Final call to action, right above the footer. It never waits for the scroll animation. */
.cta { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: var(--s5); }
.cta img { width: 44px; height: 44px; border-radius: 11px; }
.cta h2 { margin-top: var(--s2); font-size: var(--text-section); line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.cta .sub { margin-top: var(--s1); }
.cta .btn { margin-top: var(--s4); }
.cta .dl-note { margin-top: var(--s2); }

/* Footer: About, Product, Legal, Contact. Every column starts with the same heading line. */
.footer { border-top: 1px solid var(--line); background: var(--footer-bg); color: var(--text); }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s2); padding-block: var(--s5) var(--s4); }
.foot-brand, .foot-contact, .foot-legal { grid-column: 1 / -1; }
.foot-h { margin-bottom: var(--s1); color: var(--text); font-size: var(--text-md); font-weight: 500; line-height: 1.5; }
.foot-brand p:not(.foot-h) { max-width: 45ch; color: var(--sub); font-size: var(--text-sm); line-height: 1.5; }
.foot-brand p:not(.foot-h) + p { margin-top: var(--s1); }
.foot-brand b { color: var(--text); font-weight: 500; }
.foot-brand .foot-note { margin-top: var(--s2); color: var(--muted); font-size: var(--text-xs); }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s1); min-width: 0; }
.foot-col .foot-h { margin-bottom: 0; }
.foot-col a { color: var(--sub); font-size: var(--text-sm); line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; transition: color var(--dur-short) var(--ease); }
.foot-col a:hover { color: var(--text); }
.foot-col span { color: var(--muted); font-size: var(--text-xs); line-height: 1.5; }
.foot-legal { display: grid; gap: var(--s1); padding-top: var(--s4); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--text-xs); line-height: 1.5; }
.foot-legal p { margin: 0; max-width: 72ch; }

/* Privacy / terms pages */
.doc-body { max-width: 760px; padding-block: var(--s5); }
.doc-body h1 { max-width: none; font-size: var(--text-section); line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; }
.doc-body h2 { margin-top: var(--s5); font-size: var(--text-xl); line-height: 1.3; font-weight: 500; }
.doc-body p, .doc-body li { margin-top: var(--s2); color: var(--sub); line-height: 1.6; }
.doc-body h2 + p { margin-top: var(--s1); }
.doc-body ul, .doc-body ol { padding-left: var(--s2); }
.doc-body b { color: var(--text); font-weight: 500; }
.doc-body .btn { margin-top: var(--s4); color: var(--on-lime); text-decoration: none; }
.doc-body a { color: var(--text); text-decoration-color: var(--lime); }
.doc .nav-in { justify-content: space-between; }
.doc .foot-brand .logo { margin-bottom: var(--s1); }

/* One soft reveal on scroll: same time, same distance, same curve for everything. Visible without scripting. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-long) var(--ease), transform var(--dur-long) var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-art img, .hero-text { animation: up var(--dur-long) var(--ease) both; }
  @keyframes up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .ticker-track { animation: none; } }

/* Tablet */
@media (min-width: 768px) {
  :root { --pad: var(--s4); }
  .hero-art img { aspect-ratio: 16 / 11; max-height: 56svh; }
  .hero-text { margin-top: calc(-1 * var(--s4)); }
  .actions { align-items: flex-start; }
  .actions > .btn, .dl { flex: 0 0 auto; }
  .pcard { padding: var(--s4); }
  .fcard { padding: var(--s4) var(--s4) 0; }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f5 { grid-column: 1 / -1; }
  .f5 .fshot img { max-width: 520px; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-contact { grid-column: auto; }
}

/* Laptops: menu in the bar, pictures beside the words */
@media (min-width: 960px) {
  @supports (backdrop-filter: blur(1px)) { .nav { background: var(--nav-glass); backdrop-filter: blur(12px); } }
  .nav-in { gap: var(--s4); }
  .nav-links { display: flex; }
  .nav .btn-sm { margin-left: 0; }
  .has-menu .burger, .menu-cta { display: none; }

  .hero-in {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: var(--s5);
    min-height: min(calc(100svh - 64px), 900px); padding-block: var(--s5);
  }
  .hero-art { order: 2; padding-top: 0; }
  .hero-text { margin-top: 0; }
  .hero-art img {
    aspect-ratio: 5 / 5.6; max-height: min(calc(100svh - 144px), 780px); object-position: 50% 60%; border-radius: 32px;
    /* Soft on every side, strongest toward the words */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, var(--mask) 22%, var(--mask) 94%, transparent 100%), linear-gradient(to bottom, transparent 0%, var(--mask) 8%, var(--mask) 80%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(to right, transparent 0%, var(--mask) 22%, var(--mask) 94%, transparent 100%), linear-gradient(to bottom, transparent 0%, var(--mask) 8%, var(--mask) 80%, transparent 100%);
            mask-composite: intersect;
  }
  .ticker { margin-top: var(--s4); }

  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: var(--s5); }
  .row.flip .art { order: 2; }
  .art { max-width: 540px; }
  .how { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; }

  /* Footer: four columns side by side, headings on one line; legal text across the bottom */
  .foot-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s4) var(--s5); }
  .foot-brand, .foot-contact { grid-column: auto; }
}

/* Desktops */
@media (min-width: 1200px) {
  :root { --pad: var(--s5); }
  .fgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .f1, .f2 { grid-column: span 3; }
  .f3, .f4, .f5 { grid-column: span 2; }
}

/* Big screens: cap widths so nothing stretches */
@media (min-width: 1600px) {
  .wrap { max-width: 1440px; }
  .art { max-width: 600px; }
}
