/* ==========================================================================
   SanCipher — static site styles
   Palette derived from the brand mark: amber #D9962B, cream #F7EFE3,
   espresso #2F261D. Light-first: espresso is used for type and for two
   deliberate dark bands, never as the page ground.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */

:root {
  /* Brand */
  --amber: #d9962b;
  --amber-deep: #b3761a;
  --amber-soft: #f2d7a0;
  --amber-wash: #fdf4e4;

  --espresso: #2f261d;
  --espresso-deep: #1c1713;

  /* Ground */
  --page: #fdfbf7;
  --surface: #ffffff;
  --surface-warm: #f8f2e8;
  --surface-sunk: #f3ece0;

  /* Ink */
  --ink: #241d16;
  --ink-2: #5f5347;
  --ink-3: #8b7f71;

  /* Lines */
  --line: #ece2d2;
  --line-strong: #ddd0bb;

  /* Module hues — muted, warm-leaning, all sit beside amber without fighting it */
  --hue-browser: #d9962b;
  --hue-browser-wash: #fdf4e4;
  --hue-cloud: #3d7a89;
  --hue-cloud-wash: #eaf2f4;
  --hue-code: #5c7a5e;
  --hue-code-wash: #edf3ed;
  --hue-ai: #b0553e;
  --hue-ai-wash: #fbeeea;

  /* Type */
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  /* Geometry */
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --maxw: 1180px;
  --gutter: 24px;

  /* Elevation — warm-tinted, never neutral grey */
  --shadow-sm: 0 1px 2px rgba(47, 38, 29, 0.05),
    0 2px 6px rgba(47, 38, 29, 0.04);
  --shadow: 0 2px 4px rgba(47, 38, 29, 0.04), 0 12px 28px rgba(47, 38, 29, 0.07);
  --shadow-lg: 0 4px 8px rgba(47, 38, 29, 0.05),
    0 28px 60px rgba(47, 38, 29, 0.11);
}

/* --- Reset ---------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.14;
  color: var(--ink);
}

p {
  margin: 0;
}

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

:focus-visible {
  outline: 2px solid var(--amber-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--amber-soft);
  color: var(--espresso-deep);
}

/* --- Layout primitives ---------------------------------------------------- */

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

.wrap-narrow {
  max-width: 820px;
}

.section {
  padding-block: 96px;
}

.section-sm {
  padding-block: 64px;
}

.section-warm {
  background: var(--surface-warm);
}

.section-sunk {
  background: var(--surface-sunk);
}

/* The two deliberate dark bands. Espresso, not black — and used sparingly. */
.section-dark {
  background: linear-gradient(165deg, var(--espresso) 0%, var(--espresso-deep) 100%);
  color: #f0e7da;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fbf6ee;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

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

.display {
  font-size: clamp(2.5rem, 1.35rem + 3.9vw, 4.15rem);
  letter-spacing: -0.032em;
  line-height: 1.06;
}

.h2 {
  font-size: clamp(1.9rem, 1.25rem + 2.1vw, 2.75rem);
  letter-spacing: -0.028em;
  line-height: 1.12;
}

.h3 {
  font-size: clamp(1.25rem, 1.08rem + 0.6vw, 1.5rem);
  letter-spacing: -0.02em;
}

.h4 {
  font-size: 1.06rem;
  letter-spacing: -0.014em;
}

.lede {
  font-size: clamp(1.06rem, 0.98rem + 0.36vw, 1.28rem);
  line-height: 1.6;
  color: var(--ink-2);
}

.section-dark .lede {
  color: #cdbfab;
}

.muted {
  color: var(--ink-2);
}

.small {
  font-size: 0.92rem;
  line-height: 1.6;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.55;
}

.section-dark .eyebrow {
  color: var(--amber);
}

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head .lede {
  margin-top: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.008em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--amber);
  color: #241a09;
  box-shadow: 0 1px 2px rgba(120, 78, 12, 0.2),
    0 8px 20px rgba(217, 150, 43, 0.28);
}

.btn-primary:hover {
  background: var(--amber-deep);
  color: #fff8ec;
  box-shadow: 0 2px 4px rgba(120, 78, 12, 0.22),
    0 12px 26px rgba(217, 150, 43, 0.34);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber-deep);
}

.btn-dark {
  background: var(--espresso);
  color: #fbf6ee;
}

.btn-dark:hover {
  background: var(--espresso-deep);
}

.btn-outline-light {
  border: 1px solid rgba(240, 231, 218, 0.35);
  color: #f6efe4;
}

.btn-outline-light:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn-lg {
  padding: 16px 30px;
  font-size: 1rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-row.center {
  justify-content: center;
}

/* Text link with a travelling arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--amber-deep);
  transition: gap 0.16s ease;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.16s ease;
}

.link-arrow:hover {
  gap: 10px;
}

.link-arrow:hover::after {
  transform: translateX(2px);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(47, 38, 29, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 10px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-link:hover,
.nav-link[aria-expanded="true"] {
  color: var(--ink);
  background: var(--surface-warm);
}

.nav-link.is-active {
  color: var(--ink);
}

.nav-link .caret {
  width: 10px;
  height: 10px;
  transition: transform 0.18s ease;
  opacity: 0.6;
}

.nav-link[aria-expanded="true"] .caret {
  transform: rotate(180deg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.nav-actions .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Platform mega-menu */
.has-menu {
  position: relative;
}

.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  translate: -50% 0;
  width: min(760px, calc(100vw - 40px));
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.has-menu:hover .mega,
.has-menu:focus-within .mega,
.mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.mega-item {
  display: flex;
  gap: 13px;
  padding: 13px;
  border-radius: 12px;
  transition: background-color 0.15s ease;
}

.mega-item:hover {
  background: var(--surface-warm);
}

.mega-item .dot {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.mega-item .dot svg {
  width: 17px;
  height: 17px;
}

.mega-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  margin-bottom: 2px;
}

.mega-item span {
  display: block;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.mega-foot {
  margin-top: 8px;
  padding: 14px 13px 6px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.mega-foot p {
  font-size: 0.85rem;
  color: var(--ink-2);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span + span {
  margin-top: 4.5px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.3px) rotate(-45deg);
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--page);
  padding: 18px var(--gutter) 28px;
}

.mobile-panel.is-open {
  display: block;
}

.mobile-panel .m-group {
  padding-block: 10px;
}

.mobile-panel .m-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.mobile-panel a.m-link {
  display: block;
  padding: 11px 0;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.mobile-panel .btn-row {
  margin-top: 20px;
}

.mobile-panel .btn {
  flex: 1;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 112px) clamp(72px, 9vw, 120px);
  background: radial-gradient(
      1100px 520px at 78% -12%,
      var(--amber-wash) 0%,
      rgba(253, 244, 228, 0) 62%
    ),
    radial-gradient(
      760px 420px at 6% 8%,
      rgba(248, 242, 232, 0.9) 0%,
      rgba(248, 242, 232, 0) 60%
    ),
    var(--page);
}

/* Faint concentric rings echoing the logo's ring, anchored top-right */
.hero::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  border: 1px solid rgba(217, 150, 43, 0.16);
  box-shadow: 0 0 0 60px rgba(217, 150, 43, 0.035),
    0 0 0 61px rgba(217, 150, 43, 0.1), 0 0 0 140px rgba(217, 150, 43, 0.025),
    0 0 0 141px rgba(217, 150, 43, 0.07);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 56px;
  align-items: center;
}

.hero-copy .display {
  margin-bottom: 22px;
}

.hero-copy .lede {
  max-width: 540px;
  margin-bottom: 32px;
}

.hero .btn-row {
  margin-bottom: 26px;
}

.hero-note {
  font-size: 0.88rem;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note svg {
  width: 15px;
  height: 15px;
  color: var(--amber-deep);
  flex-shrink: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px 7px 14px;
  margin-bottom: 26px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
}

.pill b {
  color: var(--ink);
  font-weight: 700;
}

.pill .tag {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--amber-wash);
  color: var(--amber-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* --- Hero console mock ---------------------------------------------------- */

.console {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  background: var(--surface-warm);
  border-bottom: 1px solid var(--line);
}

.console-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.console-bar i:first-child {
  background: var(--amber-soft);
}

.console-bar .path {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--ink-3);
}

.console-body {
  padding: 20px;
  display: grid;
  gap: 12px;
}

.console-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.console-row:hover {
  transform: translateX(2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.console-row .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.console-row .ic svg {
  width: 16px;
  height: 16px;
}

.console-row strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.012em;
}

.console-row span {
  display: block;
  font-size: 0.79rem;
  color: var(--ink-3);
}

.sev {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}

.sev-critical {
  background: #fbeeea;
  color: #a1442f;
}

.sev-high {
  background: var(--amber-wash);
  color: #96620f;
}

.sev-ok {
  background: #edf3ed;
  color: #4a6a4d;
}

.console-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface-warm);
  font-size: 0.8rem;
  color: var(--ink-2);
}

.console-foot .dot-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: var(--ink);
}

.console-foot .dot-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5c7a5e;
  box-shadow: 0 0 0 3px rgba(92, 122, 94, 0.18);
}

/* --- Logo / trust strip --------------------------------------------------- */

.trust {
  padding-block: 40px;
  border-block: 1px solid var(--line);
  background: var(--surface-warm);
}

.trust p {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 22px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 40px;
}

.trust-row span {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  opacity: 0.85;
}

/* --- Cards ---------------------------------------------------------------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.card .h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.62;
}

.card .link-arrow {
  margin-top: auto;
  padding-top: 22px;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

/* Module card gets a coloured top rule and its own icon wash */
.module-card {
  padding-top: 34px;
  overflow: hidden;
}

.module-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--hue, var(--amber));
}

.module-card .card-icon {
  background: var(--hue-wash, var(--amber-wash));
  color: var(--hue, var(--amber));
}

.module-card .product-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--hue-wash, var(--amber-wash));
  color: var(--hue, var(--amber-deep));
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.module-card .link-arrow {
  color: var(--hue, var(--amber-deep));
}

.card-list {
  margin-top: 20px;
  display: grid;
  gap: 9px;
}

.card-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 2px solid var(--hue, var(--amber));
}

/* --- Feature rows (alternating) ------------------------------------------- */

.feature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  align-items: center;
}

.feature-row + .feature-row {
  margin-top: 96px;
}

.feature-row.reverse .feature-media {
  order: -1;
}

.feature-copy .h2 {
  margin-bottom: 18px;
}

.feature-copy .lede {
  margin-bottom: 26px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.check-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--amber-deep);
}

.check-list li b {
  color: var(--ink);
  font-weight: 700;
}

.section-dark .check-list li {
  color: #cdbfab;
}

.section-dark .check-list li b {
  color: #fbf6ee;
}

.section-dark .check-list li svg {
  color: var(--amber);
}

/* --- Panel (a framed illustrative block) ---------------------------------- */

.panel {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-head h4 {
  font-size: 0.95rem;
}

.panel-head .tag-mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-3);
}

.stack-list {
  display: grid;
  gap: 10px;
}

.stack-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 0.89rem;
  background: var(--page);
}

.stack-item .ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.stack-item .ic svg {
  width: 14px;
  height: 14px;
}

.stack-item .val {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-3);
}

/* Boundary diagram — the in-perimeter claim, drawn */
.boundary {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(240, 231, 218, 0.28);
  background: rgba(255, 255, 255, 0.035);
}

.boundary-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #a4917a;
}

.boundary-inner {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(240, 231, 218, 0.1);
}

.boundary-inner .row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.87rem;
  color: #e2d7c7;
}

.boundary-inner .row svg {
  width: 16px;
  height: 16px;
  color: var(--amber);
  flex-shrink: 0;
}

.boundary-out {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(217, 150, 43, 0.14);
  border: 1px solid rgba(217, 150, 43, 0.32);
  font-size: 0.87rem;
  color: #f4e3c6;
  display: flex;
  align-items: center;
  gap: 11px;
}

.boundary-out svg {
  width: 17px;
  height: 17px;
  color: var(--amber);
  flex-shrink: 0;
}

.boundary-arrow {
  display: grid;
  place-items: center;
  padding-block: 12px;
  color: rgba(217, 150, 43, 0.55);
}

.boundary-arrow svg {
  width: 20px;
  height: 20px;
}

/* --- Stats ---------------------------------------------------------------- */

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

.stat {
  padding: 30px 26px;
  background: var(--surface);
}

.stat .n {
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--amber-deep);
  margin-bottom: 9px;
}

.stat .l {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-2);
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--line-strong);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber-deep);
  margin-bottom: 12px;
}

.step h3 {
  font-size: 1.12rem;
  margin-bottom: 9px;
}

.step p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.section-dark .step {
  border-top-color: rgba(240, 231, 218, 0.22);
}

.section-dark .step p {
  color: #c6b8a4;
}

/* --- Quote ---------------------------------------------------------------- */

.quote {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.quote blockquote {
  margin: 0 0 26px;
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.7rem);
  line-height: 1.45;
  letter-spacing: -0.022em;
  font-weight: 600;
  color: var(--ink);
}

.quote .mark {
  width: 40px;
  height: 40px;
  margin: 0 auto 22px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--amber-wash);
  color: var(--amber-deep);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  padding-top: 8px;
}

.quote cite {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.quote cite b {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 2px;
}

/* --- Compare table -------------------------------------------------------- */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

table.cmp {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

table.cmp th,
table.cmp td {
  padding: 17px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.cmp thead th {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--surface-warm);
  white-space: nowrap;
}

table.cmp tbody th {
  font-weight: 700;
  color: var(--ink);
  width: 30%;
}

table.cmp td {
  color: var(--ink-2);
}

table.cmp tr:last-child th,
table.cmp tr:last-child td {
  border-bottom: 0;
}

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

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.plan.featured {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-wash), var(--shadow);
}

.plan-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  translate: -50% 0;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--amber);
  color: #241a09;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-wrap {
  position: relative;
}

.plan h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.plan .plan-for {
  font-size: 0.92rem;
  color: var(--ink-2);
  margin-bottom: 22px;
  min-height: 46px;
}

.plan .price {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.plan .price small {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0;
}

.plan .price-note {
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-bottom: 24px;
}

.plan .btn {
  width: 100%;
  margin-bottom: 26px;
}

.plan-features {
  display: grid;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.plan-features li {
  display: flex;
  gap: 11px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.plan-features li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--amber-deep);
}

.plan-features .head {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: block;
}

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

.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-inline: auto;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.faq details[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

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

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

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  color: var(--amber-deep);
  transition: transform 0.2s ease;
}

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

.faq .faq-body {
  padding: 0 22px 21px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-2);
}

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

.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: 88px;
  background: linear-gradient(150deg, var(--espresso) 0%, var(--espresso-deep) 100%);
  color: #f4ece0;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 780px;
  height: 780px;
  border-radius: 50%;
  border: 1px solid rgba(217, 150, 43, 0.14);
  box-shadow: 0 0 0 90px rgba(217, 150, 43, 0.03),
    0 0 0 91px rgba(217, 150, 43, 0.09);
  pointer-events: none;
}

.cta-band .wrap {
  position: relative;
  z-index: 1;
}

.cta-band .h2 {
  color: #fdf8f1;
  margin-bottom: 18px;
}

.cta-band .lede {
  max-width: 600px;
  margin: 0 auto 34px;
  color: #cbbca8;
}

.cta-band .fine {
  margin-top: 22px;
  font-size: 0.85rem;
  color: #9c8b76;
}

/* --- Page hero (interior pages) ------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(58px, 7vw, 88px) clamp(52px, 6vw, 76px);
  background: radial-gradient(
      900px 440px at 84% -20%,
      var(--hue-wash, var(--amber-wash)) 0%,
      rgba(255, 255, 255, 0) 62%
    ),
    var(--page);
  border-bottom: 1px solid var(--line);
}

.page-hero .eyebrow {
  color: var(--hue, var(--amber-deep));
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}

.page-hero .display {
  font-size: clamp(2.15rem, 1.4rem + 2.9vw, 3.35rem);
  margin-bottom: 20px;
}

.page-hero .lede {
  max-width: 560px;
  margin-bottom: 30px;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-wash);
}

.field-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-note {
  font-size: 0.83rem;
  color: var(--ink-3);
  margin-top: 14px;
}

.contact-list {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.contact-list li {
  display: flex;
  gap: 14px;
}

.contact-list .ic {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--amber-wash);
  color: var(--amber-deep);
}

.contact-list .ic svg {
  width: 18px;
  height: 18px;
}

.contact-list strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-list span,
.contact-list a {
  font-size: 0.9rem;
  color: var(--ink-2);
}

.contact-list a:hover {
  color: var(--amber-deep);
}

/* --- Values / team -------------------------------------------------------- */

.value {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.value .n {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber-deep);
  margin-bottom: 14px;
}

.value h3 {
  font-size: 1.1rem;
  margin-bottom: 9px;
}

.value p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.timeline {
  display: grid;
  gap: 0;
  max-width: 720px;
}

.timeline li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 26px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.timeline li:last-child {
  border-bottom: 0;
}

.timeline .yr {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--amber-deep);
  padding-top: 2px;
}

.timeline strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.timeline p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ink-2);
}

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

.site-footer {
  background: linear-gradient(180deg, var(--espresso) 0%, var(--espresso-deep) 100%);
  color: #bfae99;
  padding-block: 64px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 42px 32px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(240, 231, 218, 0.12);
}

.footer-brand img {
  height: 32px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #ab9a85;
  max-width: 300px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 231, 218, 0.16);
  color: #bfae99;
  transition: color 0.16s ease, border-color 0.16s ease,
    background-color 0.16s ease;
}

.footer-social a:hover {
  color: var(--amber);
  border-color: rgba(217, 150, 43, 0.5);
  background: rgba(217, 150, 43, 0.1);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0e7da;
  margin-bottom: 16px;
}

.footer-col li + li {
  margin-top: 10px;
}

.footer-col a {
  font-size: 0.92rem;
  color: #ab9a85;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--amber);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  font-size: 0.85rem;
  color: #8d7d6a;
}

.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-bottom a:hover {
  color: var(--amber);
}

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

.reveal {
  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);
}

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

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

@media (max-width: 1040px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 960px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .hero-grid,
  .page-hero-grid,
  .feature-row,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .feature-row.reverse .feature-media {
    order: 0;
  }

  .feature-row + .feature-row {
    margin-top: 68px;
  }

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

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

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

  .section {
    padding-block: 72px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
  }

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

  .timeline li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .hero::after {
    display: none;
  }

  .section {
    padding-block: 60px;
  }

  .card,
  .plan {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .btn-row .btn {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

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