:root {
  color-scheme: dark;
  --ink: #171613;
  --deep: #12110f;
  --panel: #201e1a;
  --white: #f5f3ef;
  --muted: #bcb8af;
  --line: #3b3930;
  --accent: #e4ff57;
  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--white);
  background: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
section[id] { scroll-margin-top: 1rem; }

.wrap { width: min(calc(100% - 5rem), 76rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font: 800 1.28rem/1 var(--display); letter-spacing: -.05em; white-space: nowrap; }
.brand small { font-size: .68em; letter-spacing: .05em; }
.mark { display: inline-block; width: 1.55rem; aspect-ratio: 1; background: var(--accent); clip-path: polygon(24% 3%, 86% 3%, 66% 40%, 99% 40%, 49% 98%, 15% 98%, 40% 57%, 7% 57%); }
nav { display: flex; gap: clamp(1.25rem, 3vw, 2.5rem); }
nav a, .header-cta { font-size: .9rem; font-weight: 650; }
nav a { color: var(--muted); }
nav a:hover, .text-link:hover { color: var(--accent); }
.header-cta { border: 1px solid #615f50; padding: .64rem 1.07rem; border-radius: .3rem; }
.header-cta:hover { border-color: var(--accent); }
.skip { position: absolute; left: 1rem; top: 1rem; transform: translateY(-180%); background: var(--accent); color: var(--ink); padding: .6rem; z-index: 5; }
.skip:focus { transform: none; }

.hero { display: grid; grid-template-columns: .93fr 1fr; gap: clamp(1.6rem, 5vw, 5rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 7rem); }
h1, h2, h3 { font-family: var(--display); }
h1 { font-size: clamp(3.5rem, 7.2vw, 7.25rem); font-weight: 800; line-height: .92; letter-spacing: -.06em; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(2.25rem, 5vw, 4.2rem); line-height: .99; letter-spacing: -.05em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.8rem); letter-spacing: -.04em; line-height: 1.14; }
.hero-copy > p { margin-top: 1.8rem; max-width: 35ch; font-size: clamp(1rem, 1.6vw, 1.24rem); }
p, .flow li span { line-height: 1.6; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.15rem; margin-top: 1.65rem; }
.button { display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: .35rem; padding: .88rem 1.15rem; line-height: 1.2; font-family: inherit; font-size: .94rem; font-weight: 750; min-height: 2.9rem; cursor: pointer; }
.primary { color: var(--ink); background: var(--accent); }
.primary:hover { background: #f3ffa3; }
.text-link { font-size: .94rem; font-weight: 650; text-decoration: underline; text-underline-offset: .22em; }

.visual { min-width: 0; }
.canvas {
  aspect-ratio: 1.16;
  min-height: 19rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #494940;
  border-radius: .8rem;
  background:
    radial-gradient(ellipse at 48% 52%, #373b24 0%, transparent 62%),
    linear-gradient(90deg, #ffffff0d 1px, transparent 1px),
    linear-gradient(#ffffff0d 1px, transparent 1px), #22231d;
  background-size: auto, 1.5rem 1.5rem, 1.5rem 1.5rem, auto;
}
.orbit { position: absolute; width: 78%; aspect-ratio: 1; border: 1px solid #a8b45230; border-radius: 50%; left: 11%; top: 50%; transform: translateY(-50%); z-index: -1; }
.orbit-two { border: 0; background: var(--accent); left: 83%; top: 18%; border-radius: 15%; width: .53rem; transform: rotate(45deg); box-shadow: 0 0 1.5rem #e4ff57aa; }
.demo-web, .demo-panel { position: absolute; border-radius: .56rem; overflow: hidden; box-shadow: 0 1.15rem 2.25rem #0007; }
.demo-web { width: 50%; top: 15%; left: 8%; color: #201f18; background: #f0eee1; transform: rotate(-6deg); }
.window-bar { height: 1.45rem; display: flex; align-items: center; gap: .25rem; padding-inline: .55rem; border-bottom: 1px solid #42422b30; }
.window-bar i { width: .31rem; aspect-ratio: 1; border-radius: 50%; background: currentColor; opacity: .36; }
.demo-web-body { padding: clamp(.72rem, 2vw, 1.6rem); }
.mock-brand { display: flex; align-items: center; gap: .3rem; font-size: .58rem; font-weight: 800; letter-spacing: .075em; }
.mock-brand .mark { width: .65rem; background: #28281e; }
.demo-web strong { display: block; margin-top: 9%; font-family: var(--display); font-size: clamp(1.25rem, 3.1vw, 3.2rem); letter-spacing: -.05em; line-height: .93; }
.mock-action { display: inline-block; margin-top: 9%; border-radius: .18rem; background: #292921; color: #f9faeb; padding: .35rem .46rem; font-size: clamp(.48rem, 1vw, .76rem); font-weight: 650; white-space: nowrap; }
.demo-panel { width: 49%; left: 43%; top: 49%; background: #262720; border: 1px solid #6d7352; transform: rotate(5deg); }
.demo-panel .window-bar { border-color: #464934; color: var(--accent); }
.demo-panel-body { padding: clamp(.5rem, 1.55vw, 1.2rem); }
.demo-panel-body strong { display: block; font-size: clamp(.78rem, 1.8vw, 1.2rem); margin-bottom: .45rem; }
.demo-panel-body > div { display: flex; align-items: center; gap: .32rem; padding: .37rem .24rem; border-top: 1px solid #484a36; color: #e8e7d9; font-size: clamp(.55rem, 1.2vw, .83rem); line-height: 1.12; }
.mock-indicator { width: .36rem; aspect-ratio: 1; background: var(--accent); border-radius: 50%; flex: none; }
.demo-panel-body > div:nth-of-type(2) .mock-indicator { background: #b3a2f9; }
.demo-panel-body > div:nth-of-type(3) .mock-indicator { background: #ffad6d; }
.connection { position: absolute; left: 56%; top: 36%; width: 20%; height: 18%; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); border-top-right-radius: .45rem; }
.connection span { width: .5rem; aspect-ratio: 1; background: var(--accent); position: absolute; left: -.55rem; top: -.28rem; border-radius: 50%; }
figcaption { margin-top: .72rem; font-size: .85rem; color: var(--muted); }

.section { padding-block: clamp(3.2rem, 7.3vw, 6rem); }
.services { border-top: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: clamp(1.4rem, 4vw, 2.3rem); }
.service-grid article, .project-card { background: var(--panel); border: 1px solid var(--line); border-radius: .6rem; padding: clamp(1.35rem, 3.5vw, 2.35rem); }
.service-grid article p { margin-top: .8rem; max-width: 47ch; }
p.detail { color: #a6a396; }
.service-icon { width: 2.6rem; aspect-ratio: 1; color: var(--accent); border: 1px solid #535839; border-radius: .4rem; margin-bottom: 1.15rem; position: relative; background: #292d1d; }
.service-icon::before, .service-icon::after { content: ""; position: absolute; }
.web-icon::before { inset: 10px 8px; border: 1px solid; border-radius: 2px; }
.web-icon::after { top: 15px; left: 9px; right: 9px; border-top: 1px solid; }
.system-icon::before { inset: 10px 9px; background: linear-gradient(currentColor 0 0) 50% 50% / 100% 1px no-repeat, linear-gradient(currentColor 0 0) 50% 50% / 1px 100% no-repeat; }
.system-icon::after { width: 5px; height: 5px; border-radius: 50%; background: currentColor; left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 -8px currentColor, 0 8px currentColor, 8px 0 currentColor, -8px 0 currentColor; }

.benefits { color-scheme: light; background: #e7ecdb; color: var(--ink); }
.benefits-grid, .project-grid { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(1.65rem, 7vw, 6rem); }
.benefits h2 { max-width: 12ch; }
.benefit-list { border-top: 1px solid #a7ac9b; }
.benefit-list article { padding-block: 1.15rem; border-bottom: 1px solid #a7ac9b; }
.benefit-list h3 { font-size: 1.24rem; }
.benefit-list p { color: #424738; margin-top: .4rem; }
.system-intro { display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: 1.5rem 4rem; }
.system-intro h2 { max-width: 16ch; }
.flow { border: 1px solid var(--line); background: var(--panel); padding: clamp(1.2rem, 3vw, 2rem); border-radius: .6rem; margin-top: 2rem; }
.flow > p { font-size: .9rem; font-weight: 700; color: var(--accent); }
.flow ol { padding: 0; margin: 1.25rem 0 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem; }
.flow li { border-top: 1px solid #62654c; padding-top: .85rem; }
.flow li strong, .flow li span { display: block; }
.flow li span { margin-top: .35rem; }
.project { background: var(--deep); border-top: 1px solid var(--line); }
.project h2 + p { margin-top: 1rem; max-width: 36ch; }
.project-card form { display: grid; gap: .65rem; }
.project-card label { font-weight: 650; }
.project-card input, .project-card select, .project-card textarea { width: 100%; border: 1px solid #514f43; border-radius: .3rem; background: var(--deep); color: var(--white); padding: .72rem; font: inherit; }
.project-card select { appearance: none; padding-right: 2.3rem; background-image: linear-gradient(45deg, transparent 48%, var(--accent) 49% 72%, transparent 73%), linear-gradient(135deg, transparent 29%, var(--accent) 30% 52%, transparent 53%); background-position: right 1.33rem center, right 1.04rem center; background-size: .37rem .37rem; background-repeat: no-repeat; margin-bottom: .35rem; }
.project-card textarea { resize: vertical; }
.project-card button { justify-self: start; }
.form-hint, .form-status { font-size: .9rem; }
.form-status { color: var(--accent); }
.form-status:empty { display: none; }
.form-status textarea { display: block; margin-top: .4rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner p { font-size: .9rem; }

@media (max-width: 56rem) {
  .wrap { width: min(calc(100% - 3rem), 76rem); }
  .hero { gap: 1.65rem; }
  .demo-web strong { font-size: clamp(1.25rem, 3.7vw, 2.2rem); }
  .flow ol { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 43rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; min-height: auto; padding-block: 1rem; }
  nav { min-width: 100%; order: 1; gap: 1.2rem; }
  .hero, .benefits-grid, .system-intro, .project-grid { grid-template-columns: 1fr; }
  .hero { padding-block: 3.2rem 2.65rem; gap: 2rem; }
  h1 { font-size: clamp(3.1rem, 12vw, 5.4rem); }
  .hero-copy > p { margin-top: 1.2rem; }
  .canvas { min-height: 16.5rem; }
  .demo-web strong { font-size: clamp(1.45rem, 6vw, 2.8rem); }
  .demo-panel-body strong { font-size: clamp(.85rem, 4vw, 1.15rem); }
  .demo-panel-body > div { font-size: clamp(.56rem, 2.5vw, .84rem); }
}
@media (max-width: 31rem) {
  .service-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; padding-block: 1rem; gap: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
