/* Self-hosted fonts (SIL OFL 1.1; sources and licences in fonts/README.txt). Latin first, latin-ext covers Maltese letters. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/geist-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/geist-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* Dot-matrix numbers: digits and a few symbols only. Used at 20px and larger, never for running text. */
@font-face { font-family: "Doto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/doto-numbers-wght-normal.woff2") format("woff2"); unicode-range: U+0020,U+0025,U+002B,U+002C,U+002E,U+002F,U+0030-003A,U+00B7,U+2013,U+20AC; }

/* ShiftSwipe marketing site. No build step.
   Sea & Limestone: soft (gradient light, frosted glass, blurred photos) or precise (small clean type,
   dot-matrix numbers), nothing in between. Colour only ever appears as gradient light, never a flat fill.
   Rules: docs/BRAND_RESTYLE_PLAN.md. Spacing comes from one scale (--sp-*); one card radius (--r-card);
   every control is a capsule (--r-pill). */

:root {
  /* Neutrals */
  --neutral: #f0f0f0;    /* the page */
  --dark: #0a0a0a;       /* text and dark surfaces */
  --ink: var(--dark);
  --paper: #fff;
  --block: #f8f8f8;      /* a section on the page */
  --muted: #5a5a5a;      /* 6.4:1 on --block */
  --meta: #6b6b6b;       /* tiny grey metadata, 5:1 on --block */
  --line: rgba(10, 10, 10, .08);
  --on-dark: #fff;
  --on-dark-muted: rgba(255, 255, 255, .78);  /* 5.6:1 on the dark end of --cool */

  /* Cool light: calm (hero, why-this-match, the waitlist) */
  --cool-1: #0a1a33; --cool-2: #0e5f78; --cool-3: #5fcfe0; --cool-4: #e6f7fb;
  --cool: linear-gradient(135deg, var(--cool-1) 0%, var(--cool-2) 45%, var(--cool-3) 80%, var(--cool-4) 100%);
  /* Text sits on the dark half only; the light stops glow from a corner, behind glass. */
  --cool-deep:
    radial-gradient(90% 80% at 100% 100%, rgba(95, 207, 224, .55) 0%, rgba(95, 207, 224, 0) 60%),
    radial-gradient(70% 60% at 85% 0%, rgba(14, 95, 120, .9) 0%, rgba(14, 95, 120, 0) 70%),
    linear-gradient(160deg, var(--cool-1) 0%, #0c3550 55%, var(--cool-2) 100%);
  /* Warm light: activity (the primary action) */
  --warm-1: #e8466a; --warm-2: #f08158; --warm-3: #f5b86b; --warm-4: #f8ead0;
  --warm: linear-gradient(120deg, var(--warm-1) 0%, var(--warm-2) 40%, var(--warm-3) 75%, var(--warm-4) 100%);

  /* Frosted glass */
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .8);
  --glass-dark: rgba(10, 26, 51, .5);
  --glass-edge: inset 0 0 0 1px rgba(255, 255, 255, .7);
  --glass-edge-dark: inset 0 0 0 1px rgba(255, 255, 255, .16);
  --glass-blur: saturate(1.6) blur(22px);
  --depth: 0 1px 2px rgba(10, 26, 51, .04), 0 14px 36px -18px rgba(10, 26, 51, .22);

  /* 4px-based spacing scale */
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  --frame: clamp(.5rem, 1.6vw, 1rem);          /* page edge and gap between sections */
  --gutter: clamp(1.25rem, 5vw, 3.5rem);       /* inside a section */
  --section: clamp(3.5rem, 8vw, 7rem);
  --head-gap: clamp(2rem, 5vw, 3.5rem);
  --max: 1200px;
  --nav-h: 72px;

  --r-card: 28px;
  --r-pill: 999px;

  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wordmark: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --number: "Doto", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
[id] { scroll-margin-top: calc(var(--nav-h) + var(--sp-4)); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, a, summary, label { touch-action: manipulation; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

/* Headlines: Geist Light, key words in SemiBold. Emphasis by weight, never colour. */
h1, h2, h3 { font-family: var(--font); font-weight: 300; margin: 0; text-wrap: balance; }
h1 strong, h2 strong, h3 strong, h1 .g, h2 .g { font-weight: 600; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.06; letter-spacing: -0.035em; }
h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: var(--sp-4); }
.lede { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 36rem; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
/* Tiny grey metadata: labels data, never explains the interface */
.meta { font-size: .75rem; font-weight: 500; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: var(--meta); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: var(--sp-4); top: -4rem; background: var(--ink); color: var(--paper); padding: var(--sp-3) var(--sp-5); z-index: 100; border-radius: var(--r-pill); }
.skip-link:focus { top: var(--sp-4); }

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

/* Every section is a rounded block on the grey page, one idea each */
main { display: grid; gap: var(--frame); padding: 0 var(--frame) var(--frame); }
main > section {
  position: relative; isolation: isolate; overflow: clip;
  width: 100%; max-width: 1440px; margin-inline: auto;
  padding-block: var(--section); border-radius: var(--r-card); background: var(--block);
}
.section-head { margin-bottom: var(--head-gap); max-width: 46rem; }
.section-head .lede { margin-top: var(--sp-5); }

/* Dark blocks: the cool light, text on its dark half */
.on-ink, .cool { background: var(--cool-deep); color: var(--on-dark); }
.on-ink .lede, .on-ink p, .cool .lede, .cool > .wrap p { color: var(--on-dark-muted); }
.on-ink h1, .on-ink h2, .on-ink h3, .cool h2 { color: var(--on-dark); }
.on-ink::after, .cool::after, .photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("img/grain.svg"); opacity: .14; mix-blend-mode: overlay;
}
.photo::after { z-index: 1; opacity: .22; }

/* Frosted glass */
.glass {
  background: var(--glass); box-shadow: var(--glass-edge), var(--depth);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}

/* Buttons: capsules. Primary is the warm light with a dark label (white fails contrast on the warm stops). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 52px; padding: 0 var(--sp-6); border-radius: var(--r-pill); border: 0;
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: filter .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--warm); background-size: 140% 100%; color: var(--dark); box-shadow: 0 10px 24px -14px rgba(232, 70, 106, .9); }
.btn-primary:hover { filter: saturate(1.15) brightness(1.03); }
.btn-secondary { background: var(--glass); color: var(--ink); box-shadow: var(--glass-edge), var(--depth); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.btn-secondary:hover { background: var(--glass-strong); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--neutral); }
.on-ink .btn-secondary { background: var(--glass-dark); color: var(--on-dark); box-shadow: var(--glass-edge-dark); }
.btn-link { min-height: 52px; padding: 0; background: none; color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(10, 10, 10, .25); text-underline-offset: .3em; }
.btn-link:hover { text-decoration-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 var(--sp-5); font-size: .9375rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); }

/* Nav: glass over the grey page */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
  background: rgba(240, 240, 240, .72);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.nav .wrap { display: flex; align-items: center; gap: var(--sp-5); height: 100%; width: min(100% - 2 * (var(--gutter) + var(--frame)), var(--max)); }
.nav nav { margin-left: auto; }
.logo { display: inline-flex; align-items: center; gap: var(--sp-3); font-family: var(--wordmark); font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.logo svg { width: 28px; height: 28px; flex: none; }
.nav-links { display: flex; align-items: center; gap: var(--sp-5); list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { display: inline-block; padding: var(--sp-2) 0; color: var(--muted); font-size: .9375rem; white-space: nowrap; text-decoration: none; transition: color .2s var(--ease); }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links .lang { display: flex; gap: var(--sp-3); }
.nav-links .lang a[aria-current] { color: var(--ink); font-weight: 600; }
.nav-audience { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: var(--r-pill); padding: 10px; }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 959px) {
  .nav .wrap { gap: var(--sp-4); }
  .nav nav { margin-left: 0; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: var(--frame); right: var(--frame);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--sp-2) var(--sp-5) var(--sp-5);
    /* Opaque: a blur nested inside the blurred nav bar cannot see the page behind it */
    border-radius: var(--r-card); background: #fafafa; box-shadow: var(--depth);
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn) { display: block; padding: var(--sp-4) 0; font-size: 1.0625rem; color: var(--ink); }
  .nav-links .lang { gap: var(--sp-5); }
  .nav-links .lang a:not(.btn) { display: inline-block; color: var(--muted); }
  .nav-links .lang a[aria-current] { color: var(--ink); }
  .nav-links li:last-child { border-bottom: 0; padding-top: var(--sp-5); }
  .nav-links .btn { display: flex; width: 100%; }
}
@media (max-width: 599px) {
  .nav .audience-nav { display: none; }
  .nav-audience { display: block; padding: var(--sp-4) 0; }
  .nav-audience .audience { display: grid; width: 100%; }
}

/* Audience switch: JS sets html[data-audience]; without JS both audiences stay visible */
html.js[data-audience="individual"] [data-for="business"],
html.js[data-audience="business"] [data-for="individual"] { display: none !important; }
html.is-switching [data-for] { animation: swap-in .28s var(--ease); }
@keyframes swap-in { from { opacity: 0; } }

/* A glass segmented capsule; the selected half is a white capsule (as on iOS) */
.audience {
  position: relative; display: inline-grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 4px;
  border-radius: var(--r-pill); background: rgba(10, 10, 10, .05); box-shadow: inset 0 0 0 1px rgba(10, 10, 10, .04);
}
.audience::before {
  content: ""; position: absolute; inset: 4px auto 4px 4px; width: calc(50% - 4px);
  border-radius: var(--r-pill); background: var(--paper); box-shadow: 0 1px 2px rgba(10, 26, 51, .08), 0 4px 12px -4px rgba(10, 26, 51, .18);
  transition: transform .3s var(--ease);
}
html[data-audience="business"] .audience::before { transform: translateX(100%); }
.audience button {
  position: relative; border: 0; background: transparent; font: inherit; font-size: .9375rem; font-weight: 500; line-height: 1;
  color: var(--muted); cursor: pointer; border-radius: var(--r-pill); white-space: nowrap; padding: 0 var(--sp-4); min-height: 40px;
  transition: color .25s var(--ease);
}
.audience button[aria-pressed="true"] { color: var(--ink); }
.audience button:not([aria-pressed="true"]):hover { color: var(--ink); }
.audience-hero button { min-height: 44px; padding: 0 var(--sp-5); }
html:not(.js) .audience { display: none; }
.audience-nav { transition: opacity .25s var(--ease), visibility .25s; }
html.js:not(.hero-switch-gone) .audience-nav { opacity: 0; visibility: hidden; }
/* From the width where the links appear up to a wide window there is no room for the switch beside them */
@media (min-width: 960px) and (max-width: 1159px) { .nav .audience-nav { display: none; } }

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.status { margin-bottom: var(--sp-5); font-size: .75rem; font-weight: 500; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: var(--meta); }
.hero .audience-hero { display: grid; width: fit-content; margin-bottom: var(--sp-6); }
.hero h1 { max-width: 13ch; }
.hero .lede { margin-top: var(--sp-5); }
.hero .cta-row { margin-top: var(--sp-6); }
.hero-visual { display: flex; justify-content: center; }
@media (max-width: 859px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 15ch; }
}
@media (max-width: 400px) {
  .hero .audience-hero { width: 100%; }
  .audience-hero button { padding: 0 var(--sp-3); font-size: .9375rem; }
}

/* Photos: generated, anonymous, motion-blurred people in a capsule, graded to the cool or warm light.
   Until a photo is approved the block is gradient light only, in the same shape. A photo goes in as
   <img src="img/photo-NAME.jpg" alt="" width height> inside the figure. */
.photo { position: relative; isolation: isolate; margin: 0; overflow: hidden; border-radius: var(--r-pill); aspect-ratio: 5 / 4; background: var(--cool-2); }
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-cool {
  background:
    radial-gradient(28% 34% at 42% 38%, rgba(230, 247, 251, .55), rgba(230, 247, 251, 0) 70%),
    radial-gradient(30% 44% at 58% 72%, rgba(10, 26, 51, .75), rgba(10, 26, 51, 0) 70%),
    radial-gradient(60% 60% at 100% 100%, rgba(95, 207, 224, .9), rgba(95, 207, 224, 0) 70%),
    linear-gradient(150deg, var(--cool-1) 0%, var(--cool-2) 50%, var(--cool-3) 85%, var(--cool-4) 100%);
}
.photo-warm {
  background:
    radial-gradient(28% 34% at 40% 36%, rgba(248, 234, 208, .7), rgba(248, 234, 208, 0) 70%),
    radial-gradient(30% 44% at 60% 72%, rgba(90, 20, 40, .55), rgba(90, 20, 40, 0) 70%),
    radial-gradient(60% 60% at 0% 100%, rgba(232, 70, 106, .85), rgba(232, 70, 106, 0) 70%),
    linear-gradient(150deg, var(--warm-1) 0%, var(--warm-2) 40%, var(--warm-3) 75%, var(--warm-4) 100%);
}
.photo-wide { aspect-ratio: 12 / 5; }
@media (max-width: 599px) { .photo-wide { aspect-ratio: 5 / 4; } }

/* Glass data over a photo */
.hero-photo { position: relative; }
.hero-photo .photo { width: 100%; }
.datum {
  position: absolute; z-index: 2; display: grid; gap: var(--sp-1);
  padding: var(--sp-3) var(--sp-5) var(--sp-3) var(--sp-5); border-radius: var(--r-pill);
  background: var(--glass); box-shadow: var(--glass-edge), var(--depth);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.datum .meta { color: #3d3d3d; }
.datum-value { display: flex; align-items: baseline; gap: var(--sp-2); }
.datum-value .unit { font-size: .8125rem; font-weight: 500; color: #3d3d3d; }
.datum-a { top: 17%; left: 9%; }
.datum-b { right: 8%; bottom: 12%; grid-auto-flow: column; align-items: center; gap: var(--sp-3); }
.datum-b .datum-value { gap: 0; }

/* Dot-matrix numbers (20px and larger only) */
.figure { font-family: var(--number); font-weight: 800; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums; }

/* Stats in round badges */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; list-style: none; }
.stat {
  display: flex; align-items: center; gap: var(--sp-5); min-height: 88px; padding: var(--sp-4) var(--sp-6);
  border-radius: var(--r-pill); background: var(--paper); box-shadow: var(--depth);
}
.stat .figure { flex: none; min-width: 1.6em; }
.stat-label { font-size: .875rem; line-height: 1.35; color: var(--muted); max-width: 14rem; }
@media (max-width: 859px) { .stats { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); } .stat { min-height: 76px; } }

/* Hero phone (Maltese page): a real screenshot in the same frame as the app section */
.device-screen > img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* A heading beside a photo, one idea per section */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-bottom: var(--head-gap); }
.split .section-head { margin-bottom: 0; }
@media (max-width: 859px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* App showcase: real screenshots in a phone frame, swapped as you scroll */
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.show-steps { list-style: none; margin: 0; padding: 0; }
.show-step { display: flex; flex-direction: column; justify-content: center; gap: var(--sp-3); min-height: 70vh; max-width: 26rem; padding-block: var(--sp-6); }
.show-step h3 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 300; line-height: 1.08; letter-spacing: -0.035em; }
.show-step p { color: var(--muted); }
.show-step:first-child { justify-content: flex-start; padding-top: var(--sp-5); }
html.js .show-step h3 { color: #9a9a9a; transition: color .45s var(--ease); }
html.js .show-step.is-active h3 { color: var(--ink); }
.show-inline { display: none; }
.show-device { position: sticky; top: calc(var(--nav-h) + var(--sp-6)); display: flex; justify-content: center; padding-block: var(--sp-5); perspective: 1400px; }
.device { width: min(100%, 300px); padding: 9px; border-radius: 48px; background: var(--dark); box-shadow: 0 40px 80px -40px rgba(10, 26, 51, .45); }
.device-screen { position: relative; width: 100%; aspect-ratio: 720 / 1565; border-radius: 39px; overflow: hidden; background: var(--paper); }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: translate3d(0, 28px, 0) rotateY(-14deg) scale(.96); transform-origin: 50% 50%; transition: opacity .55s var(--ease), transform .8s var(--ease); }
.shot.is-on { opacity: 1; transform: none; }
.shot.is-before { transform: translate3d(0, -28px, 0) rotateY(14deg) scale(.96); }
html:not(.js) .shot { display: none; }
html:not(.js) .show-inline { display: block; }
@media (max-width: 859px) {
  .showcase { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .show-device { display: none; }
  .show-step, .show-step:first-child { min-height: 0; max-width: none; padding-block: var(--sp-6); border-top: 1px solid var(--line); }
  .show-step:first-child { border-top: 0; padding-top: 0; }
  .show-inline { display: block; width: min(100%, 280px); height: auto; margin: var(--sp-5) auto 0; border-radius: 46px; border: 9px solid var(--dark); background: var(--dark); box-shadow: 0 30px 50px -30px rgba(10, 26, 51, .45); }
}

/* Problem and fix: glass cards, two by two */
.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); list-style: none; margin: 0; padding: 0; }
.row { display: grid; align-content: start; gap: var(--sp-3); padding: var(--sp-6); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--depth); }
.row h3 { display: flex; align-items: center; gap: var(--sp-3); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; }
.row h3 svg { box-sizing: content-box; flex: none; width: 16px; height: 16px; padding: 8px; border-radius: 50%; background: var(--neutral); color: var(--ink); }
.row p { color: var(--muted); }
.on-ink .row { background: var(--glass-dark); box-shadow: var(--glass-edge-dark); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.on-ink .row p { color: var(--on-dark-muted); }
.on-ink .row h3 svg { background: rgba(255, 255, 255, .14); color: var(--on-dark); }
.solution-cta { margin-top: var(--head-gap); }
@media (max-width: 759px) { .rows { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); } .row { padding: var(--sp-5); } }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); list-style: none; margin: 0; padding: 0; }
.step { position: relative; overflow: hidden; padding: var(--sp-6); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--depth); }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--cool); transform: scaleX(var(--p, 1)); transform-origin: left; }
.step-n { display: block; margin-bottom: var(--sp-6); font-family: var(--number); font-size: clamp(3rem, 6vw, 4rem); font-weight: 800; line-height: 1; opacity: calc(.2 + var(--p, 1) * .8); }
.step h3 { margin-bottom: var(--sp-3); font-size: 1.375rem; }
.step p { color: var(--muted); max-width: 26rem; }
@media (max-width: 859px) { .steps { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); } .step { padding: var(--sp-5); } .step-n { margin-bottom: var(--sp-4); } }

/* Matching: the cool light, a glass card holding the reasons */
.match-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.match-grid > div > .lede { margin-top: var(--sp-5); }
.feature-list { list-style: none; margin: var(--sp-7) 0 0; padding: 0; }
.feature-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--sp-4); align-items: start; padding-block: var(--sp-4); border-top: 1px solid var(--line); }
.feature-list li:first-child { border-top: 0; padding-top: 0; }
.feature-list svg { box-sizing: content-box; width: 20px; height: 20px; padding: 10px; border-radius: 50%; background: var(--neutral); }
.feature-list strong { display: block; font-weight: 600; }
.feature-list span { color: var(--muted); font-size: .9375rem; }
.cool .feature-list li, .on-ink .feature-list li { border-color: rgba(255, 255, 255, .14); }
.cool .feature-list svg, .on-ink .feature-list svg { background: rgba(255, 255, 255, .14); color: var(--on-dark); }
.cool .feature-list span, .on-ink .feature-list span { color: var(--on-dark-muted); }
.why-card {
  position: sticky; top: calc(var(--nav-h) + var(--sp-5)); padding: var(--sp-6); border-radius: var(--r-card); color: var(--ink);
  background: var(--glass-strong); box-shadow: var(--glass-edge), var(--depth);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.why-card h3 { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); font-size: 1.375rem; color: var(--ink); }
.why-card .match { font-family: var(--number); font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: .02em; }
.why-card .screen-sub { margin-top: var(--sp-2); color: var(--muted); }
.bars { list-style: none; margin: var(--sp-6) 0 var(--sp-5); padding: 0; display: grid; gap: var(--sp-4); }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-2) var(--sp-4); font-size: .9375rem; }
.bars li > span:nth-child(2) { font-variant-numeric: tabular-nums; color: var(--muted); }
.bars .track { grid-column: 1 / -1; height: 6px; border-radius: var(--r-pill); background: rgba(10, 26, 51, .08); overflow: hidden; }
.bars .fill { display: block; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--cool-1), var(--cool-2) 60%, var(--cool-3)); transform: scaleX(var(--v, 1)); transform-origin: left; }
/* Bar widths as classes (a style="" attribute would need CSP unsafe-inline). Missing class = full bar. */
.bars .fill.v50 { --v: .5; }
.bars .fill.v60 { --v: .6; }
.bars .fill.v64 { --v: .64; }
.bars .fill.v71 { --v: .71; }
.bars .fill.v73 { --v: .73; }
.bars .fill.v80 { --v: .8; }
.bars .fill.v90 { --v: .9; }
.bars .fill.v92 { --v: .92; }
.bars .fill.v93 { --v: .93; }
.bars .fill.v95 { --v: .95; }
.bars .fill.v99 { --v: .99; }
html.js .bars .fill { transform: scaleX(0); transition: transform .9s var(--ease); }
html.js .in .bars .fill { transform: scaleX(var(--v, 1)); }
html.js .in .bars li:nth-child(2) .fill { transition-delay: .06s; }
html.js .in .bars li:nth-child(3) .fill { transition-delay: .12s; }
html.js .in .bars li:nth-child(4) .fill { transition-delay: .18s; }
html.js .in .bars li:nth-child(5) .fill { transition-delay: .24s; }
html.js .in .bars li:nth-child(6) .fill { transition-delay: .3s; }
html.js .in .bars li:nth-child(7) .fill { transition-delay: .36s; }
.headsup { padding-top: var(--sp-4); border-top: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }
@media (max-width: 859px) {
  .match-grid { grid-template-columns: minmax(0, 1fr); }
  .why-card { position: static; padding: var(--sp-5); }
}

/* Malta */
.places { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-5); list-style: none; margin: 0; padding: 0; font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1.2; }
.places li { color: #9a9a9a; transition: color .25s var(--ease); cursor: default; }
.places li:hover { color: var(--ink); }
.coverage { margin-top: var(--head-gap); max-width: 38rem; color: var(--muted); }
.coverage strong { color: var(--ink); font-weight: 600; }
.malta-photo { margin-top: var(--head-gap); }

/* FAQ */
.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; display: block; list-style: none; cursor: pointer; padding: var(--sp-5) var(--sp-8) var(--sp-5) 0; font-size: 1.125rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 14px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq .answer { padding: 0 var(--sp-8) var(--sp-6) 0; color: var(--muted); max-width: 42rem; }

/* Waitlist: the final call to action, in the cool light, the form on dark glass */
.waitlist .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.waitlist .lede { margin-top: var(--sp-5); }
.form { display: grid; gap: var(--sp-5); }
.waitlist .form {
  padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-card);
  background: var(--glass-dark); box-shadow: var(--glass-edge-dark), 0 30px 60px -30px rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.form[hidden], .waitlist .form[hidden] { display: none; }
.field { display: grid; gap: var(--sp-2); }
.field label, .fieldset-legend { font-size: .9375rem; font-weight: 500; color: var(--on-dark); }
.field .opt { color: var(--on-dark-muted); font-weight: 400; }
.field input {
  font: inherit; width: 100%; min-height: 52px; padding: 0 var(--sp-5); border-radius: var(--r-pill);
  border: 0; background: rgba(255, 255, 255, .1); box-shadow: var(--glass-edge-dark); color: var(--on-dark);
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:hover { background: rgba(255, 255, 255, .14); }
.field input::placeholder { color: rgba(255, 255, 255, .6); }
.field input:focus-visible { outline: 2px solid var(--on-dark); outline-offset: 2px; border-radius: var(--r-pill); }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--sp-2); }
.fieldset-legend { padding: 0; margin-bottom: var(--sp-2); }
.radio-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.radio-row label {
  display: flex; align-items: center; gap: var(--sp-3); min-height: 52px; padding: var(--sp-3) var(--sp-5); border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1); box-shadow: var(--glass-edge-dark); color: var(--on-dark); cursor: pointer; line-height: 1.3; font-size: .9375rem;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.radio-row label:hover { background: rgba(255, 255, 255, .14); }
.radio-row input { accent-color: var(--cool-2); width: 18px; height: 18px; margin: 0; flex: none; }
.radio-row label:has(input:checked) { background: var(--paper); color: var(--ink); box-shadow: none; }
.radio-row label:has(input:focus-visible) { outline: 2px solid var(--on-dark); outline-offset: 2px; }
.form .btn { justify-self: start; margin-top: var(--sp-2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent label { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: .9375rem; color: var(--on-dark); cursor: pointer; }
.consent input { accent-color: var(--paper); width: 18px; height: 18px; margin: 3px 0 0; flex: none; }
.consent input:focus-visible { outline: 2px solid var(--on-dark); outline-offset: 2px; }
.consent .form-note { margin: var(--sp-2) 0 0 calc(18px + var(--sp-3)); }
.form-note { font-size: .875rem; color: var(--on-dark-muted); }
.form-note a { color: var(--on-dark); }
.form-status { padding: var(--sp-4) var(--sp-5); border-radius: var(--r-card); background: rgba(255, 255, 255, .12); box-shadow: var(--glass-edge-dark); color: var(--on-dark); }
.form-status.error { background: rgba(232, 70, 106, .22); }
.form-status[hidden] { display: none; }
.waitlist > .wrap > div > .form-status { margin-top: var(--sp-5); }
@media (max-width: 859px) {
  .waitlist .wrap { grid-template-columns: minmax(0, 1fr); }
  .radio-row { grid-template-columns: minmax(0, 1fr); }
}

/* Footer */
.footer { padding: var(--sp-6) 0 calc(var(--sp-7) + env(safe-area-inset-bottom)); font-size: .9375rem; color: var(--muted); }
.footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-5); align-items: start; width: min(100% - 2 * (var(--gutter) + var(--frame)), var(--max)); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); list-style: none; padding: 0; margin: 0 0 var(--sp-3); }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer .made { text-align: right; }
@media (max-width: 639px) { .footer .wrap { grid-template-columns: minmax(0, 1fr); } .footer .made { text-align: left; } }

/* Legal pages */
.legal { max-width: 46rem; margin-inline: max(var(--gutter), calc((100% - var(--max)) / 2)) auto; }
.legal h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.legal h2 { font-size: 1.5rem; font-weight: 500; margin-top: var(--sp-8); letter-spacing: -0.02em; }
.legal h3 { font-size: 1.125rem; margin-top: var(--sp-6); }
.legal h1 + .meta-line { margin-top: var(--sp-4); }
.legal h2 + p, .legal h3 + p, .legal h2 + ul, .legal h2 + ol { margin-top: var(--sp-4); }
.legal ul, .legal ol { padding-left: 1.25rem; margin: var(--sp-4) 0 0; }
.legal li { margin-bottom: var(--sp-2); }
.legal li:last-child { margin-bottom: 0; }
.legal ul + p, .legal ol + p { margin-top: var(--sp-4); }
.legal .meta-line { color: var(--muted); font-size: .9375rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: var(--sp-5) 0; }
.legal th, .legal td { text-align: left; padding: var(--sp-3) var(--sp-3) var(--sp-3) 0; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.legal th, .legal td:first-child, .legal td:last-child { overflow-wrap: normal; }
.legal th { font-weight: 600; }
.notice { margin: var(--sp-6) 0; padding: var(--sp-5) var(--sp-6); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--depth); }
.ph { background: var(--neutral); border-radius: var(--r-pill); padding: 0 var(--sp-2); font-weight: 500; }

@media (max-width: 400px) {
  .cta-row .btn:not(.btn-link) { flex: 1 1 100%; }
}

.soft { background: var(--block); }

/* Accessibility settings: Reduce Transparency swaps glass for opaque surfaces; Increase Contrast adds an edge */
@media (prefers-reduced-transparency: reduce) {
  .glass, .datum, .why-card, .btn-secondary, .nav, .nav-links { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav { background: var(--neutral); }
  .waitlist .form, .on-ink .row { background: var(--cool-1); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .glass, .datum, .why-card, .row, .step, .stat, .notice, .btn-secondary { box-shadow: inset 0 0 0 1px rgba(10, 10, 10, .45); }
  .waitlist .form, .field input, .radio-row label { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
  .meta, .status, .datum .meta { color: #333; }
}
.cool .why-card p { color: var(--muted); }
