/* ==========================================================================
   StoreBuilder — site stylesheet (fonts live in fonts.css)
   Visual system follows the "App SaaS Landing Page" Figma theme:
   Open Sans, sky blue + green on pale washes, pill buttons, soft wave edges.
   1 Tokens · 2 Base · 3 Layout · 4 Header · 5 Buttons · 6 Page head
   7 Sections · 8 Home · 9 Diagram · 10 Compare · 11 Pricing · 12 Blog
   13 Services & contact · 14 Forms · 15 Footer · 16 Utilities & motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --white: #ffffff;
  --ink: #212121;            /* Figma rgba(0,0,0,.87) on white */
  --text: #3d3d3d;
  --muted: #6b6b6b;          /* Figma rgba(0,0,0,.54) on white */
  --rule: #dcebf2;
  --rule-strong: #bcd9e7;

  --navy: #00579b;           /* headings, counters, footer titles */
  --sky: #03acf2;            /* indicators, borders, decoration */
  --sky-btn: #0277bd;        /* sky tuned for white-text contrast */
  --sky-100: #b3e5fc;
  --sky-50: #e1f5fe;
  --green: #4caf50;
  --green-btn: #2f8634;      /* green tuned for white-text contrast */
  --green-deep: #357a38;
  --green-100: #c8e6c9;
  --green-50: #edf7ee;

  --wash: #f3f9fc;           /* pale section background */
  --foot: #eff7fa;

  --radius: 12px;
  --radius-lg: 24px;
  --pill: 999px;
  --wrap: 76rem;
  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --header-h: 4.75rem;
  --section-y: clamp(4rem, 8vw, 7rem);
  --wave-h: clamp(2.5rem, 5vw, 5rem);

  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-soft: 0 12px 32px -14px rgba(0, 87, 155, 0.28);
  --shadow-pop: 0 2px 6px rgba(0, 87, 155, 0.06), 0 22px 44px -18px rgba(0, 87, 155, 0.32);
  --hero-wash: linear-gradient(151deg, #e6f6fd 0%, #eef8f4 70%, #eff8ef 100%);
  --partner-wash: linear-gradient(151deg, #c9ecfb 0%, #d7efd9 100%);
  --partner-wash-alt: linear-gradient(151deg, #d7efd9 0%, #c9ecfb 100%);

  /* Theme roles: component colours read these, and the dark theme overrides them */
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --field: #ffffff;
  --heading-accent: var(--navy);
  --green-text: var(--green-deep);
  --link: var(--sky-btn);
  --bubble: var(--sky-50);
  --bubble-strong: var(--sky-100);
  --bubble-green: #dff1e0;
  --layer-open: var(--green-100);
  --wash-green: var(--green-50);
  --highlight: #f0f9fe;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.9);
  --bar: linear-gradient(90deg, var(--green-100), var(--sky-100));
  --cta-bg: linear-gradient(100deg, #d6eed7 0%, #cfeaf2 52%, #c4e8fb 100%);
  --error: #b3261e;
  --scrim: rgba(0, 57, 102, 0.55);
  --shadow-header: 0 10px 30px -22px rgba(0, 87, 155, 0.45);
  --logo-light: block;
  --logo-dark: none;
  --logo-blend: multiply;
  --logo-plate: transparent;
  --logo-pad: 0;
  --icon-moon: block;
  --icon-sun: none;
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23357a38' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E");
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230277bd' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E");
  --icon-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230277bd' stroke-width='2.5' stroke-linecap='round' d='M6 12h12M12 6v12'/%3E%3C/svg%3E");
  --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%236b6b6b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --field-border: rgba(0, 0, 0, 0.42);
  --shadow-auth: 0 3px 49px 9px rgba(0, 0, 0, 0.06);

  /* Wave edges (SVG, stretched to the element width) */
  --wave-hero: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath fill='%23b3e5fc' fill-opacity='.45' d='M0 64C220 8 430 0 640 42s420 96 800 20v98H0z'/%3E%3Cpath fill='%23c8e6c9' fill-opacity='.4' d='M0 104c260-60 520-40 760 6s470 46 680-30v80H0z'/%3E%3Cpath fill='%23fff' d='M0 128c300-40 560-28 820 2s440 22 620-14v44H0z'/%3E%3C/svg%3E");
  --wave-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 0h1440v22C1180 70 900 78 640 46S180 6 0 38z'/%3E%3C/svg%3E");
  --wave-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 80h1440V40C1200 6 940 2 700 34S220 80 0 50z'/%3E%3C/svg%3E");
  --wave-foot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%2303acf2' fill-opacity='.07' d='M0 40c240-40 520-40 780 10s460 50 660 10v60H0z'/%3E%3Cpath fill='%234caf50' fill-opacity='.07' d='M0 80c300-30 600-30 900 0s420 20 540 0v40H0z'/%3E%3C/svg%3E");
  --wave-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' fill-opacity='.4' d='M0 90C260 20 520 20 760 70s460 60 680 0v70H0z'/%3E%3C/svg%3E");
}

/* Dark theme (Figma "Landing (Dark)"). It follows the system setting unless the
   visitor picks a theme with the header toggle. Keep the two blocks identical. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #303030;
    --surface: #3a3a3a;
    --field: #424242;
    --ink: #fafafa;
    --text: #e0e0e0;
    --muted: #b3b3b3;
    --rule: rgba(255, 255, 255, 0.1);
    --rule-strong: rgba(255, 255, 255, 0.2);
    --heading-accent: #b3e5fc;
    --green-text: #c8e6c9;
    --link: #4fc3f7;
    --bubble: rgba(3, 172, 242, 0.16);
    --bubble-strong: rgba(3, 172, 242, 0.32);
    --bubble-green: rgba(76, 175, 80, 0.2);
    --layer-open: rgba(76, 175, 80, 0.26);
    --wash: #263745;
    --wash-green: #313e31;
    --foot: #2c4849;
    --highlight: #34454c;
    --glass: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --bar: linear-gradient(90deg, #00579b, #357a38);
    --cta-bg: linear-gradient(100deg, #06548d 0%, #326437 100%);
    --error: #ff8a80;
    --scrim: rgba(0, 0, 0, 0.7);
    --shadow-soft: 0 12px 32px -14px rgba(0, 0, 0, 0.6);
    --shadow-pop: 0 2px 6px rgba(0, 0, 0, 0.2), 0 22px 44px -18px rgba(0, 0, 0, 0.65);
    --shadow-header: 0 10px 30px -18px rgba(0, 0, 0, 0.7);
    --hero-wash: linear-gradient(151deg, rgba(0, 87, 155, 0.5) 0%, rgba(53, 122, 56, 0.5) 100%), #303030;
    --partner-wash: var(--hero-wash);
    --partner-wash-alt: linear-gradient(151deg, rgba(53, 122, 56, 0.5) 0%, rgba(0, 87, 155, 0.5) 100%), #303030;
    --logo-light: none;
    --logo-dark: block;
    --logo-blend: normal;
    --logo-plate: #ffffff;
    --logo-pad: 0.35rem 0.6rem;
    --icon-moon: none;
    --icon-sun: block;
    --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23c8e6c9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E");
    --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%234fc3f7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E");
    --icon-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%234fc3f7' stroke-width='2.5' stroke-linecap='round' d='M6 12h12M12 6v12'/%3E%3C/svg%3E");
    --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23b3b3b3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    --field-border: rgba(255, 255, 255, 0.42);
    --shadow-auth: 0 3px 49px 9px rgba(0, 0, 0, 0.35);
    --wave-hero: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath fill='%23616161' fill-opacity='.35' d='M0 64C220 8 430 0 640 42s420 96 800 20v98H0z'/%3E%3Cpath fill='%23424242' fill-opacity='.6' d='M0 104c260-60 520-40 760 6s470 46 680-30v80H0z'/%3E%3Cpath fill='%23303030' d='M0 128c300-40 560-28 820 2s440 22 620-14v44H0z'/%3E%3C/svg%3E");
    --wave-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23303030' d='M0 0h1440v22C1180 70 900 78 640 46S180 6 0 38z'/%3E%3C/svg%3E");
    --wave-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23303030' d='M0 80h1440V40C1200 6 940 2 700 34S220 80 0 50z'/%3E%3C/svg%3E");
    --wave-foot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23303030' fill-opacity='.35' d='M0 40c240-40 520-40 780 10s460 50 660 10v60H0z'/%3E%3Cpath fill='%23303030' fill-opacity='.45' d='M0 80c300-30 600-30 900 0s420 20 540 0v40H0z'/%3E%3C/svg%3E");
    --wave-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' fill-opacity='.07' d='M0 90C260 20 520 20 760 70s460 60 680 0v70H0z'/%3E%3C/svg%3E");
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #303030;
  --surface: #3a3a3a;
  --field: #424242;
  --ink: #fafafa;
  --text: #e0e0e0;
  --muted: #b3b3b3;
  --rule: rgba(255, 255, 255, 0.1);
  --rule-strong: rgba(255, 255, 255, 0.2);
  --heading-accent: #b3e5fc;
  --green-text: #c8e6c9;
  --link: #4fc3f7;
  --bubble: rgba(3, 172, 242, 0.16);
  --bubble-strong: rgba(3, 172, 242, 0.32);
  --bubble-green: rgba(76, 175, 80, 0.2);
  --layer-open: rgba(76, 175, 80, 0.26);
  --wash: #263745;
  --wash-green: #313e31;
  --foot: #2c4849;
  --highlight: #34454c;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --bar: linear-gradient(90deg, #00579b, #357a38);
  --cta-bg: linear-gradient(100deg, #06548d 0%, #326437 100%);
  --error: #ff8a80;
  --scrim: rgba(0, 0, 0, 0.7);
  --shadow-soft: 0 12px 32px -14px rgba(0, 0, 0, 0.6);
  --shadow-pop: 0 2px 6px rgba(0, 0, 0, 0.2), 0 22px 44px -18px rgba(0, 0, 0, 0.65);
  --shadow-header: 0 10px 30px -18px rgba(0, 0, 0, 0.7);
  --hero-wash: linear-gradient(151deg, rgba(0, 87, 155, 0.5) 0%, rgba(53, 122, 56, 0.5) 100%), #303030;
  --partner-wash: var(--hero-wash);
  --partner-wash-alt: linear-gradient(151deg, rgba(53, 122, 56, 0.5) 0%, rgba(0, 87, 155, 0.5) 100%), #303030;
  --logo-light: none;
  --logo-dark: block;
  --logo-blend: normal;
  --logo-plate: #ffffff;
  --logo-pad: 0.35rem 0.6rem;
  --icon-moon: none;
  --icon-sun: block;
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23c8e6c9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E");
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%234fc3f7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E");
  --icon-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%234fc3f7' stroke-width='2.5' stroke-linecap='round' d='M6 12h12M12 6v12'/%3E%3C/svg%3E");
  --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23b3b3b3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --field-border: rgba(255, 255, 255, 0.42);
  --shadow-auth: 0 3px 49px 9px rgba(0, 0, 0, 0.35);
  --wave-hero: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath fill='%23616161' fill-opacity='.35' d='M0 64C220 8 430 0 640 42s420 96 800 20v98H0z'/%3E%3Cpath fill='%23424242' fill-opacity='.6' d='M0 104c260-60 520-40 760 6s470 46 680-30v80H0z'/%3E%3Cpath fill='%23303030' d='M0 128c300-40 560-28 820 2s440 22 620-14v44H0z'/%3E%3C/svg%3E");
  --wave-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23303030' d='M0 0h1440v22C1180 70 900 78 640 46S180 6 0 38z'/%3E%3C/svg%3E");
  --wave-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23303030' d='M0 80h1440V40C1200 6 940 2 700 34S220 80 0 50z'/%3E%3C/svg%3E");
  --wave-foot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23303030' fill-opacity='.35' d='M0 40c240-40 520-40 780 10s460 50 660 10v60H0z'/%3E%3Cpath fill='%23303030' fill-opacity='.45' d='M0 80c300-30 600-30 900 0s420 20 540 0v40H0z'/%3E%3C/svg%3E");
  --wave-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' fill-opacity='.07' d='M0 90C260 20 520 20 760 70s460 60 680 0v70H0z'/%3E%3C/svg%3E");
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.2; text-wrap: balance; }
h1 { font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 600; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--link); text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
a:hover { color: var(--heading-accent); }

ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
::selection { background: var(--bubble-strong); color: var(--ink); }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.75rem 1.25rem; background: var(--navy); color: #fff; border-radius: var(--pill); transition: top 0.15s; }
.skip-link:focus { top: 1rem; color: #fff; }

/* Title indicator: the short green-to-blue bar under section headings */
.section-title::after,
.split > h2::after,
.split > [data-reveal] > h2::after,
.section .wrap > h2::after,
.contact-grid__intro h2:first-child::after {
  content: "";
  display: block;
  width: 3.9rem;
  height: 0.6rem;
  margin-top: 1.1rem;
  border-radius: 17px;
  background: var(--bar);
}

/* 3. Layout ---------------------------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--ruled { border-top: 1px solid var(--rule); }

/* Pale bands with a curved top and bottom edge */
.section--sand, .section--night { background: var(--wash); padding-block: calc(var(--section-y) + var(--wave-h) * 0.6); }
.section--night { background: var(--wash-green); }
.section--sand::before, .section--sand::after,
.section--night::before, .section--night::after { content: ""; position: absolute; left: 0; right: 0; height: var(--wave-h); background: no-repeat center / 100% 100%; pointer-events: none; }
.section--sand::before, .section--night::before { top: -1px; background-image: var(--wave-top); }
.section--sand::after, .section--night::after { bottom: -1px; background-image: var(--wave-bottom); }
.section--sand.section--tight { padding-block: calc(clamp(2.5rem, 5vw, 4rem) + var(--wave-h) * 0.5); }

.split { display: grid; gap: 1.75rem clamp(2rem, 6vw, 6rem); }
@media (min-width: 60rem) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.eyebrow { margin: 0 0 1rem; font-size: 0.85rem; font-weight: 700; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; color: var(--heading-accent); }
.section--night .eyebrow { color: var(--green-text); }

/* 4. Header ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: transparent; transition: box-shadow 0.25s, background-color 0.25s; }
.site-header.is-scrolled, .site-header:has(.nav.is-open) { background: var(--bg); box-shadow: 0 1px 0 var(--rule), var(--shadow-header); }
.site-header__bar { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 2.35rem; width: auto; }
.brand .brand__light { display: var(--logo-light); }
.brand .brand__dark { display: var(--logo-dark); }

.nav-toggle { display: none; margin-left: auto; width: 2.9rem; height: 2.9rem; padding: 0; border: 0; border-radius: 50%; background: var(--bubble); color: var(--heading-accent); cursor: pointer; transition: background-color 0.2s; }
.nav-toggle:hover { background: var(--bubble-strong); }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 1.2rem; height: 2px; margin-inline: auto; background: currentColor; border-radius: 2px; transition: transform 0.25s var(--ease), background-color 0.2s; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: stretch; gap: 0; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; display: flex; align-items: stretch; }
.nav__link { position: relative; display: flex; align-items: center; min-height: var(--header-h); padding: 0 0.85rem; font-size: 0.98rem; font-weight: 600; color: var(--ink); text-decoration: none; transition: color 0.2s; }
.nav__link::after { content: ""; position: absolute; left: 0.85rem; bottom: 1.15rem; width: 1.4rem; height: 4px; border-radius: 2.5px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform 0.28s var(--ease); }
.nav__link:hover { color: var(--link); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link[aria-current="true"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"], .nav__link[aria-current="true"] { color: var(--link); }

.nav__sub-toggle { width: 1.6rem; margin-left: -0.7rem; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.nav__sub-toggle::before { content: ""; display: block; width: 0.42rem; height: 0.42rem; margin: 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s var(--ease); }
.nav__sub-toggle[aria-expanded="true"]::before { transform: translateY(1px) rotate(225deg); }

.subnav { position: absolute; top: calc(100% - 0.6rem); left: 0; z-index: 60; min-width: 15.5rem; margin: 0; padding: 0.5rem; list-style: none; background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; box-shadow: var(--shadow-pop); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.18s, transform 0.18s var(--ease), visibility 0s 0.18s; }
.nav__item--sub:hover > .subnav, .nav__item--sub:focus-within > .subnav, .nav__item--sub.is-open > .subnav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__item--sub.is-dismissed > .subnav { opacity: 0; visibility: hidden; transform: translateY(-6px); }
.subnav a { display: block; padding: 0.6rem 0.9rem; font-size: 0.95rem; font-weight: 500; color: var(--ink); text-decoration: none; border-radius: 10px; transition: background-color 0.15s, color 0.15s; }
.subnav a:hover { background: var(--bubble); color: var(--heading-accent); }
.subnav a[aria-current="page"] { font-weight: 700; color: var(--link); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; flex: none; }
.header-login { padding: 0.5rem 0.75rem; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink); text-decoration: none; }
.header-login:hover { color: var(--link); }
.header-login[aria-current="page"] { color: var(--link); }
.header-actions .btn { background: var(--sky-btn); }
.header-actions .btn:hover { background: var(--navy); }
.nav__account { display: none; }

.theme-toggle { position: relative; flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-left: 0.5rem; padding: 0; border: 0; border-radius: 50%; color: var(--muted); background: transparent; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.theme-toggle::before { content: ""; position: absolute; left: -0.5rem; top: 25%; bottom: 25%; width: 1px; background: var(--rule-strong); }
.theme-toggle:hover { color: var(--heading-accent); background: var(--bubble); }
.theme-toggle__moon { display: var(--icon-moon); }
.theme-toggle__sun { display: var(--icon-sun); }

@media (max-width: 68rem) {
  .nav-toggle { display: block; order: 2; margin-left: 0.25rem; }
  .theme-toggle { order: 1; margin-left: auto; }
  .theme-toggle::before { display: none; }
  .header-actions { display: none; }

  .nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding: 0.5rem var(--gutter) 1.75rem; background: var(--bg); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: 0 30px 40px -24px rgba(0, 87, 155, 0.35); display: none; }
  .nav.is-open { display: block; }
  html:not(.js) .nav { display: block; position: static; box-shadow: none; }

  .nav__list { flex-direction: column; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
  .nav__link { flex: 1; min-height: 3.4rem; padding: 0; font-size: 1.1rem; }
  .nav__link::after { display: none; }
  .nav__sub-toggle { display: none; }
  .subnav { position: static; flex-basis: 100%; min-width: 0; margin: 0 0 0.75rem; padding: 0 0 0 1rem; border: 0; border-left: 3px solid var(--sky-100); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: transparent; }
  .subnav a { padding: 0.65rem 0.5rem; font-size: 1rem; }

  .nav__account { display: block; padding-top: 1.5rem; }
  .nav__account-title { margin: 0 0 0.75rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--heading-accent); }
  .nav__account-actions { display: flex; gap: 0.75rem; }
  .nav__account-actions .btn { flex: 1; }
}

/* 5. Buttons --------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3.25rem; padding: 0.7rem 1.9rem; font: 600 0.95rem/1.25 var(--font); letter-spacing: 0.03em; text-align: center; text-transform: uppercase; text-decoration: none; color: var(--green-text); background: transparent; border: 0; border-radius: var(--pill); cursor: pointer; transition: background-color 0.2s, color 0.2s, box-shadow 0.25s, transform 0.2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--green-btn); color: #fff; box-shadow: 0 10px 22px -12px rgba(47, 134, 52, 0.7); }
.btn--primary:hover { background: var(--green-deep); color: #fff; box-shadow: 0 14px 26px -12px rgba(47, 134, 52, 0.75); }
.btn--accent { background: var(--sky-btn); color: #fff; box-shadow: 0 10px 22px -12px rgba(2, 119, 189, 0.7); }
.btn--accent:hover { background: var(--navy); color: #fff; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: #00457c; color: #fff; }
.btn--ghost { color: var(--green-text); box-shadow: inset 0 0 0 1.5px var(--green); }
.btn--ghost:hover { background: var(--bubble-green); color: var(--green-text); }
.btn--sm { min-height: 2.6rem; padding: 0.45rem 1.4rem; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* 6. Page head ------------------------------------------------------------- */
.page-head { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(-1 * var(--header-h)); padding-block: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) calc(var(--wave-h) * 1.6 + clamp(1.5rem, 3vw, 2.5rem)); background: var(--hero-wash); }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1; height: calc(var(--wave-h) * 2); background: var(--wave-hero) no-repeat center bottom / 100% 100%; }
.page-head h1 { max-width: 22ch; font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.15; letter-spacing: -0.015em; }
.page-head h1 .is-sub { display: block; margin-top: 0.6em; font-size: 0.5em; font-weight: 600; letter-spacing: 0; color: var(--text); }
.page-head--wide h1 { max-width: 28ch; font-size: clamp(2rem, 4.4vw, 3.1rem); }
.page-head__meta { margin: 1.5rem 0 0; font-size: 0.95rem; font-weight: 600; color: var(--muted); }

/* 7. Sections -------------------------------------------------------------- */
.lede h2 { font-size: clamp(1.6rem, 2.9vw, 2.35rem); line-height: 1.3; }
.lede__body { font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.lede__body p { max-width: 44rem; }
.lede__cta { margin-top: 2rem; }

.section-title { max-width: 24ch; }

/* Numbered feature rows: bubble · heading · text */
.rows { margin: clamp(2rem, 4vw, 3.5rem) 0 0; padding: 0; list-style: none; counter-reset: row; }
.row { position: relative; display: grid; gap: 0.75rem 2.5rem; padding: 2rem 0; border-bottom: 1px solid var(--rule); counter-increment: row; }
.row:last-child { border-bottom: 0; }
.row::before { content: counter(row); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; font-size: 1rem; font-weight: 700; line-height: 1; color: var(--link); background: var(--bubble); border-radius: 50%; transition: background-color 0.25s, color 0.25s; }
.row:nth-child(even)::before { color: var(--green-text); background: var(--bubble-green); }
.row h3 { align-self: center; color: var(--heading-accent); }
.row p { margin: 0; max-width: 42rem; }
@media (min-width: 52rem) {
  .row { grid-template-columns: 3.5rem minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
  .row h3 { align-self: start; padding-top: 0.35rem; }
  .row p { padding-top: 0.35rem; }
}
@media (hover: hover) {
  .row:hover::before { color: #fff; background: var(--sky-btn); }
  .row:nth-child(even):hover::before { color: #fff; background: var(--green-btn); }
}
.section--night .row h3 { color: var(--green-text); }

/* Closing call to action: a soft gradient banner */
.cta { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cta .wrap { position: relative; overflow: hidden; isolation: isolate; width: auto; max-width: var(--wrap); margin-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2)); padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.5rem, 5vw, 4rem); text-align: center; background: var(--cta-bg); border-radius: var(--radius-lg); }
.cta .wrap::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; height: 70%; background: var(--wave-soft) no-repeat center bottom / 100% 100%; }
.cta h2 { max-width: 30ch; margin-inline: auto; font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 700; line-height: 1.25; color: var(--heading-accent); }
.cta h2 span { display: block; }
.cta__action { margin-top: 1.75rem; }

.prose { max-width: 46rem; }
.prose h2 { margin: 2.5rem 0 0.75rem; font-size: 1.35rem; line-height: 1.3; color: var(--heading-accent); }
.prose h2::after { display: none !important; }
.prose h2:first-child { margin-top: 0; }

/* 8. Home ------------------------------------------------------------------ */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(-1 * var(--header-h)); padding-block: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) calc(var(--wave-h) * 2 + clamp(1rem, 3vw, 2rem)); background: var(--hero-wash); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1; height: calc(var(--wave-h) * 2.4); background: var(--wave-hero) no-repeat center bottom / 100% 100%; }
.hero__grid { display: grid; gap: 2.5rem clamp(2rem, 6vw, 5rem); align-items: center; }
@media (min-width: 62rem) { .hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
.hero h1 { font-size: clamp(2.9rem, 7vw, 5.4rem); line-height: 1.05; letter-spacing: -0.025em; }
.hero h1 span { display: block; }
.hero h1 u { text-decoration: none; color: var(--green-text); background: var(--bar) 0 88% / 100% 0.22em no-repeat; padding-inline: 0.02em; }

.asks { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.ask { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 0.85rem 1rem 0.85rem 0.85rem; font: 600 clamp(1rem, 1.35vw, 1.12rem)/1.35 var(--font); text-align: left; color: var(--ink); background: var(--glass); border: 1px solid var(--glass-border); border-radius: 28px; cursor: pointer; transition: background-color 0.25s, color 0.25s, box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.ask__q { display: flex; align-items: center; gap: 0.8rem; }
.ask__q::before { content: "?"; flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; font-size: 0.95rem; font-weight: 700; line-height: 1; color: var(--heading-accent); background: var(--bubble-strong); border-radius: 50%; transition: background-color 0.25s; }
.ask__a { flex: none; padding: 0.25rem 0.85rem; font-size: 0.9rem; font-weight: 700; color: #fff; background: var(--green-btn); border-radius: var(--pill); opacity: 0; transform: translateX(-8px); transition: opacity 0.25s, transform 0.3s var(--ease); }
.ask:hover, .ask[aria-expanded="true"] { color: var(--heading-accent); background: var(--surface); box-shadow: var(--shadow-soft); transform: translateX(4px); }
.ask:hover .ask__q::before, .ask[aria-expanded="true"] .ask__q::before { background: var(--green-100); }
.ask:hover .ask__a, .ask[aria-expanded="true"] .ask__a, .ask:focus-visible .ask__a { opacity: 1; transform: none; }

.yes-list { margin: 2rem 0 0; padding: 0; list-style: none; }
.yes-list li { position: relative; padding: 0.9rem 0 0.9rem 2.75rem; border-bottom: 1px solid var(--rule); font-size: 1.08rem; }
.yes-list li:last-child { border-bottom: 0; }
.yes-list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--bubble-green) var(--icon-check) no-repeat center / 1rem; }
.yes-list strong { color: var(--green-text); font-weight: 700; letter-spacing: 0.02em; }
.footnote { margin-top: 1.5rem; font-size: 0.875rem; color: var(--muted); }

/* Audience links: one tile per role, with an icon, the role and an arrow */
.audience { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.audience a { position: relative; display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1rem 4rem 1rem 1rem; font-size: 1.15rem; font-weight: 600; line-height: 1.3; color: var(--ink); text-decoration: none; background: var(--surface); border: 1px solid var(--rule); border-radius: 20px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s, color 0.2s; }
.audience a::after { content: ""; position: absolute; top: 50%; right: 1rem; width: 2.25rem; height: 2.25rem; margin-top: -1.125rem; border-radius: 50%; background: var(--bubble) var(--icon-arrow) no-repeat center / 1.1rem; transition: transform 0.3s var(--ease), background-color 0.25s; }
.audience__icon { flex: none; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 16px; color: var(--link); background: var(--bubble); transition: transform 0.3s var(--ease); }
.audience li:nth-child(even) .audience__icon { color: var(--green-text); background: var(--bubble-green); }
.audience__icon svg { width: 1.6rem; height: 1.6rem; }
.audience a:hover { color: var(--heading-accent); border-color: var(--sky); box-shadow: var(--shadow-pop); transform: translateY(-3px); }
.audience a:hover::after { transform: translateX(3px); background-color: var(--bubble-strong); }
.audience a:hover .audience__icon { transform: scale(1.06); }
@media (min-width: 40rem) { .audience { grid-template-columns: 1fr 1fr; gap: 1rem; } }
@media (min-width: 68rem) {
  /* Four upright tiles: icon at the top, the role underneath, the arrow in the corner */
  .audience { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
  .audience a { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 2rem; min-height: 13rem; padding: 1.75rem 1.5rem 1.6rem; font-size: 1.3rem; }
  .audience a::after { top: auto; bottom: 1.6rem; right: 1.5rem; margin-top: 0; }
  .audience__label { padding-right: 3rem; }
  .audience__icon { width: 3.5rem; height: 3.5rem; }
  .audience__icon svg { width: 1.75rem; height: 1.75rem; }
}

/* Newsletter: centred title and a single pill-shaped field group (Figma footer "Subscribe") */
.subscribe { position: relative; padding-block: calc(var(--wave-h) + clamp(3rem, 6vw, 4.5rem)) clamp(1.5rem, 3vw, 2.5rem); background: var(--foot); }
.subscribe::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: var(--wave-h); background: var(--wave-top) no-repeat center / 100% 100%; }
.subscribe .split { grid-template-columns: 1fr; justify-items: center; gap: 1.5rem; text-align: center; }
.subscribe h3 { max-width: 36ch; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.4; }
.subscribe .form { width: 100%; max-width: 44rem; }
.subscribe__fields { display: grid; gap: 0.75rem; }
.subscribe .input { border-radius: var(--pill); padding-inline: 1.4rem; }
.subscribe .btn { background: var(--sky-btn); box-shadow: none; }
.subscribe .btn:hover { background: var(--navy); }
@media (min-width: 40rem) {
  .subscribe__fields { grid-template-columns: 1fr 1fr auto; gap: 0; padding: 0.35rem; background: var(--field); border: 1px solid var(--sky); border-radius: var(--pill); transition: box-shadow 0.2s; }
  .subscribe__fields:focus-within { box-shadow: 0 0 0 4px rgba(3, 172, 242, 0.18); }
  .subscribe .field { position: relative; }
  .subscribe .field + .field { border-left: 1px solid var(--rule); }
  .subscribe .input { min-height: 2.9rem; border: 0; background: transparent; text-align: left; }
  .subscribe .input:hover { border: 0; }
  .subscribe .input:focus { box-shadow: none; }
  .subscribe .input[aria-invalid="true"] { box-shadow: none; color: var(--error); }
  .subscribe .field__error { position: absolute; top: calc(100% + 0.9rem); left: 1.4rem; white-space: nowrap; }
  .subscribe__submit .btn { min-height: 2.9rem; }
}
.subscribe .form__status { margin-top: 1.5rem; }

/* 9. Architecture diagram -------------------------------------------------- */
.arch { display: grid; gap: 1rem; margin: 0; }
@media (min-width: 62rem) { .arch { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr); gap: 2.5rem; align-items: stretch; } }
.arch__col { display: grid; gap: 1rem; align-content: start; }
.arch__box { background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px -18px rgba(0, 87, 155, 0.4); }
.arch__box > h3 { padding: 0.75rem 1.1rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--navy); }
.arch__box > div { padding: 1rem 1.1rem; font-size: 0.95rem; line-height: 1.55; }
.arch__box dl { margin: 0; display: grid; gap: 0.8rem; }
.arch__box dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.arch__box dd { margin: 0.2rem 0 0; font-weight: 600; color: var(--ink); }
.arch__box--out { display: flex; align-items: center; min-height: 4.25rem; padding: 0.9rem 1.2rem; font-weight: 700; color: var(--heading-accent); background: var(--bubble); border: 1.5px dashed var(--sky); box-shadow: none; }
.arch__box--out.is-standard { border-style: solid; border-color: var(--rule-strong); background: var(--surface); color: var(--muted); }
.arch__core { display: grid; grid-template-rows: 1fr auto 1fr; gap: 0.75rem; }
.arch__layer { display: grid; place-items: center; min-height: 7.5rem; padding: 1.25rem; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; text-align: center; border-radius: 20px; }
.arch__layer--open { color: var(--green-text); background: var(--layer-open); }
.arch__layer--core { color: #fff; background: linear-gradient(151deg, var(--sky-btn), var(--navy)); }
.arch__link { display: flex; justify-content: center; gap: 2.5rem; font-size: 1.4rem; line-height: 1; color: var(--sky); }
@media (min-width: 62rem) {
  .arch__col--in .arch__box, .arch__col--out .arch__box { position: relative; overflow: visible; }
  .arch__col--in .arch__box > h3 { border-radius: 15px 15px 0 0; }
  .arch__col--in .arch__box::after { content: "\2192"; position: absolute; top: 50%; right: -2rem; width: 1.5rem; text-align: center; font-size: 1.3rem; line-height: 1; color: var(--sky); transform: translateY(-50%) scaleX(-1); }
  .arch__col--out .arch__box::before { content: "\2192"; position: absolute; top: 50%; left: -2rem; width: 1.5rem; text-align: center; font-size: 1.3rem; line-height: 1; color: var(--sky); transform: translateY(-50%); }
}

/* 10. Compare -------------------------------------------------------------- */
.compare-wrap { overflow-x: auto; margin-top: clamp(2rem, 4vw, 3rem); padding: 0.5rem clamp(0.5rem, 2vw, 1.5rem) 1rem; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); }
.compare { width: 100%; min-width: 19rem; border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { padding: 0.9rem 0.4rem; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--rule); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { position: sticky; top: var(--header-h); z-index: 2; padding-block: 1.2rem; background: var(--surface); border-bottom: 2px solid var(--rule-strong); vertical-align: bottom; }
.compare thead img { width: min(100%, 9rem); height: auto; margin-inline: auto; mix-blend-mode: var(--logo-blend); background: var(--logo-plate); padding: var(--logo-pad); border-radius: 8px; }
.compare tbody th { text-align: left; padding-left: 0; padding-right: 0.75rem; font-size: 0.95rem; font-weight: 600; line-height: 1.45; color: var(--ink); }
.compare .compare__sb { background: var(--highlight); }
.compare thead .compare__sb { background: var(--highlight); box-shadow: inset 0 4px 0 var(--sky); border-radius: 12px 12px 0 0; }
.compare__yes { display: inline-block; width: 1.4rem; height: 1.4rem; border-radius: 50%; vertical-align: middle; background: var(--green-btn) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") no-repeat center / 0.85rem; }
.compare__note { font-size: 0.8rem; font-weight: 700; line-height: 1.3; color: var(--muted); }
.compare__none { display: inline-block; width: 0.8rem; height: 2px; background: var(--rule-strong); vertical-align: middle; }
.compare-footnote { max-width: 54rem; margin-top: 2rem; font-size: 0.95rem; color: var(--muted); }

@media (max-width: 39.99rem) {
  .compare th, .compare td { padding-inline: 0.25rem; }
  .compare thead th:first-child { width: 40%; }
  .compare thead img { width: 128%; max-width: none; margin-inline: -14%; }
  .compare__note { font-size: 0.7rem; white-space: nowrap; }
  .compare__yes { width: 1.2rem; height: 1.2rem; background-size: 0.75rem; }
}
@media (min-width: 40rem) {
  .compare th, .compare td { padding: 1.1rem 1rem; }
  .compare tbody th { font-size: 1.02rem; padding-right: 1.5rem; }
  .compare__note { font-size: 0.9rem; }
  .compare thead th:first-child { width: 34%; }
}

/* 11. Pricing -------------------------------------------------------------- */
.plans { display: grid; gap: 1.25rem; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; list-style: none; }
.plan { position: relative; display: grid; align-content: start; padding: clamp(1.5rem, 4vw, 2rem); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.plan--featured { border-color: var(--sky); box-shadow: var(--shadow-pop), inset 0 4px 0 var(--sky); }
.plan__name { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); }
.plan__price { margin: 0.5rem 0 0; font-size: clamp(2rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--heading-accent); }
.plan__unit { margin: 0.35rem 0 0; font-size: 0.9rem; color: var(--muted); }
.plan__specs { display: grid; margin: 1.5rem 0 0; }
.plan__specs > div { padding: 0.85rem 0; border-top: 1px solid var(--rule); }
.plan__specs dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.plan__specs dd { margin: 0.2rem 0 0; font-weight: 600; color: var(--ink); }
@media (min-width: 52rem) {
  /* Three cards side by side; subgrid keeps each row level across the cards, like a table */
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(10, auto); column-gap: 1.25rem; row-gap: 0; }
  .plan { grid-row: span 10; grid-template-rows: subgrid; }
  .plan__specs { display: contents; }
  .plan__specs > div:first-child { margin-top: 1.5rem; }
}
.plans__foot { max-width: 46rem; margin-top: 1.5rem; font-size: 0.9rem; color: var(--muted); }

.faq { display: grid; gap: 0.75rem; margin: clamp(2rem, 4vw, 3rem) 0 0; }
.faq details { background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; transition: box-shadow 0.25s, border-color 0.25s; }
.faq details[open] { border-color: transparent; box-shadow: var(--shadow-soft); }
.faq summary { position: relative; display: block; padding: 1.25rem 4rem 1.25rem 1.5rem; font-size: clamp(1.08rem, 1.8vw, 1.25rem); font-weight: 600; line-height: 1.35; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; position: absolute; right: 1.25rem; top: 50%; width: 2rem; height: 2rem; margin-top: -1rem; border-radius: 50%; background: var(--bubble); }
.faq summary::after { content: ""; position: absolute; right: 1.25rem; top: 50%; width: 2rem; height: 2rem; margin-top: -1rem; background: var(--icon-plus) no-repeat center / 1rem; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--heading-accent); }
.faq__a { max-width: 46rem; padding: 0 1.5rem 1.5rem; }

/* 12. Blog ----------------------------------------------------------------- */
.tag { display: inline-block; padding: 0.2rem 0.75rem; font-size: 0.75rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; color: var(--link); background: var(--bubble); border-radius: var(--pill); }
.meta { font-size: 0.88rem; font-weight: 500; color: var(--muted); }

.post-featured { display: grid; gap: 1.25rem 3rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); color: inherit; text-decoration: none; }
.post-featured h2 { max-width: 22ch; font-size: clamp(1.9rem, 4.2vw, 3.2rem); line-height: 1.15; transition: color 0.2s; }
.post-featured h2::after { display: none !important; }
.post-featured p { max-width: 40rem; font-size: 1.12rem; }
.post-featured:hover h2 { color: var(--heading-accent); }

.posts { display: grid; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.post-row { display: grid; gap: 0.6rem 2.5rem; padding: 1.75rem 1.25rem; color: inherit; text-decoration: none; border-radius: 20px; transition: background-color 0.3s, box-shadow 0.3s var(--ease); }
.post-row h3 { font-size: clamp(1.3rem, 2.3vw, 1.75rem); line-height: 1.3; transition: color 0.2s; }
.post-row p { margin: 0.4rem 0 0; max-width: 40rem; }
.post-row__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; }
@media (min-width: 52rem) { .post-row { grid-template-columns: 11rem minmax(0, 1fr); } }
.post-row:hover { background: var(--surface); box-shadow: var(--shadow-soft); }
.post-row:hover h3 { color: var(--heading-accent); }

.article { display: grid; gap: 2rem 5rem; }
@media (min-width: 62rem) { .article { grid-template-columns: 12rem minmax(0, 1fr); } .article__aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.article__aside dl { margin: 0; display: grid; gap: 1.25rem; }
.article__aside dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--heading-accent); }
.article__aside dd { margin: 0.35rem 0 0; font-weight: 600; color: var(--ink); }
.article__body { max-width: 42rem; font-size: 1.12rem; line-height: 1.75; }
.article__body h2 { margin: 2.75rem 0 1rem; font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.25; color: var(--heading-accent); }
.article__body ul { margin: 0 0 1.3em; padding-left: 1.2rem; }
.article__body li { margin-bottom: 0.5em; padding-left: 0.3rem; }
.article__body li::marker { color: var(--green); }
.article__lead { font-size: 1.3rem; line-height: 1.55; color: var(--ink); }
.article__more { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--rule-strong); }

/* Values (about) */
.values { margin: 0; padding: 0; list-style: none; }

/* 13. Services & contact --------------------------------------------------- */
/* Partner categories: alternating feature rows, a gradient logo panel beside the pitch */
.partners { display: grid; gap: clamp(3.5rem, 8vw, 6rem); margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; list-style: none; }
.partner { display: grid; gap: clamp(1.75rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
@media (min-width: 60rem) {
  .partner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .partner:nth-child(even) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .partner:nth-child(even) .partner__visual { order: 2; }
}

.partner__visual { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: clamp(14rem, 24vw, 19rem); padding: clamp(3rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem); background: var(--partner-wash); border-radius: clamp(24px, 3vw, 36px); }
.partner:nth-child(2) .partner__visual { background: var(--partner-wash-alt); }
.partner__visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; height: 55%; background: var(--wave-soft) no-repeat center bottom / 100% 100%; }
.partner__index { position: absolute; top: clamp(1rem, 2vw, 1.5rem); left: clamp(1.25rem, 2.5vw, 2rem); font-size: clamp(2.75rem, 5vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--heading-accent); opacity: 0.18; }
.partner__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }
.partner__logos img { display: block; width: auto; height: clamp(2.75rem, 4vw, 3.5rem); max-width: 13rem; padding: 0.9rem 1.25rem; object-fit: contain; background: #fff; border-radius: 16px; box-shadow: var(--shadow-pop); box-sizing: content-box; }
.partner__logos a { display: block; border-radius: 16px; transition: transform 0.3s var(--ease); }
.partner__logos a:hover { transform: translateY(-3px); }

.partner__body h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.25; }
.partner__body h3::after { content: ""; display: block; width: 3.9rem; height: 0.6rem; margin-top: 1rem; border-radius: 17px; background: var(--bar); }
.partner__body p { margin: 1.25rem 0 0; font-size: 1.06rem; }
.partner__list { display: grid; gap: 0.75rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
@media (min-width: 34rem) { .partner__list { grid-template-columns: 1fr 1fr; } }
.partner__list li { position: relative; display: flex; align-items: center; min-height: 3.5rem; padding: 0.75rem 1rem 0.75rem 3.1rem; font-size: 0.97rem; font-weight: 600; line-height: 1.35; color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; transition: border-color 0.2s, transform 0.25s var(--ease); }
.partner__list li::before { content: ""; position: absolute; left: 1rem; top: 50%; width: 1.4rem; height: 1.4rem; margin-top: -0.7rem; border-radius: 50%; background: var(--bubble-green) var(--icon-check) no-repeat center / 0.85rem; }
@media (hover: hover) { .partner__list li:hover { border-color: var(--green); transform: translateY(-2px); } }

.dialog { width: min(34rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: var(--radius-lg); color: var(--text); background: var(--surface); box-shadow: 0 30px 70px rgba(0, 57, 102, 0.4); }
.dialog::backdrop { background: var(--scrim); }
.dialog__inner { padding: clamp(1.5rem, 4vw, 2.5rem); }
.dialog__close { position: absolute; top: 0.9rem; right: 0.9rem; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: var(--bubble); color: var(--heading-accent); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.dialog__close:hover { background: var(--bubble-strong); }
.dialog h2 { margin-bottom: 1.5rem; padding-right: 2.5rem; font-size: 1.75rem; }

.contact-grid { display: grid; gap: 3rem clamp(2rem, 7vw, 6rem); grid-template-areas: "intro" "form" "details"; }
.contact-grid__intro { grid-area: intro; }
.contact-grid__form { grid-area: form; }
.contact-grid__details { grid-area: details; }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "intro form" "details form"; grid-template-rows: auto 1fr; align-items: start; } }
.contact-grid__form { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); }
.contact-grid__intro h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.contact-grid__intro h2 + h2 { margin-top: 1.25rem; font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 500; line-height: 1.5; color: var(--text); }
.contact-details { display: grid; gap: 1.75rem 2.5rem; margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--rule-strong); }
@media (min-width: 30rem) { .contact-details { grid-template-columns: 1fr 1fr; } }
.contact-details p { margin: 0; }
.contact-details strong { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; color: var(--heading-accent); }
.contact-details .stack > p + p { margin-top: 1.25rem; }

/* 14. Forms ---------------------------------------------------------------- */
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.4rem; }
.field > label, .fieldset legend { font-size: 0.8rem; font-weight: 600; line-height: 1.3; letter-spacing: 0.04em; color: var(--ink); }
.input, .textarea { width: 100%; min-height: 3.1rem; padding: 0.7rem 1rem; font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--field); border: 1px solid var(--rule-strong); border-radius: var(--radius); transition: border-color 0.15s, box-shadow 0.15s; }
.input::placeholder, .textarea::placeholder { color: #767676; }
.textarea { min-height: 8.5rem; resize: vertical; }
.input:hover, .textarea:hover { border-color: var(--sky); }
.input:focus, .textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(3, 172, 242, 0.18); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.12); }
.field__error { margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--error); }
.field__error:empty { display: none; }
.fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: 0.5rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem; }
.choices--stack { flex-direction: column; gap: 0.25rem; }
.choice { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding-right: 0.5rem; font-weight: 500; cursor: pointer; }
.choice input { width: 1.2rem; height: 1.2rem; margin: 0; accent-color: var(--link); }
.form__status { margin: 0; padding: 0.85rem 1.1rem; font-weight: 600; color: var(--heading-accent); background: var(--bubble); border-radius: var(--radius); }
.form__status[hidden] { display: none; }
.form__status.is-error { color: #8c1d18; background: #fbe9e7; }

.select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; background: var(--field) var(--icon-chevron) no-repeat right 0.9rem center / 1.1rem; cursor: pointer; }

/* Password field with a show / hide button */
.password { position: relative; }
.password .input { padding-right: 3.25rem; }
.password__toggle { position: absolute; top: 50%; right: 0.3rem; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; padding: 0; border: 0; border-radius: 50%; color: var(--muted); background: transparent; cursor: pointer; transform: translateY(-50%); transition: background-color 0.2s, color 0.2s; }
.password__toggle::before { content: ""; width: 1.25rem; height: 1.25rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; }
.password__toggle[aria-pressed="true"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath stroke='%23000' stroke-width='2' stroke-linecap='round' d='M4 4l16 16'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath stroke='%23000' stroke-width='2' stroke-linecap='round' d='M4 4l16 16'/%3E%3C/svg%3E"); }
.password__toggle:hover { color: var(--heading-accent); background: var(--bubble); }

/* Outlined field with a label that moves up once the field has focus or a value (Figma "Form/Textfield") */
.float { position: relative; }
.float__input { height: 3.25rem; padding: 1.25rem 1rem 0.35rem; border-color: var(--field-border); border-radius: 8px; }
.float__input:hover { border-color: var(--green); }
input.float__input:not(:placeholder-shown), .float--select .float__input:valid { border-color: var(--green); }
.float__input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.18); }
.float__label { position: absolute; left: 1rem; top: 50%; max-width: calc(100% - 2rem); overflow: hidden; font-size: 1rem; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); pointer-events: none; transform: translateY(-50%); transform-origin: left top; transition: top 0.15s var(--ease), font-size 0.15s var(--ease), color 0.15s; }
.float__input:focus + .float__label,
input.float__input:not(:placeholder-shown) + .float__label,
.float--select .float__label { top: 0.95rem; font-size: 0.72rem; color: var(--green-text); }
.float__input[aria-invalid="true"] { border-color: var(--error); box-shadow: none; }
.float__input[aria-invalid="true"] + .float__label { color: var(--error); }
.float--select .float__input { padding-top: 1.2rem; }

.check { display: inline-flex; align-items: center; gap: 0.7rem; min-height: 2.75rem; font-size: 1.05rem; color: var(--ink); cursor: pointer; }
.check input { width: 1.35rem; height: 1.35rem; margin: 0; accent-color: var(--green-btn); cursor: pointer; }

/* Account pages: sign in, create account, forgot password (Figma "Login") */
.auth { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(4rem, 8vw, 6.5rem); }
.auth__layout { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 62rem) { .auth__layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 3vw, 2.5rem); } }
.auth__card { max-width: 44rem; margin-inline: auto; padding: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 7vw, 4.75rem) clamp(2rem, 5vw, 3.5rem); background: var(--surface); border: 1px solid var(--sky); border-radius: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-auth); }
.auth__layout .auth__card { width: 100%; margin-inline: 0; }
.auth__title { margin-bottom: clamp(1.75rem, 4vw, 2.5rem); font-size: 1.5rem; font-weight: 700; line-height: 1.3; text-align: center; color: var(--heading-accent); }
.auth__intro { margin-bottom: 1.75rem; }
.auth__form { gap: 1.5rem; }
.auth__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1rem; margin-top: -0.35rem; }
.auth__row a { font-size: 1.05rem; text-decoration: none; }
.auth__row a:hover { text-decoration: underline; }
.auth__form .btn { min-height: 3rem; margin-top: 0.75rem; font-size: 1rem; }
.auth__form--grid .btn { margin-top: 0.25rem; }
@media (min-width: 40rem) {
  .auth__form--grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; }
  .auth__form--grid .field--full { grid-column: 1 / -1; }
}
.auth__foot { margin: 1.75rem 0 0; text-align: center; font-weight: 600; }
.auth__foot a { text-decoration: none; }
.auth__foot a:hover { text-decoration: underline; }

.auth__aside { text-align: center; }
.auth__aside h2 { font-size: clamp(1.8rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.05; color: var(--heading-accent); }
.auth__aside h2::after { display: none !important; }
.auth__aside p { margin: 1.25rem 0 0; }
.auth__aside img { width: min(100%, 31.25rem); margin: clamp(1.75rem, 4vw, 2.75rem) auto 0; }
@media (max-width: 61.99rem) { .auth__aside img { width: min(100%, 22rem); } }

/* 15. Footer --------------------------------------------------------------- */
.site-footer { position: relative; isolation: isolate; padding-block: clamp(2.5rem, 5vw, 4rem) calc(var(--wave-h) * 1.5); color: var(--text); background: var(--foot); }
.site-footer::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; height: calc(var(--wave-h) * 2.2); background: var(--wave-foot) no-repeat center bottom / 100% 100%; }
.site-footer__grid { display: grid; gap: 2.5rem 3rem; padding-bottom: 2.5rem; }
@media (max-width: 51.99rem) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
/* One column per link list, however many there are, so a hidden list leaves no gap. */
@media (min-width: 52rem) { .site-footer__grid { grid-template-columns: minmax(0, 2fr); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }
.site-footer__brand img { height: 2.35rem; width: auto; }
.site-footer__brand p { max-width: 20rem; margin-top: 1.25rem; font-size: 0.95rem; color: var(--muted); }
.site-footer h3 { margin-bottom: 0.9rem; font-size: 1rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--heading-accent); }
.site-footer ul { list-style: none; }
.site-footer li + li { margin-top: 0.2rem; }
.site-footer li a { display: inline-block; padding: 0.3rem 0; font-weight: 400; color: var(--muted); text-decoration: none; transition: color 0.2s, transform 0.2s var(--ease); }
.site-footer li a:hover { color: var(--link); transform: translateX(2px); }
.site-footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding-top: 1.75rem; border-top: 1px solid var(--rule-strong); }
.site-footer__base .btn { background: var(--sky-btn); box-shadow: none; }
.site-footer__base .btn:hover { background: var(--navy); }
.copyright { margin: 0; font-size: 0.92rem; color: var(--ink); }
.copyright a { color: var(--link); font-weight: 600; letter-spacing: 0.02em; }

/* 16. Utilities & motion --------------------------------------------------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media print { .site-header, .subscribe, .site-footer, .cta { display: none; } .hero, .page-head { margin-top: 0; } }

/* Small helpers used by the blog and about pages */
.post-row .post-row__meta { flex-direction: column; align-items: flex-start; }
.post-featured .btn { justify-self: start; }
.article__next { font-size: 1.35rem; font-weight: 700; line-height: 1.3; color: var(--ink); text-decoration: none; }
.article__next:hover { color: var(--heading-accent); }
.article__back { margin-top: 2rem; }
.link-light { color: var(--link); }
.link-light:hover { color: var(--heading-accent); }
