:root {
  color-scheme: light dark;
  --home-paper: light-dark(#f8fafb,#0e1218);
  --home-surface: light-dark(#fff,#151d26);
  --home-raised: light-dark(#edf4f6,#1b2934);
  --home-glass: light-dark(#c4e2e8,#234b57);
  --home-silver: light-dark(#d7dfe6,#344857);
  --home-beam: light-dark(#377b87,#89dce2);
  --home-on-accent: light-dark(#fff,#0d2028);
  --home-shadow: light-dark(#17354421,#0009);
  --ink: light-dark(#14232b,#edf7fa);
  --muted: light-dark(#435967,#b5c8d2);
  --line: light-dark(#cddadf,#3a4c5a);
  --blue: light-dark(#205561,#a0e4e8);
  font-family: Inter, "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  background: var(--home-paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.7; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.wrap > header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px;
  min-height: 76px; padding-block: 9px; border-bottom: 1px solid var(--line);
}
.wrap > header .brand {
  display: inline-flex; flex: none; align-items: center; min-height: 44px; gap: 8px;
  font-size: 1.15rem; font-weight: 750; letter-spacing: .11em;
}
.wrap > header nav { display: flex; flex-wrap: wrap; gap: 5px 17px; align-items: center; color: var(--muted); font-size: .875rem; }
.brand-mark {
  inline-size: 32px;
  block-size: 32px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.hero {
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 76px);
  padding: clamp(38px, 6vw, 96px) 0 clamp(42px, 7vw, 90px);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4% 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 75% 40%, color-mix(in srgb, var(--home-glass) 45%, transparent), transparent 68%);
}
.hero .hero-platform { margin: 0; color: var(--muted); font-size: .88rem; font-weight: 750; }
.hero h1 {
  margin: 16px 0 20px;
  font-size: clamp(2.6rem, 5.3vw, 4.65rem);
  letter-spacing: -.065em;
  line-height: 1.12;
  text-wrap: balance;
  word-break: keep-all;
}
.hero .hero-description { max-width: 27rem; margin: 0 0 24px; font-size: clamp(1rem, 1.26vw, 1.12rem); word-break: keep-all; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 16px; font-weight: 700; border-radius: 12px; }
.button.dark { background: var(--blue); color: var(--home-on-accent); }
.hero-guide { margin-top: 12px; }
.hero .actions .button { margin: 0; padding: 12px 17px; border: 1px solid transparent; border-radius: 12px; font-size: .875rem; }
.hero .actions .dark { background: var(--blue); color: var(--home-on-accent); }
.hero .actions .dark:hover { background: color-mix(in srgb, var(--blue) 87%, var(--home-on-accent)); }
.hero .actions .guide-action { background: var(--home-surface); border-color: var(--line); color: var(--ink); }
.hero .actions .guide-action:hover { background: var(--home-raised); }

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-height: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--home-surface);
  box-shadow: 0 18px 48px var(--home-shadow);
}
.hero-scene {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 1.48;
  min-height: 235px;
  background:
    linear-gradient(153deg, var(--home-raised), var(--home-glass) 53%, var(--home-silver));
}
.hero-folds { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-folds i {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 34% 0, 81% 100%, 49% 100%);
  background: linear-gradient(122deg, transparent 30%, var(--home-beam) 55%, transparent 75%);
  opacity: .42;
  animation: zeus-fold-sweep 2.2s cubic-bezier(.2,.74,.24,1) both;
}
.hero-folds i:nth-child(2) { clip-path: polygon(27% 0, 47% 0, 97% 100%, 83% 100%); opacity: .65; animation-delay: .14s; }
.hero-folds i:nth-child(3) { clip-path: polygon(63% 0, 84% 0, 100% 37%, 100% 66%); opacity: .52; animation-delay: .28s; }
.connection-trace {
  position: absolute;
  inset: 71% 9% auto 14%;
  height: 2px;
  transform: rotate(-9deg);
  background: color-mix(in srgb, var(--home-beam) 44%, transparent);
}
.connection-trace i {
  position: absolute;
  inset: -2px auto auto 0;
  width: 22%;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--home-beam));
  box-shadow: 8px 0 15px var(--home-beam);
  animation: zeus-connection-pass 1.45s .5s ease-in-out 2;
}
.preview-desktop, .preview-phone {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--home-surface);
  box-shadow: 0 12px 30px var(--home-shadow);
}
.preview-desktop {
  inset: 14% 24% 18% 8%;
  border-radius: 14px;
  animation: zeus-device-in .68s cubic-bezier(.18,.84,.27,1) both;
}
.preview-titlebar {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: clamp(6px, 2.2cqw, 14px) clamp(8px, 3cqw, 20px);
  border-bottom: 1px solid var(--line);
  background: var(--home-raised);
  color: var(--muted);
  font-size: clamp(.58rem, 2.1cqw, .76rem);
  font-weight: 650;
}
.preview-window-controls { color: var(--muted); white-space: nowrap; }
.preview-document {
  display: grid;
  gap: clamp(4px, 1.6cqw, 11px);
  padding: clamp(8px, 3cqw, 21px);
}
.preview-document-icon {
  display: grid;
  place-items: center;
  width: clamp(20px, 5cqw, 33px);
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--home-raised);
  color: var(--blue);
  font-size: clamp(.85rem, 3cqw, 1.25rem);
}
.preview-document strong { font-size: clamp(.88rem, 3.9cqw, 1.5rem); }
.preview-task { display: flex; align-items: center; gap: 7px; font-size: clamp(.62rem, 2.2cqw, .83rem); color: var(--muted); }
.preview-task i {
  display: grid;
  place-items: center;
  width: 1.2em;
  height: 1.2em;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-style: normal;
  color: var(--blue);
}
.preview-phone {
  right: 8%;
  bottom: 8%;
  width: 31%;
  padding: clamp(6px, 2.1cqw, 13px);
  display: grid;
  gap: clamp(5px, 1.7cqw, 11px);
  border-radius: clamp(13px, 4cqw, 25px);
  font-size: clamp(.57rem, 2.1cqw, .78rem);
  animation: zeus-device-in .85s .12s cubic-bezier(.18,.84,.27,1) both;
}
.preview-phone-header { display: flex; justify-content: space-between; gap: 4px; align-items: center; white-space: nowrap; }
.preview-phone-header span { color: var(--blue); font-size: .83em; }
.preview-phone-header i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.preview-mirror {
  display: grid;
  gap: 5px;
  padding: clamp(5px, 1.8cqw, 12px);
  border-radius: 7px;
  background: var(--home-raised);
  font-size: .86em;
  white-space: nowrap;
}
.preview-mirror span { color: var(--muted); }
.preview-pad {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  min-height: clamp(42px, 13cqw, 82px);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.preview-pad-pointer { color: var(--blue); font-size: 1.5em; line-height: 1; }
.preview-keys { display: flex; justify-content: center; gap: 5px; }
.preview-keys span { flex: 1; padding: 4px 0; background: var(--home-raised); border-radius: 5px; text-align: center; }
.hero-visual figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
}
.preview-approval { color: var(--ink); font-weight: 650; }
.preview-approval::before { content: "✓"; margin-right: 6px; color: var(--blue); }
.start-section { padding: 24px 0 8px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.start-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 20px; }
.start-heading h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.04em; }
.start-heading .text-link { margin: 0; color: var(--blue); }
.start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: start-step;
}
.start-grid li { counter-increment: start-step; padding: 17px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--home-surface); }
.start-grid li::before { content: "0" counter(start-step); color: var(--blue); font-size: .82rem; font-weight: 750; }
.start-grid h3 { margin: 7px 0 4px; font-size: 1rem; }
.start-grid p { margin: 0; font-size: .88rem; line-height: 1.55; }
.mobile-entry { padding: 8px 12px; background: var(--home-surface); color: var(--blue); border: 1px solid var(--line); border-radius: 12px; font-weight: 650; }
.mobile-entry:hover { background: var(--home-raised); }
.button { min-height: 44px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
.text-link { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: var(--blue); font-weight: 650; text-underline-offset: 4px; }
.text-link:hover, footer a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.actions a { transition: background-color .2s ease, transform .2s ease; }
@media (hover: hover) {
  .actions a:hover { transform: translateY(-3px); }
  .hero-visual:hover .preview-pad { box-shadow: inset 0 0 18px var(--home-glass); }
  .hero-visual:hover .preview-pad-pointer { transform: translate(-8px, -4px); }
}
.preview-pad-pointer { transition: transform .25s ease; }
.hero-copy { animation: zeus-enter .62s cubic-bezier(.18,.84,.27,1) both; }
.guide-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 750; }
.install-guide { max-width: 870px; margin: 0 auto; padding: 54px 0 75px; }
.install-guide h1 { font-size: clamp(34px, 6vw, 57px); }
.install-guide h2 { margin-top: 38px; font-size: 25px; }
.install-guide figure { margin: 28px 0; }
.install-guide img { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); }
.install-guide figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; }
.install-guide li { padding-left: 6px; margin: 12px 0; line-height: 1.75; }
.install-guide .release-note { background: var(--home-raised); font-size: 15px; }
.id-plan, .release-note { background: var(--home-surface); border: 1px solid var(--line); }
.id-plan { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-block: 38px 22px; padding: clamp(16px, 3vw, 30px); border-radius: 20px; }
.id-plan h2 { margin: 6px 0; font-size: clamp(1.25rem, 3vw, 1.85rem); letter-spacing: -.035em; }
.id-plan p { margin: 0; }
.release-note { padding: 15px 17px; margin-bottom: 24px; border-radius: 14px; color: var(--muted); font-size: .875rem; }
.release-note p { margin: 5px 0 0; }
.release-note a { text-decoration: underline; }
footer > b { color: var(--ink); }
footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 16px; border-top: 1px solid var(--line); padding-block: 18px; font-size: .85rem; }
footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); }

@keyframes zeus-fold-sweep {
  from { transform: translateX(-42%); }
  to { transform: translateX(0); }
}
@keyframes zeus-connection-pass {
  from { transform: translateX(0); opacity: .18; }
  36% { opacity: .9; }
  to { transform: translateX(354%); opacity: .42; }
}
@keyframes zeus-device-in {
  from { translate: 0 25px; scale: .96; opacity: .42; }
  to { translate: 0 0; scale: 1; opacity: 1; }
}
@keyframes zeus-enter {
  from { transform: translateY(9px); opacity: .78; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 830px) {
  .wrap { width: calc(100% - 36px); }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .hero-visual { max-width: 620px; margin: 0; }
  .hero h1 { font-size: clamp(2.65rem, 8vw, 4rem); }
  .start-grid { grid-template-columns: 1fr; }
  .hero-description { max-width: 33rem; }
  .install-guide { padding-top: 30px; }
}
@media (max-width: 400px) {
  .wrap > header { min-height: 64px; gap: 8px; }
  .wrap > header nav { gap: 7px; font-size: .75rem; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 2.65rem); }
  .mobile-entry { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .hero-folds i, .connection-trace i, .hero-copy, .preview-desktop, .preview-phone { animation: none; }
  .actions a:hover, .hero-visual:hover .preview-pad-pointer { transform: none; }
}
