:root {
  --navy: #123143;
  --deep: #0b2432;
  --teal: #58c9ba;
  --gold: #efc56f;
  --ink: #173544;
  --muted: #506373;
  --line: #d7e0e5;
  --green: #00685f;
  --pale: #eef8f5;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, p, dl, dd { margin: 0; }
img, svg { display: block; }
a { color: inherit; }
a:focus-visible, .demo :is(input, button):focus-visible, .demo-dialog :is(input, button):focus-visible { outline: 3px solid #18877e; outline-offset: 5px; }
.hero a:focus-visible, footer a:focus-visible { outline-color: var(--gold); }
.skip { position: absolute; top: 1rem; left: 1rem; z-index: 2; padding: .7rem 1rem; background: #fff; transform: translateY(-200%); }
.skip:focus { transform: none; }
.shell { width: min(100% - 3.5rem, 74rem); margin-inline: auto; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 750; font-size: 1.42rem; letter-spacing: -.055em; }
.brand img, .workspace-top img { border-radius: .55rem; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.1rem); align-items: center; font-size: .94rem; font-weight: 650; }
nav > a { text-decoration: none; }
nav > a:not(.button):hover, footer a:hover { text-decoration: underline; text-underline-offset: .24em; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.8rem; padding: .65rem 1.05rem; border: 1px solid transparent; border-radius: .45rem; font-size: .94rem; font-weight: 720; text-decoration: none; text-align: center; }
.outline { border-color: #a8bbc4; }
.outline:hover { background: var(--pale); border-color: var(--green); }
.primary { color: #fff; background: var(--navy); }
.primary:hover { background: var(--green); }
.hero { background: radial-gradient(ellipse at 79% 42%, #205461 0%, var(--navy) 49%, var(--deep) 100%); color: white; }
.hero-inner { min-height: 37rem; display: grid; grid-template-columns: 1fr .95fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(3.5rem, 6vw, 6rem); }
.kicker { display: flex; align-items: center; gap: .6rem; font-size: .875rem; font-weight: 740; letter-spacing: .06em; text-transform: uppercase; }
.kicker > span { display: inline-block; width: 1.4rem; height: 2px; background: currentColor; flex: none; }
.hero .kicker { color: var(--teal); }
h1 { margin-top: .75rem; font-size: clamp(3.15rem, 5.8vw, 5.25rem); line-height: .99; letter-spacing: -.069em; font-weight: 760; }
h1 em { color: var(--teal); font-style: normal; }
.tagline { margin-top: 1.35rem; color: var(--gold); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; }
.intro { max-width: 34rem; margin-top: .55rem; font-size: clamp(1.05rem, 1.7vw, 1.23rem); color: #dbebef; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1.6rem; }
.hero .primary { background: var(--gold); color: var(--deep); }
.hero .primary:hover { background: #ffdc95; }
.hero .workflow-link { color: #e1f2f1; padding-inline: .35rem; text-decoration: underline; text-underline-offset: .22em; }
.hero .workflow-link:hover { color: var(--teal); }
.product { min-width: 0; background: #e6f9f612; border: 1px solid #b7e3e44a; border-radius: 1.1rem; padding: clamp(.75rem, 2vw, 1.35rem); }
.product figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; margin-bottom: .65rem; font-size: .875rem; color: #cde5e6; }
.product figcaption span:first-child { color: #fff; font-weight: 650; }
.workspace { background: #fff; color: var(--ink); border-radius: .7rem; overflow: hidden; box-shadow: 0 1rem 2rem #061d2e52; }
.workspace-top { display: flex; align-items: center; gap: .5rem; padding: .72rem 1.1rem; border-bottom: 1px solid var(--line); }
.workspace-top strong { letter-spacing: -.04em; }
.workspace-top > span { margin-inline-start: auto; color: var(--muted); font-size: .875rem; }
.workspace-body { padding: clamp(.8rem, 2.4vw, 1.55rem); }
.case-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .85rem; }
.case-head p { color: var(--muted); font-size: .875rem; }
.case-head h2 { font-size: clamp(1.23rem, 2.4vw, 1.6rem); letter-spacing: -.04em; line-height: 1.15; }
.status { border-radius: 1rem; background: #fff1d0; color: #654408; padding: .2rem .6rem; font-size: .875rem; font-weight: 650; white-space: nowrap; }
.record-list > div { display: flex; align-items: center; gap: .25rem .7rem; justify-content: space-between; min-height: 2.9rem; border-top: 1px solid var(--line); font-size: .875rem; }
.record-list dt { display: flex; align-items: center; gap: .5rem; font-weight: 650; }
.record-list dd { text-align: right; }
.record-icon, .feature-icon { display: grid; place-items: center; background: var(--pale); color: var(--green); border-radius: .45rem; flex: none; }
.record-icon { width: 1.55rem; height: 1.55rem; }
.record-icon svg, .feature-icon svg { width: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.case-next { display: grid; gap: .1rem; background: var(--pale); border-left: 3px solid var(--teal); border-radius: .25rem; padding: .55rem .7rem; margin-top: .45rem; font-size: .875rem; }
.section { padding-block: clamp(3.2rem, 7vw, 5.8rem); }
.section h2 { max-width: 20ch; font-size: clamp(2rem, 4vw, 3.45rem); letter-spacing: -.062em; line-height: 1.06; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 4vw, 3.5rem); margin-top: 2.3rem; }
.workflow-grid article { border-top: 1px solid var(--line); padding-top: 1.35rem; }
.feature-icon { width: 2.6rem; height: 2.6rem; margin-bottom: .7rem; }
.feature-icon svg { width: 1.38rem; }
.workflow-grid h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.025em; }
.workflow-grid p, .about p:not(.kicker) { color: var(--muted); margin-top: .5rem; }
.about { background: #f0f7f6; border-block: 1px solid #deeeeb; }
.about-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: start; gap: 2rem clamp(2rem, 7vw, 7rem); }
.about .kicker { color: var(--green); margin-bottom: .7rem; }
.origin, .faq { display: grid; grid-template-columns: .8fr 1fr; gap: 2rem clamp(2rem, 7vw, 7rem); }
.origin { grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); align-items: center; border-bottom: 1px solid var(--line); }
.origin-copy h2 { margin-bottom: 1.2rem; }
.origin-copy { max-width: 41rem; }
.founder-portrait { width: 100%; max-width: 18rem; }
.founder-portrait img { width: 100%; height: auto; border-radius: .8rem; }
.founder-portrait figcaption { display: grid; margin-top: .7rem; }
.founder-portrait figcaption span { color: var(--muted); font-size: .94rem; }
.origin p { color: var(--muted); }
.origin p + p { margin-top: .8rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem .25rem; font-weight: 700; }
.faq summary::marker { color: var(--green); }
.faq summary:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.faq details p { padding: 0 .25rem 1rem; color: var(--muted); }
.demo { background: var(--pale); border-top: 1px solid #deeeeb; }
.demo-inner { display: grid; grid-template-columns: 1fr minmax(0, 30rem); align-items: start; gap: 1.4rem clamp(2rem, 6vw, 5rem); }
.demo-inner > div:first-child { max-width: 34rem; }
.demo-inner p { color: var(--muted); margin-top: .6rem; }
.demo-launch { justify-self: start; }
.demo-launch[hidden] { display: none; }
.demo-dialog { width: min(32rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); margin: auto; padding: clamp(1rem, 4vw, 1.7rem); overflow: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: .85rem; color: var(--ink); background: #fff; box-shadow: 0 1rem 3rem #061d2e46; }
.demo-dialog::backdrop { background: #0b2432a8; }
html:has(.demo-dialog:modal) { overflow: hidden; }
.demo-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: 1rem; }
.demo-dialog-header h2 { font-size: clamp(1.5rem, 5vw, 2rem); line-height: 1.1; letter-spacing: -.045em; }
.demo-close { display: grid; place-items: center; flex: none; width: 2.8rem; height: 2.8rem; border: 1px solid var(--line); border-radius: .45rem; color: var(--navy); background: var(--pale); cursor: pointer; }
.demo-close:hover { background: #dcefeb; }
.demo-contact { min-width: 0; }
.demo-form { display: grid; gap: .4rem; }
.demo-form label { font-weight: 680; }
.demo-form input { min-width: 0; width: 100%; min-height: 2.8rem; margin-bottom: .55rem; padding: .5rem .7rem; border: 1px solid #82969f; border-radius: .45rem; color: var(--ink); background: #fff; font: inherit; }
.demo-form button { justify-self: start; font-family: inherit; cursor: pointer; }
.demo-form[hidden] { display: none; }
.demo-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.demo-status { padding: .8rem 1rem; border: 1px solid var(--green); border-radius: .45rem; background: #fff; scroll-margin-top: 1rem; }
.demo-status.error { border-color: #9c3b25; }
.demo-inner .demo-status p { margin: 0; }
.demo-status + .demo-form { margin-top: 1rem; }
footer { background: var(--deep); color: #e6f0f2; padding-block: 1.15rem; }
footer a { text-decoration: none; font-size: .94rem; }
.credit { font-size: .94rem; }
.credit a { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 52rem) {
  .hero-inner { min-height: auto; grid-template-columns: 1fr; gap: 2.3rem; }
  .product { width: min(100%, 36rem); }
  h1 { max-width: 11ch; }
}
@media (max-width: 40rem) {
  .shell { width: calc(100% - 2rem); }
  .footer-inner { flex-wrap: wrap; }
  .header-inner { min-height: 0; padding-block: .65rem; flex-wrap: wrap; row-gap: .3rem; }
  nav { justify-content: space-between; flex: 1 1 100%; gap: .5rem; }
  .workflow-grid, .about-inner, .origin, .faq, .demo-inner { grid-template-columns: 1fr; }
  .workflow-grid { gap: 1.55rem; }
}
@media (max-width: 23rem) {
  .workspace-top > span { display: none; }
  .status { font-size: .8rem; }
}
