:root {
  color-scheme: light;
  --ink: #252720;
  --muted: #64685e;
  --surface: #fffdf8;
  --surface-2: #eeeade;
  --line: #d9d4c8;
  --accent: #ad482b;
  --accent-dark: #fffaf3;
  --paper: #f8f5ed;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, video:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .7rem 1rem; background: var(--accent); color: var(--accent-dark); font-weight: 800; }
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(217,212,200,.9); background: rgba(248,245,237,.95); backdrop-filter: blur(12px); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-size: 1.18rem; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); padding: 5px; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { color: var(--muted); font-size: .93rem; font-weight: 650; text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.menu-button { display: none; color: var(--ink); border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: .5rem .7rem; font: inherit; }
.hero { padding: clamp(4.5rem, 8vw, 7rem) 0 5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(2.5rem, 7vw, 6rem); }
.hero-grid > *, .reason-grid > * { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.2rem; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 720px; font-size: clamp(3rem, 6vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.18rem; letter-spacing: -.02em; }
.lede { max-width: 650px; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.lede strong { color: var(--ink); font-weight: 750; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.1rem; border: 1px solid var(--accent); border-radius: 8px; background: var(--accent); color: var(--accent-dark); font-weight: 800; text-decoration: none; }
.button.secondary { border-color: var(--line); background: transparent; color: var(--ink); }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 12% -14%; z-index: -1; background: radial-gradient(ellipse, rgba(173,72,43,.10), transparent 68%); }
.app-frame { overflow: hidden; border: 1px solid #c9c2b4; border-radius: 12px; background: #fff; box-shadow: 0 22px 55px rgba(58,49,35,.14); }
.app-frame img { width: 100%; height: auto; }
.lightbox-trigger { position: relative; display: block; color: inherit; text-decoration: none; cursor: zoom-in; }
.lightbox-trigger::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .16s ease; pointer-events: none; }
.lightbox-trigger:hover::after, .lightbox-trigger:focus-visible::after { box-shadow: inset 0 0 0 2px var(--accent); }
.zoom-hint { position: absolute; right: .75rem; bottom: .75rem; padding: .4rem .65rem; border-radius: 999px; background: rgba(37,39,32,.88); color: #fff; font-size: .75rem; font-weight: 750; letter-spacing: .01em; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.microcopy { margin: .85rem 0 0; color: var(--muted); font-size: .82rem; text-align: center; }
.section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.section.alt { border-block: 1px solid var(--line); background: #efebe1; }
.section-heading { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-heading p { margin: 1rem 0 0; color: var(--muted); font-size: 1.08rem; }
.demo-shell { overflow: hidden; border: 1px solid #bcb5a7; border-radius: 12px; background: #171914; box-shadow: 0 24px 55px rgba(58,49,35,.16); }
.demo-shell video { width: 100%; aspect-ratio: 16 / 9; background: #03070d; }
.caption { margin: 1rem auto 0; max-width: 850px; color: var(--muted); text-align: center; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); }
.step { min-height: 210px; padding: 1.6rem; background: var(--surface); }
.number { display: block; margin-bottom: 2.5rem; color: var(--accent); font-size: .78rem; font-weight: 850; letter-spacing: .1em; }
.step p, .use-card p, .reason p { margin: .7rem 0 0; color: var(--muted); }
.gallery { display: grid; gap: 3rem; }
.shot { margin: 0; }
.shot:nth-child(even) { width: 100%; }
.shot figcaption { display: flex; gap: 1rem; justify-content: space-between; margin-top: .9rem; color: var(--muted); }
.shot figcaption strong { color: var(--ink); }
.use-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.use-card { min-height: 180px; padding: 1.6rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.use-card:first-child { border-color: rgba(173,72,43,.55); }
.use-tag { display: inline-block; margin-bottom: 2.2rem; color: var(--accent); font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.reason-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: start; }
.reasons { display: grid; gap: 1rem; }
.reason { padding: 1.3rem 0 1.3rem 1.3rem; border-left: 2px solid var(--line); }
.status-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3rem; padding: clamp(2rem, 5vw, 3.5rem); border: 1px solid rgba(173,72,43,.55); border-radius: 12px; background: var(--surface); }
.status-panel p { max-width: 760px; margin: 1rem 0 0; color: var(--muted); }
.contact-link { white-space: nowrap; color: var(--accent); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.site-footer { padding: 2.2rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer-row, .footer-links { display: flex; align-items: center; gap: 1.2rem; }
.footer-row { justify-content: space-between; }
.footer-links a { text-underline-offset: 3px; }
.legal { max-width: 760px; padding: 5rem 0 7rem; }
.legal h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); }
.legal h2 { margin-top: 2.5rem; font-size: 1.4rem; }
.legal p, .legal li { color: var(--muted); }
.legal .updated { margin: .8rem 0 3rem; font-size: .9rem; }
.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: clamp(.75rem, 2vw, 1.5rem); border: 0; background: transparent; overflow: auto; }
.lightbox::backdrop { background: rgba(31,29,24,.82); }
.lightbox-panel { width: min(96vw, 1700px); min-height: calc(100vh - 3rem); margin: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; }
.lightbox-panel img { max-width: 100%; max-height: calc(100vh - 6rem); width: auto; height: auto; border-radius: 8px; background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.42); }
.lightbox-actions { width: 100%; display: flex; justify-content: flex-end; align-items: center; gap: .75rem; color: #fff; }
.lightbox-actions a { font-size: .86rem; font-weight: 700; text-underline-offset: 3px; }
.lightbox-close { min-height: 42px; padding: .55rem .85rem; border: 1px solid rgba(255,255,255,.45); border-radius: 7px; background: #fffdf8; color: #252720; font: inherit; font-weight: 800; cursor: pointer; }
body.lightbox-open { overflow: hidden; }

@media (max-width: 850px) {
  .hero-grid, .reason-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 4rem; }
  .hero-visual { max-width: 720px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .status-panel { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 1.5rem), var(--max)); }
  .menu-button { display: inline-block; flex: 0 0 auto; }
  .nav-links { display: none; position: absolute; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 1rem 1rem; border-bottom: 1px solid var(--line); background: var(--paper); }
  .nav-links[data-open="true"] { display: flex; }
  .nav-links a { padding: .8rem; }
  .steps, .use-grid { grid-template-columns: 1fr; }
  .step { min-height: auto; }
  .number, .use-tag { margin-bottom: 1.5rem; }
  .shot:nth-child(even) { width: 100%; }
  .shot figcaption { display: block; }
  .shot figcaption span { display: block; margin-top: .25rem; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .zoom-hint { right: .5rem; bottom: .5rem; }
  .lightbox { padding: .5rem; }
  .lightbox-panel { width: 100%; min-height: calc(100vh - 1rem); }
  .lightbox-panel img { max-height: calc(100vh - 5.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lightbox-trigger::after { transition: none; }
}
