:root {
  --bg: #090a0c;
  --surface: #141518;
  --surface-soft: #1a1c20;
  --text: #f7f7f5;
  --muted: #b5b7bc;
  --line: rgba(255, 255, 255, 0.12);
  --orange: #ff6a2a;
  --orange-light: #ff9a5a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 8% -10%, rgba(255, 106, 42, 0.18), transparent 31rem),
    linear-gradient(145deg, #08090b 0%, #121317 50%, #090a0c 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.container { width: min(100% - 40px, 1180px); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 10, 12, 0.86);
  backdrop-filter: blur(16px);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.brand img { width: 38px; height: 38px; padding: 3px; border-radius: 11px; background: #fff; object-fit: contain; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.2vw, 30px); color: #d5d6d9; font-size: 14px; font-weight: 700; }
.site-nav a:hover, .site-footer a:hover { color: var(--orange-light); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--orange), #ff9c32);
  color: #15100d;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 14px 28px rgba(255, 92, 28, 0.2);
  transition: transform 160ms ease, filter 160ms ease;
}
.button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.button-small { min-height: 41px; padding: 10px 15px; font-size: 14px; white-space: nowrap; }
.button-quiet { background: transparent; border-color: rgba(255, 154, 90, 0.55); color: #ffd0b7; box-shadow: none; }

.hero { overflow: hidden; padding: clamp(70px, 11vw, 140px) 0 86px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.8fr); align-items: center; gap: clamp(42px, 8vw, 110px); }
.eyebrow { margin: 0 0 14px; color: var(--orange-light); font-size: 12px; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(42px, 6.2vw, 74px); line-height: 0.99; letter-spacing: -0.055em; }
h2 { margin-bottom: 16px; font-size: clamp(31px, 4.2vw, 48px); line-height: 1.04; letter-spacing: -0.04em; }
h3 { font-size: 19px; line-height: 1.25; }
p { color: var(--muted); line-height: 1.6; }
.hero-lead { max-width: 640px; font-size: clamp(18px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin: 18px 0 0; font-size: 14px; }

.hero-visual { display: grid; min-height: 520px; place-items: center; }
.hero-product-frame { display: grid; width: min(100%, 290px); max-height: 520px; place-items: center; padding: 10px; border: 1px solid rgba(255, 154, 90, .48); border-radius: 27px; background: linear-gradient(145deg, #232427, #090a0c); box-shadow: 0 24px 60px rgba(0, 0, 0, .48), 0 0 42px rgba(255, 106, 42, .14); }
.hero-product-frame img { display: block; max-width: 100%; max-height: 500px; width: auto; height: auto; object-fit: contain; border-radius: 18px; }

.section { padding: clamp(72px, 10vw, 124px) 0; }
.section-heading { max-width: 670px; margin-bottom: 42px; }
.section-heading > p:last-child { margin-bottom: 0; font-size: 18px; }
.solution-section { border-top: 1px solid var(--line); }
.card-grid { display: grid; gap: 16px; }
.four-columns { grid-template-columns: repeat(4, 1fr); }
.feature-card { min-height: 235px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035); box-shadow: 0 14px 35px rgba(0,0,0,.12); }
.feature-number { display: block; margin-bottom: 36px; color: var(--orange-light); font-size: 13px; font-weight: 800; }
.feature-card h3 { margin-bottom: 11px; }
.feature-card p { margin-bottom: 0; font-size: 15px; }

.how-section { background: rgba(255,255,255,.025); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(38px, 7vw, 100px); align-items: start; }
.steps-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.steps-list li { display: grid; grid-template-columns: 46px 1fr; gap: 17px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps-list li:first-child { padding-top: 0; }
.steps-list li > span { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,154,90,.5); border-radius: 50%; color: var(--orange-light); font-weight: 800; }
.steps-list h3 { margin-bottom: 7px; }
.steps-list p { margin-bottom: 0; }

.gallery-section { border-bottom: 1px solid var(--line); }
.gallery-heading { margin-bottom: 36px; }
.screenshot-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; max-width: 1180px; margin: 0 auto; }
.screenshot-card { grid-column: span 2; }
.screenshot-card { display: grid; gap: 14px; padding: 14px; margin: 0; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035); box-shadow: 0 16px 38px rgba(0,0,0,.18); }
.screenshot-trigger { display: grid; width: 100%; height: 440px; place-items: center; padding: 12px; border: 1px solid rgba(255, 154, 90, .28); border-radius: 12px; overflow: hidden; background: #08090b; cursor: zoom-in; }
.screenshot-trigger img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.screenshot-trigger:focus-visible { outline: 3px solid rgba(255, 154, 90, .7); outline-offset: 3px; }
.screenshot-card figcaption { padding: 0 3px 3px; color: #e4e4e6; font-size: 14px; font-weight: 700; line-height: 1.45; }
.screenshot-card figcaption::before { content: "•"; margin-right: 8px; color: var(--orange-light); }

.gallery-lightbox { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 5vh 5vw; background: rgba(4, 5, 7, .94); backdrop-filter: blur(7px); }
.gallery-lightbox[hidden] { display: none !important; }
.gallery-lightbox img { display: block; max-width: 90vw; max-height: 90vh; width: auto; height: auto; object-fit: contain; border: 1px solid rgba(255,255,255,.17); border-radius: 14px; box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.lightbox-close { position: absolute; z-index: 1; top: 18px; right: 18px; display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: #202126; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: var(--orange); color: #1a100b; }
.lightbox-close:focus-visible { outline: 3px solid rgba(255, 154, 90, .8); outline-offset: 3px; }
body.lightbox-open { position: fixed; width: 100%; overflow: hidden; }

.product-section { border-bottom: 1px solid var(--line); }
.product-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(38px, 8vw, 120px); align-items: center; }
.product-lead { max-width: 600px; font-size: 19px; }
.positioning { margin-top: 28px; padding: 17px 19px; border-left: 3px solid var(--orange); border-radius: 0 12px 12px 0; background: rgba(255,106,42,.08); color: #ffe3d4; font-size: 18px; font-weight: 700; }
.check-list { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.check-list li { position: relative; padding: 15px 16px 15px 45px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.035); color: #dedfe2; line-height: 1.45; }
.check-list li::before { content: "✓"; position: absolute; left: 16px; top: 14px; color: var(--orange-light); font-weight: 900; }
.auto-section { background: linear-gradient(120deg, rgba(255,106,42,.08), transparent 48%); }
.product-grid-reverse { grid-template-columns: .75fr 1.25fr; }
.auto-callout { min-height: 260px; padding: 30px; display: flex; flex-direction: column; justify-content: end; border: 1px solid rgba(255,154,90,.36); border-radius: 22px; background: linear-gradient(145deg, #2b1b15, #171415); box-shadow: var(--shadow); }
.auto-callout span { margin-bottom: 12px; color: var(--orange-light); font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.auto-callout strong { font-size: clamp(28px, 4vw, 42px); line-height: 1.02; letter-spacing: -.04em; }
.compact-list { margin-top: 24px; }

.materials-section { border-bottom: 1px solid var(--line); }
.materials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.material-card { display: grid; grid-template-rows: auto 1fr auto; gap: 18px; min-height: 420px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.035); box-shadow: 0 16px 38px rgba(0,0,0,.18); }
.material-card h3 { margin-bottom: 9px; }
.material-card p { margin-bottom: 0; font-size: 15px; }
.material-preview { display: grid; width: 100%; height: 240px; place-items: center; padding: 10px; border: 1px solid rgba(255, 154, 90, .28); border-radius: 13px; overflow: hidden; background: #08090b; cursor: zoom-in; }
.material-preview img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.material-preview:focus-visible, .material-action:focus-visible { outline: 3px solid rgba(255, 154, 90, .7); outline-offset: 3px; }
.material-document { display: grid; height: 240px; place-content: center; gap: 10px; border: 1px solid rgba(255, 154, 90, .28); border-radius: 13px; background: linear-gradient(145deg, #2a1c16, #141518); text-align: center; }
.material-document span { width: fit-content; margin: 0 auto; padding: 5px 8px; border-radius: 7px; background: var(--orange); color: #25140c; font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.material-document strong { color: #fff; font-size: 27px; line-height: 1.04; letter-spacing: -.04em; }
.material-action { display: inline-flex; width: fit-content; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border: 1px solid rgba(255, 154, 90, .5); border-radius: 11px; background: transparent; color: #ffd0b7; font-weight: 800; cursor: pointer; }
.material-action:hover { border-color: var(--orange-light); background: rgba(255,106,42,.1); }

.offer-section { padding-top: 90px; }
.offer-card { display: grid; grid-template-columns: 1.1fr .9fr auto; gap: 34px; align-items: center; padding: clamp(28px, 5vw, 56px); border: 1px solid rgba(255,154,90,.28); border-radius: 24px; background: linear-gradient(135deg, rgba(40,26,18,.96), rgba(20,20,22,.98)); box-shadow: var(--shadow); }
.offer-card h2 { margin-bottom: 12px; }
.offer-card p { margin-bottom: 0; }
.offer-card .offer-note { margin-top: 12px; color: #d2d3d6; font-size: 14px; }
.offer-includes { display: grid; gap: 12px; color: #e3e3e5; font-size: 14px; line-height: 1.4; }
.offer-includes span { padding-left: 18px; position: relative; }
.offer-includes span::before { content: "•"; position: absolute; left: 1px; color: var(--orange-light); }

.contact-section { background: rgba(255,255,255,.025); border-top: 1px solid var(--line); }
.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(36px, 8vw, 110px); align-items: start; }
.contact-copy { position: sticky; top: 110px; }
.contact-copy p:last-child { max-width: 390px; font-size: 18px; }
.inquiry-form { display: grid; gap: 20px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.inquiry-form label { display: grid; gap: 8px; color: #e9e9ea; font-size: 14px; font-weight: 700; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 12px 13px; outline: 0; background: rgba(255,255,255,.055); color: #fff; }
.inquiry-form select {
  appearance: auto;
  color-scheme: dark;
}

.inquiry-form select option {
  background: #1a1c20;
  color: #ffffff;
}
.inquiry-form textarea { resize: vertical; min-height: 120px; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { border-color: var(--orange-light); box-shadow: 0 0 0 3px rgba(255,106,42,.15); }
.inquiry-form .button { width: fit-content; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { margin: -4px 0 0; font-size: 13px; }

.site-footer { border-top: 1px solid var(--line); padding: 29px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #96989e; font-size: 14px; }
.footer-inner div { display: flex; align-items: baseline; gap: 10px; }
.footer-inner strong { color: var(--text); }
.footer-inner a { color: #dedee1; font-weight: 700; }

@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; padding: 14px 0; }
  .site-nav { order: 3; width: 100%; justify-content: space-between; gap: 10px; overflow-x: auto; padding-bottom: 1px; }
  .hero-grid, .how-layout, .product-grid, .product-grid-reverse, .contact-layout { grid-template-columns: 1fr; }
  .hero-visual { min-height: 470px; }
  .hero-product-frame { width: min(100%, 260px); max-height: 470px; }
  .hero-product-frame img { max-height: 450px; }
  .four-columns { grid-template-columns: repeat(2, 1fr); }
  .screenshot-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screenshot-card { grid-column: auto; }
  .screenshot-trigger { height: 420px; }
  .materials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-card { grid-template-columns: 1fr; }
  .offer-card .button { width: fit-content; }
  .contact-copy { position: static; }
}

@media (max-width: 580px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { gap: 12px; min-height: 66px; }
  .brand { font-size: 18px; }
  .brand img { width: 33px; height: 33px; }
  .site-nav { font-size: 13px; }
  .header-actions { width: 100%; }
  .header-actions .button { flex: 1; }
  .button-small { padding: 9px 11px; font-size: 13px; }
  .hero { padding-top: 58px; }
  h1 { font-size: clamp(39px, 12vw, 54px); }
  .hero-visual { min-height: 400px; }
  .hero-product-frame { width: min(100%, 220px); max-height: 400px; }
  .hero-product-frame img { max-height: 380px; }
  .four-columns, .form-grid { grid-template-columns: 1fr; }
  .screenshot-gallery { grid-template-columns: 1fr; }
  .screenshot-trigger { height: min(420px, calc(100vw - 56px)); }
  .materials-grid { grid-template-columns: 1fr; }
  .gallery-lightbox { padding: 16px; }
  .gallery-lightbox img { max-height: calc(100vh - 32px); }
  .lightbox-close { top: 10px; right: 10px; }
  .feature-card { min-height: auto; }
  .feature-number { margin-bottom: 24px; }
  .footer-inner, .footer-inner div { align-items: flex-start; flex-direction: column; }
}
