/* =========================================================
   NeuroSentio – landing page styles
   ========================================================= */

:root {
  --teal: #0a9d94;
  --teal-dark: #077b75;
  --teal-btn: #07807a;       /* text-bearing buttons: white text passes 4.5:1 */
  --teal-btn-hover: #066560;
  --teal-deep: #0b4a50;
  --ink: #14323a;
  --text: #4f666c;
  --muted: #5b7076;
  --line: #e3ecec;
  --mint: #e8f7f5;
  --peach: #fff3ea;
  --sky: #eef2fd;
  --lilac: #f4eefd;
  --white: #fff;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1320px;
  --gutter: clamp(24px, 4.5vw, 72px);   /* side space grows gently with the screen */
  --radius: 16px;
  --header-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }  /* lets width/height attributes reserve space without stretching images */
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* Shared icon style (stroke icons from the sprite) */
.icon {
  width: 1.25em; height: 1.25em;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

/* ---------- Type ---------- */
h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
h1 { font-weight: 600; letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); }
h3 { font-size: 1.05rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
/* Cleaner line breaks: balanced headings, no one-word last lines in paragraphs */
h1, h2, h3 { text-wrap: balance; }
p, blockquote { text-wrap: pretty; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.eyebrow {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 14px;
}
.eyebrow-muted { color: var(--muted); }
.eyebrow-light { color: #5fe0d4; }

.lead { font-size: 1.0625rem; color: var(--text); max-width: 60ch; }

.section { padding: 88px 0; }
.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 18px auto 0; max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; line-height: 1;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-solid { background: var(--teal-btn); color: #fff; }
.btn-solid:hover { background: var(--teal-btn-hover); }
.btn-outline { border-color: var(--teal); color: var(--teal-dark); background: transparent; padding: 14px 24px; font-size: 0.9rem; }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-sm { padding: 11px 20px; font-size: 0.875rem; }
.btn-lg { padding: 17px 30px; font-size: 0.975rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background-color .25s, box-shadow .25s, color .25s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
/* Wide logo images; the white version sits on the hero, the dark version once the header turns white */
.brand-img { display: block; height: 48px; width: auto; max-width: none; }
.brand-img-dark { display: none; }
.site-header.is-scrolled .brand-img-light, .site-header.menu-open .brand-img-light { display: none; }
.site-header.is-scrolled .brand-img-dark, .site-header.menu-open .brand-img-dark { display: block; }
/* SVG shield + text, shown only if the logo images are missing */
.brand-fallback { display: none; align-items: center; gap: 10px; }
.brand.no-img .brand-fallback { display: inline-flex; }
.brand.no-img .brand-img { display: none !important; }
.brand-mark { width: 30px; height: 33px; color: #5fe0d4; transition: color .25s; }
.site-header.is-scrolled .brand-mark { color: var(--teal); }
.brand-name { font-family: var(--sans); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }

.nav ul { display: flex; gap: 34px; }
.nav a { font-size: 0.9rem; font-weight: 500; opacity: .9; padding: 8px 0; position: relative; }
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: #5fe0d4; transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.site-header.is-scrolled .nav ul a::after { background: var(--teal); }
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.nav .nav-cta-mobile { padding: 13px 24px; opacity: 1; }  /* beats the generic ".nav a" padding */

.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; color: inherit; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle span + span { margin-top: 5px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 580px;
  display: flex;
  color: #fff;
  background: linear-gradient(120deg, #0d2f33 0%, #17575a 55%, #3a7f77 100%);
  overflow: hidden;
}
.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media { z-index: -1; }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 24, 28, .82) 0%, rgba(8, 24, 28, .5) 42%, rgba(8, 24, 28, .08) 75%),
    linear-gradient(0deg, rgba(8, 24, 28, .55) 0%, rgba(8, 24, 28, 0) 35%),
    linear-gradient(180deg, rgba(8, 24, 28, .55) 0%, rgba(8, 24, 28, 0) 22%);
}
.hero-inner {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 64px) 0 32px;
  gap: 56px;
}
.hero-copy { max-width: 520px; }
.hero h1 { color: #fff; font-size: clamp(2.75rem, 2rem + 3.6vw, 4.25rem); line-height: 1.02; margin-bottom: 22px; }
.hero-lead { font-size: 1.0625rem; max-width: 44ch; color: rgba(255, 255, 255, .92); margin-bottom: 28px; }

/* Store badges */
.store-row { display: flex; flex-wrap: wrap; gap: 14px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 10px; padding: 8px 18px 8px 14px;
  transition: transform .2s, border-color .2s;
}
.store:hover { transform: translateY(-2px); border-color: #fff; }
.store-ico { width: 28px; height: 28px; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 0.6875rem; letter-spacing: .02em; }
.store strong { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }

/* Trust row */
.trust { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust li { display: flex; align-items: center; gap: 14px; font-size: 0.8125rem; line-height: 1.4; }
.trust-ico {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px);
  color: #aef2ea;
}
.trust-ico .icon { width: 24px; height: 24px; }

/* ---------- Why ---------- */
.why { padding-bottom: 72px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.why-grid li { padding: 4px 28px; border-left: 1px solid var(--line); }
.why-grid li:first-child { border-left: 0; padding-left: 0; }
.why-grid li:last-child { padding-right: 0; }
.disc {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mint); color: var(--teal);
  margin-bottom: 18px;
}
.disc .icon { width: 28px; height: 28px; }
.why-grid h3 { margin-bottom: 6px; }
.why-grid p { font-size: 0.9rem; color: var(--muted); max-width: 22ch; }

/* ---------- Tools ---------- */
.tools { background: linear-gradient(180deg, #f8fcfc 0%, #fff 100%); padding-top: 72px; }
.tools-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.tools-copy h2 { margin-bottom: 20px; max-width: 14ch; }
.tools-copy .lead { margin-bottom: 30px; max-width: 40ch; }

.tool-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tool-card {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 28px 24px 28px; border-radius: 18px;
  background: linear-gradient(160deg, #ffffff 0%, #eef9f6 100%);
  border: 1px solid #d6ece8;
  box-shadow: 0 1px 2px rgba(20, 50, 58, .04);
  transition: border-color .25s, box-shadow .25s, transform .25s;
  --card-a: #0a9d94; --card-b: #5fe0c4;
}
/* Four shades of the brand teal, one per card (harmonious, not rainbow) */
.tool-card:nth-child(4n + 2) { --card-a: #12876f; --card-b: #6fd6a8; }
.tool-card:nth-child(4n + 3) { --card-a: #0b5d66; --card-b: #2bb3a8; }
.tool-card:nth-child(4n + 4) { --card-a: #16a39a; --card-b: #8fe6d2; }
/* Accent line along the top */
.tool-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--card-a), var(--card-b) 70%, rgba(126, 232, 192, 0));
}
/* Soft dot pattern fading in from the top-right corner */
.tool-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(10, 157, 148, .34) 1.3px, transparent 1.7px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 100% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 75% at 100% 0%, #000 0%, transparent 70%);
}
.tool-card:hover { transform: translateY(-3px); border-color: #b7e0d9; box-shadow: 0 20px 36px -24px rgba(11, 74, 80, .5); }
.tool-card h3 { margin: 18px 0 6px; }
.tool-card p { font-size: 0.875rem; color: var(--muted); }
/* Icon tiles: rich teal gradient with a white icon */
.tool-ico {
  width: 50px; height: 50px; padding: 13px; border-radius: 15px;
  background: linear-gradient(140deg, var(--card-a) 0%, var(--card-b) 140%);
  color: #fff; stroke-width: 1.9;
  box-shadow: 0 10px 18px -10px var(--card-a), inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* ---------- Core features / phones ---------- */
.core { padding-top: 56px; }
.phone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.phone-item { text-align: center; }
.phone-item h3 { margin: 22px 0 6px; font-size: 1.05rem; }
.phone-item > p { font-size: 0.875rem; color: var(--muted); max-width: 24ch; margin-inline: auto; }

.phone {
  width: 100%; max-width: 230px; margin-inline: auto;
  background: #0f1417;
  border-radius: 30px;
  padding: 6px;
  box-shadow: 0 18px 40px -18px rgba(20, 50, 58, .45);
}
/* Screenshots are 720x1600; the top 80px (status bar) is cropped with CSS only */
.phone img {
  width: 100%; height: auto;
  aspect-ratio: 720 / 1520;
  object-fit: cover; object-position: center bottom;
  border-radius: 24px;
  background: #fff;
}

/* ---------- About ---------- */
.about { padding-top: 40px; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.about-media {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #cfe9e5 0%, #e9f4ef 50%, #f6e8d9 100%);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { margin-bottom: 16px; }
.about-copy > p:not(.eyebrow) { font-size: 0.95rem; max-width: 52ch; margin-bottom: 24px; }

/* ---------- Mission (copy + card) ---------- */
.mission { padding-top: 24px; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mission-copy h2 { margin-bottom: 18px; max-width: 14ch; }
.mission-copy > p:not(.eyebrow) { font-size: 0.975rem; max-width: 52ch; }
.mission-card {
  background: var(--mint); border: 1px solid #d3ece8;
  border-radius: 28px; padding: 12px 36px;
}
.mission-card li { display: flex; align-items: flex-start; gap: 20px; padding: 26px 0; }
.mission-card li + li { border-top: 1px solid #cfe7e3; }
.mission-ico {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: #fff; color: var(--teal);
}
.mission-ico .icon { width: 24px; height: 24px; }
.mission-card h3 { margin-bottom: 4px; }
.mission-card p { font-size: 0.9rem; color: var(--text); }

/* ---------- Testimonials ---------- */
.testimonials { padding-top: 40px; padding-bottom: 56px; }
.t-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.t-head h2 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.4rem); margin-bottom: 6px; }
.t-head .lead { font-size: 0.95rem; color: var(--muted); }
.t-controls { display: flex; gap: 12px; }
.t-controls[hidden] { display: none; }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--teal-dark); border: 1px solid var(--line);
  transition: background-color .2s, color .2s, border-color .2s, opacity .2s;
}
.round-btn:hover:not(:disabled) { background: var(--teal); color: #fff; border-color: var(--teal); }
.round-btn:disabled { opacity: .4; cursor: not-allowed; }

.t-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px 2px 18px;
}
.t-track::-webkit-scrollbar { display: none; }
.t-card {
  scroll-snap-align: start;
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px -20px rgba(20, 50, 58, .35);
  padding: 26px 26px 22px;
}
.t-card blockquote { display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; }
.qmark { grid-row: 1 / span 2; font-family: var(--serif); font-size: 3rem; line-height: .8; color: var(--teal); }
.t-card p { font-size: 0.9rem; color: var(--text); margin-bottom: 14px; }
.t-card footer { font-size: 0.8rem; color: var(--muted); }

/* ---------- Download banner ---------- */
.download { padding: 0 0 72px; }
.download-box {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px;
  background: var(--mint); border: 1px solid #d3ece8; border-radius: 28px;
  padding: 48px 56px;
}
.download h2 { margin-bottom: 14px; }
.download-copy > p:not(.eyebrow) { font-size: 1rem; max-width: 44ch; margin-bottom: 28px; }
.download .store { border-color: transparent; }
/* AppIcon.png is already a rounded, transparent icon: the shadow follows its shape */
.app-icon { display: grid; place-items: center; width: 210px; height: 210px; flex: none; }
.app-icon img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 22px 22px rgba(11, 74, 80, .32)) drop-shadow(0 4px 8px rgba(11, 74, 80, .18));
}
.app-icon svg { display: none; }
.app-icon.no-img { border-radius: 48px; background: #0f3d43; color: #5fe0d4; box-shadow: 0 24px 48px -18px rgba(11, 74, 80, .45); }
.app-icon.no-img svg { display: block; width: 50%; height: 50%; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 52px 0 28px; font-size: 0.85rem; color: var(--text);
  background: linear-gradient(180deg, #f6fcfb 0%, #e4f5f2 100%);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--teal), #7ee8c0 60%, rgba(126, 232, 192, 0)) 1;
}
/* soft dot pattern that fades out towards the left and the bottom */
.site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(10, 157, 148, .32) 1.5px, transparent 2px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 80% 140% at 100% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 140% at 100% 0%, #000 0%, transparent 75%);
}
.footer-bottom { border-top: 1px solid rgba(10, 157, 148, .15); padding-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 28px; }
.brand-dark { color: var(--ink); flex-direction: column; align-items: flex-start; gap: 4px; }
.brand-dark .brand-img { height: 64px; }
.brand-dark .brand-mark { color: var(--teal); width: 38px; height: 42px; }
.brand-dark small { display: block; font-size: .75rem; color: var(--text); font-weight: 400; margin-top: 2px; }
.brand-dark .brand-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.footer-col h3 { font-size: .8rem; margin-bottom: 14px; }
.footer-col li + li { margin-top: 8px; }
.footer-col a { color: var(--text); transition: color .2s; }
.footer-col a:hover { color: var(--teal-dark); }
.mail { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.mail .icon { color: var(--teal); }
.socials { display: flex; gap: 10px; }
/* Social buttons (footer + contact page): same teal round style for every network */
.social-link {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal-dark); color: #fff;
  transition: background-color .2s, transform .2s;
}
.social-link:hover { background: var(--teal-btn-hover); transform: translateY(-2px); }
.social-link .icon { width: 18px; height: 18px; }
.footer-col .social-link, .footer-col .social-link:hover { color: #fff; }  /* beats the grey ".footer-col a" link colour */
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .75rem; color: var(--text); }

/* =========================================================
   Inner pages (About)
   ========================================================= */
.section.tight { padding: 28px 0; }

/* Hero */
.page-hero { padding: calc(var(--header-h) + 40px) 0 40px; }
.ph-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.ph-copy h1 { font-size: clamp(2.5rem, 1.8rem + 2.6vw, 3.5rem); line-height: 1.05; margin-bottom: 20px; max-width: 16ch; }
.ph-copy .lead { margin-bottom: 28px; max-width: 44ch; }
.ph-media {
  position: relative; isolation: isolate; aspect-ratio: 4 / 3; border-radius: 24px;
  background: linear-gradient(135deg, #cfe9e5 0%, #e9f4ef 50%, #f6e8d9 100%);
}
.ph-media::before {
  content: ""; position: absolute; z-index: -1; left: -28px; top: 28px;
  width: 40%; height: 78%; border-radius: 24px; background: var(--mint);
}
.ph-media img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.ph-sprout { position: absolute; right: -16px; bottom: 36px; width: 46px; height: 46px; color: var(--teal); }
.ph-sprout .icon { width: 100%; height: 100%; stroke-width: 1.4; }

/* Image + copy panels (mission, story) */
.panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  background: var(--mint); border-radius: 28px; padding: 28px;
}
.panel-soft { background: linear-gradient(135deg, #f6fbfb 0%, #eaf7f5 100%); border: 1px solid #e1f0ee; }
.panel-media {
  aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, #cfe9e5 0%, #e9f4ef 50%, #f6e8d9 100%);
}
.panel-media img { width: 100%; height: 100%; object-fit: cover; }
.panel-media-logo { display: grid; place-items: center; background: linear-gradient(135deg, #dff3ef 0%, #f6fbfb 100%); }
.panel-media-logo img {
  width: min(52%, 280px); height: auto; aspect-ratio: 1; object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(11, 74, 80, .22));
}
.panel-copy { position: relative; padding: 12px 20px 12px 0; }
.panel-copy h2 { margin-bottom: 16px; }
.panel-copy > p:not(.eyebrow) { font-size: 0.975rem; max-width: 54ch; margin-bottom: 24px; }
.spark { position: absolute; top: 0; right: 12px; width: 44px; height: 44px; }
.spark::before, .spark::after { content: ""; position: absolute; height: 2px; border-radius: 2px; background: var(--teal); }
.spark::before { width: 20px; left: 2px; top: 6px; transform: rotate(-38deg); }
.spark::after { width: 24px; right: 0; top: 30px; }

/* Values */
.values { padding-top: 56px; }
.values .section-head { margin-bottom: 40px; }
.values .lead { margin-top: 14px; max-width: 52ch; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.values-grid li { padding: 4px 24px; border-left: 1px solid var(--line); text-align: center; }
.values-grid li:first-child { border-left: 0; }
.values-grid .disc { margin-inline: auto; }
.values-grid h3 { margin-bottom: 6px; }
.values-grid p { font-size: 0.9rem; color: var(--muted); max-width: 22ch; margin-inline: auto; }

/* A more inclusive workplace */
.approach { padding-top: 56px; }
.approach-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.approach-copy h2 { margin-bottom: 18px; max-width: 22ch; }
.approach-copy .lead { margin-bottom: 28px; max-width: 46ch; }
/* =========================================================
   Contact page
   ========================================================= */
.contact-intro { padding: calc(var(--header-h) + 56px) 0 36px; }
.contact-intro h1 { font-size: clamp(2.6rem, 1.8rem + 3vw, 3.75rem); line-height: 1.05; margin-bottom: 20px; }
.contact-intro .lead { max-width: 46ch; }
.contact-main { padding-bottom: 88px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch; }
.contact-card {
  background: linear-gradient(135deg, #f6fbfb 0%, #eaf7f5 100%);
  border: 1px solid #e1f0ee; border-radius: 28px; padding: 36px;
}
.contact-card h2 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.15rem); margin-bottom: 24px; }

/* Form */
.contact-form { display: grid; gap: 20px; }
.field label { display: block; font-size: 0.9rem; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.field label span { color: var(--teal-dark); }
.field input, .field select, .field textarea {
  display: block; width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid #cfe3e1; border-radius: 14px; padding: 14px 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--teal); outline-offset: 2px; border-color: var(--teal);
}
.field [aria-invalid="true"] { border-color: #b3261e; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer; }
.select-wrap select:invalid { color: var(--muted); }
.select-wrap .icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.field-error { color: #b3261e; font-size: 0.8125rem; margin-top: 6px; }
.field-error[hidden], .form-status[hidden] { display: none; }
.form-status.is-error { color: #8a1c14; background: #fdecea; }
.form-status a { text-decoration: underline; font-weight: 600; }
.contact-form .btn { justify-self: start; margin-top: 6px; }
.form-status { font-size: 0.9rem; color: var(--teal-dark); background: var(--mint); border-radius: 12px; padding: 12px 16px; }

/* Contact details */
.contact-info-card { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 0; }
.info-list { display: grid; gap: 22px; }
.info-list li { display: flex; align-items: center; gap: 18px; }
.info-ico {
  width: 52px; height: 52px; border-radius: 16px; flex: none;
  display: grid; place-items: center; background: var(--mint); color: var(--teal);
}
.info-ico .icon { width: 26px; height: 26px; }
.info-list h3 { font-size: 0.95rem; margin-bottom: 2px; }
.info-list a { color: var(--teal-dark); font-size: 0.95rem; overflow-wrap: anywhere; }
.info-list a:hover { text-decoration: underline; }
.info-list p { color: var(--muted); font-size: 0.95rem; }
.follow { margin-top: 28px; padding-top: 24px; border-top: 1px solid #d3e6e3; margin-bottom: 28px; }
.follow h3 { margin-bottom: 14px; }
.follow-links { display: flex; gap: 12px; }
.follow-links .social-link { width: 42px; height: 42px; }
/* Photo fades in from the card colour and is cut off at the bottom edge */
.info-media {
  position: relative; flex: 1; min-height: 250px; margin: auto -36px 0;
  background: linear-gradient(180deg, rgba(234, 247, 245, 0) 0%, #d6ece8 100%);
}
.info-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 45%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 45%);
}
/* =========================================================
   Features page
   ========================================================= */
.ph-media-plain::before { display: none; }
.ph-media-icon { display: grid; place-items: center; background: linear-gradient(135deg, #e8f7f5 0%, #f6fbfb 100%); }
.ph-media-icon img {
  width: min(58%, 340px); height: auto; aspect-ratio: 1; border-radius: 0; object-fit: contain;
  filter: drop-shadow(0 26px 24px rgba(11, 74, 80, .30)) drop-shadow(0 6px 10px rgba(11, 74, 80, .16));
}
.feature-tools { padding-top: 24px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 36px; }
.feature-grid li { padding: 4px 24px; border-left: 1px solid var(--line); text-align: center; }
.feature-grid li:nth-child(4n + 1) { border-left: 0; }
.feature-grid .disc { margin-inline: auto; }
.feature-grid h3 { margin-bottom: 6px; }
.feature-grid p { font-size: 0.9rem; color: var(--muted); max-width: 24ch; margin-inline: auto; }
.life { padding-top: 40px; }
.life-media {
  aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, #cfe9e5 0%, #e9f4ef 50%, #f6e8d9 100%);
}
.life-media img { width: 100%; height: 100%; object-fit: cover; }
/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .phone-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
  .tools-grid { grid-template-columns: 1fr; gap: 40px; }
  .tools-copy h2 { max-width: 18ch; }
  .download-box { padding: 40px; }
}

@media (max-width: 860px) {
  /* mobile nav */
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; color: var(--ink);
    padding: 12px var(--gutter) 24px;
    box-shadow: 0 18px 30px -18px rgba(20, 50, 58, .35);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .nav ul a.is-active { color: var(--teal-dark); }
  .nav-cta-mobile { display: inline-flex; margin-top: 18px; }
  .site-header.menu-open { background: #fff; color: var(--ink); }
  .site-header.menu-open .brand-mark { color: var(--teal); }

  .why-grid { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .why-grid li:nth-child(3) { border-left: 0; padding-left: 0; }
  .about-grid, .mission-grid, .ph-grid, .panel, .approach-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .panel { gap: 28px; }
  .panel-copy { padding: 4px 8px 12px; }
  .ph-media::before { left: -12px; }
  .ph-sprout { right: -8px; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .values-grid li:nth-child(3) { border-left: 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid li:nth-child(n) { border-left: 1px solid var(--line); }
  .feature-grid li:nth-child(odd) { border-left: 0; }
  .t-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .section { padding: 64px 0; }
  .hero { min-height: 0; }
  .hero-inner { padding-top: calc(var(--header-h) + 40px); gap: 40px; }
  .trust { flex-direction: column; gap: 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid li, .why-grid li:nth-child(3) { border-left: 0; padding: 0; }
  .tool-cards { grid-template-columns: 1fr; }
  .phone-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-intro { padding-top: calc(var(--header-h) + 36px); }
  .contact-card { padding: 24px; border-radius: 22px; }
  .contact-info-card { padding-bottom: 0; }
  .info-media { margin-inline: -24px; min-height: 220px; }
  .info-list li { gap: 14px; }
  .info-ico { width: 44px; height: 44px; border-radius: 14px; }
  .info-ico .icon { width: 22px; height: 22px; }
  .info-list a { font-size: 0.875rem; overflow-wrap: break-word; }
  .contact-form .btn { justify-self: stretch; }
  .values-grid li, .values-grid li:nth-child(3) { border-left: 0; padding: 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 28px 8px; }
  .feature-grid li, .feature-grid li:nth-child(n) { border-left: 0; padding: 0 4px; }
  .feature-grid .disc { width: 56px; height: 56px; margin-bottom: 14px; }
  .feature-grid p { font-size: 0.85rem; }
  .panel { padding: 16px; }
  .mission-card { padding: 4px 22px; }
  .mission-card li { gap: 16px; padding: 22px 0; }
  .t-head { flex-direction: column; align-items: flex-start; }
  .t-track { grid-auto-columns: 88%; }
  .download-box { grid-template-columns: 1fr; gap: 28px; padding: 32px 22px; }
  .app-icon { order: -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* =========================================================
   Mobile polish (phones)
   Mobile-specific photos: see images/mobile/README.txt
   ========================================================= */
@media (max-width: 600px) {
  :root { --header-h: 64px; }

  /* Header + menu: thumb-sized targets, menu scrolls if the screen is short */
  .brand-img { height: 42px; }
  .menu-toggle { padding: 13px; margin-right: -13px; }
  .nav { max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .nav ul a { padding: 16px 0; font-size: 1rem; }

  /* Type + rhythm */
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  h2 { font-size: 1.875rem; }
  .lead { font-size: 1rem; }
  .btn-lg { padding: 16px 26px; }

  /* Home hero: photo on top (fades into the dark panel), text underneath on solid colour */
  .hero { display: block; min-height: 0; background: #0d2f33; }
  .hero-media { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 5; max-height: 480px; width: 100%; }
  .hero-media img { object-position: 74% 20%; }
  .hero-media::after {
    background:
      linear-gradient(0deg, #0d2f33 0%, rgba(13, 47, 51, 0) 42%),
      linear-gradient(180deg, rgba(8, 24, 28, .6) 0%, rgba(8, 24, 28, 0) 24%);
  }
  .hero-inner { padding: 4px 0 40px; gap: 32px; }
  .hero h1 { font-size: 2.6rem; margin-bottom: 16px; }
  .hero-lead { margin-bottom: 24px; }
  .trust { gap: 14px; }
  .trust-ico { width: 44px; height: 44px; }
  .trust-ico .icon { width: 21px; height: 21px; }

  /* Store badges: two across when they fit */
  .store-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .store { justify-content: center; padding: 8px 10px; gap: 8px; }
  .store-ico { width: 26px; height: 26px; }
  .store strong { font-size: 1.05rem; }

  /* Icon grids: two columns instead of one very long list */
  .disc { width: 52px; height: 52px; margin-bottom: 12px; }
  .disc .icon { width: 24px; height: 24px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .why-grid li, .why-grid li:first-child, .why-grid li:nth-child(3), .why-grid li:last-child {
    border: 1px solid #d9ece9; border-radius: 18px; background: #f4fbfa;
    padding: 20px 12px 18px; text-align: center;
  }
  .why-grid .disc { margin-inline: auto; background: #fff; }
  .why-grid p { margin-inline: auto; }
  .why-grid h3, .values-grid h3, .feature-grid h3 { font-size: 0.98rem; }
  .why-grid p { max-width: none; font-size: 0.85rem; line-height: 1.5; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 28px 8px; }
  .values-grid li, .values-grid li:first-child, .values-grid li:nth-child(3) { border-left: 0; padding: 0 4px; }
  .values-grid p { font-size: 0.85rem; }

  .tools-copy { text-align: center; }
  .tools-copy h2, .tools-copy .lead { margin-inline: auto; }
  .tools-copy h2 { max-width: 16ch; }
  .tool-card { padding: 20px 20px 22px; }
  .tool-card h3 { margin: 12px 0 4px; }

  /* App screenshots: swipeable row, next phone peeks in */
  .phone-grid {
    display: flex; gap: 18px; overflow-x: auto;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scroll-padding-inline: var(--gutter);
  }
  .phone-grid::-webkit-scrollbar { display: none; }
  .phone-item { flex: 0 0 66%; scroll-snap-align: start; }
  .phone { max-width: 250px; }
  .phone-item h3 { margin-top: 18px; }

  /* Photo panels (about hero, mission, story, life): one ratio on phones */
  .page-hero { padding: calc(var(--header-h) + 28px) 0 28px; }
  .ph-copy h1 { font-size: 2.4rem; }
  .ph-media, .panel-media, .life-media { aspect-ratio: 5 / 4; }
  .panel { padding: 14px; border-radius: 24px; }
  .panel-media { border-radius: 16px; }
  .panel-copy { padding: 4px 6px 10px; }
  .life-media { border-radius: 20px; }
  .ph-media-icon img { width: min(46%, 190px); }
  .ph-media::before { display: none; }
  .section.tight { padding: 20px 0; }
  .feature-tools, .life, .approach, .values { padding-top: 40px; }

  /* Testimonials */
  .t-card { padding: 22px 20px 20px; }

  /* Download banner: centred stack, smaller icon */
  .download { padding-bottom: 56px; }
  .download-box { text-align: center; padding: 28px 20px 32px; }
  .download-copy > p:not(.eyebrow) { margin-inline: auto; }
  .download .store-row { justify-content: center; }
  .app-icon { width: 148px; height: 148px; margin-inline: auto; }
  .download-copy { padding-top: 8px; }

  /* Footer: compact, links easy to tap */
  .site-footer { padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer-brand, .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col li + li { margin-top: 0; }
  .footer-col li a { display: inline-block; padding: 10px 0; min-width: 44px; }
  .mail { padding: 6px 0; margin-bottom: 8px; }
  .socials .social-link { width: 42px; height: 42px; }
  .footer-bottom { align-items: flex-start; gap: 6px; }
}

/* Very small phones (iPhone SE, Galaxy Fold...) */
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .hero h1 { font-size: 2.3rem; }
  .ph-copy h1 { font-size: 2.1rem; }
  h2 { font-size: 1.7rem; }
  .brand-img { height: 38px; }
  .phone-item { flex-basis: 74%; }
  .store-row { grid-template-columns: 1fr; }
  .contact-card { padding: 18px; }
  .info-media { margin-inline: -18px; }
  .info-list li { gap: 12px; }
  .info-ico { width: 40px; height: 40px; }
  .info-list a { font-size: 0.8rem; overflow-wrap: anywhere; }
}

/* 320px phones: keep full email addresses on one line */
@media (max-width: 340px) {
  .info-list a { font-size: 0.72rem; letter-spacing: -0.01em; }
}

/* =========================================================
   Phones: centre text blocks so every section reads the same way
   ========================================================= */
@media (max-width: 600px) {
  /* Heroes and page intros */
  .hero-copy, .ph-copy, .contact-intro .container { text-align: center; }
  .hero-copy .hero-lead, .ph-copy .lead, .contact-intro .lead { margin-inline: auto; }
  .hero .store-row { max-width: 360px; margin-inline: auto; }
  .trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
  .trust li { flex-direction: column; text-align: center; gap: 8px; font-size: 0.78rem; }
  .ph-copy h1 { margin-inline: auto; }

  /* Section copy next to images / cards */
  .about-copy, .mission-copy, .panel-copy, .approach-copy, .tools-copy { text-align: center; }
  .about-copy h2, .mission-copy h2, .panel-copy h2, .approach-copy h2, .tools-copy h2,
  .about-copy > p, .mission-copy > p, .panel-copy > p, .approach-copy .lead, .tools-copy .lead { margin-inline: auto; }
  .mission-copy h2, .approach-copy h2 { max-width: none; }
  .spark { display: none; }
  .values .section-head, .t-head, .t-head header { text-align: center; }
  .values .lead, .t-head .lead { margin-inline: auto; }
  .t-head { align-items: center; }
  .t-controls { justify-content: center; }

  /* Cards: icon above, text centred */
  .tool-card { text-align: center; }
  .tool-card .tool-ico { margin-inline: auto; }
  .mission-card li { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .info-list li { flex-direction: column; text-align: center; gap: 10px; }
  .contact-card > h2, .follow { text-align: center; }
  .follow-links { justify-content: center; }
  .field label { text-align: left; }

  /* Footer */
  .site-footer { text-align: center; }
  .footer-brand .brand { align-items: center; }
  .footer-col h3 { text-align: center; }
  .mail { justify-content: center; }
  .socials { justify-content: center; }
  .footer-bottom { align-items: center; text-align: center; }
}

@media (max-width: 340px) { .trust li { font-size: 0.72rem; } }
/* Download banner badges: stack when the banner is too narrow for two across */
@media (max-width: 430px) { .download .store-row { grid-template-columns: 1fr; max-width: 260px; margin-inline: auto; } }

/* =========================================================
   Legal pages + FAQs (privacy.html, terms.html, faqs.html)
   ========================================================= */
.legal-intro { padding: calc(var(--header-h) + 56px) 0 40px; background: linear-gradient(180deg, #f6fcfb 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.legal-intro h1 { font-size: clamp(2.4rem, 1.8rem + 2.6vw, 3.5rem); line-height: 1.05; margin-bottom: 16px; }
.legal-intro .lead { max-width: 56ch; }
.legal-intro .lead a { color: var(--teal-dark); text-decoration: underline; }
.legal-meta { margin-top: 14px; font-size: 0.875rem; color: var(--muted); }
.legal-body { padding: 48px 0 88px; }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }

.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
.legal-toc-title { font-size: 0.75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.legal-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 0.875rem; color: var(--text); line-height: 1.4; }
.legal-toc a:hover { color: var(--teal-dark); border-left-color: var(--teal); }

.legal-content { max-width: 74ch; }
.legal-content h2 { font-size: clamp(1.5rem, 1.25rem + .8vw, 1.85rem); margin: 44px 0 14px; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-content h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.legal-content p, .legal-content li { font-size: 1rem; line-height: 1.7; color: var(--text); }
.legal-content p + p { margin-top: 12px; }
.legal-content ul { list-style: disc; padding-left: 1.3em; margin: 10px 0; }
.legal-content li + li { margin-top: 6px; }
.legal-content li::marker { color: var(--teal); }
.legal-content strong { color: var(--ink); }
.legal-content a, .faq-a a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal-callout { background: var(--mint); border: 1px solid #d3ece8; border-radius: 20px; padding: 24px 28px; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-callout h2 { margin-top: 0; font-size: 1.35rem; }
.legal-callout-warn { background: #fff7ed; border-color: #fbd9b4; }
.legal-related { margin-top: 36px !important; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.95rem; }

/* FAQs */
.faq-content { max-width: 80ch; }
.faq-group { margin-bottom: 40px; scroll-margin-top: calc(var(--header-h) + 20px); }
.faq-group h2 { font-size: clamp(1.5rem, 1.25rem + .8vw, 1.85rem); margin-bottom: 14px; }
.faq { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq + .faq { margin-top: 10px; }
.faq[open] { border-color: #bfe3dd; box-shadow: 0 10px 24px -20px rgba(20, 50, 58, .45); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 600; color: var(--ink); font-size: 1rem; line-height: 1.4; border-radius: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23077b75' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--teal-dark); }
.faq-a { padding: 0 22px 20px; }
.faq-a p { line-height: 1.7; }
.faq-cta { margin-top: 12px; padding: 32px; border-radius: 24px; background: var(--mint); border: 1px solid #d3ece8; text-align: center; }
.faq-cta h2 { font-size: 1.6rem; margin-bottom: 8px; }
.faq-cta p { margin: 0 auto 20px; max-width: 46ch; }

/* contact form privacy note */
.form-privacy { font-size: 0.85rem; color: var(--muted); margin-top: -4px; }
.form-privacy a { color: var(--teal-dark); text-decoration: underline; }

@media (max-width: 860px) {
  .legal-grid { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; max-height: none; background: #f6fbfa; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
  .legal-toc ol { columns: 2; column-gap: 20px; border-left: 0; }
  .legal-toc a { padding: 5px 0; margin: 0; border-left: 0; }
}
@media (max-width: 600px) {
  .legal-intro { padding: calc(var(--header-h) + 32px) 0 28px; text-align: center; }
  .legal-intro .lead { margin-inline: auto; }
  .legal-body { padding: 28px 0 56px; }
  .legal-toc ol { columns: 1; }
  .legal-content h2 { margin-top: 34px; }
  .legal-callout { padding: 20px; }
  .faq summary { padding: 16px 18px; }
  .faq-a { padding: 0 18px 18px; }
  .faq-cta { padding: 26px 20px; }
}

/* ---------- About hero: app showcase (phone + floating feature chips) ---------- */
.showcase {
  position: relative; isolation: isolate; overflow: hidden;
  height: 540px; border-radius: 28px;
  display: flex; justify-content: center;
  background: linear-gradient(160deg, #f4fbf9 0%, #e2f4f0 100%);
  border: 1px solid #d6ece8;
}
/* dot pattern, fading out from the top-left */
.showcase::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(circle, rgba(10, 157, 148, .3) 1.4px, transparent 1.8px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 0% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 0% 0%, #000 0%, transparent 75%);
}
.showcase-circle {
  position: absolute; z-index: -1; top: 70px; left: 50%; transform: translateX(-50%);
  width: min(400px, 82%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #7ee8c0 0%, #2bb3a8 45%, #0a8a83 100%);
  box-shadow: 0 30px 60px -30px rgba(11, 74, 80, .6);
}
.showcase-phone { position: relative; max-width: 250px; margin-top: 56px; align-self: flex-start; box-shadow: 0 30px 60px -24px rgba(11, 40, 44, .55); }

.chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .96); border: 1px solid #d6ece8;
  box-shadow: 0 14px 28px -16px rgba(11, 74, 80, .45);
  font-size: 0.85rem; font-weight: 600; color: var(--ink); white-space: nowrap;
  animation: chip-float 6s ease-in-out infinite;
}
.chip b { color: var(--teal); font-weight: 700; }
.chip-ico {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, #0a9d94, #5fe0c4);
}
.chip-ico .icon { width: 16px; height: 16px; stroke-width: 2; }
.chip-1 { top: 64px; left: 5%; }
.chip-2 { top: 46%; right: 4%; animation-delay: -2s; }
.chip-2 .chip-ico { background: linear-gradient(140deg, #0b5d66, #2bb3a8); }
.chip-3 { bottom: 64px; left: 8%; animation-delay: -4s; }
.chip-3 .chip-ico { background: linear-gradient(140deg, #12876f, #6fd6a8); }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .chip { animation: none; } }

@media (max-width: 600px) {
  .showcase { height: 440px; border-radius: 22px; }
  .showcase-circle { top: 92px; width: 78%; }
  .showcase-phone { max-width: 200px; margin-top: 78px; }
  .chip { font-size: 0.75rem; gap: 7px; padding: 6px 11px 6px 6px; }
  .chip-ico { width: 24px; height: 24px; }
  .chip-ico .icon { width: 13px; height: 13px; }
  .chip-1 { top: 22px; left: 4%; }
  .chip-2 { display: none; }
  .chip-3 { top: 22px; right: 4%; bottom: auto; left: auto; }
}
@media (max-width: 380px) {
  .chip-3 { display: none; }
  .chip-1 { left: 0; right: 0; margin-inline: auto; width: max-content; }
}

/* =========================================================
   Home hero: painted "mind ring" background (images/web/hero-art*.jpg)
   ========================================================= */
.hero { min-height: 640px; background: #08171f; }
.hero-media img { object-position: 78% 50%; }
.hero-media::after {
  background:
    linear-gradient(90deg, rgba(6, 20, 28, .6) 0%, rgba(6, 20, 28, .25) 38%, rgba(6, 20, 28, 0) 55%),
    linear-gradient(0deg, rgba(6, 20, 28, .45) 0%, rgba(6, 20, 28, 0) 18%),
    linear-gradient(180deg, rgba(6, 20, 28, .5) 0%, rgba(6, 20, 28, 0) 18%);
}
/* Tablets + phones: artwork on top, text underneath on the same dark colour */
@media (max-width: 1024px) {
  .hero { display: block; min-height: 0; background: #08171f; }
  .hero-media { position: relative; inset: auto; z-index: 0; width: 100%; aspect-ratio: 4 / 3; max-height: 560px; }
  .hero-media img { object-position: 50% 50%; }
  .hero-media::after {
    background:
      linear-gradient(0deg, #08171f 0%, rgba(8, 23, 31, 0) 30%),
      linear-gradient(180deg, rgba(6, 20, 28, .55) 0%, rgba(6, 20, 28, 0) 22%);
  }
  .hero-inner { padding-top: 0; gap: 40px; }
}
@media (max-width: 600px) {
  .hero-media { aspect-ratio: 4 / 3; max-height: none; }
  .hero-media img { object-position: 50% 50%; }
}

/* Hero fills the whole screen (svh = visible height on phones, vh as fallback) */
.hero { min-height: 100vh; min-height: 100svh; }
@media (max-width: 1024px) {
  .hero { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
  .hero-media { flex: none; }
  .hero-inner { flex: 1; justify-content: space-between; }
}
/* Full-height hero on laptops: show the whole artwork on the right instead of zooming it in */
@media (min-width: 1025px) {
  .hero-media img { object-fit: contain; object-position: 100% 50%; }
}
@media (min-width: 1025px) {
  .hero { background: #031018; }  /* same colour as the artwork's edges */
  .hero-media img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  }
}
@media (min-width: 1025px) {
  /* size the picture to the artwork itself so the edge fade lands on the image edges */
  .hero-media picture { display: flex; align-items: center; justify-content: flex-end; }
  .hero-media img { width: 100%; height: auto; max-height: 100%; }
}
/* Phones/tablets: the artwork takes whatever height is left, so there's no empty gap */
@media (max-width: 1024px) {
  .hero-media { flex: 1 1 auto; aspect-ratio: auto; min-height: 260px; max-height: none; }
  .hero-media picture, .hero-media img { height: 100%; }
  .hero-media img { object-fit: cover; object-position: 50% 45%; }
  .hero-inner { flex: none; gap: 32px; }
}
@media (max-width: 1024px) {
  .hero-media picture { position: absolute; inset: 0; }
  .hero-media img { width: 100%; height: 100%; }
}

/* =========================================================
   Home hero: LIGHT artwork (heroo.png) - dark text, dark header
   ========================================================= */
.site-header.on-light { color: var(--ink); }
.site-header.on-light .brand-img-light { display: none; }
.site-header.on-light .brand-img-dark { display: block; }
.site-header.on-light .brand-mark { color: var(--teal); }
.site-header.on-light .nav ul a::after { background: var(--teal); }

.hero.hero-light { color: var(--ink); background: #f3faf7; }
.hero-light h1 { color: var(--ink); }
.hero-light .hero-lead { color: var(--text); }
.hero-light .eyebrow-light { color: var(--teal-dark); }
.hero-light .store { border-color: transparent; box-shadow: 0 10px 22px -14px rgba(11, 40, 44, .55); }
.hero-light .store:hover { border-color: transparent; }
.hero-light .trust li { color: var(--ink); }
.hero-light .trust-ico { background: rgba(255, 255, 255, .85); color: var(--teal-dark); box-shadow: 0 6px 16px -10px rgba(11, 74, 80, .45); backdrop-filter: blur(6px); }

/* Desktop: artwork covers the hero, anchored right; soft light wash behind the text */
@media (min-width: 1025px) {
  .hero.hero-light { background: #f3faf7; }
  .hero-light .hero-media picture { display: block; }
  .hero-light .hero-media img {
    width: 100%; height: 100%; max-height: none;
    object-fit: cover; object-position: 100% 50%;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero-light .hero-media::after {
    content: "";
    background:
      linear-gradient(90deg, rgba(248, 252, 250, .92) 0%, rgba(248, 252, 250, .7) 30%, rgba(248, 252, 250, 0) 50%),
      linear-gradient(0deg, rgba(248, 252, 250, .75) 0%, rgba(248, 252, 250, 0) 20%);
  }
}

/* Tablets + phones: artwork on top (whole picture, no cropping), text underneath */
@media (max-width: 1024px) {
  .hero.hero-light { background: #f6fbf8; }
  .hero-light .hero-media img { object-fit: contain; object-position: 50% 100%; }
  .hero-light .hero-media::after {
    content: "";
    background: linear-gradient(0deg, #f6fbf8 0%, rgba(246, 251, 248, 0) 18%);
  }
  .site-header.on-light.menu-open { background: #fff; }
}
@media (min-width: 1025px) {
  .hero.hero-light { background: #f5faf8; }
  .hero-light .hero-media {
    left: auto; right: 0; width: min(96%, calc(100% - 300px));
    display: block; padding: var(--header-h) 0 0;
  }
  .hero-light .hero-media picture { display: flex; align-items: center; justify-content: flex-end; width: 100%; height: 100%; }
  .hero-light .hero-media img {
    width: 100%; height: auto; max-height: 100%; object-fit: contain; object-position: 100% 50%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%), linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0%, #000 12%), linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-composite: intersect;
  }
  .hero-light .hero-media::after { content: none; }
}
@media (min-width: 1025px) {
  .hero-light .hero-media { width: min(100%, calc(100% - 170px)); }
}
@media (min-width: 1025px) and (max-width: 1300px) {
  .hero-light .hero-media { width: calc(100% - 260px); }
}
@media (min-width: 1025px) {
  .hero-light .hero-media { padding-bottom: 104px; }  /* keep the art above the trust row */
}
@media (max-width: 1024px) {
  .hero-light .hero-media img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 14%);
  }
}
@media (max-width: 1024px) {
  .hero-light .hero-media picture { display: flex; align-items: flex-end; justify-content: center; }
  .hero-light .hero-media img { width: 100%; height: auto; max-height: 100%; object-fit: contain; }
}

/* =========================================================
   App-screen pairs (replace the logo images in "A Closer Look")
   ========================================================= */
.panel-media.screens {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 4 / 3; display: block;
  background: linear-gradient(150deg, #eaf8f5 0%, #d8f0ea 100%);
}
.panel-media.screens::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(circle, rgba(10, 157, 148, .28) 1.3px, transparent 1.7px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 0% 100%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 70% at 0% 100%, #000, transparent 72%);
}
.screens-blob {
  position: absolute; z-index: -1; width: 62%; aspect-ratio: 1; border-radius: 50%;
  left: 50%; top: 54%; transform: translate(-50%, -50%);
  background: radial-gradient(circle at 30% 25%, #8ff0d6 0%, #2bb3a8 50%, #0a8a83 100%);
  opacity: .9;
}
.panel-media.screens .phone { position: absolute; width: 34%; max-width: none; padding: 5px; }
.panel-media.screens .phone img { aspect-ratio: 720 / 1520; height: auto; width: 100%; }
.screens-back  { left: 18%; top: 14%; transform: rotate(-8deg); opacity: .96; }
.screens-front { right: 18%; top: 22%; transform: rotate(6deg); }
.panel-media.screens .phone { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.panel:hover .screens-back  { transform: rotate(-11deg) translate(-8px, -6px); }
.panel:hover .screens-front { transform: rotate(9deg) translate(8px, -10px); }

/* Features hero: three phones fanned out */
.fan { position: relative; isolation: isolate; height: 520px; display: flex; justify-content: center; align-items: flex-end; }
.fan-glow {
  position: absolute; z-index: -1; width: min(440px, 90%); aspect-ratio: 1; border-radius: 50%;
  left: 50%; top: 48%; transform: translate(-50%, -50%);
  background: radial-gradient(circle at 30% 25%, #8ff0d6 0%, #2bb3a8 48%, #0a8a83 100%);
  box-shadow: 0 40px 80px -40px rgba(11, 74, 80, .6);
}
.fan .phone { position: absolute; bottom: 24px; width: 34%; max-width: 230px; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.fan .phone img { aspect-ratio: 720 / 1520; height: auto; }
.fan-center { z-index: 2; bottom: 10px !important; width: 38% !important; max-width: 250px !important; }
.fan-left  { left: 8%;  transform: rotate(-10deg); }
.fan-right { right: 8%; transform: rotate(10deg); }
.fan:hover .fan-left  { transform: rotate(-14deg) translateX(-14px); }
.fan:hover .fan-right { transform: rotate(14deg) translateX(14px); }
.fan:hover .fan-center { transform: translateY(-10px); }
@media (max-width: 600px) {
  .fan { height: 400px; }
  .fan-left { left: 2%; } .fan-right { right: 2%; }
}

/* =========================================================
   Feature ticker (home, under the hero)
   ========================================================= */
.ticker { overflow: hidden; background: var(--teal-dark); color: #fff; padding: 16px 0; }
.ticker-track { display: flex; width: max-content; gap: 48px; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.95rem; white-space: nowrap; letter-spacing: .01em; }
.ticker-item .icon { width: 20px; height: 20px; color: #8ff0d6; }
.ticker-item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f5a01e; margin-left: 36px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================
   Motion: scroll reveals (added by script.js) + hero entrance
   ========================================================= */
.js-anim .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0ms);
}
.js-anim .reveal.reveal-zoom { transform: translateY(18px) scale(.96); }
.js-anim .reveal.in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-copy > *:nth-child(3) { animation-delay: .28s; }
.hero-copy > *:nth-child(4) { animation-delay: .4s; }
.hero .trust li { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero .trust li:nth-child(1) { animation-delay: .55s; }
.hero .trust li:nth-child(2) { animation-delay: .65s; }
.hero .trust li:nth-child(3) { animation-delay: .75s; }
.hero-media img { animation: fade-in 1.3s ease both; }
.ph-copy > *, .contact-intro .container > *, .legal-intro .container > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.ph-copy > *:nth-child(2), .contact-intro .container > *:nth-child(2), .legal-intro .container > *:nth-child(2) { animation-delay: .12s; }
.ph-copy > *:nth-child(3), .contact-intro .container > *:nth-child(3), .legal-intro .container > *:nth-child(3) { animation-delay: .24s; }
.ph-copy > *:nth-child(4), .legal-intro .container > *:nth-child(4) { animation-delay: .36s; }

/* Gentle float for decorative screens */
@keyframes float-y { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.screens-front, .fan-center, .showcase-phone { animation: float-y 7s ease-in-out infinite; }
.screens-back { animation: float-y 7s ease-in-out -3.5s infinite; }

/* =========================================================
   Hover effects
   ========================================================= */
.btn { transition: background-color .2s, color .2s, border-color .2s, transform .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(7, 101, 96, .7); }
.btn .icon { transition: transform .25s; }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

.disc { transition: background-color .3s, color .3s, transform .4s cubic-bezier(.3, 1.5, .5, 1); }
.why-grid li, .values-grid li, .feature-grid li { transition: transform .3s; }
.why-grid li:hover .disc, .values-grid li:hover .disc, .feature-grid li:hover .disc {
  background: var(--teal-dark); color: #fff; transform: translateY(-4px) rotate(-6deg);
}
.why-grid li:hover h3, .values-grid li:hover h3, .feature-grid li:hover h3 { color: var(--teal-dark); }

.phone-item .phone { transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s; }
.phone-item:hover .phone { transform: translateY(-8px) rotate(-1.5deg); box-shadow: 0 30px 50px -24px rgba(11, 40, 44, .55); }
.phone-item h3 { transition: color .2s; }
.phone-item:hover h3 { color: var(--teal-dark); }

.about-media, .panel-media, .life-media { overflow: hidden; }
.about-media img, .panel-media > img, .life-media img, .ph-media img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.about-media:hover img, .panel-media:hover > img, .life-media:hover img, .ph-media:hover img { transform: scale(1.04); }

.t-card { transition: transform .3s, border-color .3s, box-shadow .3s; }
.t-card:hover { transform: translateY(-4px); border-color: #bfe3dd; box-shadow: 0 22px 40px -26px rgba(11, 74, 80, .45); }
.qmark { transition: transform .4s; }
.t-card:hover .qmark { transform: scale(1.15) rotate(-6deg); }

.mission-card li, .info-list li { transition: transform .3s; }
.mission-card li:hover, .info-list li:hover { transform: translateX(4px); }
.mission-ico, .info-ico { transition: background-color .3s, color .3s, transform .4s cubic-bezier(.3, 1.5, .5, 1); }
.mission-card li:hover .mission-ico, .info-list li:hover .info-ico { background: var(--teal-dark); color: #fff; transform: scale(1.08) rotate(-6deg); }

.faq summary::after { transition: transform .25s, background-color .25s; }
.faq:hover { border-color: #bfe3dd; }
.faq:hover summary::after { background-color: #d2f0ea; }

.footer-col li a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .2s, background-size .3s; }
.footer-col li a:hover { background-size: 100% 1px; }

.app-icon img { transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.download-box:hover .app-icon img { transform: rotate(-6deg) scale(1.05); }

.contact-card { transition: box-shadow .3s, border-color .3s; }
.contact-card:hover { border-color: #c7e6e0; box-shadow: 0 24px 50px -34px rgba(11, 74, 80, .45); }

/* Respect people who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
  .hero-copy > *, .hero .trust li, .hero-media img, .ph-copy > *, .contact-intro .container > *, .legal-intro .container > *,
  .screens-front, .screens-back, .fan-center, .showcase-phone, .ticker-track { animation: none; }
  .btn:hover, .t-card:hover, .phone-item:hover .phone { transform: none; }
}
.fan-glow { width: min(520px, 96%); top: 54%; }
.fan .phone { width: 29%; max-width: 205px; }
.fan-center { width: 33% !important; max-width: 228px !important; }
.fan-left { left: 12%; } .fan-right { right: 12%; }
@media (max-width: 600px) { .fan-left { left: 4%; } .fan-right { right: 4%; } }
@media (max-width: 600px) { .fan { height: 360px; } .fan-glow { top: 50%; } }

/* =========================================================
   Home hero v3: centred headline + row of real app phones (Tiimo-style)
   ========================================================= */
.app-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + 48px);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 55% at 50% 100%, #bfeee2 0%, rgba(191, 238, 226, 0) 70%),
    linear-gradient(180deg, #f3fbf9 0%, #e3f6f1 100%);
}
.app-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(10, 157, 148, .22) 1.3px, transparent 1.7px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
}
.app-hero-glow {
  position: absolute; z-index: -1; left: 50%; bottom: -30%; transform: translateX(-50%);
  width: min(1100px, 120vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 179, 168, .35) 0%, rgba(43, 179, 168, 0) 60%);
}
.app-hero-copy { display: flex; flex-direction: column; align-items: center; }
.app-hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); border: 1px solid #cfe9e4;
  color: var(--teal-dark); font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 8px 20px -14px rgba(11, 74, 80, .5);
  margin-bottom: 22px;
}
.app-hero-badge .icon { width: 18px; height: 18px; color: var(--teal); }
.app-hero h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem); font-weight: 600; line-height: 1.04; max-width: 18ch; margin-bottom: 18px; }
.app-hero-lead { font-size: 1.1rem; max-width: 56ch; color: var(--text); margin-bottom: 28px; }
.app-hero .store-row { justify-content: center; }
.app-hero .store { border-color: transparent; box-shadow: 0 12px 24px -14px rgba(11, 40, 44, .6); }

/* the phone row */
.hero-phones {
  flex: 1; position: relative; display: flex; justify-content: center; align-items: flex-end;
  margin-top: 40px; min-height: 340px;
}
.hp { position: relative; margin: 0 -26px; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.hp .phone {
  max-width: none; padding: 7px; border-radius: 40px;
  background: #0f1417; box-shadow: 0 30px 60px -28px rgba(11, 40, 44, .55);
}
.hp .phone::before { /* dynamic island */
  content: ""; position: absolute; z-index: 2; top: 15px; left: 50%; transform: translateX(-50%);
  width: 30%; height: 16px; border-radius: 99px; background: #0f1417;
}
.hp .phone img { border-radius: 33px; aspect-ratio: 720 / 1520; height: auto; }
.hp img.is-dark { filter: invert(1) hue-rotate(180deg) saturate(1.1); background: #fff; }
.hp-1, .hp-5 { width: 210px; z-index: 1; margin-bottom: -150px; }
.hp-2, .hp-4 { width: 236px; z-index: 2; margin-bottom: -110px; }
.hp-3 { width: 270px; z-index: 3; margin-bottom: -70px; }
.hp:hover { transform: translateY(-14px); }

/* pop-up entrance */
@keyframes phone-pop { from { opacity: 0; transform: translateY(140px); } to { opacity: 1; transform: none; } }
@keyframes copy-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.app-hero-copy > * { animation: copy-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.app-hero-copy > :nth-child(2) { animation-delay: .1s; }
.app-hero-copy > :nth-child(3) { animation-delay: .2s; }
.app-hero-copy > :nth-child(4) { animation-delay: .3s; }
.hp { animation: phone-pop 1s cubic-bezier(.2, .8, .2, 1) both; }
.hp-3 { animation-delay: .35s; }
.hp-2, .hp-4 { animation-delay: .5s; }
.hp-1, .hp-5 { animation-delay: .65s; }

@media (max-width: 1024px) {
  .hp-1, .hp-5 { width: 170px; }
  .hp-2, .hp-4 { width: 196px; }
  .hp-3 { width: 226px; }
}
@media (max-width: 760px) {
  .hp-1, .hp-5 { display: none; }
  .hp { margin: 0 -22px; }
  .hp-2, .hp-4 { width: 160px; margin-bottom: -90px; }
  .hp-3 { width: 190px; margin-bottom: -60px; }
  .hero-phones { min-height: 280px; margin-top: 32px; }
}
@media (max-width: 600px) {
  .app-hero { padding-top: calc(var(--header-h) + 28px); }
  .app-hero h1 { font-size: 2.4rem; }
  .app-hero-lead { font-size: 1rem; }
  .app-hero .store-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 360px; }
  .hp-2, .hp-4 { width: 132px; margin-bottom: -80px; }
  .hp-3 { width: 160px; margin-bottom: -50px; }
  .hp .phone { padding: 5px; border-radius: 30px; }
  .hp .phone img { border-radius: 25px; }
  .hp .phone::before { top: 11px; height: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hp, .app-hero-copy > * { animation: none; }
  .hp:hover { transform: none; }
}

/* =========================================================
   Home: about intro (same as the About page's first section)
   ========================================================= */
.about-intro { padding-top: 88px; }
.about-intro .ph-copy h2 { font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.2rem); line-height: 1.05; margin-bottom: 20px; }

/* =========================================================
   Features: dark-mode showcase (replaces the stock photo)
   ========================================================= */
.dark-duo {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: 24px;
  background:
    radial-gradient(ellipse 70% 70% at 70% 30%, rgba(95, 224, 196, .35) 0%, rgba(95, 224, 196, 0) 60%),
    linear-gradient(150deg, #0b3a3f 0%, #082629 100%);
}
.dark-duo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle, rgba(143, 240, 214, .25) 1.3px, transparent 1.7px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 0% 100%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 70% at 0% 100%, #000, transparent 72%);
}
.dark-duo .phone { position: absolute; width: 33%; max-width: none; padding: 5px; background: #000; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .7); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.dark-duo .phone img { aspect-ratio: 720 / 1520; height: auto; filter: invert(1) hue-rotate(180deg) saturate(1.1); background: #fff; }
.dark-duo .duo-a { left: 17%; top: 14%; transform: rotate(-7deg); }
.dark-duo .duo-b { right: 17%; top: 20%; transform: rotate(6deg); }
.dark-duo:hover .duo-a { transform: rotate(-10deg) translate(-8px, -8px); }
.dark-duo:hover .duo-b { transform: rotate(9deg) translate(8px, -10px); }
.duo-tag {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: rgba(255, 255, 255, .12); color: #e8fff9; border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(6px);
}
.app-hero h1 { font-size: clamp(2.4rem, 1.5rem + 2.8vw, 3.7rem); max-width: 22ch; }
.app-hero-badge { margin-bottom: 18px; }
.app-hero-lead { margin-bottom: 24px; }
.hp .phone::before { content: none; }
.hero-phones { margin-top: 28px; }
.hp-1, .hp-5 { margin-bottom: -120px; }
.hp-2, .hp-4 { margin-bottom: -80px; }
.hp-3 { margin-bottom: -40px; }
/* tablets: bigger phones so they fill the tall screen */
@media (min-width: 761px) and (max-width: 1024px) {
  .hp-1, .hp-5 { width: 200px; margin-bottom: -60px; }
  .hp-2, .hp-4 { width: 240px; margin-bottom: -30px; }
  .hp-3 { width: 285px; margin-bottom: 0; }
}
/* short laptop screens: tighter copy so the phones show more */
@media (min-width: 1025px) and (max-height: 760px) {
  .app-hero { padding-top: calc(var(--header-h) + 22px); }
  .app-hero-badge { margin-bottom: 12px; padding: 6px 14px; }
  .app-hero h1 { font-size: clamp(2.2rem, 1.2rem + 2.4vw, 3rem); margin-bottom: 12px; }
  .app-hero-lead { margin-bottom: 18px; font-size: 1rem; }
  .hero-phones { margin-top: 20px; }
  .hp-1, .hp-5 { width: 180px; } .hp-2, .hp-4 { width: 204px; } .hp-3 { width: 232px; }
}
#mission .panel-media { aspect-ratio: 1200 / 794; }
.dark-duo .phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 50px -20px rgba(0, 0, 0, .7); }

/* =========================================================
   Home: "Why" principles cards
   ========================================================= */
.why2 { padding-top: 96px; }
.why-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 30px 26px 30px; border-radius: 22px;
  background: linear-gradient(165deg, #ffffff 0%, #eef9f6 100%);
  border: 1px solid #d6ece8;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s;
  --c1: #0a9d94; --c2: #5fe0c4;
}
.why-card:nth-child(2) { --c1: #12876f; --c2: #6fd6a8; }
.why-card:nth-child(3) { --c1: #0b5d66; --c2: #2bb3a8; }
.why-card:nth-child(4) { --c1: #16a39a; --c2: #8fe6d2; }
.why-card::after { /* big soft circle in the corner */
  content: ""; position: absolute; z-index: -1; right: -60px; top: -60px; width: 170px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--c2) 0%, rgba(255, 255, 255, 0) 70%); opacity: .28; transition: transform .5s, opacity .5s;
}
.why-card:hover { transform: translateY(-6px); border-color: #b7e0d9; box-shadow: 0 26px 46px -30px rgba(11, 74, 80, .55); }
.why-card:hover::after { transform: scale(1.35); opacity: .45; }
.why-ico {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(140deg, var(--c1), var(--c2) 140%); color: #fff;
  box-shadow: 0 12px 22px -12px var(--c1);
  transition: transform .45s cubic-bezier(.3, 1.5, .5, 1);
}
.why-card:hover .why-ico { transform: rotate(-8deg) scale(1.06); }
.why-ico .icon { width: 26px; height: 26px; stroke-width: 1.9; }
.why-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.why-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }

/* =========================================================
   Home: feature stories (alternating phone + narration)
   ========================================================= */
.stories { padding-top: 40px; }
.story {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center;
  margin-bottom: 96px;
}
.story:nth-of-type(even) .story-media { order: 2; }
.story-media {
  position: relative; isolation: isolate; overflow: hidden;
  height: 520px; border-radius: 32px;
  display: flex; justify-content: center; align-items: flex-start;
  --s1: #e3f6f1; --s2: #c6ece3; --glow: #8ff0d6;
  background:
    radial-gradient(circle at 50% 70%, var(--glow) 0%, rgba(143, 240, 214, 0) 55%),
    linear-gradient(160deg, var(--s1) 0%, var(--s2) 100%);
}
.story-media::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle, rgba(10, 157, 148, .25) 1.3px, transparent 1.7px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 0% 0%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 60% at 0% 0%, #000, transparent 72%);
}
.story-media.tone-2 { --s1: #fff6e8; --s2: #ffe3bd; --glow: #ffd28a; }
.story-media.tone-3 { --s1: #eaf3fb; --s2: #cfe3f6; --glow: #a9d4f5; }
.story-media.tone-4 { --s1: #0d3a3f; --s2: #082629; --glow: #1f7f78; }
.story-media.tone-4::before { background-image: radial-gradient(circle, rgba(143, 240, 214, .22) 1.3px, transparent 1.7px); }
.story-media .phone {
  position: relative; width: 270px; max-width: 62%; margin-top: 64px;
  padding: 7px; border-radius: 40px; background: #0f1417;
  box-shadow: 0 40px 70px -30px rgba(11, 40, 44, .6);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.story-media.tone-4 .phone { background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15), 0 40px 70px -30px rgba(0, 0, 0, .8); }
.story-media .phone img { border-radius: 33px; aspect-ratio: 720 / 1520; height: auto; }
.story-media img.is-dark { filter: invert(1) hue-rotate(180deg) saturate(1.1); background: #fff; }
.story:hover .story-media .phone { transform: translateY(-14px) rotate(-1.5deg); }
.story-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px 10px 12px; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 255, 255, .95); color: var(--ink); font-weight: 600; font-size: .9rem;
  box-shadow: 0 16px 30px -18px rgba(11, 40, 44, .55);
  animation: chip-float 6s ease-in-out infinite;
}
.story-chip .icon { width: 18px; height: 18px; color: var(--teal-dark); }
.story-chip-a { left: 6%; top: 42%; }
.story-chip-b { right: 6%; top: 30%; animation-delay: -3s; }
.story-copy { max-width: 480px; }
.story-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--mint);
  color: var(--teal-dark); font-weight: 600; font-size: .85rem;
}
.story-tag .icon { width: 17px; height: 17px; }
.story-copy h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 16px; }
.story-copy > p { font-size: 1.02rem; line-height: 1.7; margin-bottom: 20px; }
.story-points { display: grid; gap: 10px; margin-bottom: 26px; }
.story-points li { position: relative; padding-left: 32px; color: var(--ink); font-weight: 500; }
.story-points li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.story-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal-dark); border-bottom: 2px solid #bfe3dd; padding-bottom: 3px; transition: border-color .2s, gap .25s; }
.story-link:hover { border-color: var(--teal-dark); gap: 12px; }
.story-link .icon { width: 18px; height: 18px; }
.stories-more { display: flex; justify-content: center; margin-top: -24px; }

/* =========================================================
   Home: FAQ block
   ========================================================= */
.home-faq { background: linear-gradient(180deg, #ffffff 0%, #f3faf8 100%); }
.home-faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.home-faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
.home-faq-head h2 { margin-bottom: 16px; }
.home-faq-head .lead { margin-bottom: 26px; max-width: 40ch; }
.home-faq-list .faq + .faq { margin-top: 12px; }

/* =========================================================
   Features page: colourful toolkit cards
   ========================================================= */
.feature-tools { padding-top: 56px; }
.fcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fcard {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 28px 24px 24px; border-radius: 22px;
  background: #fff; border: 1px solid #d6ece8;
  box-shadow: 0 1px 2px rgba(20, 50, 58, .04);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s;
  --c1: #0a9d94; --c2: #5fe0c4; --wash: #eaf8f5;
}
.fcard:nth-child(8n + 2) { --c1: #e08a12; --c2: #ffc76b; --wash: #fff4e3; }
.fcard:nth-child(8n + 3) { --c1: #2f78c4; --c2: #8cc4f2; --wash: #ebf3fc; }
.fcard:nth-child(8n + 4) { --c1: #7a5ad8; --c2: #b9a6f2; --wash: #f2eefc; }
.fcard:nth-child(8n + 5) { --c1: #0b5d66; --c2: #2bb3a8; --wash: #e6f4f3; }
.fcard:nth-child(8n + 6) { --c1: #12876f; --c2: #6fd6a8; --wash: #e9f7f0; }
.fcard:nth-child(8n + 7) { --c1: #c4547a; --c2: #f2a4bf; --wash: #fcedf2; }
.fcard:nth-child(8n + 8) { --c1: #16a39a; --c2: #8fe6d2; --wash: #e8f8f5; }
.fcard::before { /* coloured wash that grows on hover */
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(170deg, var(--wash) 0%, rgba(255, 255, 255, 0) 65%);
  transition: opacity .35s; opacity: .8;
}
.fcard:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 0 0 2px var(--c2), 0 26px 46px -28px rgba(11, 40, 44, .5); }
.fcard:hover::before { opacity: 1; }
.fcard-ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(140deg, var(--c1), var(--c2) 140%); color: #fff;
  box-shadow: 0 12px 22px -12px var(--c1);
  transition: transform .45s cubic-bezier(.3, 1.5, .5, 1);
}
.fcard:hover .fcard-ico { transform: rotate(-8deg) scale(1.07); }
.fcard-ico .icon { width: 25px; height: 25px; stroke-width: 1.9; }
.fcard h3 { font-size: 1.08rem; margin-bottom: 8px; }
.fcard p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; flex: 1; }
.fcard-tag {
  align-self: flex-start; margin-top: 18px; padding: 4px 11px; border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .02em;
  color: var(--c1); background: var(--wash);
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .why-cards, .fcards { grid-template-columns: 1fr 1fr; }
  .story { grid-template-columns: 1fr; gap: 36px; margin-bottom: 72px; }
  .story:nth-of-type(even) .story-media { order: 0; }
  .story-copy { max-width: 640px; }
  .home-faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .home-faq-head { position: static; }
}
@media (max-width: 600px) {
  .why2 { padding-top: 64px; }
  .why-cards { grid-template-columns: 1fr; gap: 14px; }
  .why-card { padding: 24px 22px; text-align: left; }
  .fcards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fcard { padding: 20px 16px 18px; text-align: left; }
  .fcard-ico { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 14px; }
  .fcard p { font-size: .84rem; }
  .story-media { height: 400px; border-radius: 24px; }
  .story-media .phone { width: 210px; margin-top: 48px; padding: 5px; border-radius: 30px; }
  .story-media .phone img { border-radius: 25px; }
  .story-chip { font-size: .78rem; padding: 8px 12px 8px 10px; }
  .story-chip-a { left: 4%; top: auto; bottom: 22px; }
  .story-chip-b { right: 4%; top: 18px; }
  .story-copy, .story-copy h3 { text-align: center; }
  .story-copy { margin-inline: auto; }
  .story-points { justify-items: center; }
  .story-points li { text-align: left; }
  .home-faq-head { text-align: center; }
  .home-faq-head .lead { margin-inline: auto; }
}
@media (max-width: 380px) {
  .fcards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .story-chip { animation: none; }
  .story:hover .story-media .phone, .why-card:hover, .fcard:hover { transform: none; }
}

/* About: values cards (reuse the home principle cards) */
.values .section-head.center .lead { margin-inline: auto; }
.values-cards .why-card { padding-top: 34px; }
.value-num {
  position: absolute; top: 20px; right: 22px;
  font-family: var(--serif); font-size: 2.4rem; font-weight: 600; line-height: 1;
  color: var(--c1); opacity: .14; transition: opacity .35s, transform .35s;
}
.values-cards .why-card:hover .value-num { opacity: .3; transform: translateY(-3px); }
.about-cta { padding-top: 24px; }
/* Features toolkit tags: darker text so every tag passes contrast */
.fcard { --t: #076e69; }
.fcard:nth-child(8n + 2) { --t: #8a4b00; }
.fcard:nth-child(8n + 3) { --t: #1d5591; }
.fcard:nth-child(8n + 4) { --t: #553aa8; }
.fcard:nth-child(8n + 5) { --t: #0b5d66; }
.fcard:nth-child(8n + 6) { --t: #0b6352; }
.fcard:nth-child(8n + 7) { --t: #95334f; }
.fcard:nth-child(8n + 8) { --t: #076e69; }
.fcard-tag { color: var(--t); }
@media (max-width: 600px) {
  .why-card { text-align: center; }
  .why-card .why-ico { margin-inline: auto; }
}

/* About > Our Story: "needs" cloud (Neuro Card style chips instead of a photo) */
.panel-media.needs {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: auto; min-height: 420px;
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
  padding: 36px 32px;
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(95, 224, 196, .35) 0%, rgba(95, 224, 196, 0) 60%),
    linear-gradient(150deg, #0d4248 0%, #082a2e 100%);
}
.panel-media.needs::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle, rgba(143, 240, 214, .22) 1.3px, transparent 1.7px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 0% 100%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 70% at 0% 100%, #000, transparent 72%);
}
.needs-title { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.2; color: #e8fff9; max-width: 22ch; }
.needs-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.nc {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px 9px 11px; border-radius: 999px;
  font-size: .82rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  background: #fff; color: var(--ink);
  box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .6);
  transition: transform .35s cubic-bezier(.3, 1.5, .5, 1);
  animation: nc-in .7s cubic-bezier(.2, .8, .2, 1) both;
}
.nc .icon { width: 17px; height: 17px; }
.nc.c1 { background: #e3f7f2; color: #0b5d57; }
.nc.c2 { background: #fff1d6; color: #7a4a00; }
.nc.c3 { background: #e4effc; color: #1d4f86; }
.nc.c4 { background: #f1ebfd; color: #4f3699; }
.nc.c5 { background: #fde8ee; color: #8f2f4c; }
.nc.c6 { background: #e6f6ec; color: #155f3c; }
.nc:nth-child(odd) { transform: rotate(-1.5deg); }
.nc:nth-child(even) { transform: rotate(1.5deg); }
.panel:hover .nc:nth-child(odd) { transform: rotate(-3deg) translateY(-3px); }
.panel:hover .nc:nth-child(even) { transform: rotate(3deg) translateY(-3px); }
.nc:nth-child(2) { animation-delay: .06s; } .nc:nth-child(3) { animation-delay: .12s; } .nc:nth-child(4) { animation-delay: .18s; }
.nc:nth-child(5) { animation-delay: .24s; } .nc:nth-child(6) { animation-delay: .3s; } .nc:nth-child(7) { animation-delay: .36s; } .nc:nth-child(8) { animation-delay: .42s; }
@keyframes nc-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.needs-foot { display: inline-flex; align-items: center; gap: 8px; color: #9fe9d8; font-weight: 600; font-size: .92rem; }
.needs-foot .icon { width: 18px; height: 18px; color: #f5a01e; }
@media (max-width: 600px) {
  .panel-media.needs { min-height: 0; padding: 26px 20px; gap: 18px; text-align: left; }
  .needs-title { font-size: 1.2rem; }
  .nc { font-size: .72rem; padding: 7px 12px 7px 9px; }
}
@media (prefers-reduced-motion: reduce) { .nc { animation: none; } }
@media (max-width: 600px) {
  .panel-media.needs { text-align: center; align-items: center; }
  .needs-cloud { justify-content: center; gap: 8px; }
  .needs-title { margin-inline: auto; }
  .needs-foot { justify-content: center; }
}

/* =========================================================
   Home hero v4: "unique mind" headline + phone showcase
   ========================================================= */
.mind-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + 40px);
  text-align: center;
  background: linear-gradient(180deg, #f6fdfb 0%, #e6f8f4 55%, #dcf4ef 100%);
}
.mind-hero-copy { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; }
.mind-hero h1 { font-size: clamp(2.6rem, 1.4rem + 3.8vw, 4.6rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; max-width: 16ch; margin-bottom: 18px; }
.mind-hero h1 .hl {
  color: var(--teal-dark);
  background: linear-gradient(120deg, #0a9d94 0%, #12876f 60%, #0b5d66 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.mind-hero-lead { font-size: 1.12rem; max-width: 52ch; color: var(--text); margin-bottom: 28px; }
.mind-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 22px; }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--teal-dark); border-color: #bfe3dd; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; border-color: var(--teal); }
.mind-hero-platforms { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: .92rem; }
.plat-icons { display: flex; gap: 14px; }
.plat-icons a { color: var(--ink); opacity: .75; transition: opacity .2s, transform .2s, color .2s; }
.plat-icons a:hover { opacity: 1; color: var(--teal-dark); transform: translateY(-2px); }
.plat-icons .icon { width: 24px; height: 24px; }
.mind-hero-phones { position: relative; flex: 1; min-height: 300px; margin-top: 20px; }
.mind-hero-phones picture { position: absolute; inset: 0; display: block; }
.mind-hero-phones img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%);
}
@keyframes phones-rise { from { opacity: 0; transform: translateY(80px); } to { opacity: 1; transform: none; } }
.mind-hero-phones img { animation: phones-rise 1.1s cubic-bezier(.2, .8, .2, 1) .25s both; }
.mind-hero-copy > * { animation: copy-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.mind-hero-copy > :nth-child(2) { animation-delay: .1s; }
.mind-hero-copy > :nth-child(3) { animation-delay: .2s; }
.mind-hero-copy > :nth-child(4) { animation-delay: .3s; }
/* very wide screens: don't let the phones get enormous */
@media (min-width: 1700px) { .mind-hero-phones img { object-position: 50% 20%; } }
/* short laptops */
@media (min-width: 761px) and (max-height: 760px) {
  .mind-hero { padding-top: calc(var(--header-h) + 18px); }
  .mind-hero h1 { font-size: clamp(2.2rem, 1.2rem + 2.6vw, 3.3rem); margin-bottom: 12px; }
  .mind-hero-lead { margin-bottom: 18px; font-size: 1rem; }
  .mind-hero-ctas { margin-bottom: 14px; }
  .mind-hero-platforms { flex-direction: row; gap: 12px; }
}
@media (max-width: 600px) {
  .mind-hero { padding-top: calc(var(--header-h) + 26px); }
  .mind-hero h1 { font-size: 2.45rem; }
  .mind-hero-lead { font-size: 1rem; margin-bottom: 22px; }
  .mind-hero-ctas { width: 100%; max-width: 360px; }
  .mind-hero-ctas .btn { flex: 1 1 100%; }
  .mind-hero-phones { min-height: 260px; }
}
@media (prefers-reduced-motion: reduce) { .mind-hero-phones img, .mind-hero-copy > * { animation: none; } }
.mind-hero-phones { margin-top: 0; }
.mind-hero-phones img { object-position: 50% 28%; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%); mask-image: linear-gradient(to bottom, transparent 0%, #000 12%); }

/* Hero v4: store badges + trust line */
.mind-hero-stores { justify-content: center; margin-bottom: 18px; }
.mind-hero .store { border-color: transparent; padding: 10px 22px 10px 16px; box-shadow: 0 14px 26px -14px rgba(11, 40, 44, .65); }
.mind-hero .store-ico { width: 30px; height: 30px; }
.mind-hero .store strong { font-size: 1.25rem; }
.mind-hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.mind-hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.mind-hero-trust span::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--teal-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.mind-hero-copy > :nth-child(3) { animation-delay: .2s; }
.mind-hero-copy > :nth-child(4) { animation-delay: .3s; }
@media (max-width: 600px) {
  .mind-hero .store-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 360px; }
  .mind-hero .store { padding: 8px 10px; justify-content: center; }
  .mind-hero .store strong { font-size: 1.05rem; }
  .mind-hero .store-ico { width: 26px; height: 26px; }
  .mind-hero-trust { font-size: .82rem; gap: 6px 12px; }
}
@media (max-width: 380px) { .mind-hero .store-row { grid-template-columns: 1fr; } }
.mind-hero .app-hero-badge { margin-bottom: 18px; }
.mind-hero h1 { max-width: 18ch; }
.mind-hero-copy > :nth-child(5) { animation-delay: .4s; }
@media (min-width: 761px) and (max-height: 760px) { .mind-hero .app-hero-badge { margin-bottom: 10px; padding: 6px 14px; } }
.mind-hero h1 { max-width: 22ch; font-size: clamp(2.45rem, 1.3rem + 3.1vw, 4.1rem); }
.mind-hero-lead { max-width: 60ch; }
@media (max-width: 600px) { .mind-hero h1 { font-size: 2.3rem; } }
/* Hero v4: show the phones in full (no cropping); hero grows to fit them */
.mind-hero { min-height: 0; }
.mind-hero-phones { flex: none; min-height: 0; margin-top: 8px; }
.mind-hero-phones picture { position: static; display: block; }
.mind-hero-phones img {
  display: block; width: 100%; max-width: 1640px; height: auto; margin-inline: auto;
  object-fit: initial;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%), linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%), linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-composite: intersect;
}
@media (min-width: 1700px) { .mind-hero-phones img { object-position: initial; } }
@media (max-width: 1024px) {
  .mind-hero-phones img { -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%); mask-image: linear-gradient(to bottom, transparent 0%, #000 14%); }
}
/* Hero v4: everything fits in one screen, phones scaled to the space under the buttons */
.mind-hero { height: 100vh; height: 100svh; min-height: 620px; max-height: 1400px; }
.mind-hero h1 { font-size: clamp(2.3rem, 1.2rem + 2.7vw, 3.7rem); margin-bottom: 14px; }
.mind-hero .app-hero-badge { margin-bottom: 14px; }
.mind-hero-lead { margin-bottom: 22px; }
.mind-hero-stores { margin-bottom: 14px; }
.mind-hero-phones { flex: 1 1 0; min-height: 180px; margin-top: 10px; position: relative; }
.mind-hero-phones picture { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-end; }
.mind-hero-phones img {
  width: auto; height: 100%; max-width: 100%; object-fit: contain; object-position: 50% 100%; margin: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%), linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 12%), linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 1024px) {
  .mind-hero-phones img { width: 100%; height: auto; max-height: 100%; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%); mask-image: linear-gradient(to bottom, transparent 0%, #000 14%); }
}
@media (max-width: 600px) { .mind-hero { min-height: 640px; } }
/* Hero v5 (Tiimo-style): big, wide phone row under compact copy; phones run past the fold */
.mind-hero { height: auto; min-height: 0; max-height: none; padding-bottom: 0; }
.mind-hero-phones { flex: none; min-height: 0; margin-top: 26px; position: relative; }
.mind-hero-phones picture { position: static; display: block; }
.mind-hero-phones img {
  display: block; width: min(1520px, 96vw); height: auto; max-width: none; max-height: none; margin: 0 auto;
  object-fit: initial; object-position: initial;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%), linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 10%), linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-composite: intersect;
}
.mind-hero-phones::after { /* soft fade into the next section */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%); pointer-events: none;
}
@media (max-width: 1024px) {
  .mind-hero-phones img { width: 100%; max-width: 100%; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%); mask-image: linear-gradient(to bottom, transparent 0%, #000 12%); }
  .mind-hero-phones::after { height: 60px; }
}
.about-intro .panel-media.needs { min-height: 440px; border-radius: 24px; }
