/* Coruno landing – the tokens mirror client/src/styles.scss so the site and the app look like one product */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

:root {
  --primary: oklch(0.8837 0.1249 86.33);
  --primary-hover: oklch(0.85 0.135 84);
  --primary-strong: oklch(0.6 0.13 75);
  --primary-soft: oklch(0.8837 0.1249 86.33 / 0.16);
  --primary-fg: oklch(0.21 0.01 70);

  --canvas: oklch(0.982 0.002 90);
  --body: oklch(1 0 0);
  --text: oklch(0.22 0.006 70);
  --muted: oklch(0.52 0.01 70);
  --subtle: oklch(0.68 0.008 70);
  --border: oklch(0.915 0.004 80);
  --border-strong: oklch(0.86 0.006 80);
  --hover: oklch(0.965 0.003 80);
  --secondary: oklch(0.955 0.004 80);

  --dark: oklch(0.2219 0.0134 93.96);
  --dark-2: oklch(0.2669 0.0165 96.97);
  --dark-border: oklch(0.3446 0.0223 92.97);
  --dark-text: oklch(0.9923 0.0025 48.72);
  --dark-muted: oklch(0.72 0.012 80);

  --danger-bg: oklch(0.97 0.014 17);
  --danger-text: oklch(0.5 0.19 27);
  --warning-bg: oklch(0.975 0.04 95);
  --warning-text: oklch(0.5 0.12 65);
  --info-bg: oklch(0.97 0.014 255);
  --info-text: oklch(0.48 0.2 264);
  --success-bg: oklch(0.97 0.03 155);
  --success-text: oklch(0.47 0.13 152);

  --shadow-field: 0 1px 2px oklch(0.2 0.01 70 / 0.05);
  --shadow-card: 0 1px 2px oklch(0.2 0.01 70 / 0.04), 0 1px 3px oklch(0.2 0.01 70 / 0.04);
  --shadow-pop: 0 10px 30px -8px oklch(0.2 0.01 70 / 0.18), 0 4px 10px -4px oklch(0.2 0.01 70 / 0.08);
  --shadow-hero: 0 40px 80px -30px oklch(0.2 0.01 70 / 0.35), 0 12px 30px -12px oklch(0.2 0.01 70 / 0.15);

  --radius: 0.5rem;
  --radius-lg: 0.5rem;
  --wrap: 1180px;
  --gutter: 24px;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: "Inter Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  letter-spacing: -0.025em;
  line-height: 1.12;
  font-weight: 650;
  text-wrap: balance;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--primary-soft);
}

:focus-visible {
  outline: 2px solid var(--primary-strong);
  outline-offset: 2px;
}

.ic {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ic-sm {
  width: 16px;
  height: 16px;
}

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

.section {
  padding: 112px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.875rem, 3.4vw, 2.625rem);
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.125rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--primary-strong);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--body);
  border-radius: var(--radius);
}

/* ---------- buttons & badges ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 550;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  box-shadow: var(--shadow-field), inset 0 -1px 0 oklch(0.6 0.13 75 / 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-ghost {
  background: var(--body);
  border-color: var(--border-strong);
  color: var(--text);
  box-shadow: var(--shadow-field);
}

.btn-ghost:hover {
  background: var(--hover);
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 0.875rem;
  border-radius: 8px;
}

.btn-lg {
  height: 52px;
  padding: 0 26px;
  font-size: 1rem;
}

.btn .ic {
  width: 18px;
  height: 18px;
  transition: transform 0.15s;
}

.btn:hover .ic-arrow {
  transform: translateX(3px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--secondary);
  box-shadow: inset 0 0 0 1px var(--border);
  color: oklch(0.22 0.006 70 / 0.8);
  font-size: 0.75rem;
  font-weight: 550;
  line-height: 1.5;
  white-space: nowrap;
}

.badge-primary {
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 1px oklch(0.8837 0.1249 86.33 / 0.55);
  color: var(--primary-fg);
}

.badge-soon {
  background: var(--info-bg);
  box-shadow: inset 0 0 0 1px oklch(0.48 0.2 264 / 0.18);
  color: var(--info-text);
}

.badge-danger {
  background: var(--danger-bg);
  box-shadow: inset 0 0 0 1px oklch(0.5 0.19 27 / 0.18);
  color: var(--danger-text);
}

.badge-warning {
  background: var(--warning-bg);
  box-shadow: inset 0 0 0 1px oklch(0.5 0.12 65 / 0.2);
  color: var(--warning-text);
}

.badge-success {
  background: var(--success-bg);
  box-shadow: inset 0 0 0 1px oklch(0.47 0.13 152 / 0.18);
  color: var(--success-text);
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(0.982 0.002 90 / 0.8);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background-color 0.2s;
}

/* over a hero colour field the header is almost clear until the page scrolls */
.header:has(~ main :is(.hero, .cl-hero)):not(.is-scrolled) {
  background: oklch(0.982 0.002 90 / 0.25);
}

.header.is-scrolled {
  border-bottom-color: var(--border);
  background: oklch(1 0 0 / 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand img {
  height: 22px;
  width: auto;
}

.nav {
  display: flex;
  gap: 4px;
  margin-right: auto;
}

.nav a {
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.15s, background-color 0.15s;
}

.nav a:hover {
  color: var(--text);
  background: var(--hover);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-link {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 550;
}

.login-link:hover {
  background: var(--hover);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--body);
  color: var(--text);
  cursor: pointer;
}

.mobile-menu {
  display: none;
}

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

.hero {
  position: relative;
  /* pull the hero up under the translucent sticky header so the colour field shows through it */
  margin-top: -68px;
  padding: 140px 0 0;
  overflow: hidden;
  isolation: isolate;
}

/* grainy blurred colour field */
.hero-bg {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: min(1040px, 100%);
  overflow: hidden;
  background: oklch(0.975 0.012 75);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 96%);
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 96%);
  pointer-events: none;
  /* the colour field fades in once on load */
  animation: blob-fade 1.6s ease-out both;
}

.blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(56px);
  will-change: transform;
  animation: blob-drift 26s ease-in-out infinite alternate;
}

/* big warm sun on the right – brand amber melting into orange */
.blob-amber {
  top: -18%;
  right: -8%;
  width: 62vw;
  max-width: 900px;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, oklch(0.83 0.17 72), oklch(0.85 0.15 78 / 0.85) 40%, oklch(0.9 0.1 85 / 0.35) 70%, transparent);
}

.blob-orange {
  top: 8%;
  right: 12%;
  width: 34vw;
  max-width: 520px;
  aspect-ratio: 1.1;
  background: radial-gradient(closest-side, oklch(0.7 0.2 45), oklch(0.74 0.18 52 / 0.8) 45%, transparent);
  animation-duration: 21s;
  animation-delay: -6s;
}

.blob-rust {
  top: 26%;
  right: -6%;
  width: 26vw;
  max-width: 400px;
  aspect-ratio: 0.9;
  background: radial-gradient(closest-side, oklch(0.5 0.16 34), oklch(0.58 0.15 38 / 0.75) 45%, transparent);
  animation-duration: 30s;
  animation-delay: -12s;
}

/* cool counterweight on the left */
.blob-blue {
  top: 2%;
  left: -12%;
  width: 38vw;
  max-width: 560px;
  aspect-ratio: 1.2;
  background: radial-gradient(closest-side, oklch(0.66 0.08 225), oklch(0.76 0.06 220 / 0.6) 50%, transparent);
  animation-duration: 34s;
  animation-delay: -4s;
}

/* small dark smudge that gives the field depth */
.blob-umber {
  top: 46%;
  right: 4%;
  width: 22vw;
  max-width: 340px;
  aspect-ratio: 1.15;
  background: radial-gradient(closest-side, oklch(0.27 0.04 45 / 0.8), oklch(0.35 0.05 45 / 0.4) 55%, transparent);
  animation-duration: 24s;
  animation-delay: -9s;
}

@keyframes blob-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-5%, 6%, 0) scale(1.08);
  }
  100% {
    transform: translate3d(6%, -3%, 0) scale(0.95);
  }
}

/* load-in: each hero line rises a few pixels, one after the other */
.js .hero-copy > * {
  /* backwards, not both: a filled animation keeps a stacking context, which would cut the h1 off from the colour field it blends with */
  animation: hero-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.js .hero-copy > :nth-child(2) {
  animation-delay: 0.07s;
}

.js .hero-copy > :nth-child(3) {
  animation-delay: 0.14s;
}

.js .hero-copy > :nth-child(4) {
  animation-delay: 0.21s;
}

.js .hero-copy > :nth-child(5) {
  animation-delay: 0.28s;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes blob-fade {
  from {
    opacity: 0;
  }
}

/* film grain on top of the colours */
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  opacity: 0.42;
  mix-blend-mode: multiply;
}

.hero-copy {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.7), 0 1px 2px oklch(0.3 0.04 60 / 0.08);
  font-size: 0.875rem;
  color: oklch(0.35 0.02 60);
}

.hero-pill {
  transition: background-color 0.15s, color 0.15s;
}

.hero-pill:hover {
  background: oklch(1 0 0 / 0.8);
  color: var(--text);
}

.hero-pill .ic {
  width: 14px;
  height: 14px;
  margin-left: -2px;
  transition: transform 0.15s;
}

.hero-pill:hover .ic {
  transform: translateX(2px);
}

.hero-pill .badge {
  font-size: 0.75rem;
  background: var(--primary);
  box-shadow: none;
}

.hero h1 {
  font-size: clamp(2.75rem, 6.6vw, 5.5rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: oklch(0.2 0.02 55);
}

/* keyword line inside the h1, styled as a small eyebrow above the slogan */
.hero h1 .hero-kicker {
  display: block;
  margin-bottom: 18px;
  color: oklch(0.42 0.11 45);
  font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 .hl {
  /* Stripe-style see-through text: a light grey multiplied with whatever is behind it reads grey on the
     cream and takes on the blob's colour (and its grain) where it crosses the colour field.
     Needs no stacking context between the h1 and .hero-bg, see the hero-rise animation. */
  color: oklch(0.56 0.004 60 / 0.92);
  mix-blend-mode: multiply;
}

.hero-sub {
  max-width: 600px;
  margin: 28px auto 0;
  color: oklch(0.32 0.02 60);
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.hero .btn-primary {
  box-shadow: 0 8px 24px -10px oklch(0.55 0.15 60 / 0.6), inset 0 -1px 0 oklch(0.6 0.13 75 / 0.25);
}

.hero .btn-ghost {
  background: oklch(1 0 0 / 0.55);
  border-color: oklch(1 0 0 / 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero .btn-ghost:hover {
  background: oklch(1 0 0 / 0.8);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: oklch(0.36 0.02 60);
  font-size: 0.875rem;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust .ic {
  width: 16px;
  height: 16px;
  color: var(--success-text);
}

.hero-visual {
  position: relative;
  max-width: 1100px;
  margin: 64px auto 0;
}

.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: -1px;
  right: -1px;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--canvas));
  pointer-events: none;
}

/* ---------- product mockups (coded, not images: replace with real screenshots when ready) ---------- */

.frame {
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--body);
  box-shadow: var(--shadow-hero), 0 0 0 1px var(--border);
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: var(--canvas);
}

.frame-dots {
  display: flex;
  gap: 6px;
}

.frame-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.frame-url {
  flex: 1;
  max-width: 320px;
  margin: 0 auto;
  padding: 3px 12px;
  border-radius: 6px;
  background: var(--body);
  box-shadow: inset 0 0 0 1px var(--border);
  color: var(--subtle);
  font-size: 0.75rem;
  text-align: center;
}

.app {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 460px;
  font-size: 13px;
  line-height: 1.45;
}

.app-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 10px;
  border-right: 1px solid var(--border);
}

.app-side img {
  align-self: flex-start;
  height: 16px;
  width: auto;
  margin: 2px 8px 14px;
}

.app-new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: 7px;
  background: var(--primary);
  color: var(--primary-fg);
  font-weight: 550;
  font-size: 12px;
}

.app-new .ic {
  width: 14px;
  height: 14px;
}

.app-nav {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  border-radius: 7px;
  color: var(--muted);
  font-weight: 500;
}

.app-nav .ic {
  width: 15px;
  height: 15px;
}

.app-nav.on {
  background: var(--primary-soft);
  color: var(--text);
}

.app-nav.on .ic {
  color: var(--primary-strong);
}

.app-main {
  min-width: 0;
  padding: 18px 20px;
  background: var(--canvas);
}

.app-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.app-top strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-right: auto;
}

.app-stats {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.app-stat {
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--body);
  box-shadow: inset 0 0 0 1px var(--border);
  color: var(--muted);
  font-size: 12px;
}

.app-stat b {
  color: var(--text);
  font-weight: 600;
}

.app-stat.warn b {
  color: var(--danger-text);
}

.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 10px;
}

.col {
  min-width: 0;
  padding: 8px;
  border-radius: 8px;
  background: oklch(0.955 0.004 80 / 0.7);
  box-shadow: inset 0 0 0 1px var(--border);
}

.col-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 4px 8px;
  font-size: 12px;
  font-weight: 600;
}

.col-head i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.col-head span {
  margin-left: auto;
  color: var(--subtle);
  font-weight: 500;
}

.card {
  position: relative;
  margin-bottom: 7px;
  padding: 9px 10px 9px 12px;
  border-radius: 8px;
  background: var(--body);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--border);
  overflow: hidden;
}

.card:last-child {
  margin-bottom: 0;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--cat, var(--border-strong));
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}

.plate {
  display: inline-block;
  white-space: nowrap;
  padding: 0 5px;
  border-radius: 4px;
  background: var(--body);
  box-shadow: inset 0 0 0 1px var(--border-strong);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.card-car {
  margin-top: 5px;
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-issue {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  font-size: 11px;
  color: var(--muted);
}

.card-foot .sum {
  margin-left: auto;
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.card .badge {
  padding: 0 6px;
  font-size: 10.5px;
}

.av {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: inset 0 0 0 1px var(--border);
  font-size: 9.5px;
  font-weight: 650;
  color: var(--text);
}

.card.is-dragging {
  transform: rotate(-2.5deg) translateY(-4px);
  box-shadow: var(--shadow-pop), inset 0 0 0 1px var(--primary);
}

/* phone floating over the hero */
.phone {
  position: absolute;
  z-index: 2;
  right: -24px;
  bottom: 28px;
  width: 196px;
  aspect-ratio: 9 / 19.5;
  padding: 7px;
  border-radius: 32px;
  background: oklch(0.2 0.008 70);
  box-shadow: var(--shadow-hero);
}

.phone-screen {
  overflow: hidden;
  height: 100%;
  border-radius: 26px;
  background: var(--canvas);
  color: var(--text);
  font-size: 11px;
  line-height: 1.45;
}

.phone-notch {
  width: 62px;
  height: 17px;
  margin: 6px auto 4px;
  border-radius: 999px;
  background: oklch(0.2 0.008 70);
}

.phone-body {
  padding: 6px 12px 14px;
}

.phone-title {
  display: flex;
  gap: 6px;
  white-space: nowrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
}

.ph-card {
  margin-bottom: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--body);
  box-shadow: inset 0 0 0 1px var(--border);
}

.ph-label {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ph-scan {
  position: relative;
  display: grid;
  place-items: center;
  height: 84px;
  margin: 6px 0 8px;
  border-radius: 8px;
  background: linear-gradient(135deg, oklch(0.32 0.01 70), oklch(0.24 0.01 70));
  color: oklch(1 0 0 / 0.85);
  overflow: hidden;
}

.ph-scan::before {
  content: "";
  position: absolute;
  inset: 14px 18px;
  border: 2px solid var(--primary);
  border-radius: 6px;
  opacity: 0.9;
}

.ph-scan::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
  animation: scan 2.4s ease-in-out infinite;
}

@keyframes scan {
  0%,
  100% {
    top: 18px;
  }
  50% {
    top: 72px;
  }
}

.ph-scan span {
  position: relative;
  z-index: 1;
  font-size: 10.5px;
  letter-spacing: 0.02em;
}

.ph-field {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--border);
}

.ph-field:last-child {
  border-bottom: 0;
}

.ph-field span {
  color: var(--muted);
}

.ph-field b {
  font-weight: 600;
}

.ph-ok {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  border-radius: 9px;
  background: var(--primary);
  color: var(--primary-fg);
  font-weight: 600;
}

.ph-ok .ic {
  width: 14px;
  height: 14px;
}

/* ---------- pain points ---------- */

.pains {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pain {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--body);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--border);
}

.pain q {
  display: block;
  margin-bottom: 12px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  quotes: "„" "”";
}

.pain p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.pain-answer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-strong);
  color: var(--text) !important;
  font-weight: 500;
}

.pain-answer .ic {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--primary-strong);
}

/* ---------- steps ---------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 16%;
  right: 16%;
  border-top: 2px dashed var(--border-strong);
}

.step {
  position: relative;
  text-align: center;
  padding: 0 12px;
}

.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 8px;
  background: var(--body);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--border);
  color: var(--primary-strong);
}

.step-num .ic {
  width: 24px;
  height: 24px;
}

.step-num::after {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 12px;
  font-weight: 700;
}

.step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ---------- feature rows ---------- */

.features {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 72px;
}

.feature.flip .feature-copy {
  order: 2;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  box-shadow: inset 0 0 0 1px oklch(0.8837 0.1249 86.33 / 0.5);
}

.feature-copy h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}

.feature-copy > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.0625rem;
}

.ticks {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  gap: 12px;
  font-size: 0.9875rem;
}

.ticks .ic {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  padding: 3px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success-text);
  stroke-width: 3;
}

.feature-tag {
  margin-top: 20px;
}

.shot {
  position: relative;
  padding: 24px;
  border-radius: 8px;
  background:
    radial-gradient(120% 80% at 100% 0%, oklch(0.8837 0.1249 86.33 / 0.22), transparent 60%),
    var(--secondary);
  box-shadow: inset 0 0 0 1px var(--border);
}

.panel {
  border-radius: 8px;
  background: var(--body);
  box-shadow: var(--shadow-pop), 0 0 0 1px var(--border);
  font-size: 13px;
  line-height: 1.45;
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.panel-head strong {
  font-weight: 600;
  margin-right: auto;
}

.panel-body {
  padding: 14px 16px;
}

/* work order mock */
.wo-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.wo-meta div {
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--border);
}

.wo-meta span {
  display: block;
  color: var(--subtle);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.wo-meta b {
  font-weight: 600;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.mini-table th {
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
  background: var(--canvas);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
}

.mini-table td {
  padding: 8px;
  border-bottom: 1px solid var(--border);
}

.mini-table tr:last-child td {
  border-bottom: 0;
}

.mini-table .num {
  text-align: right;
  white-space: nowrap;
}

.mini-table small {
  display: block;
  color: var(--subtle);
  font-size: 11px;
}

.wo-total {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.wo-total b {
  white-space: nowrap;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.wo-discount {
  color: var(--success-text);
  font-size: 12px;
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--body);
  box-shadow: var(--shadow-pop), 0 0 0 1px var(--border);
  font-size: 12.5px;
  font-weight: 550;
}

.float-chip .ic {
  width: 16px;
  height: 16px;
  color: var(--success-text);
}

/* kanban detail mock */
.stuck-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.lane-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

/* calendar mock */
.cal {
  display: grid;
  grid-template-columns: 44px repeat(5, 1fr);
  font-size: 11.5px;
}

.cal-h {
  padding: 8px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}

.cal-h.today {
  color: var(--primary-strong);
}

.cal-t {
  height: 44px;
  padding-right: 6px;
  color: var(--subtle);
  font-size: 10.5px;
  text-align: right;
  transform: translateY(-7px);
}

.cal-c {
  position: relative;
  height: 44px;
  border-left: 1px solid var(--border);
  border-bottom: 1px solid oklch(0.915 0.004 80 / 0.6);
}

.ev {
  position: absolute;
  z-index: 1;
  left: 3px;
  right: 3px;
  padding: 4px 6px;
  border-radius: 6px;
  background: color-mix(in oklch, var(--cat) 16%, white);
  box-shadow: inset 3px 0 0 var(--cat);
  overflow: hidden;
  line-height: 1.3;
}

.ev b {
  display: block;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ev span {
  color: var(--muted);
  white-space: nowrap;
}

.ev.drag {
  box-shadow: inset 3px 0 0 var(--cat), var(--shadow-pop);
  transform: rotate(-2deg);
  outline: 1.5px dashed var(--cat);
}

/* inventory mock */
.stock-row td:first-child b {
  display: block;
  font-weight: 550;
}

.bar {
  height: 6px;
  width: 64px;
  border-radius: 999px;
  background: var(--secondary);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--success-text);
}

.bar.low i {
  background: var(--danger-text);
}

/* tv mock */
.tv {
  padding: 14px;
  border-radius: 10px;
  background: oklch(0.16 0.006 70);
  box-shadow: var(--shadow-hero);
}

.tv-screen {
  padding: 16px;
  border-radius: 6px;
  background: var(--dark);
  color: var(--dark-text);
  font-size: 12px;
  line-height: 1.4;
}

.tv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.tv-top img {
  height: 14px;
  width: auto;
}

.tv-clock {
  font-size: 18px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.tv-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dark-muted);
  font-size: 11px;
}

.tv-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: oklch(0.75 0.17 150);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

.tv-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tv-col h4 {
  margin: 0 0 8px;
  color: var(--dark-muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tv-card {
  margin-bottom: 7px;
  padding: 8px 10px;
  border-radius: 7px;
  background: var(--dark-2);
  box-shadow: inset 0 0 0 1px var(--dark-border);
}

.tv-card .plate {
  background: oklch(1 0 0 / 0.95);
  color: var(--text);
  box-shadow: none;
  font-size: 12px;
}

.tv-card div {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  color: var(--dark-muted);
  font-size: 11px;
}

.tv-card.urgent {
  box-shadow: inset 0 0 0 1px oklch(0.6 0.2 25 / 0.7), inset 3px 0 0 oklch(0.6 0.2 25);
}

.tv-card.done {
  box-shadow: inset 0 0 0 1px oklch(0.75 0.17 150 / 0.4), inset 3px 0 0 oklch(0.75 0.17 150);
}

.tv-stand {
  width: 120px;
  height: 10px;
  margin: 0 auto;
  border-radius: 0 0 8px 8px;
  background: oklch(0.16 0.006 70);
}

/* ---------- small things grid ---------- */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--border);
  box-shadow: 0 0 0 1px var(--border);
}

.tile {
  padding: 28px 24px;
  background: var(--body);
}

.tile-wide {
  grid-column: span 2;
}

.tile .ic {
  margin-bottom: 16px;
  color: var(--primary-strong);
}

.tile h3 {
  font-size: 1rem;
}

.tile p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ---------- roles ---------- */

.roles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.role {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--body);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--border);
}

.roles-custom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 16px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--body);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--border);
}

.roles-custom p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.roles-custom .ticks {
  margin: 0;
}

.role-av {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: inset 0 0 0 1px var(--border);
  font-weight: 650;
}

.role:first-child .role-av {
  background: var(--primary);
  box-shadow: none;
}

.role p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.role-sees {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ---------- dark band (mobile + data) ---------- */

.band-dark {
  position: relative;
  background: var(--dark);
  color: var(--dark-text);
  overflow: hidden;
  isolation: isolate;
}

.band-dark::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -200px;
  top: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(closest-side, oklch(0.8837 0.1249 86.33 / 0.16), transparent);
}

.band-dark .eyebrow {
  color: var(--primary);
}

.band-dark .section-head p,
.band-dark .muted {
  color: var(--dark-muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.split h2 {
  font-size: clamp(1.875rem, 3.4vw, 2.625rem);
}

.split > div > p {
  margin-top: 16px;
  font-size: 1.125rem;
}

.dark-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  margin-top: 40px;
}

.dark-list div {
  padding-top: 16px;
  border-top: 1px solid var(--dark-border);
}

.dark-list .ic {
  margin-bottom: 10px;
  color: var(--primary);
}

.dark-list h3 {
  font-size: 1rem;
}

.dark-list p {
  margin-top: 4px;
  color: var(--dark-muted);
  font-size: 0.9375rem;
}

.phones {
  position: relative;
  display: flex;
  justify-content: center;
  /* flex-start, not the default stretch: otherwise the left phone grows to the height of the lowered right one */
  align-items: flex-start;
  gap: 28px;
  perspective: 1600px;
}

/* both phones the same size, turned slightly so their screens face left and up */
.phones .phone {
  position: relative;
  right: auto;
  bottom: auto;
  flex: none;
  width: 210px;
  /* keep the 9:19.5 shape even when the screen content is taller (it is clipped by .phone-screen) */
  min-height: 0;
  /* brushed-metal bezel: light catches the top-left corner and the bottom-right edge */
  background: linear-gradient(
    150deg,
    oklch(0.36 0.006 70),
    oklch(0.15 0.006 70) 16%,
    oklch(0.1 0.005 70) 72%,
    oklch(0.24 0.006 70)
  );
  /* thickness: stacked 1px solid layers form the right side and bottom edge of the body, then the drop shadow */
  box-shadow:
    0 0 0 1px oklch(0.36 0.008 70),
    1px 0.5px 0 oklch(0.34 0.006 70),
    2px 1px 0 oklch(0.32 0.006 70),
    3px 1.5px 0 oklch(0.3 0.006 70),
    4px 2px 0 oklch(0.28 0.006 70),
    5px 2.5px 0 oklch(0.26 0.006 70),
    6px 3px 0 oklch(0.24 0.006 70),
    7px 3.5px 0 oklch(0.22 0.006 70),
    8px 4px 0 oklch(0.2 0.006 70),
    9px 4.5px 0 oklch(0.18 0.006 70),
    34px 48px 70px -24px #000;
  transform: rotateX(10deg) rotateY(-22deg) rotateZ(3deg);
  transform-origin: 50% 60%;
  transition:
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* power button on the right side, standing out from the edge */
.phones .phone::after {
  content: "";
  position: absolute;
  top: 27%;
  right: -12px;
  width: 4px;
  height: 62px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(to right, oklch(0.2 0.006 70), oklch(0.42 0.008 70) 60%, oklch(0.26 0.006 70));
  box-shadow: 1px 1px 2px oklch(0 0 0 / 0.5);
  transition: right 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* the right phone sits lower, so the left one reads as raised */
.phones .phone:nth-child(2) {
  margin-top: 72px;
}

.phones:hover .phone {
  transform: rotateX(6deg) rotateY(-14deg) rotateZ(2deg);
  /* less turned, so less of the side shows */
  box-shadow:
    0 0 0 1px oklch(0.36 0.008 70),
    0.65px 0.33px 0 oklch(0.34 0.006 70),
    1.3px 0.65px 0 oklch(0.32 0.006 70),
    1.95px 0.98px 0 oklch(0.3 0.006 70),
    2.6px 1.3px 0 oklch(0.28 0.006 70),
    3.25px 1.62px 0 oklch(0.26 0.006 70),
    3.9px 1.95px 0 oklch(0.24 0.006 70),
    4.55px 2.27px 0 oklch(0.22 0.006 70),
    5.2px 2.6px 0 oklch(0.2 0.006 70),
    5.85px 2.93px 0 oklch(0.18 0.006 70),
    24px 44px 70px -24px #000;
}

.phones:hover .phone::after {
  right: -9px;
}

.phones .phone-notch {
  background: oklch(0.12 0.006 70);
}

.cnt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.cnt-row:last-child {
  border-bottom: 0;
}

.cnt-row small {
  display: block;
  color: var(--subtle);
  font-size: 10px;
}

.cnt-input {
  display: grid;
  place-items: center;
  width: 42px;
  height: 26px;
  border-radius: 6px;
  background: var(--body);
  box-shadow: inset 0 0 0 1px var(--border-strong);
  font-weight: 600;
}

.cnt-input.on {
  box-shadow: inset 0 0 0 1.5px var(--primary-strong), 0 0 0 3px var(--primary-soft);
}

/* ---------- trust / data ---------- */

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trust-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--body);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--border);
}

.trust-card .feature-icon {
  margin-bottom: 18px;
}

.trust-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ---------- coming soon ---------- */

.soon {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 28px;
  border: 1px dashed oklch(0.48 0.2 264 / 0.35);
  border-radius: var(--radius);
  background: var(--body);
}

.soon-icon,
.trial-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
}

.soon-icon {
  background: var(--info-bg);
  color: var(--info-text);
}

.soon-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.soon h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.soon p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ---------- pricing ---------- */

.trial {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 980px;
  margin: 0 auto 40px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 1px oklch(0.8837 0.1249 86.33 / 0.6);
}

.trial-icon {
  background: var(--primary);
  color: var(--primary-fg);
}

.trial-copy {
  flex: 1;
}

.trial h3 {
  font-size: 1.125rem;
}

.trial p {
  margin-top: 4px;
  color: oklch(0.22 0.006 70 / 0.75);
  font-size: 0.9375rem;
}

.billing {
  display: flex;
  width: fit-content;
  margin: 0 auto 40px;
  padding: 4px;
  border-radius: var(--radius);
  background: var(--secondary);
  box-shadow: inset 0 0 0 1px var(--border);
}

.billing-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 550;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.billing-opt:hover {
  color: var(--text);
}

.billing-opt.is-on {
  background: var(--body);
  color: var(--text);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--border);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--body);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--border);
}

.plan.featured {
  background: linear-gradient(to bottom, oklch(0.8837 0.1249 86.33 / 0.1), var(--body) 45%);
  box-shadow: var(--shadow-pop), inset 0 0 0 2px var(--primary);
}

.plan-flag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.plan-name {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 12px 0 4px;
}

.price b {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.price span {
  color: var(--muted);
  font-size: 0.9375rem;
}

.price-note {
  color: var(--subtle);
  font-size: 0.8125rem;
}

.plan-desc {
  margin-top: 16px;
  min-height: 3.2em;
  color: var(--muted);
  font-size: 0.9375rem;
}

.plan .btn {
  width: 100%;
  margin: 20px 0 24px;
}

.plan .ticks {
  margin-top: 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  gap: 10px;
}

.plan .ticks li {
  font-size: 0.9375rem;
  color: var(--muted);
}

.plan .ticks b {
  color: var(--text);
  font-weight: 600;
}

.plans-foot {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.9375rem;
  text-align: center;
}

.link {
  color: var(--primary-strong);
  font-weight: 550;
  text-underline-offset: 2px;
}

.link:hover {
  text-decoration: underline;
}

/* ---------- faq ---------- */

.faq {
  max-width: 780px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .ic {
  color: var(--muted);
  transition: transform 0.2s;
}

.faq details[open] summary .ic {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 40px 22px 0;
  color: var(--muted);
}

/* ---------- contact / final cta ---------- */

.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  padding: 64px;
  border-radius: 8px;
  background: var(--dark);
  color: var(--dark-text);
  overflow: hidden;
  isolation: isolate;
}

.cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -160px;
  bottom: -260px;
  width: 640px;
  height: 640px;
  background: radial-gradient(closest-side, oklch(0.8837 0.1249 86.33 / 0.22), transparent);
}

.cta h2 {
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
}

.cta-copy > p {
  margin-top: 16px;
  color: var(--dark-muted);
  font-size: 1.125rem;
}

.cta-contacts {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.cta-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 550;
}

.cta-contacts a:hover {
  color: var(--primary);
}

.cta-contacts .ic {
  color: var(--primary);
}

.cta-steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--body);
  color: var(--text);
  box-shadow: var(--shadow-hero);
}

.cta-step {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.cta-step:last-of-type {
  border-bottom: 0;
}

.cta-step-num {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 13px;
  font-weight: 700;
}

.cta-step h3 {
  font-size: 1rem;
}

.cta-step p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.cta-steps .btn {
  width: 100%;
  margin-top: 12px;
}

.cta-note {
  color: var(--subtle);
  font-size: 12.5px;
  text-align: center;
}

.cta-note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--body);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}

.footer-brand img {
  height: 22px;
  width: auto;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer h4 {
  margin: 0 0 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--subtle);
}

.footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}

.footer ul a {
  color: var(--muted);
}

.footer ul a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--subtle);
  font-size: 0.875rem;
}

/* ---------- scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ph-scan::after,
  .tv-live i,
  .blob,
  .js .hero-copy > *,
  .hero-bg {
    animation: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .pains,
  .roles,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature,
  .split {
    gap: 48px;
  }

  .phone {
    right: -12px;
    width: 200px;
  }

  .cta {
    padding: 48px;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .nav,
  .header-actions .login-link,
  .header-actions .btn {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    position: fixed;
    inset: 68px 0 auto;
    z-index: 49;
    flex-direction: column;
    gap: 4px;
    padding: 12px var(--gutter) 20px;
    border-bottom: 1px solid var(--border);
    background: var(--body);
    box-shadow: var(--shadow-pop);
  }

  .mobile-menu.is-open {
    display: flex;
  }

  .mobile-menu a:not(.btn) {
    padding: 12px 4px;
    border-bottom: 1px solid var(--border);
    font-weight: 500;
  }

  .mobile-menu .btn {
    margin-top: 12px;
  }

  .section {
    padding: 80px 0;
  }

  .feature,
  .split,
  .cta {
    grid-template-columns: 1fr;
  }

  .feature.flip .feature-copy {
    order: 0;
  }

  .features {
    gap: 88px;
  }

  .steps,
  .trust {
    grid-template-columns: 1fr;
  }

  .trial {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .trial .btn {
    width: 100%;
  }

  .steps {
    gap: 40px;
  }

  .steps::before {
    display: none;
  }

  .plans {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
    gap: 28px;
  }

  .app {
    grid-template-columns: 1fr;
  }

  .app-side {
    display: none;
  }

  .board {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    overflow: hidden;
    mask-image: linear-gradient(to right, #000 75%, transparent);
    -webkit-mask-image: linear-gradient(to right, #000 75%, transparent);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  .hero {
    padding-top: 108px;
  }

  .hero-pill {
    margin-bottom: 24px;
  }

  .blob {
    filter: blur(48px);
  }

  .blob-amber {
    width: 120vw;
    top: -10%;
    right: -50%;
  }

  .blob-orange {
    width: 70vw;
    top: 22%;
    right: -10%;
  }

  .blob-rust {
    width: 50vw;
    top: 34%;
  }

  .blob-blue {
    width: 80vw;
    top: -4%;
    left: -35%;
  }

  .blob-umber {
    width: 40vw;
    top: 52%;
  }

  /* phones: left-aligned hero */
  .hero-copy {
    text-align: left;
  }

  .hero-sub {
    margin-left: 0;
  }

  .hero-ctas {
    justify-content: flex-start;
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    margin: 32px 0 0;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-visual {
    margin-top: 48px;
  }

  .hero-visual .phone {
    display: none;
  }

  .pains,
  .roles,
  .grid-4,
  .dark-list {
    grid-template-columns: 1fr;
  }

  .tile-wide {
    grid-column: auto;
  }

  .roles-custom {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .shot {
    padding: 14px;
  }

  .wo-meta {
    grid-template-columns: 1fr 1fr;
  }

  .wo-meta div:last-child {
    display: none;
  }

  .tv-cols {
    grid-template-columns: 1fr 1fr;
  }

  .tv-col:last-child {
    display: none;
  }

  .stuck-board {
    grid-template-columns: 1fr;
  }

  .float-chip {
    display: none;
  }

  .phones .phone:nth-child(2) {
    display: none;
  }

  .cta {
    padding: 28px 18px;
    border-radius: 8px;
  }

  .cta-steps {
    padding: 18px;
  }

  .faq details p {
    padding-right: 0;
  }

  .soon {
    flex-direction: column;
    padding: 20px;
  }
}

/* referral program: shown when the visitor came with a ?ref= link */
.ref-bar {
  padding: 10px 16px;
  background: var(--primary-soft);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

/* invoicing feature: provider logos */
.provider-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 20px;
}

.provider-logos img {
  height: 26px;
  width: auto;
}

.feature-note {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.8125rem;
}
