:root {
  color-scheme: light;
  --ink: #171916;
  --paper: #f7f7f2;
  --orange: #ff8047;
  --rust: #a93c16;
  --muted: #51554d;
  --rule: #daddd3;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #cb521f;
  outline-offset: 4px;
}
h1, h2, h3, p { margin: 0; }
p { line-height: 1.65; }
.wrap { width: min(100% - 5rem, 80rem); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: 0.75rem; left: 0.75rem; padding: 0.75rem; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.site-header, .hero, footer { background: var(--ink); color: var(--paper); }
.site-header { border-bottom: 1px solid #34352f; }
.header-row, .footer-row, .header-actions, nav { display: flex; align-items: center; }
.header-row, .footer-row { justify-content: space-between; min-height: 5rem; gap: 1rem; }
.wordmark { font-size: 1.45rem; font-weight: 850; font-style: italic; letter-spacing: -0.07em; text-decoration: none; white-space: nowrap; }
.wordmark span, h1 span, .contact h2 span { color: var(--orange); }
.header-actions, .main-nav { gap: clamp(0.75rem, 2vw, 1.7rem); font-size: 0.94rem; }
.language-nav { gap: 0.15rem; font-size: 0.875rem; }
.language-nav a { display: grid; place-items: center; min-width: 2.2rem; min-height: 2.5rem; border-radius: 0.25rem; color: #d9dbd1; text-decoration: none; font-weight: 700; }
.language-nav a[aria-current="page"] { background: #34352f; color: var(--orange); }
.language-nav a:hover { color: var(--orange); }
.nav-text { color: #d9dbd1; text-decoration: none; }
.nav-text:hover, .footer-row > a:last-child:hover { color: var(--orange); }
.button { display: inline-flex; min-height: 2.9rem; justify-content: center; align-items: center; padding: 0.66rem 1.1rem; border: 1px solid transparent; border-radius: 0.25rem; font: inherit; font-weight: 700; line-height: 1.35; text-decoration: none; cursor: pointer; }
.button-nav { border-color: #6a6b60; }
.button-nav:hover { border-color: var(--orange); color: var(--orange); }
.button-primary { background: var(--orange); color: #21160e; }
.button-primary:hover { background: #ffa478; }
.button-primary:disabled { cursor: wait; opacity: 0.75; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.91fr) minmax(0, 1.09fr); align-items: center; gap: clamp(2rem, 5vw, 5.25rem); padding-block: clamp(3rem, 6vw, 6rem); }
.eyebrow { color: var(--rust); font: 650 0.88rem/1.5 ui-monospace, "Cascadia Mono", monospace; letter-spacing: 0.075em; text-transform: uppercase; }
.hero .eyebrow { color: var(--orange); margin-bottom: 1.2rem; }
h1, h2, h3 { font-family: "Segoe UI", system-ui, sans-serif; letter-spacing: -0.055em; }
h1 { font-size: clamp(3.4rem, 7.25vw, 7.2rem); line-height: 0.94; font-weight: 800; }
.intro { max-width: 33rem; margin-top: 1.6rem; color: #d3d5cc; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1.4rem; align-items: center; margin-top: 1.7rem; }
.hero-link { font-size: 0.95rem; text-underline-offset: 0.3em; text-decoration-color: #a7a99f; }
.hero-link:hover { color: var(--orange); }
.hero-media { aspect-ratio: 1.36; overflow: hidden; background: #24231f; border: 1px solid #424136; border-radius: 0.4rem; }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.platforms { background: #e9ebe3; border-bottom: 1px solid var(--rule); }
.platform-row { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem 3rem; padding-block: 1.5rem; }
.platform-row h2 { font: 650 0.9rem/1.45 ui-monospace, "Cascadia Mono", monospace; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.platform-row ul { display: flex; flex-wrap: wrap; gap: 0.9rem clamp(1.2rem, 5vw, 5.4rem); list-style: none; padding: 0; margin: 0; }
.platform-row li { font-size: clamp(1.06rem, 2vw, 1.5rem); font-weight: 750; letter-spacing: -0.035em; }
.capabilities, .contact { padding-block: clamp(3.4rem, 7vw, 7rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem 2rem; margin-bottom: 2rem; }
h2 { font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1.01; font-weight: 780; }
.section-heading p { max-width: 30rem; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--rule); }
.service-grid article { display: flex; flex-direction: column; padding: 1.45rem clamp(0.9rem, 2vw, 1.65rem); }
.service-grid article + article { border-left: 1px solid var(--rule); }
.service-grid h3 { margin-block: 0.62rem 0.5rem; font-size: clamp(1.35rem, 2.5vw, 2rem); }
.service-grid p:not(.eyebrow), .integration p { color: var(--muted); }
.service-grid a { align-self: start; padding-top: 1.05rem; margin-top: auto; color: var(--rust); font-size: 0.94rem; font-weight: 680; text-underline-offset: 0.23em; }
.service-grid a:hover { color: var(--ink); }
.integration { display: grid; grid-template-columns: 1fr 2fr; gap: 0.6rem 2rem; margin-top: 2rem; }
.integration h3 { font-size: 1.35rem; }
.contact { color: var(--paper); background: #22251f; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); }
.contact-copy p { max-width: 28rem; margin-block: 1.2rem; color: #d3d5cc; }
.contact-copy a { color: var(--orange); text-underline-offset: 0.24em; }
form { display: grid; gap: 1.15rem; padding: clamp(1rem, 3vw, 2rem); border: 1px solid #44493e; border-radius: 0.4rem; background: #292d25; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
label { display: block; min-width: 0; font-size: 0.95rem; font-weight: 650; }
.optional { color: #bfc2b6; font-weight: 400; }
input:not([hidden]), select, textarea { display: block; width: 100%; margin-top: 0.42rem; border: 1px solid #626858; border-radius: 0.24rem; padding: 0.67rem 0.7rem; background: #1e211b; color: var(--paper); font: 400 1rem/1.4 "Segoe UI", system-ui, sans-serif; }
select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, #d3d5cc 50%), linear-gradient(135deg, #d3d5cc 50%, transparent 50%); background-position: right 1rem center, right 0.7rem center; background-size: 0.3rem 0.3rem; background-repeat: no-repeat; }
textarea { resize: vertical; }
textarea::placeholder { color: #b8bcaf; }
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1rem; }
#form-status { flex: 1 1 12rem; font-size: 0.95rem; }
#form-status[data-state="error"] { color: #ffae91; }
.footer-row > a:last-child { color: #d3d5cc; font-size: 0.94rem; text-underline-offset: 0.24em; }
@media (max-width: 60rem) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid article:nth-child(3) { border-left: 0; }
  .service-grid article:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 48rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .nav-text { display: none; }
  .hero-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 2rem; }
  .hero-media { aspect-ratio: 1.6; }
  .platform-row { flex-wrap: wrap; }
  .integration { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 34rem) {
  .main-nav { display: none; }
  .header-row, .footer-row { min-height: 4.25rem; }
  .service-grid, .field-pair { grid-template-columns: minmax(0, 1fr); }
  .service-grid article { padding-inline: 0; }
  .service-grid article + article { border-left: 0; border-top: 1px solid var(--rule); }
}
