@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap");

/* Shared tokens and primitives for the public site and product workspaces. */
:root {
  --ink: #102b3b;
  --navy: #071624;
  --paper: #f7f9fb;
  --white: #fff;
  --muted: #607078;
  --line: #dbe2e6;
  --accent: #386d93;
  --soft: #edf3f7;
  --danger: #9e372d;
  --container: 1240px;
  --font-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
a,
button {
  transition:
    background 0.18s,
    color 0.18s;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #78b8dc;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1240px, calc(100% - 96px));
  margin: auto;
}
.skip-link {
  position: absolute;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 0;
}
.masthead {
  min-height: 84px;
  border-bottom: 1px solid #243746;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  gap: 24px;
  background: var(--navy);
  color: #f4f7fa;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark img {
  width: 34px;
  height: 30px;
  object-fit: contain;
  background: var(--navy);
}
.wordmark span {
  font-size: 11px;
  color: #78b8dc;
  letter-spacing: 0;
}
.masthead nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
}
.masthead nav a {
  text-decoration: none;
}
.nav-action {
  border: 1px solid #516778;
  border-radius: 8px;
  padding: 9px 16px;
}
.masthead a:hover {
  color: #a7cce4;
}
.text-link:hover {
  color: var(--accent);
}
.eyebrow,
.index {
  font: 500 11px/1.5 var(--font-sans);
  letter-spacing: 0.09em;
  color: var(--muted);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin-bottom: 28px;
}
h1 em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: #8ebcda;
}
h2 {
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 600;
}
h3 {
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 500;
}
.intro {
  font-size: 19px;
  line-height: 1.65;
  max-width: 570px;
  color: #53656c;
}
.quiet {
  color: var(--muted);
  font-size: 12px;
}
.actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  margin: 30px 0;
}
.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 12px 20px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  background: var(--navy);
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  min-height: 44px;
}
.btn:hover,
.button:hover {
  background: var(--accent);
}
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.text-link {
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid #93a19e;
  padding-bottom: 4px;
}
.landing-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  padding-block: 94px 100px;
}
.hero-background {
  background: var(--navy);
  color: #f4f7fa;
}
.landing-hero .intro { color: #b8cbd8; font-size: 18px; }
.landing-hero .quiet, .landing-hero .eyebrow { color: #98b4c7; }
.landing-hero .btn { background: #386d93; border-color: #386d93; }
.landing-hero .btn:hover { background: #467fa7; }
.landing-hero .text-link { border-color: #617d91; color: #e3edf4; }
.landing-hero .eyebrow {
  margin-bottom: 32px;
}
.route-sheet {
  background: #102331;
  color: #edf3f8;
  padding: 30px;
  border: 1px solid #304756;
  border-radius: 12px;
  box-shadow: none;
}
.sheet-top,
.sheet-bottom {
  font:
    10px ui-monospace,
    monospace;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #40545d;
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
}
.route-points {
  padding: 30px 20px;
  display: grid;
  gap: 10px;
}
.route-points small {
  display: block;
  color: #9cbcd1;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.route-points strong {
  font-size: 21px;
  font-weight: 400;
}
.route-points > span {
  color: #7ca5c0;
}
.sheet-bottom {
  border: 0;
  border-top: 1px solid #40545d;
  padding: 20px 0 0;
}
.platform-section {
  background: var(--paper);
  border-block: 1px solid var(--line);
  padding: 80px 0;
}
.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 64px;
  margin-bottom: 36px;
}
.section-intro > .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.section-intro > p:last-child {
  color: var(--muted);
  font-size: 14px;
}
.product-row {
  display: grid;
  grid-template-columns: 150px 1.5fr 1fr;
  gap: 32px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  margin-top: 18px;
  background: var(--white);
}
.product-row p {
  color: var(--muted);
  max-width: 530px;
}
.product-row:hover h3 {
  color: var(--accent);
}
.mini-ledger {
  font-size: 12px;
  align-self: center;
}
.mini-ledger span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.mini-ledger b {
  font-size: 10px;
  color: var(--accent);
  font-weight: 500;
}
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-block: 80px;
}
.story > div {
  max-width: 720px;
}
.story p {
  color: var(--muted);
}
blockquote {
  margin: 30px 0 0;
  border-left: 2px solid var(--accent);
  padding: 8px 24px;
  font-weight: 500;
  font-family: inherit;
  font-size: 22px;
  line-height: 1.6;
}
.infrastructure {
  padding: 80px 0;
  background: var(--soft);
  border-block: 1px solid var(--line);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.partner-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 25px;
}
.advisor {
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  gap: 45px;
  align-items: center;
  padding-block: 80px;
}
.advisor img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}
.advisor p {
  color: var(--muted);
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 30px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.footer p {
  margin: 0;
  color: var(--muted);
}
/* Editorial context sections retain the original product narrative. */
.context-section{padding-block:80px}
.context-section p,.context-topics p,.context-steps p{color:var(--muted)}
.context-note{margin-top:28px;font-size:14px;line-height:1.8}
.context-divider{border-top:1px solid var(--line)}
.context-steps{list-style:none;padding:0;margin:48px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 64px}
.context-steps li{border-top:1px solid var(--line);padding-top:24px}
.context-steps h3{margin:12px 0}
.context-band{background:var(--soft);color:var(--ink);padding-block:80px;border-block:1px solid var(--line)}
.context-band .eyebrow,.context-band p{color:var(--muted)}
.context-topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 64px;margin-top:36px}
.context-topics article{border-top:1px solid var(--line);padding-top:24px}
.context-topics h3{font-size:21px}
.advisor details{font-size:14px}
@media(max-width:760px){.context-section{padding-block:48px}.context-steps,.context-topics{grid-template-columns:1fr;gap:24px}.context-band{padding-block:48px}}
/* The homepage carries the opening's navy identity throughout.
   Workspace pages retain their light, document-oriented surfaces. */
.homepage {
  --site-font: var(--font-sans);
  --paper: #071624;
  --ink: #edf3f8;
  --muted: #b0c2d0;
  --line: #2b4051;
  --soft: #0c1d2c;
  --white: #102331;
  --accent: #8ebcda;
  background: var(--paper);
  color: var(--ink);
  color-scheme: dark;
  font-family: var(--site-font);
  font-size: 16px;
  line-height: 1.65;
}
.homepage h1,
.homepage h2,
.homepage h3 {
  font-family: var(--site-font);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.homepage h1 { font-size: clamp(42px, 4.6vw, 64px); line-height: 1.12; }
.homepage h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.2; }
.homepage h3 { font-size: 24px; line-height: 1.3; }
.homepage .eyebrow,
.homepage .index,
.homepage .sheet-top,
.homepage .sheet-bottom {
  font-family: var(--site-font);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.homepage .route-points small { font-size: 12px; letter-spacing: 0.06em; }
.homepage .route-points strong { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.homepage .intro,
.homepage .landing-hero .intro { font-size: 18px; line-height: 1.65; }
.homepage .section-intro > p:last-child { font-size: 16px; }
.homepage .wordmark { font-weight: 600; letter-spacing: 0.1em; }
.homepage .mini-ledger { font-size: 13px; }
.homepage .mini-ledger b { font-size: 12px; }
.homepage .intro { color: var(--muted); }
.homepage .eyebrow,
.homepage .index { color: #98b4c7; }
.homepage .platform-section,
.homepage .context-band,
.homepage .infrastructure { background: var(--paper); }
.homepage .product-row {
  background: var(--white);
  border-color: #304756;
}
.homepage .product-row:hover { background: #152b3b; }
.homepage .text-link { border-color: #617d91; color: #e3edf4; }
.homepage .text-link:hover { color: var(--accent); }
.homepage .partner-logo {
  background: #f7f9fb;
  padding: 12px 16px;
  border-radius: 8px;
  max-width: 212px;
}
.homepage .skip-link { background: #fff; color: #102b3b; }
/* Product-led homepage hierarchy: bounded reading widths and quieter furniture. */
.homepage .wrap { width: min(1160px, calc(100% - 96px)); }
.homepage .masthead { padding-inline: max(48px, calc((100% - 1160px) / 2)); }
.homepage .landing-hero { grid-template-columns: 1.15fr 1fr; gap: 72px; padding-block: 76px; }
.homepage h1 { font-size: clamp(38px, 4vw, 54px); line-height: 1.16; }
.homepage h2 { font-size: clamp(28px, 2.5vw, 34px); }
.homepage h3 { font-size: 22px; }
.homepage .landing-hero .intro { max-width: 510px; font-size: 17px; }
.homepage .workflow-overview { padding: 0; border-radius: 10px; overflow: hidden; }
.workflow-overview .sheet-top,
.workflow-overview .sheet-bottom { padding: 18px 24px; margin: 0; font-size: 12px; letter-spacing: 0; }
.workflow-entry { display: block; padding: 24px; text-decoration: none; }
.workflow-entry + .workflow-entry { border-top: 1px solid var(--line); }
.workflow-entry:hover { background: #172e3f; }
.workflow-entry strong { display: block; font-size: 21px; font-weight: 500; margin: 9px 0; letter-spacing: -0.02em; }
.workflow-entry p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.workflow-meta { display: flex; gap: 16px; color: #8ebcda; font-size: 12px; }
.workflow-meta span { border-left: 1px solid #40545d; padding-left: 16px; }
.homepage .context-section,
.homepage .story,
.homepage .advisor { padding-block: 64px; }
.homepage .platform-section,
.homepage .context-band,
.homepage .infrastructure { padding-block: 64px; }
.homepage .context-steps { gap: 28px 64px; margin-top: 32px; }
.homepage .context-topics { gap: 20px 64px; }
.homepage .product-row { padding: 28px; border-radius: 10px; }
.homepage blockquote { font-size: 20px; max-width: 740px; }
@media (max-width: 950px) {
  .homepage .landing-hero { grid-template-columns: 1fr; gap: 36px; }
  .homepage .workflow-overview { max-width: none; }
}
@media (max-width: 760px) {
  .homepage .wrap { width: calc(100% - 40px); }
  .homepage .masthead { padding-inline: 20px; }
  .homepage .landing-hero { padding-block: 44px; }
  .homepage .context-section, .homepage .story, .homepage .advisor,
  .homepage .platform-section, .homepage .context-band, .homepage .infrastructure { padding-block: 44px; }
  .homepage .product-row { padding: 22px; }
}
/* Compact controls and evidence oriented results. */
.recognition {
  border-block: 1px solid var(--line);
  background: #0c1d2c;
  padding-block: 30px 34px;
}
.homepage .recognition h2 {
  margin: 0 0 26px;
  color: #98b4c7;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.recognition-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 28px;
}
.recognition-list li { min-width: 0; }
.recognition-list a { display: block; text-decoration: none; border-radius: 4px; }
.recognition-name {
  display: block;
  color: #d9e4ed;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.recognition-detail {
  display: block;
  color: #a9bdcc;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 5px;
}
.recognition-list a:hover .recognition-name { color: #8ebcda; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 1000px) {
  .recognition-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 540px) {
  .recognition-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .recognition-name { font-size: 17px; }
}
.workspace-grid > * {
  min-width: 0;
}
.surface,
.stack,
.form-section {
  min-width: 0;
}
.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.field {
  min-width: 0;
}
.workspace {
  max-width: 1440px;
  margin: auto;
  padding: 40px 48px 80px;
}
.workspace-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.workspace-title h1 {
  font-size: 44px;
  margin: 8px 0 12px;
}
.workspace-title p {
  margin-bottom: 0;
}
.workspace-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.surface {
  border-radius: 12px;
  background: white;
  border: 1px solid var(--line);
  padding: 24px;
}
.surface h2 {
  font-size: 20px;
  margin-bottom: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.field input,
.field select {
  width: 100%;
  min-width: 0;
  padding: 10px;
  border: 1px solid #c7d1cc;
  background: white;
  border-radius: 3px;
  color: var(--ink);
}
.full {
  grid-column: 1/-1;
}
.form-section {
  border: 0;
  border-top: 1px solid var(--line);
  padding: 20px 0 0;
  margin: 22px 0;
}
.form-section legend {
  padding-right: 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.stack {
  display: grid;
  gap: 20px;
}
.notice {
  padding: 12px 16px;
  background: var(--soft);
  font-size: 12px;
  border-left: 2px solid var(--accent);
  margin: 0 0 20px;
}
.notice.error {
  background: #fbefea;
  border-color: var(--danger);
  color: var(--danger);
}
.result-banner {
  border-radius: 12px;
  background: var(--navy);
  color: white;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
}
.result-banner h2 {
  font-size: 25px;
  margin: 5px 0 10px;
}
.result-banner p {
  color: #bdcec8;
  font-size: 13px;
  margin: 0;
}
.result-banner .eyebrow {
  color: #a3beb5;
}
.big-number {
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.05em;
}
.badge {
  font-size: 10px;
  padding: 4px 7px;
  background: var(--soft);
  color: var(--accent);
  display: inline-block;
  border-radius: 2px;
  white-space: nowrap;
}
.badge.warn {
  background: #f4eee0;
  color: #795a24;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 13px;
}
th {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  background: #f5f7f4;
}
td,
th {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
}
td small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
tr.best {
  background: #f0f5ee;
}
.remove {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 19px;
  padding: 7px;
}
.subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.empty {
  padding: 42px 24px;
  color: var(--muted);
  text-align: center;
}
.empty h3 {
  color: var(--ink);
  font-size: 22px;
}
.calculation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 20px;
}
.calculation strong {
  font-size: 28px;
  font-weight: 500;
}
.packaging-list {
  padding-left: 18px;
  font-size: 13px;
  color: var(--muted);
}
details summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
details[open] summary {
  margin-bottom: 20px;
}
.results-update {
  animation: enter 0.25s ease-out;
}
@keyframes enter {
  from {
    opacity: 0.4;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 1050px) {
  .landing-hero {
    gap: 35px;
  }
  .section-intro {
    grid-template-columns: 1fr 1fr;
  }
  .section-intro > p:last-child {
    grid-column: 2;
  }
  .product-row {
    grid-template-columns: 100px 1fr;
  }
  .mini-ledger {
    grid-column: 2;
  }
  .workspace-grid {
    grid-template-columns: 290px minmax(0, 1fr);
  }
  .subgrid {
    grid-template-columns: 1fr;
  }
  .split {
    gap: 45px;
  }
  .advisor {
    grid-template-columns: 1fr 150px 1fr;
    gap: 25px;
  }
  .advisor img {
    width: 150px;
    height: 150px;
  }
}
@media (min-width: 761px) and (max-width: 950px) {
  .landing-hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 64px;
  }
  .route-sheet { max-width: 640px; width: 100%; }
}
@media (max-width: 760px) {
  .masthead {
    padding: 18px 20px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .masthead nav {
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .landing-hero {
    grid-template-columns: 1fr;
    padding-block: 50px;
    gap: 35px;
  }
  .route-sheet {
    transform: none;
  }
  .section-intro,
  .product-row,
  .story,
  .split,
  .advisor {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .section-intro > p:last-child,
  .mini-ledger {
    grid-column: auto;
  }
  .platform-section,
  .infrastructure {
    padding: 45px 0;
  }
  .story,
  .advisor {
    padding-block: 50px;
  }
  .footer {
    flex-wrap: wrap;
  }
  .workspace {
    padding: 28px 16px 50px;
  }
  .workspace-title {
    align-items: start;
    flex-direction: column;
  }
  .workspace-title h1 {
    font-size: 36px;
  }
  .workspace-grid {
    grid-template-columns: 1fr;
  }
  .result-banner {
    grid-template-columns: 1fr auto;
  }
  .surface {
    padding: 20px;
  }
  .form-grid {
    gap: 12px;
  }
  .advisor img {
    width: 180px;
    height: 180px;
  }
}
