/* zsmart.app · Ilan Gluzman, ZSMART
   One family (IBM Plex Sans Hebrew), one accent (Go-Live Green), one signal (mint).
   Every size and gap below steps by the golden ratio: type by √φ on wide screens and ∛φ on
   phones (so every 2nd / 3rd step is exactly ×φ), spacing in Fibonacci steps. */

@font-face { font-family: "Plex Hebrew"; src: url("/assets/fonts/plex-hebrew-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Hebrew"; src: url("/assets/fonts/plex-hebrew-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Hebrew"; src: url("/assets/fonts/plex-hebrew-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Hebrew"; src: url("/assets/fonts/plex-hebrew-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* colour */
  --paper: #f7f5ee;
  --paper-deep: #efece2;
  --white: #ffffff;
  --ink: #0b2a1d;
  --ink-soft: #4a5d53;
  --green: #127a45;
  --green-deep: #0e6438;
  --mint: #3ee09a;
  --mint-wash: rgb(62 224 154 / 0.16);
  --line: rgb(11 42 29 / 0.1);
  --line-strong: rgb(11 42 29 / 0.18);

  --font: "Plex Hebrew", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* type: 360px → 1440px */
  --t--1: clamp(0.905rem, 0.8955rem + 0.0423vw, 0.9336rem);
  --t-0: clamp(1.0625rem, 1.0208rem + 0.1852vw, 1.1875rem);
  --t-1: clamp(1.2474rem, 1.1596rem + 0.3899vw, 1.5105rem);
  --t-2: clamp(1.4644rem, 1.312rem + 0.6771vw, 1.9214rem);
  --t-3: clamp(1.7192rem, 1.4775rem + 1.0739vw, 2.4441rem);
  --t-4: clamp(2.0183rem, 1.6547rem + 1.6158vw, 3.1089rem);
  --t-5: clamp(2.3694rem, 1.841rem + 2.3484vw, 3.9546rem);
  --t-6: clamp(2.7817rem, 2.0321rem + 3.3314vw, 5.0303rem);
  --t-7: clamp(3.2656rem, 2.2207rem + 4.6435vw, 6.4rem);

  /* space: Fibonacci */
  --s-1: 0.3125rem; /* 5 */
  --s-2: 0.5rem; /* 8 */
  --s-3: 0.8125rem; /* 13 */
  --s-4: 1.3125rem; /* 21 */
  --s-5: 2.125rem; /* 34 */
  --s-6: 3.4375rem; /* 55 */
  --s-7: 5.5625rem; /* 89 */
  --s-8: 9rem; /* 144 */
  --f-45: clamp(1.3125rem, 1.0417rem + 1.2037vw, 2.125rem); /* 21 → 34 */
  --f-56: clamp(2.125rem, 1.6875rem + 1.9444vw, 3.4375rem); /* 34 → 55 */
  --f-67: clamp(3.4375rem, 2.7292rem + 3.1481vw, 5.5625rem); /* 55 → 89 */
  --section: clamp(3.4375rem, 1.583rem + 8.241vw, 9rem); /* 55 → 144: a phone doesn't inherit desktop air */
  --gutter: clamp(1.3125rem, 0.6042rem + 3.1481vw, 3.4375rem); /* 21 → 55 */

  --measure: 38rem;
  --content: 61.6875rem; /* 987 */
  --wide: 76.25rem; /* 1220 */

  --r-1: 8px;
  --r-2: 13px;
  --r-3: 21px;
  --r-4: 34px;
  --r-pill: 999px;

  /* elevation, tinted with the ink's own hue */
  --e1: 0 1px 2px hsl(155 58% 10% / 0.05), 0 3px 6px hsl(155 58% 10% / 0.04);
  --e2: 0 3px 6px hsl(155 58% 10% / 0.04), 0 13px 21px hsl(155 58% 10% / 0.06);
  --e3: 0 3px 6px hsl(155 58% 10% / 0.03), 0 13px 21px hsl(155 58% 10% / 0.05), 0 34px 55px -13px hsl(155 58% 10% / 0.12);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-ui: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  color-scheme: light only;
}

/* ---------- base ---------- */

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

html {
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-block: var(--s-6) 7rem;
  scrollbar-color: rgb(11 42 29 / 0.32) transparent;
  -webkit-tap-highlight-color: rgb(62 224 154 / 0.22);
}

body {
  margin: 0;
  min-height: 100svh;
  font-family: var(--font);
  font-size: var(--t-0);
  font-weight: 400;
  line-height: 1.618;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

[hidden] { display: none !important; }
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 600; }

::selection { background: var(--mint); color: var(--ink); }

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

h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.num { font-variant-numeric: tabular-nums; }
.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 {
  position: absolute;
  inset-inline-start: var(--s-3);
  top: var(--s-3);
  z-index: 50;
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-ui);
}
.skip:focus-visible { transform: none; }

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

/* ---------- type ---------- */

.display {
  font-size: var(--t-5);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.012em;
}
.display strong { font-weight: 500; }

.h2 {
  font-size: var(--t-4);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.h3 {
  font-size: var(--t-1);
  font-weight: 500;
  line-height: 1.3;
}

.lead {
  font-size: var(--t-1);
  line-height: 1.5;
  color: var(--ink-soft);
}

.eyebrow {
  font-size: var(--t--1);
  font-weight: 500;
  line-height: 1.4;
  color: var(--green);
}

.small {
  font-size: var(--t--1);
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 3.4375rem; /* 55 */
  padding: 0 1.618em;
  border: 0;
  border-radius: var(--r-pill);
  font-size: var(--t-0);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.14s var(--ease-ui), background-color 0.18s var(--ease-ui), box-shadow 0.18s var(--ease-ui);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.16),
    0 1px 2px hsl(150 74% 12% / 0.2),
    0 13px 21px -13px hsl(150 74% 18% / 0.55);
}

.btn-quiet {
  background: rgb(255 255 255 / 0.5);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--green-deep); }
  .btn-quiet:hover { background: rgb(255 255 255 / 0.85); box-shadow: inset 0 0 0 1px rgb(11 42 29 / 0.28); }
}

/* ---------- the mark (logo) and its drawing ---------- */

.mark-fill { fill: var(--green); }
.word-fill { fill: var(--green); }

/* The Z draws itself along its own centre line (a stroke inside a mask), then a sheen passes over it,
   the way Ilan's logo film does. The stroke is drawn with pathLength=1. */
.zdraw { fill: none; stroke: #fff; stroke-width: 18.5; stroke-linejoin: miter; stroke-miterlimit: 10; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.zsheen { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  html.js:not(.seen) .brand-top .zdraw { stroke-dashoffset: 1; animation: z-draw 1.15s var(--ease-io) 0.25s forwards; }
  html.js:not(.seen) .brand-top .word-fill { opacity: 0; animation: fade-in 0.6s var(--ease-out) 1.05s forwards; }
  html.js:not(.seen) .brand-top .zsheen { animation: z-sheen 0.95s var(--ease-io) 1.35s 1 both; }

  .card.is-drawn .card-front .zdraw { animation: z-draw 1.1s var(--ease-io) 0.1s both; }
  .card.is-drawn .card-front .zsheen { animation: z-sheen 0.9s var(--ease-io) 1.15s 1 both; }
  html.js .card:not(.is-drawn) .card-front .zdraw { stroke-dashoffset: 1; }
}

@keyframes z-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes z-sheen {
  0% { opacity: 0; transform: translateX(-70px) skewX(-18deg); }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateX(130px) skewX(-18deg); }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- header ---------- */

.top {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 5;
  padding-block: calc(var(--s-4) + env(safe-area-inset-top)) var(--s-4);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}

.brand { display: inline-flex; border-radius: 4px; }
.brand svg { height: 1.375rem; width: auto; overflow: visible; }

.top-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 2.75rem; /* 44 */
  padding: 0 1.05em;
  border-radius: var(--r-pill);
  font-size: var(--t--1);
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  background: rgb(255 255 255 / 0.58);
  -webkit-backdrop-filter: blur(13px) saturate(1.2);
  backdrop-filter: blur(13px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgb(11 42 29 / 0.08), var(--e1);
  transition: background-color 0.18s var(--ease-ui), transform 0.14s var(--ease-ui);
}
.top-wa svg { width: 1.15em; height: 1.15em; color: var(--green); }
.top-wa:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .top-wa:hover { background: rgb(255 255 255 / 0.9); } }

/* ---------- hero ---------- */

/* Phone: the headline, then the morning scene rising behind it with the glass mark in the first
   screen, then the details and the buttons. Wide screens: the scene fills the hero and the words
   stand on the wall beside it. */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 100%;
  padding-top: calc(var(--s-7) + env(safe-area-inset-top));
}

.hero-head,
.hero-more {
  position: relative;
  z-index: 2;
  width: min(100% - 2 * var(--gutter), var(--wide));
  margin-inline: auto;
}

.hero-head .eyebrow { margin-bottom: var(--s-4); }
/* the headline is one short statement, set a step larger than the type scale's hero size,
   in two balanced lines: השותף הדיגיטלי / של העסק. */
.hero-head .display { font-size: var(--t-6); line-height: 1.08; }

.hero-more { margin-top: calc(-1 * var(--s-6)); }
.hero-more .lead { max-width: 30em; margin-bottom: var(--s-5); }

.hero .actions .btn { flex: 1 1 100%; }

.hero-note {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-4);
  font-size: var(--t--1);
  line-height: 1.45;
  color: var(--ink-soft);
}
.hero-note strong { display: block; color: var(--ink); font-weight: 500; }
.hero-note .note-line { display: block; }

.avatar {
  position: relative;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--line-strong);
}
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.avatar svg { width: 56%; height: auto; margin: 22% auto 0; }
.avatar .live {
  position: absolute;
  inset-block-end: 0;
  inset-inline-end: 0;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 2px var(--paper);
}

.hero-media {
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * clamp(4rem, 22vw, 9rem));
  aspect-ratio: 9 / 16;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 31%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 31%, #000 84%, transparent 100%);
}

.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-media video {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out);
}
.hero.is-playing .hero-media video { opacity: 1; }

.hero-pause {
  position: absolute;
  z-index: 3;
  inset-block-end: 21%;
  inset-inline-end: var(--gutter);
  display: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgb(255 255 255 / 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgb(11 42 29 / 0.08);
  cursor: pointer;
  transition: background-color 0.18s var(--ease-ui), transform 0.14s var(--ease-ui);
}
.hero.has-video .hero-pause { display: grid; }
.hero-pause:active { transform: scale(0.94); }
.hero-pause svg { width: 1rem; height: 1rem; }
.hero-pause .i-play { display: none; }
.hero.is-paused .hero-pause .i-play { display: block; }
.hero.is-paused .hero-pause .i-pause { display: none; }
@media (hover: hover) and (pointer: fine) { .hero-pause:hover { background: rgb(255 255 255 / 0.92); } }

@media (min-width: 40rem) {
  .hero .actions .btn { flex: 0 0 auto; }
}

@media (min-width: 40rem) and (max-width: 59.99rem) {
  /* tablets: the scene is wider than tall, so it is cropped to a calmer frame */
  .hero-media { aspect-ratio: 4 / 5; }
}

@media (min-width: 60rem) {
  .brand svg { height: 1.625rem; }

  .hero {
    grid-template-columns: 1fr 1fr; /* in RTL the first column is the right half */
    grid-template-rows: 1fr auto auto 1.618fr; /* the words sit on the golden line */
    min-height: clamp(38rem, 94svh, 62rem);
    padding-top: var(--s-7);
    padding-bottom: var(--s-6);
  }

  .hero { container-type: inline-size; }

  .hero-head,
  .hero-more {
    /* the words line up with the logo above them at every width */
    --edge: max(var(--gutter), (100cqi - var(--wide)) / 2);
    grid-column: 1;
    width: auto;
    max-width: calc(42rem + var(--edge));
    margin: 0;
    padding-inline-start: var(--edge);
  }
  .hero-head { grid-row: 2; }
  .hero-more { grid-row: 3; margin-top: var(--s-4); }
  /* sized to its column beside the glass mark */
  .hero-head .display { font-size: clamp(3rem, 5.4vw, 5rem); }

  .hero-media {
    position: absolute;
    inset: 0;
    margin: 0;
    aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 74%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 74%, transparent 100%);
  }
  .hero-media img,
  .hero-media video { object-position: 30% 58%; }

  .hero-pause { inset-block-end: 30%; inset-inline-end: var(--gutter); }
}

/* ---------- sections ---------- */

.section { padding-block: var(--section); }

.sec-head { margin-bottom: var(--f-56); }
.sec-head .h2 + .lead,
.sec-head .h2 + .sec-sub { margin-top: var(--s-4); }
.sec-sub { max-width: var(--measure); color: var(--ink-soft); font-size: var(--t-1); line-height: 1.5; }

/* ---------- how it works ---------- */

.steps {
  --node: 2.125rem; /* 34 */
  --gap: var(--f-56);
  --p: 0;
  position: relative;
  display: grid;
  gap: var(--gap);
  padding-inline-start: calc(var(--node) + var(--s-4));
}

/* the track and the line that draws along it, like the Z's own stroke */
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  inset-inline-start: calc(var(--node) / 2 - 1px);
  top: calc(var(--node) / 2);
  height: var(--line-len, calc(100% - var(--node)));
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}
.steps::after {
  background: linear-gradient(to bottom, var(--green), var(--mint));
  transform: scaleY(var(--p));
  transform-origin: 50% 0;
}

.step { position: relative; }

.step-node {
  position: absolute;
  inset-inline-start: calc(-1 * (var(--node) + var(--s-4)));
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--node);
  height: var(--node);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  font-size: var(--t--1);
  font-weight: 500;
  color: var(--ink-soft);
  transition: background-color 0.45s var(--ease-out), color 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.step.is-on .step-node { background: var(--green); color: var(--white); box-shadow: inset 0 0 0 1.5px var(--green); }
.step-live.is-on .step-node {
  background: var(--mint);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--mint), 0 0 0 8px var(--mint-wash);
}

.step .h3 { margin-bottom: var(--s-1); }
.step-time { display: block; margin-bottom: var(--s-3); font-size: var(--t--1); font-weight: 500; color: var(--green); }
.step p { max-width: 34em; color: var(--ink-soft); }

@media (min-width: 60rem) {
  .how .wrap { display: grid; grid-template-columns: 1fr 1.618fr; gap: var(--s-6); align-items: start; }
  .how .sec-head { position: sticky; top: var(--s-7); margin: 0; }
}

/* ---------- what's included ---------- */

.incl-list {
  display: grid;
  border-top: 1px solid var(--line);
}
.incl-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3) var(--s-4);
  align-items: start;
  padding-block: var(--f-45);
  border-bottom: 1px solid var(--line);
}
.incl-item svg {
  width: 1.625rem;
  height: 1.625rem;
  margin-top: 0.1em;
  color: var(--green);
}
.incl-item .h3 { font-size: var(--t-0); font-weight: 500; line-height: 1.4; margin-bottom: 0.15em; }
.incl-item p { color: var(--ink-soft); }

@media (min-width: 40rem) {
  .incl-list { grid-template-columns: 1fr 1fr; column-gap: var(--f-56); }
}
@media (min-width: 60rem) {
  .incl .wrap { display: grid; grid-template-columns: 1fr 1.618fr; gap: var(--s-6); align-items: start; }
  .incl .sec-head { margin: 0; }
}

/* ---------- price: the page's one loud moment ---------- */

.price { padding-top: calc(var(--section) * 1.272); }

.price .sec-head { text-align: center; }
.price .sec-head .sec-sub { margin-inline: auto; }

.price-card {
  position: relative;
  max-width: var(--content);
  margin-inline: auto;
  padding: var(--f-56) var(--f-45) var(--f-45);
  border-radius: var(--r-4);
  background: var(--white);
  box-shadow: var(--e3), inset 0 0 0 1px rgb(11 42 29 / 0.05);
}

.price-main {
  display: grid;
  grid-template-columns: 1fr 1.618fr;
  gap: var(--s-4) var(--f-45);
  align-items: end;
  padding-bottom: var(--f-45);
}
.price-main .fig-note { grid-column: 1 / -1; }

.fig-num {
  display: flex;
  align-items: baseline;
  gap: 0.12em;
  font-size: var(--t-7);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.fig-num .cur { font-size: 0.42em; font-weight: 400; color: var(--ink-soft); letter-spacing: 0; }
/* the one number in the brand's own green: what it costs to start */
.figure-setup .fig-num .n { color: var(--green); }
.figure-setup .fig-label { color: var(--green); font-weight: 500; }
.figure-month .fig-num { font-size: var(--t-6); }
.fig-label { margin-top: var(--s-2); font-size: var(--t-1); line-height: 1.4; }
.fig-note { color: var(--ink-soft); }

.price-year {
  display: grid;
  gap: var(--s-1);
  padding-block: var(--f-45);
  border-top: 1px solid var(--line);
}
.price-year p:first-child { font-size: var(--t-1); line-height: 1.4; }

.terms {
  display: grid;
  gap: var(--s-3);
  padding-block: var(--f-45);
  border-top: 1px solid var(--line);
}
.terms li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; }
.terms svg { width: 1.25rem; height: 1.25rem; margin-top: 0.25em; color: var(--green); }

.price-card .btn { margin-top: var(--s-3); }


/* ---------- about ---------- */

.about .wrap { display: grid; gap: var(--f-56); align-items: center; }
.about-photo {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 22rem;
  border-radius: var(--r-4);
  background: var(--paper-deep);
  box-shadow: var(--e2);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy .h2 { margin-bottom: var(--s-2); }
.about-copy .about-role { margin-bottom: var(--s-5); color: var(--ink-soft); font-size: var(--t-1); }
.about-copy p + p { margin-top: var(--s-4); }
.about-copy p:not(.about-role) { max-width: var(--measure); font-size: var(--t-1); line-height: 1.6; }

@media (min-width: 60rem) {
  .about .wrap { grid-template-columns: 1.618fr 1fr; }
  .about.has-photo .about-copy { order: 0; }
  .about.has-photo .about-photo { order: 1; justify-self: end; }
}

/* ---------- questions ---------- */

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding-block: var(--f-45);
  font-size: var(--t-1);
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .pm {
  position: relative;
  flex: none;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: transform 0.35s var(--ease-out), background-color 0.2s var(--ease-ui);
}
.faq-list summary .pm::before,
.faq-list summary .pm::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}
.faq-list summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] summary .pm { transform: rotate(45deg); background: var(--mint-wash); }
@media (hover: hover) and (pointer: fine) {
  .faq-list summary:hover .pm { background: rgb(11 42 29 / 0.04); }
}
.faq-a { padding-bottom: var(--f-45); }
.faq-a p { max-width: var(--measure); color: var(--ink-soft); }

@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-list details::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.4s var(--ease-out), content-visibility 0.4s allow-discrete;
  }
  .faq-list details[open]::details-content { height: auto; }
}

@media (min-width: 60rem) {
  .faq .wrap { display: grid; grid-template-columns: 1fr 1.618fr; gap: var(--s-6); align-items: start; }
  .faq .sec-head { margin: 0; }
}

/* ---------- the card (contact) ---------- */

.contact { padding-bottom: calc(var(--section) * 1.272); }
.contact .wrap { display: grid; gap: var(--f-67); align-items: center; }
.contact-copy .lead { margin-top: var(--s-4); margin-bottom: var(--s-5); max-width: 30em; }
.contact .actions .btn { flex: 1 1 100%; }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-5);
}
.contact-links li { display: flex; align-items: center; gap: var(--s-2); }
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 2.75rem;
  font-weight: 500;
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: rgb(18 122 69 / 0.35);
  transition: text-decoration-color 0.18s var(--ease-ui);
}
.link svg { width: 1.2em; height: 1.2em; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: currentColor; } }

.copy-btn {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color 0.18s var(--ease-ui), color 0.18s var(--ease-ui);
}
.copy-btn svg { width: 1.1rem; height: 1.1rem; }
@media (hover: hover) and (pointer: fine) { .copy-btn:hover { background: rgb(11 42 29 / 0.05); color: var(--ink); } }
.copied {
  font-size: var(--t--1);
  font-weight: 500;
  color: var(--green);
  opacity: 0;
  transition: opacity 0.2s var(--ease-ui);
}
.copied.is-on { opacity: 1; }
.ios-hint { flex-basis: 100%; margin-top: calc(-1 * var(--s-2)); }

/* The business card in the visitor's hand, on screen. 90 × 54 mm: 5:3, close to φ. */
.card-stage {
  perspective: 1600px;
  justify-self: center;
  width: min(100%, 27.5rem);
  container-type: inline-size;
}
.card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 90 / 54;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 1.1s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.card.is-flipped { transform: rotateY(180deg); }
.card:focus-visible { outline-offset: 6px; border-radius: var(--r-2); }

.card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--r-2);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow:
    0 1px 1px hsl(155 58% 10% / 0.06),
    0 3px 6px hsl(155 58% 10% / 0.05),
    0 21px 34px -8px hsl(155 58% 10% / 0.16),
    0 55px 89px -34px hsl(155 58% 10% / 0.22);
}
.card-front { display: grid; place-items: center; background: var(--green); }
.card-front svg { width: 23.6%; height: auto; overflow: visible; }
.card-front .mark-fill { fill: #fff; }

.card-back {
  transform: rotateY(180deg);
  background: var(--white);
  color: #1e1e1e;
  text-align: start;
}
/* The back copies the printed card, so it uses physical sides: logo and name on the right,
   QR code and contact lines on the left. */
.card-back .cb-logo { position: absolute; top: 15%; right: 9%; height: 7.6%; width: auto; }
.card-back .cb-qr { position: absolute; top: 15%; left: 9%; width: 14.5%; height: auto; fill: #1e1e1e; }
.card-back .cb-who { position: absolute; bottom: 14%; right: 9%; text-align: right; }
.card-back .cb-name { display: block; font-size: 4.7cqi; font-weight: 600; line-height: 1.2; }
.card-back .cb-role { display: block; margin-top: 0.4em; font-size: 2.6cqi; color: #6f6f6f; line-height: 1.3; }
.card-back .cb-lines {
  position: absolute;
  bottom: 14%;
  left: 9%;
  direction: ltr;
  text-align: left;
  font-size: 2.85cqi;
  line-height: 1.75;
  color: #1e1e1e;
}
.card-back .cb-lines span { display: block; }

@media (min-width: 40rem) {
  .contact .actions .btn { flex: 0 0 auto; }
}
@media (min-width: 60rem) {
  .contact .wrap { grid-template-columns: 1fr 1fr; }
  .card-stage { justify-self: end; }
}

/* ---------- footer ---------- */

.foot {
  padding-block: var(--s-6) calc(var(--s-6) + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: var(--t--1);
  color: var(--ink-soft);
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4) var(--s-5);
}
.foot .brand svg { height: 1.125rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }
.foot a:not(.brand) {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.3em;
}
@media (hover: hover) and (pointer: fine) { .foot a:not(.brand):hover { color: var(--ink); text-decoration-color: currentColor; } }

/* ---------- the phone's quiet bar ---------- */

.dock {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  gap: var(--s-2);
  padding: var(--s-2) var(--gutter) calc(var(--s-2) + env(safe-area-inset-bottom));
  background: rgb(247 245 238 / 0.86);
  -webkit-backdrop-filter: blur(13px) saturate(1.3);
  backdrop-filter: blur(13px) saturate(1.3);
  box-shadow: 0 -1px 0 var(--line);
  transform: translateY(110%);
  transition: transform 0.36s cubic-bezier(0.05, 0.7, 0.1, 1);
}
.dock.is-on { transform: none; }
.dock .btn { flex: 1; min-height: 3.25rem; }
.dock-call {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: transform 0.14s var(--ease-ui);
}
.dock-call:active { transform: scale(0.94); }
.dock-call svg { width: 1.3rem; height: 1.3rem; }
@media (min-width: 60rem) { .dock { display: none; } }

/* ---------- arrivals: one gentle style, once ---------- */

@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  html.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(13px); }
}

/* ---------- reduced motion: fewer and gentler, never hidden ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .card { transition: none; }
  .steps::after { transform: none; }
  .hero-media video { display: none; }
}

/* ---------- inner pages (accessibility, privacy, 404) ---------- */

.page { padding-top: calc(var(--s-8) + env(safe-area-inset-top)); padding-bottom: var(--section); }
.page .wrap { max-width: var(--measure); }
.page h1 { margin-bottom: var(--s-5); }
.page h2 { margin-top: var(--s-5); margin-bottom: var(--s-3); font-size: var(--t-1); font-weight: 500; line-height: 1.35; }
.page p + p { margin-top: var(--s-4); }
.page ul.bullets { display: grid; gap: var(--s-2); margin-top: var(--s-3); }
.page ul.bullets li { position: relative; padding-inline-start: var(--s-4); }
.page ul.bullets li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}
.page .updated { margin-top: var(--s-5); }
.page a:not(.btn) { color: var(--green); text-underline-offset: 0.25em; }
.page .actions { margin-top: var(--s-5); }

/* ---------- print ---------- */

@media print {
  .top-wa, .hero-media, .hero-pause, .dock, .copy-btn, .card-stage, .skip { display: none !important; }
  .hero { padding-top: var(--s-6); min-height: 0; display: block; }
  .top { position: static; }
  body { background: #fff; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .price-card { box-shadow: none; border: 1px solid #ccc; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
