:root {
    color-scheme: light;
    --ink: #142028;
    --muted: #4d5d66;
    --ground: #f5f5f1;
    --line: #d7ddda;
    --orange: #f38245;
    --accent: #9c3519;
    --page: 1220px;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    color: var(--ink);
    background: var(--ground);
    font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-size: 1rem; line-height: 1.52; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #b04a2a; outline-offset: 4px; }
.trial :focus-visible { outline-color: #9c3519; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(3.1rem, 5.25vw, 5rem); font-weight: 750; letter-spacing: -.069em; }
h2 { font-size: clamp(2.2rem, 4.45vw, 3.65rem); font-weight: 730; letter-spacing: -.06em; }
h3 { font-size: 1.4rem; font-weight: 690; letter-spacing: -.027em; }
section[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(var(--page), calc(100% - 5rem)); margin-inline: auto; }
.skip { position: absolute; top: -5rem; left: 1rem; padding: .75rem 1rem; background: white; z-index: 3; }
.skip:focus { top: 1rem; }
.top { border-bottom: 1px solid var(--line); background: #fff; }
.top-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { width: 126px; }
.top nav { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 3vw, 2.75rem); }
.top nav a, .footer-inner a:last-child { font-size: .9375rem; font-weight: 620; }
.top nav a:hover, .footer-inner a:last-child:hover { text-decoration: underline; text-underline-offset: .3em; }
.button {
    display: inline-flex;
    min-height: 48px;
    padding: .7rem 1.12rem;
    justify-content: center;
    align-items: center;
    border: 1px solid transparent;
    border-radius: .45rem;
    font-size: .9375rem;
    font-weight: 680;
    line-height: 1.25;
    text-align: center;
}
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #283b49; }
.button-primary { color: #1c211f; background: var(--orange); }
.button-primary:hover { background: #ff9a61; }
.button-outline { border-color: #a9b3b1; }
.button-outline:hover { background: white; border-color: #53646c; }
.button:disabled { opacity: .68; cursor: wait; }
.hero {
    display: grid;
    grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr);
    gap: clamp(2rem, 4.8vw, 4.5rem);
    align-items: center;
    padding-block: clamp(2.75rem, 6vw, 5.25rem);
}
.eyebrow { display: flex; gap: .65rem; align-items: baseline; font-size: .875rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.eyebrow span { display: inline-block; flex: 0 0 .75rem; height: .18rem; background: var(--accent); align-self: center; }
.hero h1 { margin-top: 1.05rem; text-wrap: initial; }
.lede { margin: 1.45rem 0 1.65rem; max-width: 32rem; font-size: 1.12rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.platform { display: flex; gap: .65rem; align-items: center; margin-top: 1.4rem; font-size: .875rem; color: #455761; font-weight: 600; }
.platform-mark { position: relative; display: block; width: 14px; height: 10px; border: 1.5px solid currentColor; border-radius: 2px; margin-bottom: 3px; }
.platform-mark::after { position: absolute; content: ""; width: 8px; height: 1.5px; left: 1.5px; bottom: -4px; background-color: currentColor; }
.hero-figure, .detail-figure { position: relative; overflow: hidden; border-radius: .65rem; }
.hero-figure { background: #111d24; }
.hero-figure img { width: 100%; aspect-ratio: 1.36; object-fit: cover; }
.hero-figure figcaption, .detail-figure figcaption { position: absolute; bottom: .85rem; left: .85rem; max-width: calc(100% - 1.7rem); border-radius: .25rem; padding: .32rem .63rem; font-size: .8125rem; background: #132029; color: white; }
.disciplines { padding-block: clamp(3.1rem, 6vw, 5.65rem); background: #fff; border-block: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: end; margin: .8rem 0 1.8rem; }
.section-intro p { color: var(--muted); max-width: 39rem; }
.discipline-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: .5rem; background: var(--ground); }
.discipline-tabs button { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .3rem; min-height: 77px; text-align: left; padding: .65rem 1rem; border: 0; border-inline-end: 1px solid var(--line); font-weight: 650; color: var(--ink); background: transparent; }
.discipline-tabs button:first-child { border-radius: .45rem 0 0 .45rem; }
.discipline-tabs button:last-child { border-inline-end: 0; border-radius: 0 .45rem .45rem 0; }
.discipline-tabs button:hover { background: #e8eee9; }
.discipline-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.discipline-tabs button span, code { font-size: .875rem; font-family: "Consolas", monospace; letter-spacing: .055em; }
.discipline-tabs button span { color: var(--accent); }
.discipline-tabs button[aria-selected="true"] span { color: #ffaf7f; }
.catalog-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1rem; padding-top: 1rem; }
.catalog-panel { align-content: center; padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: .65rem; }
.catalog-panel p { margin: .8rem 0 1.15rem; min-height: 3.1em; color: var(--muted); }
table { width: 100%; border-collapse: collapse; text-align: left; }
caption { text-align: left; font-size: .875rem; font-weight: 650; color: var(--muted); padding-bottom: .55rem; }
th, td { border-top: 1px solid var(--line); padding: .63rem .55rem .63rem 0; }
th { font-size: .875rem; background: #f3f5f2; }
th:first-child, td:first-child { padding-left: .6rem; }
td code { color: var(--accent); font-weight: 700; }
.detail-figure { background: #e9edf0; min-height: 340px; }
.detail-figure img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.workflow { padding-block: clamp(3.1rem, 6vw, 5.6rem); }
.workflow h2 { margin: .8rem 0 2rem; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.steps li { padding: 1.4rem; border: 1px solid var(--line); border-radius: .55rem; background: white; }
.step-field { color: var(--accent); font-family: "Consolas", monospace; font-weight: 700; font-size: .9rem; letter-spacing: .06em; }
.steps h3 { margin: .7rem 0 .55rem; text-wrap: initial; }
.steps p:last-child { color: var(--muted); }
.export-note { margin-top: 1.3rem; color: var(--muted); }
.export-note strong { color: var(--ink); }
.review { background: #e8eeea; border-top: 1px solid var(--line); }
.review-inner { display: grid; grid-template-columns: .36fr 1fr; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 4.6rem); }
.review-inner .eyebrow { align-self: start; }
.review p:not(.eyebrow) { margin-top: 1.15rem; max-width: 70ch; color: #334751; }
.trial { background: #16232b; color: white; }
.trial-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.75rem, 6vw, 5rem); align-items: start; padding-block: clamp(3rem, 6vw, 5.65rem); }
.trial-copy .eyebrow { color: #c5d2d8; }
.trial-copy .eyebrow span { background: var(--orange); }
.trial-copy h2 { margin-top: .9rem; color: white; text-wrap: initial; }
.trial-copy p:not(.eyebrow) { margin-top: 1.15rem; font-size: 1.1rem; color: #d1dce2; }
.trial-copy ul { margin: 1.3rem 0 0; padding-left: 1.15rem; color: #d1dce2; }
.trial-copy li + li { margin-top: .45rem; }
.trial-copy li::marker { color: var(--orange); }
.form-card { padding: clamp(1.3rem, 3.5vw, 2rem); border-radius: .65rem; color: var(--ink); background: white; }
.form-card h3 { font-size: 1.65rem; }
.mode { margin: .6rem 0 1rem; color: var(--muted); font-size: .9375rem; }
.mode:empty { display: none; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.fields label { display: grid; gap: .33rem; font-size: .9375rem; font-weight: 640; }
.fields .full { grid-column: 1 / -1; }
.fields input { width: 100%; min-height: 46px; border: 1px solid #aab5b2; border-radius: .35rem; color: var(--ink); background: #fff; padding: .55rem .7rem; }
.form-card button { margin-top: 1.2rem; min-width: 10rem; }
.result { margin-top: 1rem; padding: .65rem .75rem; border-radius: .35rem; background: #e8f1ec; color: #183a2c; }
.result.error { background: #fcebe7; color: #7b241b; }
footer { background: white; }
.footer-inner { min-height: 87px; display: flex; gap: 1.2rem; align-items: center; justify-content: space-between; font-size: .875rem; color: var(--muted); }
.footer-inner .brand img { width: 110px; }
@media (max-width: 990px) {
    .wrap { width: calc(100% - 3rem); }
    .hero { gap: 1.75rem; }
    .hero h1 { font-size: clamp(2.8rem, 6.05vw, 4.5rem); }
    .top-inner { gap: 1rem; }
    .discipline-tabs button { padding-inline: .65rem; font-size: .9rem; }
}
@media (max-width: 740px) {
    .wrap { width: calc(100% - 2rem); }
    .top-inner { flex-wrap: wrap; gap: .3rem .65rem; justify-content: space-between; padding: .7rem 0 .55rem; }
    .top nav { order: 3; width: 100%; justify-content: flex-start; gap: 1.1rem; overflow-x: auto; }
    .top nav a { flex-shrink: 0; padding: .5rem 0 .2rem; }
    .top .brand img { width: 102px; }
    .header-cta { min-height: 41px; padding-inline: .7rem; }
    .hero, .section-intro, .catalog-layout, .review-inner, .trial-inner { grid-template-columns: 1fr; }
    .hero { gap: 1.75rem; }
    .hero h1 { font-size: clamp(2.75rem, 10vw, 4.25rem); max-width: 12ch; }
    .section-intro { gap: .9rem; }
    .discipline-tabs { display: flex; overflow-x: auto; }
    .discipline-tabs button { flex: 1 0 108px; }
    .discipline-tabs button:nth-child(3) { flex-basis: 132px; }
    .detail-figure { min-height: 0; }
    .detail-figure img { position: relative; aspect-ratio: 1.5; }
    .steps { grid-template-columns: 1fr; gap: .75rem; }
    .review-inner { gap: .65rem; }
    .footer-inner { flex-wrap: wrap; justify-content: flex-start; padding-block: 1rem; gap: .65rem 1rem; }
}
@media (max-width: 370px) {
    .fields { grid-template-columns: 1fr; }
    .hero .button { width: 100%; }
}
