@font-face {
  font-family: Lexend;
  src: url("./assets/Lexend-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Lexend;
  src: url("./assets/Lexend-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #10100f;
  --paper: #f5f3ee;
  --muted: #bcbab5;
  --orange: #ffa147;
  --line: #343331;
  --gutter: clamp(20px, 5.4vw, 88px);
  font-family: Lexend, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.06em; font-weight: 600; }
p { line-height: 1.65; }
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
[id] { scroll-margin-top: 24px; }

.wrap { width: min(100% - var(--gutter) * 2, 1190px); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 5; transform: translateY(-150%); background: var(--paper); color: var(--ink); padding: 12px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 1; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-inner { min-height: 80px; border-bottom: 1px solid var(--line); }
.brand { display: block; width: 154px; flex: 0 0 auto; }
.header-inner nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 42px); }
.header-inner nav a, .footer a { font-size: .85rem; text-decoration: none; }
.header-inner nav a:hover, .footer a:hover { color: var(--orange); }
.nav-contact { white-space: nowrap; }
.nav-contact span { margin-left: 3px; }

.hero { isolation: isolate; position: relative; overflow: hidden; }
.hero-art { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 68%; height: 100%; object-fit: cover; object-position: 52% 49%; opacity: .72; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--ink) 23%, #10100fe0 39%, transparent 76%), linear-gradient(0deg, var(--ink), #10100f15 36%, #10100f00 78%, var(--ink)); }
.hero-inner { padding-block: clamp(90px, 10vw, 155px) clamp(74px, 8vw, 125px); }
.hero h1 { font-size: clamp(3.5rem, 8.7vw, 8.25rem); }
.hero h1 span { color: var(--orange); }
.hero p { max-width: 43ch; margin-top: 26px; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.15rem); text-wrap: pretty; }
.text-link { display: inline-flex; align-items: baseline; gap: 9px; color: var(--paper); font-size: .9rem; font-weight: 600; text-underline-offset: 6px; text-decoration-color: #ffffff62; }
.text-link span, .text-link:hover { color: var(--orange); }
.text-link:hover { text-decoration-color: currentColor; }
.hero .text-link { margin-top: 24px; }

.showcase { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(28px, 7vw, 105px); padding-block: clamp(48px, 7vw, 108px); border-top: 1px solid var(--line); }
.eyebrow { font-size: .72rem; font-weight: 600; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.showcase h2, .enterprise h2, .company h2, .contact h2 { font-size: clamp(2.7rem, 5.6vw, 5.25rem); margin-block: 10px 16px; }
.showcase-copy > p:not(.eyebrow), .loop p, .company-inner p:not(.eyebrow), .contact p { color: var(--muted); max-width: 46ch; text-wrap: pretty; }
.showcase .text-link { margin-top: 15px; }
.loop { margin-top: 31px; padding-top: 25px; border-top: 1px solid var(--line); }
.loop h3 { display: flex; align-items: center; gap: 9px; font-size: clamp(1.45rem, 2.4vw, 2rem); margin-bottom: 10px; }
.showcase-visual { min-width: 0; }
.showcase-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 410px; margin: 0 auto 21px; }
.showcase-visual [hidden] { display: none; }
.showcase-visual button { color: var(--muted); background: transparent; border: 1px solid var(--line); font: inherit; cursor: pointer; }
.showcase-tabs button { min-height: 40px; padding: 5px; border-radius: 7px; font-size: .78rem; }
.showcase-tabs button[aria-selected="true"] { border-color: var(--orange); color: var(--paper); background: #ffa14712; }
.showcase-visual :is(button, [role="tabpanel"]):focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.showcase-stage { display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; align-items: center; gap: 5px; touch-action: pan-y pinch-zoom; }
.showcase-panels { grid-column: 2; grid-row: 1; }
.showcase-visual .device-frame { max-width: 242px; margin-inline: auto; }
.showcase-visual figcaption { min-height: 4.8rem; color: var(--muted); font-size: .78rem; line-height: 1.5; text-align: center; margin-top: 13px; }
.showcase-visual figcaption span { display: block; margin-top: 3px; font-size: .69rem; }
.showcase-arrow { grid-row: 1; width: 36px; height: 42px; border-radius: 7px; }
.showcase-arrow[data-step="1"] { grid-column: 3; }
.showcase-visual button:hover { color: var(--orange); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.company { border-top: 1px solid var(--line); padding-block: clamp(45px, 6.5vw, 90px); }
.company-inner { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: clamp(30px, 9vw, 145px); }
.company h2, .contact h2 { font-size: clamp(2.35rem, 4.6vw, 4.35rem); }
.founder { padding: 3px 0 4px 19px; border-left: 1px solid var(--orange); margin-top: 10px; }
.founder blockquote { font-size: clamp(1.2rem, 2.2vw, 1.95rem); line-height: 1.35; letter-spacing: -.04em; text-wrap: pretty; }
.founder figcaption { margin-top: 13px; color: var(--muted); font-size: .8rem; line-height: 1.55; }
.founder-signature { width: min(100%, 230px); margin-bottom: 5px; }
.founder figcaption span { display: block; }
.capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 5vw, 72px); border-top: 1px solid var(--line); margin: clamp(28px, 4vw, 56px) 0 0; padding-top: 23px; }
.capabilities dt { font-weight: 600; line-height: 1.35; }
.capabilities dd { margin: 8px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.6; text-wrap: pretty; }

.enterprise { border-top: 1px solid var(--line); padding-block: clamp(45px, 6.5vw, 90px); }
.enterprise-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 6vw, 84px); margin-top: 25px; }
.enterprise-products h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); letter-spacing: -.035em; }
.enterprise-products p { margin-top: 9px; max-width: 45ch; color: var(--muted); text-wrap: pretty; }

.contact-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-block: clamp(39px, 5.8vw, 72px); border-top: 1px solid var(--line); }
.contact h2 { margin-top: 0; margin-bottom: 8px; }
.contact .text-link { flex: none; }
.footer-inner { min-height: 91px; color: var(--muted); font-size: .75rem; border-top: 1px solid var(--line); }
.footer .brand { width: 110px; }
.contact-standalone { padding-block: clamp(70px, 12vw, 145px); }
.contact-standalone h1 { font-size: clamp(3rem, 8vw, 7rem); margin-bottom: 24px; }
.contact-standalone p + p { margin-top: 12px; }
.contact-standalone p a { color: var(--orange); text-underline-offset: 4px; overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .hero-art { width: 89%; opacity: .48; }
  .hero::before { background: linear-gradient(90deg, var(--ink), #10100f68 62%, #10100f22), linear-gradient(0deg, var(--ink), transparent 38%, transparent 81%, var(--ink)); }
  .showcase { grid-template-columns: 1fr; gap: 31px; }
  .showcase-visual { width: min(100%, 470px); margin-inline: auto; }
  .company-inner { grid-template-columns: 1fr; gap: 24px; }
  .founder { margin-top: 0; }
}

@media (max-width: 520px) {
  .header-inner { min-height: 65px; gap: 10px; }
  .brand { width: clamp(90px, 24vw, 118px); }
  .header-inner nav { gap: clamp(10px, 3vw, 16px); }
  .header-inner nav a { font-size: .75rem; }
  .nav-contact span { display: none; }
  .hero-inner { padding-block: 65px 59px; }
  .hero h1 { font-size: clamp(2.9rem, 11vw, 3.7rem); }
  .hero p { margin-top: 18px; }
  .hero .text-link { margin-top: 18px; }
  .capabilities, .enterprise-products { grid-template-columns: 1fr; gap: 20px; }
  .contact-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-inner { flex-direction: column; justify-content: center; text-align: center; gap: 10px; padding-block: 22px; }
}
