/* ==========================================================================
   WebBoxApps - styles.css
   Layout system in the style of modern SaaS marketing sites: white ground,
   hairline grid, oversized display type, flat blocks, no shadows.
   Brand colours from the logo: teal #2EB9A5, deep navy #081951.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */

:root {
  /* brand */
  --ink:        #071634;   /* headings, dark bands */
  --ink-soft:   #0C2350;
  --teal:       #17A08C;
  --teal-bright:#2EB9A5;
  --teal-pale:  #E7F6F3;

  /* neutrals */
  --white:      #FFFFFF;
  --paper:      #FBFCFD;
  --paper-2:    #F4F6F9;
  --line:       #E2E7EE;
  --line-soft:  #EDF0F5;
  --body:       #47536B;
  --muted:      #71809A;

  /* highlight palette for the statement line */
  --hl-teal:    #17A08C;
  --hl-blue:    #2C6FE8;
  --hl-amber:   #C77D1F;
  --hl-magenta: #C0308C;
  --hl-purple:  #6E56CF;
  --hl-orange:  #DD6634;

  /* type */
  --display: "Inter Tight", "Inter", "Segoe UI", system-ui, sans-serif;
  --text: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* layout */
  /* the content column tracks the viewport (~83% of it) instead of being a
     fixed width, so wide screens fill out the way the reference site does */
  --max: 2000px;
  --gutter: clamp(20px, 8.6vw, 240px);
  --pad-y: clamp(72px, 9vw, 132px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 68px;
}

/* ---------- 2. Base ------------------------------------------------------ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.008em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }

::selection { background: var(--teal-bright); color: #04201B; }

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

/* ---------- 3. Layout ---------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sec { padding-block: var(--pad-y); }
.sec--tight { padding-block: clamp(52px, 6vw, 84px); }
.sec--dark {
  background: var(--ink);
  color: #DDE6F5;
}
.sec--dark h1, .sec--dark h2, .sec--dark h3 { color: #FFFFFF; }
.sec--paper { background: var(--paper-2); }

.rule { border-top: 1px solid var(--line); }

/* eyebrow: small flag glyph + label, sentence case */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 10px;
  background: var(--hl-amber);
  clip-path: polygon(0 0, 72% 0, 100% 50%, 72% 100%, 0 100%);
  flex: none;
}
.sec--dark .eyebrow { color: #FFFFFF; }
.eyebrow--center { justify-content: center; }

.h-xl { font-size: clamp(2.9rem, 7.6vw, 6rem); }
.h-lg { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.h-md { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.55;
  color: var(--body);
  max-width: 46ch;
}
.sec--dark .lead { color: #A9BAD7; }

.sec-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--center { margin-inline: auto; text-align: center; }

/* ---------- 4. Buttons --------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-family: var(--text);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease),
              border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
/* primary carries a resting ring; hover widens and brightens it */
.btn { box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px rgba(46,185,165,.55); }
.btn:hover {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 5px var(--teal-bright);
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }

.btn--line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: none;
}
.btn--line:hover {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px rgba(7,22,52,.15);
  transform: translateY(-1px);
}

.btn--sm { height: 40px; padding: 0 18px; font-size: 14.5px; }

.sec--dark .btn {
  background: #fff; color: var(--ink); border-color: #fff;
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 3.5px rgba(46,185,165,.6);
}
.sec--dark .btn:hover { box-shadow: 0 0 0 2px var(--ink), 0 0 0 5px var(--teal-bright); }
.sec--dark .btn--line {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.32);
  box-shadow: none;
}
.sec--dark .btn--line:hover { border-color: #fff; box-shadow: none; }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.tlink:hover { border-color: var(--teal); color: var(--teal); }
.tlink svg { transition: transform .25s var(--ease); }
.tlink:hover svg { transform: translateX(3px); }

/* ---------- 5. Header ---------------------------------------------------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
/* the header spans the full viewport - only the page body is centred */
.hdr .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: none;
  padding-inline: clamp(18px, 2.3vw, 34px);
}

.brand { flex: none; }
.brand img { height: 27px; width: auto; }

.hdr-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
  list-style: none;
  padding: 0; margin-block: 0;
}
.hdr-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.hdr-nav a:hover { background: var(--paper-2); }
.hdr-nav a.active { color: var(--teal); }

.hdr-side { display: flex; align-items: center; gap: 10px; flex: none; }
.hdr-mail {
  font-size: 15.5px; font-weight: 500; color: var(--ink);
  padding: 8px 6px;
  transition: color .25s var(--ease);
}
.hdr-mail:hover { color: var(--teal); }

.burger {
  display: none;
  width: 40px; height: 40px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  flex: none;
}
.burger i {
  position: absolute; left: 50%; top: 50%;
  width: 16px; height: 1.5px; margin-left: -8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s var(--ease);
}
.burger i:nth-child(1) { transform: translateY(-5px); }
.burger i:nth-child(3) { transform: translateY(5px); }
.burger.open i:nth-child(1) { transform: rotate(45deg); }
.burger.open i:nth-child(2) { opacity: 0; }
.burger.open i:nth-child(3) { transform: rotate(-45deg); }

.mnav {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 88;
  background: #fff;
  padding: 28px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
  overflow-y: auto;
}
.mnav.open { opacity: 1; visibility: visible; }
.mnav a {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.035em;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mnav .mnav-cta { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.mnav .mnav-cta a { font-size: 15.5px; border: 0; padding: 0; font-family: var(--text); }

/* ---------- 6. Hero ------------------------------------------------------ */

.hero { padding-block: clamp(56px, 8vw, 108px) clamp(40px, 5vw, 64px); }

.hero h1 { max-width: 21ch; }
.hero .lead { margin-top: 26px; }

/* rotating headline word, with a typing caret */
.rot {
  color: var(--teal);
  white-space: nowrap;
}
.rot::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: .82em;
  margin-left: .07em;
  vertical-align: -0.06em;
  background: var(--ink);
  animation: caret 1.05s steps(1, end) infinite;
}
@keyframes caret { 0%, 45% { opacity: 1 } 46%, 100% { opacity: 0 } }
@media (prefers-reduced-motion: reduce) {
  .rot::after { animation: none; opacity: 0; }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  font-size: 14.5px;
  color: var(--body);
}
.ticks span { display: inline-flex; align-items: center; gap: 7px; }
.ticks svg { color: var(--teal); flex: none; }

/* full-bleed showcase band */
.band {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper-2), var(--white));
  overflow: hidden;
}
.band-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 52px) var(--gutter) 0;
}

/* stylised app window - drawn, not a screenshot */
.win {
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: #fff;
  overflow: hidden;
}
.win-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
}
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); flex: none; }
.win-bar i:nth-child(1) { background: #E8A0A0; }
.win-bar i:nth-child(2) { background: #E8CE9A; }
.win-bar i:nth-child(3) { background: #A6D9B4; }
.win-bar span {
  margin-left: 10px;
  font-size: 12.5px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 3px 12px;
}
.win-body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 330px;
}
.win-side {
  border-right: 1px solid var(--line-soft);
  padding: 18px 14px;
  background: var(--paper);
  font-size: 13px;
}
.win-side h6 {
  margin: 0 0 8px;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.win-side h6 + ul { margin-bottom: 18px; }
.win-side ul { list-style: none; margin: 0; padding: 0; }
.win-side li {
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--body);
  display: flex; align-items: center; gap: 8px;
}
.win-side li::before {
  content: ""; width: 6px; height: 6px; border-radius: 2px;
  background: var(--line); flex: none;
}
.win-side li.on { background: var(--teal-pale); color: var(--ink); font-weight: 500; }
.win-side li.on::before { background: var(--teal); }

.win-main { padding: 20px 22px; display: grid; gap: 16px; align-content: start; }
.win-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-cell {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 13px 14px;
}
.stat-cell small { display: block; font-size: 11.5px; color: var(--muted); }
.stat-cell b {
  font-family: var(--display);
  font-size: 22px; font-weight: 500; letter-spacing: -.03em;
}
.stat-cell b i { font-style: normal; font-size: 12px; color: var(--teal); margin-left: 6px; }

.chart {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 16px;
}
.chart-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--muted); margin-bottom: 14px;
}
.chart-head b { color: var(--ink); font-size: 13.5px; font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 108px; }
.bars i {
  flex: 1;
  background: linear-gradient(180deg, var(--teal-bright), var(--teal));
  border-radius: 3px 3px 0 0;
  transform-origin: bottom;
  animation: growBar .9s var(--ease) backwards;
}
.bars i:nth-child(even) { background: #C9DCF2; }
@keyframes growBar { from { transform: scaleY(.05); opacity: .4 } }

.rows { border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; }
.rows div {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--line-soft);
}
.rows div:last-child { border-bottom: 0; }
.rows div span:first-child { color: var(--ink); font-weight: 500; }
.rows div span { color: var(--body); }
.pill-live {
  font-size: 11px; font-weight: 600;
  color: var(--teal); background: var(--teal-pale);
  padding: 2px 9px; border-radius: 999px;
}

/* ---------- 7. Hairline grid walls --------------------------------------- */

.wall { padding-block: clamp(40px, 5vw, 68px); }
.wall-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.wall-grid div {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--body);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.wall-grid div:hover { background: var(--paper-2); color: var(--ink); }
.wall-note {
  text-align: center;
  padding: 18px 16px 0;
  font-size: 14.5px;
  color: var(--body);
}
.wall-note b { color: var(--ink); font-weight: 600; }

/* ---------- 8. Statement ------------------------------------------------- */

.statement {
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.9vw, 3.15rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.032em;
  max-width: 22ch;
  margin-inline: auto;
}
.statement em { font-style: normal; }
.c-teal { color: var(--hl-teal); }
.c-blue { color: var(--hl-blue); }
.c-amber { color: var(--hl-amber); }
.c-magenta { color: var(--hl-magenta); }
.c-purple { color: var(--hl-purple); }
.c-orange { color: var(--hl-orange); }

/* 3-up with hairline rules */
.triple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.triple > div {
  padding: 30px 28px 4px;
  border-left: 1px solid var(--line);
}
.triple > div:first-child { border-left: 0; padding-left: 0; }
.triple .ico { color: var(--hl-amber); margin-bottom: 16px; }
.triple h3 { font-size: 17.5px; font-weight: 600; font-family: var(--text); letter-spacing: -.015em; margin-bottom: 8px; }
.triple p { font-size: 15.5px; color: var(--body); }

/* ---------- 9. Dark tile strip ------------------------------------------- */

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
}
.tile {
  position: relative;
  min-height: 330px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-right: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
  isolation: isolate;
  cursor: default;
}
.tile:last-child { border-right: 0; }
.tile::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 100%, var(--t-hue, #17A08C) 0%, transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 55%);
  opacity: .5;
  transition: opacity .45s var(--ease);
}
.tile::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.tile:hover::before { opacity: .95; }
.tile h3 { font-size: 21px; font-weight: 500; color: #fff; }
.tile p {
  font-size: 14.5px;
  color: rgba(226,236,252,.86);
  margin-top: 8px;
  max-width: 30ch;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.tile:hover p { opacity: 1; transform: none; }
.tile .tile-n {
  position: absolute; top: 22px; left: 26px;
  font-family: var(--display);
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ---------- 10. Alternating feature blocks ------------------------------- */

.feat {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  padding-block: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
}
.sec-head + .feat { border-top: 0; padding-top: 0; }
.feat--flip .feat-copy { order: 2; }

.feat-copy h2 { margin-bottom: 18px; }
.feat-list { margin-top: 30px; border-top: 1px solid var(--line); }
.feat-list div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.feat-list h4 { font-family: var(--text); font-size: 16px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 5px; }
.feat-list p { font-size: 15px; color: var(--body); }
.feat-copy .tlink { margin-top: 26px; }

/* drawn visuals */
.vis {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  padding: 22px;
  min-height: 340px;
  display: grid;
  align-content: start;
  gap: 14px;
}
.vis-cap {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--muted);
}
.vis-cap b { color: var(--ink); font-size: 14px; font-weight: 600; }

.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal span {
  aspect-ratio: 1;
  display: grid; place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fff;
  font-size: 12.5px;
  color: var(--body);
}
.cal span.busy { background: var(--teal-pale); border-color: #BFE7DF; color: #0E6C5E; font-weight: 600; }
.cal span.pick { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.cal span.mut { color: #B9C2D2; }

.slotlist { display: grid; gap: 8px; }
.slot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fff;
  font-size: 13.5px;
}
.slot b { font-weight: 600; }
.slot em { font-style: normal; color: var(--muted); font-size: 12.5px; }
.slot.on { border-color: var(--teal); background: var(--teal-pale); }

.receipt {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 13.5px;
}
.receipt .r {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 7px 0; border-bottom: 1px dashed var(--line);
  color: var(--body);
}
.receipt .r:last-of-type { border-bottom: 0; }
.receipt .tot {
  display: flex; justify-content: space-between;
  margin-top: 10px; padding-top: 12px;
  border-top: 1px solid var(--ink);
  font-family: var(--display); font-size: 19px; font-weight: 500;
  color: var(--ink);
}

/* ---------- 11. Project grid --------------------------------------------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
  height: 38px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--body);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip span { opacity: .55; margin-left: 5px; }

.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pcard {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background-color .3s var(--ease);
}
.pcard:hover { background: var(--paper); }
.pcard.hide { display: none; }

.pcard-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.glyph {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--p-hue, #17A08C);
  font-family: var(--display);
  font-size: 15px; font-weight: 600; letter-spacing: -.03em;
  flex: none;
}
.pcard-kind { font-size: 12.5px; color: var(--muted); }
.pcard-state {
  margin-left: auto;
  font-size: 11.5px; font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}
.pcard-state.live { color: var(--teal); border-color: #BFE7DF; background: var(--teal-pale); }

.pcard h3 { font-size: 19px; font-weight: 600; font-family: var(--text); letter-spacing: -.02em; margin-bottom: 9px; }
.pcard p { font-size: 15px; color: var(--body); flex: 1; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tag {
  font-size: 12.5px;
  color: var(--body);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 9px;
}
.pcard-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px; color: var(--muted);
}

.empty { padding: 56px 0; text-align: center; color: var(--muted); }

/* ---------- 12. Dark stats band ------------------------------------------ */

.statgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid rgba(255,255,255,.16);
}
.statgrid > div {
  padding: 28px 26px 0;
  border-left: 1px solid rgba(255,255,255,.16);
}
.statgrid > div:first-child { border-left: 0; padding-left: 0; }
.statgrid b {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -.04em;
  color: #fff;
}
.statgrid span { font-size: 14.5px; color: #9FB2D2; }

/* ---------- 13. Contact + footer ----------------------------------------- */

.cta-box { text-align: center; }
.cta-box h2 { margin-bottom: 18px; }
.cta-box .lead { margin-inline: auto; text-align: center; }
.mailrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 32px;
  height: 54px;
  padding: 0 8px 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: clamp(14.5px, 2.2vw, 17px);
  font-weight: 500;
}
.mailrow:hover { border-color: var(--ink); }
.copy {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.copy:hover { border-color: var(--teal); color: var(--teal); }
.copy .ok { display: none; }
.copy.done .ok { display: block; }
.copy.done .cp { display: none; }
.copy.done { color: var(--teal); border-color: var(--teal); }
.cta-note { margin-top: 22px; font-size: 14px; color: var(--muted); }

.ftr { border-top: 1px solid var(--line); padding-block: 46px 34px; background: var(--paper); }
.ftr-top {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 22px;
  padding-bottom: 26px; border-bottom: 1px solid var(--line);
}
.ftr-links { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; margin: 0; padding: 0; }
.ftr-links a { font-size: 15px; color: var(--body); }
.ftr-links a:hover { color: var(--teal); }
.ftr-bot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding-top: 22px; font-size: 14px; color: var(--muted);
}

/* ---------- 14. Reveal --------------------------------------------------- */

[data-rv] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-rv].in { opacity: 1; transform: none; }

/* ---------- 15. Responsive ----------------------------------------------- */

@media (max-width: 1080px) {
  .wall-grid { grid-template-columns: repeat(4, 1fr); }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .tile { min-height: 260px; }
  .tile:nth-child(2) { border-right: 0; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hdr-nav { display: none; }
  .hdr-mail { display: none; }
  .hdr-side .btn--line { display: none; }
  .burger { display: block; }
  .hdr .wrap { justify-content: space-between; }
  .feat, .feat--flip .feat-copy { grid-template-columns: 1fr; order: 0; }
  .feat-vis { order: 2; }
  .triple { grid-template-columns: 1fr; border-top: 0; }
  .triple > div {
    border-left: 0; padding: 26px 0 4px;
    border-top: 1px solid var(--line);
  }
  .statgrid { grid-template-columns: repeat(2, 1fr); }
  .statgrid > div { padding: 24px 20px 20px; border-left: 1px solid rgba(255,255,255,.16); }
  .statgrid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .win-body { grid-template-columns: 1fr; }
  .win-side { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wall-grid { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: 1fr; }
  .tile { min-height: 200px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.10); }
  .tile p { opacity: 1; transform: none; }
  .pgrid { grid-template-columns: 1fr; }
  .win-row { grid-template-columns: 1fr; }
  .statement { max-width: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .cal span { border-radius: 6px; font-size: 11.5px; }
}

/* ---------- 16. Motion preferences --------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  [data-rv] { opacity: 1; transform: none; }
  .tile p { opacity: 1; transform: none; }
}

/* ==========================================================================
   17. Pricing page
   ========================================================================== */

.plan-group { margin-top: clamp(36px, 4.5vw, 56px); }
.plan-group + .plan-group { margin-top: clamp(56px, 7vw, 96px); }
.plan-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding-bottom: 18px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}
.plan-group-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.plan-group-head p { font-size: 15.5px; color: var(--body); }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--line);
}
.plans--two { grid-template-columns: repeat(2, 1fr); }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.plan--best { background: var(--paper); }
.plan--best::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 3px;
  background: var(--teal);
}

.plan-name {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--text);
  font-size: 17px; font-weight: 600; letter-spacing: -.02em;
  margin-bottom: 6px;
}
.plan-tag {
  font-size: 11.5px; font-weight: 600;
  padding: 2px 9px; border-radius: 999px;
  background: var(--teal-pale); color: var(--teal);
}
.plan-for { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }

.price {
  display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap;
  font-family: var(--display);
  margin-bottom: 6px;
}
.price b {
  font-size: clamp(2.3rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
}
.price span { font-size: 15px; color: var(--muted); font-family: var(--text); }
.price-note { font-size: 13.5px; color: var(--muted); min-height: 20px; margin-bottom: 24px; }

.plan .btn { width: 100%; }
.plan-feats { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 11px; }
.plan-feats li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  font-size: 14.8px;
  color: var(--body);
  line-height: 1.45;
}
.plan-feats svg { color: var(--teal); margin-top: 3px; }
.plan-feats li.off { color: var(--muted); }
.plan-feats li.off svg { color: #C4CCD9; }

.plan-foot {
  margin-top: auto;
  padding-top: 22px;
}

/* comparison + faq */
.faq { border-top: 1px solid var(--line); margin-top: clamp(48px, 6vw, 76px); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  font-family: var(--text);
  font-size: 17px; font-weight: 600; letter-spacing: -.02em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 12px; height: 12px;
  border-right: 1.8px solid var(--muted);
  border-bottom: 1.8px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
  flex: none;
  margin-top: -5px;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.faq p { padding: 0 0 22px; font-size: 15.5px; color: var(--body); max-width: 72ch; }

.note-band {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 26px 28px;
  margin-top: clamp(40px, 5vw, 60px);
  display: grid;
  gap: 8px;
}
.note-band b { font-size: 16px; }
.note-band p { font-size: 15px; color: var(--body); }

@media (max-width: 1080px) {
  .plans, .plans--two { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .plans, .plans--two { grid-template-columns: 1fr; }
}
