:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #003f2c;
  background: #fff;
  --green: #00a443;
  --blue: #079fc5;
  --deep: #003f2c;
  --muted: #576b64;
  --line: #d7e5dc;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
button:disabled { opacity: .65; cursor: default; }
[hidden] { display: none !important; }
.app { min-height: 100dvh; }
.topbar { height: 90px; padding: 0 4.5vw; display: flex; align-items: center; gap: 22px; background: var(--deep); border-bottom: 4px solid var(--green); }
.brand { width: 155px; height: auto; filter: brightness(0) invert(1); }
.experience-label { font-size: .72rem; letter-spacing: .13em; color: #fff; border-left: 1px solid #ffffff50; padding-left: 22px; }
.icon-button { border: 1px solid #aec7bc; border-radius: 50%; color: var(--deep); background: transparent; width: 40px; height: 40px; font-size: 1.2rem; }
.topbar .icon-button { margin-left: auto; color: #fff; border-color: #ffffff70; }
main { display: grid; grid-template-columns: minmax(0, 1fr) 320px; min-height: calc(100dvh - 148px); }
.experience { min-height: 710px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 23% 60%, #e1f3e8, transparent 65%); }
.stage { position: absolute; inset: 0; overflow: hidden; }
.stage canvas { display: block; width: 100%; height: 100%; }
.stage-label { position: absolute; top: 28px; left: 4vw; display: flex; gap: 10px; align-items: center; color: var(--muted); letter-spacing: .1em; font-size: .7rem; }
.live-mark { width: 7px; height: 7px; background: var(--green); border-radius: 50%; }
.intro { position: absolute; top: 13%; right: 5%; width: 43%; max-width: 480px; padding: 20px 0; }
.eyebrow { font-size: .72rem; letter-spacing: .13em; color: var(--green); line-height: 1.7; margin: 0 0 16px; font-weight: 700; }
h1 { font-size: clamp(2rem, 3.05vw, 3.4rem); letter-spacing: -.04em; line-height: 1.10; font-weight: 700; margin: 0 0 22px; }
h1 em { font-style: normal; color: var(--blue); }
.intro-copy { color: var(--muted); font-size: 1rem; line-height: 1.65; max-width: 390px; margin-bottom: 24px; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--green); border: 1px solid var(--green); color: #fff; font-weight: 700; min-height: 50px; padding: 13px 18px; border-radius: 6px; font-size: .93rem; text-decoration: none; }
.primary:hover { background: #008b39; border-color: #008b39; }
.text-button { display: block; background: none; color: var(--deep); border: 0; padding: 17px 0 11px; font-size: .94rem; text-decoration: underline; text-underline-offset: 5px; }
.video-link { border: 0; background: transparent; padding: 7px 0; color: #08799a; font-weight: 700; font-size: .87rem; }
.video-link span { margin-right: 5px; }
.vision-status { color: #08799a; background: #edf8fc; border-left: 3px solid var(--blue); font-size: .65rem; line-height: 1.6; letter-spacing: .04em; padding: 8px 10px; margin: 20px 0 0; width: fit-content; }
.privacy { color: var(--muted); font-size: .72rem; line-height: 1.65; margin-top: 17px; }
.card-panel { border-left: 1px solid var(--line); padding: 38px 27px 24px; display: flex; flex-direction: column; justify-content: center; background: #f4f8f5; }
.card-panel h2 { font-size: 1.7rem; line-height: 1.18; letter-spacing: -.03em; margin: 0 0 18px; }
.card-panel p:not(.eyebrow) { line-height: 1.7; color: var(--muted); font-size: .88rem; }
.card-preview { border: 0; background: none; padding: 0; margin: 18px 0 24px; transform: rotate(-3deg); transition: transform .3s; }
.card-preview:hover { transform: rotate(0); }
.card-preview img { width: 100%; height: auto; box-shadow: 0 16px 30px #003f2c24; border-radius: 6px; }
.secondary { color: var(--deep); background: #fff; border: 1px solid #abc7b9; border-radius: 6px; padding: 10px 14px; font-size: .875rem; }
.secondary:hover { background: #eaf7f0; }
.card-actions { display: flex; gap: 15px; flex-direction: column; align-items: flex-start; }
.download-link { color: #08799a; font-size: .875rem; text-underline-offset: 5px; }
.test-note { font-size: .75rem !important; color: var(--muted) !important; margin: 24px 0 0; line-height: 1.6; }
footer { height: 58px; padding: 0 4.5vw; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; letter-spacing: .07em; }
.playback { position: absolute; bottom: 24px; left: 5%; right: 5%; max-width: 700px; margin: 0 auto; padding: 20px 24px; border: 1px solid #bed7c8; border-radius: 10px; background: #fffffff2; backdrop-filter: blur(16px); box-shadow: 0 10px 38px #003f2c12; }
.step-heading { display: flex; justify-content: space-between; color: #08799a; font-size: .7rem; letter-spacing: .1em; }
.playback h2 { margin: 10px 0 4px; font-size: 1.7rem; letter-spacing: -.03em; }
.playback p { color: var(--muted); margin: 6px 0 15px; font-size: .92rem; line-height: 1.55; }
.progress-track { height: 3px; background: #dce9e1; margin-bottom: 12px; overflow: hidden; }
#progress { height: 100%; width: 0; background: var(--green); }
.steps { display: flex; justify-content: space-between; gap: 8px; }
.steps button { border: 0; color: var(--muted); background: none; padding: 4px 0 11px; text-align: left; font-size: .7rem; }
.steps span { display: block; margin-top: 6px; font-size: .78rem; }
.steps button.active { color: #008b39; font-weight: 700; }
.playback-actions { border-top: 1px solid var(--line); padding-top: 12px; display: flex; gap: 8px; }
.small { font-size: .875rem; padding: 9px 14px; min-height: 40px; margin-left: auto; }
.exit-button { position: absolute; z-index: 4; top: 22px; right: 5%; background: #ffffffed; color: var(--deep); border: 1px solid #a2bdaf; border-radius: 30px; padding: 10px 15px; font-size: .83rem; }
.scan-hint { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; flex-direction: column; pointer-events: none; }
.scan-frame { width: min(70vw, 430px); aspect-ratio: 1200/760; border: 2px solid #00d05a; border-radius: 12px; box-shadow: 0 0 0 100vmax #001c1640; }
.scan-hint p, .scan-hint > span { position: relative; color: #fff; background: #003f2ce8; border-radius: 5px; padding: 8px 12px; }
.scan-hint p { font-size: 1rem; margin-bottom: 8px; }
.scan-hint > span { font-size: .8rem; }
.error-box { position: absolute; z-index: 8; inset: 25% 8% auto; background: #fff; padding: 25px; border: 1px solid #a5c5b4; border-radius: 12px; line-height: 1.7; max-width: 600px; margin: auto; box-shadow: 0 18px 60px #003f2c26; }
dialog { color: var(--deep); background: #fff; border: 1px solid #b6cfc1; padding: 28px; border-radius: 12px; max-height: 92dvh; overflow: auto; }
dialog::backdrop { background: #002a20d9; backdrop-filter: blur(7px); }
.dialog-top { display: flex; gap: 22px; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.dialog-top h2 { margin: 0; font-size: 1.65rem; letter-spacing: -.03em; }
.dialog-top .icon-button { flex: 0 0 40px; }
.card-dialog { width: min(1000px, 95vw); }
.card-dialog > img { width: 100%; height: auto; border-radius: 6px; }
.card-dialog > p { font-size: .94rem; line-height: 1.7; }
.info-dialog { width: min(540px, 94vw); }
.info-dialog p, .info-dialog li { font-size: 1rem; line-height: 1.7; color: var(--muted); }
.info-dialog ol { padding-left: 24px; }
.info-dialog li { padding: 0 0 12px 6px; }
.info-dialog .vision-status { font-size: .65rem; }
.benefits article { padding: 16px 0; border-bottom: 1px solid var(--line); }
.benefits span { color: var(--green); font-size: .8rem; }
.benefits h3 { font-size: 1.15rem; margin: 5px 0 0; }
.benefits p { margin: 8px 0; }
.link-button { margin-top: 24px; }
.video-dialog { width: min(1100px, 95vw); }
.video-dialog video { display: block; width: 100%; background: #003f2c; border-radius: 6px; }
body.running main { display: block; }
body.running .card-panel, body.running footer { display: none; }
body.running .experience { height: calc(100dvh - 90px); min-height: 570px; }
body.ar .topbar { position: absolute; inset: 0 0 auto; z-index: 5; height: 70px; background: #003f2ce8; border: 0; }
body.ar .experience { height: 100dvh; min-height: 0; background: #003f2c; }
body.ar .stage { position: fixed; inset: 0; }
body.ar .stage video { object-fit: cover; }
body.ar .exit-button { top: 84px; }
body.ar .stage-label { top: 92px; color: #fff; background: #003f2cd9; padding: 6px 9px; border-radius: 4px; }
body.ar .scan-hint { position: fixed; }
body.ar .playback { bottom: max(18px, env(safe-area-inset-bottom)); }
@media (min-width: 1500px) { main { grid-template-columns: minmax(0, 1fr) 370px; } .card-panel { padding: 50px 35px; } }
@media (max-width: 1100px) and (min-width: 761px) {
  main { grid-template-columns: minmax(0, 1fr) 265px; }
  .intro { top: 10%; width: 47%; right: 4%; }
  h1 { font-size: 2.2rem; }
  .primary { padding: 12px; }
  .card-panel { padding: 26px 22px; }
}
@media (max-width: 760px) {
  .topbar { height: 74px; padding: 0 22px; gap: 13px; }
  .brand { width: 120px; }
  .experience-label { padding-left: 13px; font-size: .62rem; letter-spacing: .06em; }
  main { display: block; }
  .experience { min-height: 895px; height: calc(100dvh - 74px); max-height: 1000px; }
  .stage-label { top: 22px; left: 24px; font-size: .65rem; }
  .intro { width: auto; max-width: none; left: 24px; right: 24px; top: 41%; padding: 0; }
  h1 { font-size: clamp(2rem, 7.7vw, 3rem); margin-bottom: 16px; }
  .intro .eyebrow { font-size: .65rem; margin-bottom: 10px; }
  .intro-copy { font-size: .96rem; margin: 16px 0 20px; max-width: 480px; line-height: 1.55; }
  .intro .primary { width: 100%; }
  .text-button { margin: auto; padding-top: 16px; }
  .video-link { display: block; margin: 5px auto 0; }
  .vision-status { margin: 16px auto 0; }
  .privacy { text-align: center; margin-top: 14px; }
  .card-panel { border-left: 0; border-top: 1px solid var(--line); padding: 32px 24px; }
  .card-preview { max-width: 460px; margin: 18px auto 28px; width: 100%; }
  .card-actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
  footer { padding: 18px 24px; height: auto; gap: 20px; }
  footer span:last-child { display: none; }
  body.running .experience { height: calc(100dvh - 74px); min-height: 710px; max-height: none; }
  .playback { left: 14px; right: 14px; bottom: 16px; padding: 18px 16px; }
  .playback p { font-size: .84rem; }
  .steps span { font-size: .69rem; }
  .playback-actions { flex-wrap: wrap; gap: 6px; }
  .playback-actions .secondary { font-size: .74rem; padding: 10px 9px; }
  .playback-actions .video-action { font-size: 0; width: 36px; padding: 8px; }
  .playback-actions .video-action::before { content: '▷'; font-size: 1rem; }
  .small { font-size: .74rem; padding: 10px; }
  .exit-button { top: 18px; right: 20px; }
  body.running .stage-label { top: 66px; }
  body.ar .stage-label { top: 137px; }
  body.ar .experience { height: 100dvh; min-height: 0; }
  .card-dialog, .info-dialog, .video-dialog { padding: 20px; }
  .dialog-top h2 { font-size: 1.35rem; }
  .scan-frame { width: 85vw; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
