:root {
  color-scheme: light;
  --bg: #fbf6f1;
  --bg-deep: #f1e6db;
  --surface: #ffffff;
  --surface-muted: #f5ebe2;
  --text: #2a2016;
  --text-soft: #75675b;
  --accent: #e8590c;
  --accent-hover: #ef6b24;
  --accent-soft: #ffe1d0;
  --accent-ink: #8a3200;
  --accent-on-contrast: #ffc7a3;
  --line: #e5d7ca;
  --ai-surface: #fff4ec;
  --ai-border: #f3c9ac;
  --green: #2e6b34;
  --green-soft: #e3f0e4;
  --purple: #6d5d8f;
  --purple-soft: #efeaf7;
  --shadow: 0 24px 70px rgba(74, 44, 19, 0.12);
  --shadow-soft: 0 12px 36px rgba(74, 44, 19, 0.08);
  --content: 1160px;
  --radius: 28px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1d150e;
  --bg-deep: #15100b;
  --surface: #2a2018;
  --surface-muted: #332619;
  --text: #f3eae2;
  --text-soft: #b3a395;
  --accent: #ff8a4c;
  --accent-hover: #ffa474;
  --accent-soft: #4a2410;
  --accent-ink: #ffc7a3;
  --accent-on-contrast: #8a3200;
  --line: #49392c;
  --ai-surface: #342517;
  --ai-border: #6b4525;
  --green: #9cd6a4;
  --green-soft: #23392a;
  --purple: #b8a6e0;
  --purple-soft: #2e2740;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.22);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #1d150e;
    --bg-deep: #15100b;
    --surface: #2a2018;
    --surface-muted: #332619;
    --text: #f3eae2;
    --text-soft: #b3a395;
    --accent: #ff8a4c;
    --accent-hover: #ffa474;
    --accent-soft: #4a2410;
    --accent-ink: #ffc7a3;
    --accent-on-contrast: #8a3200;
    --line: #49392c;
    --ai-surface: #342517;
    --ai-border: #6b4525;
    --green: #9cd6a4;
    --green-soft: #23392a;
    --purple: #b8a6e0;
    --purple-soft: #2e2740;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.22);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 86% 9%, color-mix(in srgb, var(--accent-soft) 82%, transparent) 0, transparent 29rem),
    radial-gradient(circle at 4% 42%, color-mix(in srgb, var(--purple-soft) 66%, transparent) 0, transparent 25rem);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(20px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 5px 16px rgba(232, 89, 12, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--surface-muted);
  color: var(--text);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-left: 4px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-muted);
  color: var(--text);
  cursor: pointer;
}

.theme-toggle::before {
  content: "☾";
  font-size: 19px;
  line-height: 1;
}

:root[data-theme="dark"] .theme-toggle::before {
  content: "☀";
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-muted);
  color: var(--text);
  cursor: pointer;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  align-items: center;
  gap: clamp(50px, 8vw, 104px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.hero h1 {
  max-width: 10.5em;
  margin: 0;
  font-size: clamp(42px, 6.2vw, 78px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.18;
  text-wrap: balance;
}

.hero h1 .accent-line {
  color: var(--accent);
}

.hero-lead {
  max-width: 37em;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent);
  color: #331100;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 28%, transparent);
}

.button.primary:hover {
  background: var(--accent-hover);
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.launch-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 20px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
}

.launch-note::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px var(--green-soft);
  content: "";
}

.hero-visual {
  position: relative;
  min-height: 650px;
}

.hero-visual::before {
  position: absolute;
  inset: 7% -8% 2% 4%;
  border-radius: 48% 52% 44% 56%;
  background: linear-gradient(145deg, var(--accent-soft), var(--surface-muted));
  content: "";
  transform: rotate(-5deg);
}

.device-shot {
  position: absolute;
  overflow: hidden;
  border: 8px solid var(--surface);
  border-radius: 42px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.device-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.device-shot-main {
  z-index: 2;
  top: 2px;
  left: 7%;
  width: 314px;
  height: 640px;
  transform: rotate(-2.5deg);
}

.device-shot-secondary {
  z-index: 3;
  right: 1%;
  bottom: 8px;
  width: 225px;
  height: 486px;
  border-color: #2a2018;
  background: #2a2018;
  transform: rotate(4deg);
}

.visual-chip {
  position: absolute;
  z-index: 4;
  min-width: 210px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.visual-chip span {
  display: block;
  color: var(--accent-ink);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.visual-chip strong {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

.visual-chip-ai {
  top: 70px;
  right: -28px;
  transform: rotate(2deg);
}

.visual-chip-ready {
  bottom: 60px;
  left: -34px;
  transform: rotate(-3deg);
}

.principle-points {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.principle-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid color-mix(in srgb, var(--bg) 24%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--bg) 88%, transparent);
  font-size: 13px;
  font-weight: 800;
}

.principle-points li::before {
  color: var(--accent-on-contrast);
  content: "✓";
}

.section {
  padding: 110px 0;
}

.section.alt {
  background: color-mix(in srgb, var(--bg-deep) 72%, transparent);
}

.section-header {
  max-width: 720px;
  margin-bottom: 54px;
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.section-header.centered .eyebrow {
  justify-content: center;
}

.section h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.35;
  text-wrap: balance;
}

.section-intro {
  margin: 20px 0 0;
  color: var(--text-soft);
  font-size: 17px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pain-card {
  min-height: 235px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.pain-number {
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.pain-card h3 {
  margin: 36px 0 9px;
  font-size: 22px;
}

.pain-card p {
  margin: 0;
  color: var(--text-soft);
}

.audience-block {
  margin-top: clamp(64px, 8vw, 96px);
  padding-top: clamp(64px, 8vw, 96px);
  border-top: 1px solid var(--line);
}

.audience-block .section-header {
  margin-bottom: 46px;
}

.audience-block .pain-card {
  min-height: 260px;
}

.feature-list {
  display: grid;
  gap: 34px;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 8vw, 104px);
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: 38px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.feature:nth-child(even) .feature-copy {
  order: 2;
}

.feature h3 {
  margin: 8px 0 14px;
  font-size: clamp(27px, 4vw, 39px);
  letter-spacing: -0.035em;
  line-height: 1.4;
}

.feature p {
  margin: 0;
  color: var(--text-soft);
}

.feature-tag {
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.feature-note {
  margin-top: 20px !important;
  padding-left: 17px;
  border-left: 3px solid var(--accent);
  color: var(--text) !important;
  font-size: 14px;
  font-weight: 700;
}

.demo {
  min-height: 360px;
  display: grid;
  align-content: center;
  padding: 28px;
  border-radius: 30px;
  background: var(--bg);
}

.product-demo {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
}

.import-demo {
  min-height: 430px;
  grid-template-columns: 0.92fr 32px 1.08fr;
  align-items: end;
  gap: 0;
  padding: 34px 24px 0;
}

.capture-card {
  position: relative;
  height: 360px;
  overflow: hidden;
  border: 5px solid var(--surface);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.capture-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.capture-input {
  height: 320px;
  transform: rotate(-2deg);
}

.capture-output {
  z-index: 2;
  transform: rotate(2deg);
}

.capture-label {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  color: var(--accent-ink);
  font-size: 10px;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.capture-arrow {
  position: relative;
  z-index: 4;
  align-self: center;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-inline: -5px;
  border-radius: 50%;
  background: var(--accent);
  color: #331100;
  font-size: 20px;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.single-capture {
  min-height: 430px;
  place-items: center;
  padding: 28px 28px 0;
}

.single-capture img {
  width: min(80%, 268px);
  height: auto;
  align-self: end;
  border: 6px solid var(--surface);
  border-bottom: 0;
  border-radius: 32px 32px 0 0;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.single-capture.dark-capture img {
  border-color: #2a2018;
  background: #2a2018;
}

.url-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.url-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface-muted);
  color: var(--text-soft);
  font-size: 12px;
  white-space: nowrap;
}

.url-field b {
  color: #d33;
  font-size: 16px;
}

.ai-result {
  margin-top: 13px;
  padding: 16px;
  border: 1px solid var(--ai-border);
  border-radius: 16px;
  background: var(--ai-surface);
}

.ai-result small {
  color: var(--accent-ink);
  font-weight: 800;
}

.ai-result strong {
  display: block;
  margin-top: 6px;
}

.step-demo {
  position: relative;
  min-height: 310px;
  padding: 28px;
  border-radius: 26px;
  background: var(--surface);
}

.step-count {
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.step-demo h4 {
  max-width: 12em;
  margin: 24px 0;
  font-size: 25px;
  line-height: 1.65;
}

.step-tip {
  padding: 12px 14px;
  border: 1px solid var(--ai-border);
  border-radius: 14px;
  background: var(--ai-surface);
  font-size: 12px;
}

.step-button {
  margin-top: 18px;
  padding: 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #331100;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.lottery-card {
  max-width: 350px;
  margin: auto;
  padding: 26px;
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.dish-visual {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--surface-muted);
  font-size: 44px;
}

.lottery-card h4 {
  margin: 4px 0 7px;
  font-size: 23px;
}

.lottery-card .reason {
  margin: 8px 0 20px;
}

.principle {
  position: relative;
  overflow: hidden;
  padding: clamp(50px, 8vw, 90px);
  border-radius: 44px;
  background: var(--text);
  color: var(--bg);
}

.principle::after {
  position: absolute;
  right: -70px;
  bottom: -140px;
  width: 420px;
  height: 420px;
  border: 70px solid color-mix(in srgb, var(--accent) 52%, transparent);
  border-radius: 50%;
  content: "";
}

.principle > * {
  position: relative;
  z-index: 1;
}

.principle .eyebrow {
  color: var(--accent-on-contrast);
}

.principle h2 {
  max-width: 12em;
}

.principle p {
  max-width: 48em;
  margin: 24px 0 0;
  color: color-mix(in srgb, var(--bg) 72%, transparent);
  font-size: 18px;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.trust-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.trust-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 20px;
  font-weight: 900;
}

.trust-card h3 {
  margin: 20px 0 8px;
}

.trust-card p {
  margin: 0;
  color: var(--text-soft);
}

.cta {
  padding: 80px 0 110px;
}

.cta-panel {
  padding: clamp(45px, 8vw, 84px);
  border-radius: 42px;
  background: linear-gradient(135deg, var(--accent), #f59f00);
  color: #1d150e;
  text-align: center;
  box-shadow: 0 28px 80px rgba(232, 89, 12, 0.24);
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1.4;
}

.cta-panel p {
  max-width: 38em;
  margin: 18px auto 0;
  color: #1d150e;
}

.cta-actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.button.on-accent {
  background: #2a2016;
  color: #fff4e6;
  box-shadow: 0 12px 28px rgba(42, 32, 22, 0.26);
}

.button.on-accent:hover {
  background: #1d150e;
}

.store-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 13px 20px;
  border: 1px solid rgba(42, 32, 22, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  font-weight: 800;
}

.site-footer {
  padding: 52px 0 38px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 30px;
}

.footer-copy {
  max-width: 28em;
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px 28px;
}

.footer-links a {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-ink);
}

.copyright {
  margin: 38px 0 0;
  color: var(--text-soft);
  font-size: 12px;
}

/* Legal and support pages */
.page-hero {
  padding: 76px 0 52px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 64px);
  letter-spacing: -0.05em;
  line-height: 1.25;
}

.page-lead {
  max-width: 44em;
  margin: 18px 0 0;
  color: var(--text-soft);
}

.page-meta {
  margin-top: 22px;
  color: var(--text-soft);
  font-size: 13px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  align-items: start;
  gap: 64px;
  padding-bottom: 110px;
}

.legal-nav {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 5px;
}

.legal-nav a {
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.legal-nav a:hover {
  background: var(--surface-muted);
  color: var(--text);
}

.legal {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.legal section + section {
  margin-top: 54px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.legal h2 {
  margin: 0 0 18px;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.legal h3 {
  margin: 26px 0 10px;
  font-size: 17px;
}

.legal p,
.legal li {
  color: var(--text-soft);
  font-size: 15px;
}

.legal p {
  margin: 12px 0 0;
}

.legal ul,
.legal ol {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 1.4em;
}

.legal strong {
  color: var(--text);
}

.notice {
  margin-bottom: 30px;
  padding: 18px 20px;
  border: 1px solid var(--ai-border);
  border-radius: 18px;
  background: var(--ai-surface);
  color: var(--accent-ink);
  font-size: 14px;
}

.placeholder {
  display: inline;
  padding: 2px 7px;
  border-radius: 7px;
  background: #fff0a8;
  color: #6f4e00;
  font-weight: 900;
}

.contact-card {
  margin-top: 28px;
  padding: 24px;
  border-radius: 22px;
  background: var(--surface-muted);
}

.contact-card a {
  color: var(--accent-ink);
  font-weight: 800;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.faq summary {
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.faq details p {
  margin: 12px 0 0;
}

.not-found {
  min-height: 68vh;
  display: grid;
  align-content: center;
  text-align: center;
}

.not-found .eyebrow {
  justify-content: center;
}

.not-found .page-lead {
  margin-inline: auto;
}

.not-found-action {
  margin-top: 28px;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    max-width: 760px;
  }

  .hero-visual {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .feature {
    grid-template-columns: 1fr;
  }

  .feature:nth-child(even) .feature-copy {
    order: initial;
  }

  .single-capture img {
    width: min(46%, 268px);
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--content));
  }

  .header-inner {
    min-height: 68px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
  }

  .site-nav[data-open="true"] {
    display: grid;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .site-nav .theme-toggle {
    width: 100%;
    height: 42px;
    margin: 4px 0 0;
    border-radius: 12px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .hero {
    min-height: auto;
    padding: 58px 0 74px;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 61px);
  }

  .hero-visual {
    min-height: 550px;
    transform: scale(0.9);
    transform-origin: top center;
  }

  .visual-chip-ai {
    right: -10px;
  }

  .visual-chip-ready {
    left: -10px;
  }

  .section {
    padding: 80px 0;
  }

  .pain-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    gap: 34px;
    padding: 27px;
    border-radius: 30px;
  }

  .demo {
    min-height: 330px;
    padding: 18px;
  }

  .product-demo {
    padding: 0;
  }

  .import-demo {
    min-height: 400px;
    grid-template-columns: 0.92fr 24px 1.08fr;
    padding: 30px 18px 0;
  }

  .single-capture {
    min-height: 410px;
    padding: 24px 20px 0;
  }

  .single-capture img {
    width: min(58%, 268px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .legal-nav {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 440px) {
  .hero-visual {
    width: 111%;
    margin-left: -5.5%;
    transform: scale(0.78);
  }

  .hero {
    padding-bottom: 6px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .device-shot-main {
    left: 6%;
  }

  .visual-chip {
    min-width: 185px;
  }

  .import-demo {
    min-height: 350px;
    padding-inline: 12px;
  }

  .capture-card {
    height: 300px;
    border-width: 4px;
  }

  .capture-input {
    height: 270px;
  }

  .capture-arrow {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .single-capture {
    min-height: 370px;
  }

  .single-capture img {
    width: min(72%, 230px);
  }

  .principle-points {
    align-items: stretch;
    flex-direction: column;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .pain-card {
    min-height: auto;
  }

  .legal {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .legal-nav {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
