/* ==========================================================================
   P4 Innovations LLC — site stylesheet
   Palette is sampled from the P4_Innovation_Logo.png artwork:
   deep purple, metallic silver, near-black neutral, white surfaces.
   No external fonts, no frameworks, no build step.
   ========================================================================== */

:root {
  /* surfaces */
  --paper:        #FFFFFF;
  --paper-2:      #F8F6FB;   /* very light lavender-grey */
  --paper-3:      #F1F2F4;
  --deep:         #111214;   /* dark band */

  /* text */
  --ink:          #16181B;
  --ink-muted:    #565B63;
  --ink-soft:     #6E737B;
  --on-deep:      #F4F5F7;
  --on-deep-muted:#A9AEB6;

  /* brand */
  --accent:       #4A4F57;
  --accent-deep:  #23262B;
  --accent-soft:  #8A9099;
  --accent-wash:  rgba(74, 79, 87, 0.07);
  --accent-line:  rgba(74, 79, 87, 0.18);

  /* metallic */
  --silver:       #C7CBD0;
  --silver-2:     #979CA3;

  /* lines + aliases used in page markup */
  --line:         #E5E6E9;
  --line-soft:    #F0F1F3;
  --txt-dim:      var(--ink-soft);
  --accent-ink:   var(--accent);

  /* geometry */
  --shell:        1180px;
  --gutter:       clamp(20px, 5vw, 40px);
  --radius:       18px;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
          Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;

  --shadow-sm: 0 1px 2px rgba(17, 18, 20, 0.05);
  --shadow-md: 0 18px 40px -24px rgba(17, 18, 20, 0.35);
  --shadow-lg: 0 40px 80px -40px rgba(17, 18, 20, 0.45);
}

/* --------------------------------------------------------------------------
   Reset + base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 { margin: 0; text-wrap: balance; }

ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

strong, b { font-weight: 650; }

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

::selection { background: rgba(74, 79, 87, 0.16); }

.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.18s ease;
}
.skip:focus { top: 12px; color: #fff; }

/* --------------------------------------------------------------------------
   Type scale
   -------------------------------------------------------------------------- */

.h1 {
  font-size: clamp(2.4rem, 5.1vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: -0.038em;
  font-weight: 620;
  color: var(--ink);
}

.h1 em {
  font-style: normal;
  color: var(--accent);
}

.h2 {
  font-size: clamp(1.85rem, 3.3vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
  font-weight: 620;
  color: var(--ink);
}

.h3 {
  font-size: 1.12rem;
  line-height: 1.28;
  letter-spacing: -0.018em;
  font-weight: 640;
  color: var(--ink);
}

.lede {
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 58ch;
  letter-spacing: -0.014em;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.small { font-size: 14.5px; line-height: 1.6; color: var(--ink-muted); }
.muted { color: var(--ink-soft); }

.prose p { margin-bottom: 1.05em; }
.prose p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 12px 30px -22px rgba(17, 18, 20, 0.45);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  margin-right: auto;
  flex: none;
}
.brand:hover { color: var(--ink); }

/* the real logo artwork has a solid white background — keep it on white
   plates so the rectangle never shows as a box */
.brand-mark {
  height: 38px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.brand-txt {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}
.brand-txt b {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  color: var(--ink);
}
.brand-txt span { margin-top: 0; font-weight: 500; }

@media (max-width: 420px) {
  .brand-txt { display: none; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 520;
}
.nav-links a {
  color: var(--ink-muted);
  padding: 6px 0;
  position: relative;
  transition: color 0.16s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 12px; flex: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .x { display: none; }
.site-header.is-open .nav-toggle .menu { display: none; }
.site-header.is-open .nav-toggle .x { display: block; }

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-panel .shell {
  display: flex;
  flex-direction: column;
  padding-block: 14px 22px;
}
.mobile-panel a {
  padding: 14px 2px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 520;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-panel a.btn {
  border-bottom: 0;
  margin-top: 16px;
  justify-content: center;
}
.site-header.is-open .mobile-panel { display: block; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, transform 0.18s ease,
              box-shadow 0.18s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 26px -16px rgba(74, 79, 87, 0.85);
}
.btn--primary:hover {
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -16px rgba(74, 79, 87, 0.9);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: #CFD2D7;
}
.btn--ghost:hover {
  border-color: var(--silver-2);
  background: #fff;
  color: var(--ink);
}

.btn .arw { flex: none; transition: transform 0.2s ease; }
.btn:hover .arw { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 6.4vw, 84px) clamp(56px, 7vw, 96px);
  background:
    radial-gradient(1100px 520px at 88% -12%, rgba(74, 79, 87, 0.10), transparent 62%),
    radial-gradient(700px 400px at 10% 108%, rgba(151, 147, 159, 0.16), transparent 68%),
    var(--paper);
}

.hero-grid-2 {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(32px, 4.5vw, 68px);
  align-items: center;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(680px 380px at 78% 8%, rgba(110, 63, 168, 0.13), transparent 60%),
    radial-gradient(520px 320px at 96% 72%, rgba(201, 199, 206, 0.24), transparent 66%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(23, 19, 31, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 19, 31, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  /* keep the grid to the right of the hero so the real logo (which has an
     opaque white background) always sits on clean white */
  mask-image: radial-gradient(64% 66% at 90% 4%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(64% 66% at 90% 4%, #000 0%, transparent 70%);
}

.hero-logo {
  height: clamp(132px, 17vw, 210px);
  width: auto;
  max-width: 100%;
  margin-bottom: clamp(24px, 3vw, 34px);
}

.hero-sub {
  margin: 22px 0 0;
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  line-height: 1.58;
  color: var(--ink-muted);
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 46ch;
}

.dot-live {
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-wash);
}

/* Deployment spec card --------------------------------------------------- */

.spec {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.spec::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--accent) 0%,
    var(--accent-soft) 38%,
    var(--silver) 70%,
    var(--accent) 100%);
}

.spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.spec-head b {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.spec-badge {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-wash);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 5px 9px;
  white-space: nowrap;
}

.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 10.5px 0;
  border-bottom: 1px dashed var(--line);
}
.spec-row:last-of-type { border-bottom: 0; }
.spec-row dt {
  font-size: 14px;
  color: var(--ink-muted);
  letter-spacing: -0.005em;
}
.spec-row dd {
  font-size: 14.5px;
  font-weight: 620;
  color: var(--ink);
  text-align: right;
}
.spec-row code {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: var(--paper-3);
  border-radius: 6px;
  padding: 2px 7px;
}
.spec-row .muted {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
}

.spec-foot {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */

.ticker-band {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  padding: 15px 0;
}
.ticker-band::before,
.ticker-band::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(28px, 6vw, 90px);
  z-index: 2;
  pointer-events: none;
}
.ticker-band::before {
  left: 0;
  background: linear-gradient(to right, var(--deep), rgba(17, 18, 20, 0));
}
.ticker-band::after {
  right: 0;
  background: linear-gradient(to left, var(--deep), rgba(17, 18, 20, 0));
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: ticker 46s linear infinite;
}
.tick {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-deep-muted);
  white-space: nowrap;
}
.tick b { color: #fff; font-weight: 600; letter-spacing: 0.04em; }
.tick i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--silver);
  opacity: 0.7;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.sec { padding-block: clamp(60px, 7.5vw, 108px); position: relative; }
.sec--tight { padding-block: clamp(48px, 6vw, 78px); }
.sec--paper   { background: var(--paper-2); border-block: 1px solid var(--line-soft); }
.sec--paper-2 { background: var(--paper); border-top: 1px solid var(--line); }

.sec--ink2 {
  background: var(--deep);
  color: var(--on-deep);
  border-block: 1px solid rgba(255, 255, 255, 0.07);
}
.sec--ink2 .h2 { color: #fff; }
.sec--ink2 .label { color: #C7CBD1; }
.sec--ink2 p { color: var(--on-deep-muted); }

.sec-head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(34px, 4.4vw, 56px);
}
.sec-head > p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 46ch;
}
.sec--ink2 .sec-head > p { color: var(--on-deep-muted); }

/* Page head (inner pages) ------------------------------------------------- */

.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(46px, 6vw, 80px) clamp(40px, 5vw, 68px);
  background:
    radial-gradient(900px 420px at 85% -20%, rgba(74, 79, 87, 0.09), transparent 62%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-head .shell { position: relative; }
.page-head .h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  max-width: 22ch;
  margin-bottom: 20px;
}
.page-head .lede { max-width: 60ch; }

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { opacity: 0.5; }

/* --------------------------------------------------------------------------
   Hairline card grid
   -------------------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--paper);
  padding: clamp(24px, 3vw, 34px);
  transition: background 0.2s ease;
}
.card:hover { background: #FCFBFE; }

.card--wide {
  grid-column: 1 / -1;
  background:
    radial-gradient(520px 220px at 92% 0%, rgba(74, 79, 87, 0.055), transparent 70%),
    var(--paper);
}
.card--wide .h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); }
.card--wide p { max-width: 68ch; }

.card-ico {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-wash);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  margin-bottom: 4px;
}
.card-ico svg { width: 26px; height: 26px; }

.card p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent);
}
.card-link svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.card-link:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  position: relative;
}
.step::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 34px;
  height: 1px;
  background: var(--accent);
}
.step-n {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
}
.step .h3 { margin-bottom: 8px; }
.step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}
.step .t {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--paper);
}

.sec--ink2 .steps .step { border-top-color: rgba(255, 255, 255, 0.16); }
.sec--ink2 .step .h3 { color: #fff; }
.sec--ink2 .step p { color: var(--on-deep-muted); }
.sec--ink2 .step .t { background: transparent; border-color: rgba(255, 255, 255, 0.18); color: var(--on-deep-muted); }
.sec--ink2 .step-n { color: #C7CBD1; }

/* --------------------------------------------------------------------------
   Split (services page)
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}
.split--flip .split-head { order: 2; }
.split--flip .split-body { order: 1; }

.split-head .h2 { margin-bottom: 18px; max-width: 20ch; }
.split-head p {
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink-muted);
  max-width: 50ch;
}

.split-body {
  display: grid;
  gap: 16px;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--shadow-sm);
}
.panel .h3 { margin-bottom: 14px; }
.panel p { font-size: 15px; line-height: 1.6; color: var(--ink-muted); }

.panel-list { display: grid; gap: 11px; }
.panel-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-muted);
}
.panel-list svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--accent);
}

.spec-list { display: grid; }
.spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.spec-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-list li > span:first-child { color: var(--ink-muted); }
.spec-list li > span:last-child { font-weight: 620; color: var(--ink); white-space: nowrap; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.price-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: stretch;
}

.price-main,
.price-side {
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.price-main h3,
.price-side h3 {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.ph {
  margin: 8px 0 22px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.plist { display: grid; }

.pitem {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.pl {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  max-width: 34ch;
}
.pl span {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-soft);
}
.pv {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 640;
  letter-spacing: -0.03em;
  color: var(--accent);
  white-space: nowrap;
  line-height: 1.1;
}
.pv small {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.price-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* the monthly panel carries the brand colour */
.price-side {
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(110, 63, 168, 0.45), transparent 70%),
    var(--accent);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 30px 60px -34px rgba(74, 79, 87, 0.9);
}
.price-side h3 { color: #fff; }
.price-side .ph { color: rgba(255, 255, 255, 0.72); }
.price-side .pitem { border-top-color: rgba(255, 255, 255, 0.18); }
.price-side .pl { color: #fff; }
.price-side .pl span { color: rgba(255, 255, 255, 0.72); }
.price-side .pv { color: #fff; }
.price-side .pv small { color: rgba(255, 255, 255, 0.72); }
.price-side .price-note {
  border-top-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
}

.examples {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line);
}
.examples h3 {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

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

.ex {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
}
.ex-n {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}
.ex-total {
  margin-top: 8px;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 640;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}
.ex-total small { font-size: 12.5px; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); }
.ex-sub {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  border-top: 1px solid var(--line);
  max-width: 900px;
}

.q { border-bottom: 1px solid var(--line); }

.q summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 2px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1rem, 1.35vw, 1.09rem);
  font-weight: 590;
  letter-spacing: -0.016em;
  color: var(--ink);
  transition: color 0.16s ease;
}
.q summary::-webkit-details-marker { display: none; }
.q summary:hover { color: var(--accent); }

.q-ico {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}
.q-ico::before,
.q-ico::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 9px;
  height: 1.4px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.q-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.q[open] .q-ico::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }

.q-a {
  padding: 0 2px 24px;
  max-width: 74ch;
}
.q-a p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin-bottom: 0.8em;
}
.q-a p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--accent-deep);
  color: #fff;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}
.cta-band .hero-mesh {
  background:
    radial-gradient(700px 340px at 82% 0%, rgba(110, 63, 168, 0.55), transparent 68%),
    radial-gradient(520px 300px at 8% 100%, rgba(201, 199, 206, 0.16), transparent 70%);
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 64px);
  flex-wrap: wrap;
}
.cta-inner > div:first-child { max-width: 58ch; }
.cta-inner .h2 { color: #fff; margin-bottom: 12px; }
.cta-inner p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
  max-width: 52ch;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cta-band .btn--primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 16px 34px -20px rgba(0, 0, 0, 0.8);
}
.cta-band .btn--primary:hover { background: var(--paper-3); color: var(--accent-deep); }

.mail-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 3px;
}
.mail-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* --------------------------------------------------------------------------
   About: fact grid + group cards
   -------------------------------------------------------------------------- */

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact { background: var(--deep); padding: 24px 22px; }
.fact dt {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C7CBD1;
  margin-bottom: 10px;
}
.fact dd {
  font-size: 15.5px;
  font-weight: 560;
  line-height: 1.4;
  color: #fff;
}
.fact dd small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--on-deep-muted);
}

.fact-grid--on-dark { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.12); }
.fact-grid--on-dark .fact { background: transparent; }

.family {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.fam {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 28px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.fam:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.tag {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-wash);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 5px 9px;
}
.fam h3 {
  font-size: 1.06rem;
  font-weight: 640;
  letter-spacing: -0.018em;
  margin-bottom: 10px;
  color: var(--ink);
}
.fam p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-aside dl { display: grid; gap: 0; }

.c-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.c-row:first-child { padding-top: 0; }
.c-row dt {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.c-row dd {
  font-size: 16.5px;
  font-weight: 560;
  line-height: 1.45;
  color: var(--ink);
}
.c-row dd a { border-bottom: 1px solid var(--accent-line); }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 7px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 550;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.copy-btn:hover { border-color: var(--silver-2); color: var(--ink); }
.copy-btn svg { width: 13px; height: 13px; }
.copy-btn.is-done { color: var(--accent); border-color: var(--accent-line); background: var(--accent-wash); }

.c-note {
  margin-top: 22px;
  padding: 16px 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* Form ------------------------------------------------------------------- */

.form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field label {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 7px;
}
.field .opt { font-weight: 400; color: var(--ink-soft); }

.field input,
.field textarea,
.field select {
  font-family: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #DEDFE3;
  border-radius: 10px;
  padding: 13px 14px;
  width: 100%;
  min-height: 48px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.field input::placeholder,
.field textarea::placeholder { color: #A9AEB5; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 79, 87, 0.12);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #B3261E; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.6px solid var(--ink-soft);
  border-bottom: 1.6px solid var(--ink-soft);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  cursor: pointer;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form .btn { margin-top: 6px; width: 100%; }

.form-note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.form-status {
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  background: var(--accent-wash);
  border: 1px solid var(--accent-line);
  color: var(--accent);
}
.form-status[data-state="error"] {
  background: #FDF3F2;
  border-color: #F0CFCB;
  color: #8C211A;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(40px, 5vw, 60px) 26px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
}

.foot-brand .brand {
  display: inline-flex;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 16px;
}
.foot-brand .brand-mark { height: 34px; }
.foot-brand p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 40ch;
  margin: 0;
}

.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.foot-col a,
.foot-col span {
  font-size: 14.5px;
  color: var(--ink-muted);
  width: fit-content;
}
.foot-col a:hover { color: var(--accent); }

.foot-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: clamp(30px, 4vw, 44px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

html.js .rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .rv { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .btn, .card-link svg, .fam, .nav-links a::after { transition: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }

  .hero-grid-2 { grid-template-columns: 1fr; }
  .spec { max-width: 560px; }

  .sec-head { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .sec-head > p { max-width: 62ch; }

  .split { grid-template-columns: 1fr; }
  .split--flip .split-head,
  .split--flip .split-body { order: initial; }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .price-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .family { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .ex-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .nav { min-height: 68px; gap: 14px; }
  .brand-mark { height: 34px; }
  .hero { padding-block: 40px 56px; }
  .h1 { letter-spacing: -0.032em; }
  .hero-actions .btn { flex: 1 1 auto; }
  .steps { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-actions { width: 100%; }
  .cta-band .btn { width: 100%; }
  .pitem { flex-direction: column; gap: 6px; }
  .pv { font-size: 1.5rem; }
  .spec { padding: 20px 18px 16px; }
  .foot-bar { flex-direction: column; gap: 8px; }
}
