:root {
  color-scheme: light;
  --ink: #191d26;
  --muted: #58606e;
  --soft: #f8fbfa;
  --surface: #ffffff;
  --line: #dfe4e8;
  --line-strong: #c9d1d8;
  --mint: #94f5db;
  --periwinkle: #bac7ff;
  --pink: #ffade0;
  --shadow: 0 24px 70px rgba(26, 33, 43, 0.16);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

code {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.62);
  padding: 0.12rem 0.28rem;
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(var(--max), calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 750;
  font-size: 1rem;
}

.wordmark img {
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 160ms ease;
}

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: 78svh;
  border-top: 1px solid rgba(201, 209, 216, 0.6);
  background:
    linear-gradient(90deg, rgba(148, 245, 219, 0.20), rgba(255, 255, 255, 0) 28%),
    linear-gradient(180deg, #fbfdfc, #f5f8f8);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--mint), var(--periwinkle), var(--pink));
  opacity: 0.72;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 420px);
  align-items: center;
  gap: 5rem;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 4.5rem 0 5.25rem;
}

.hero-copy {
  min-width: 0;
  max-width: 650px;
  animation: hero-copy-in 680ms ease both;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.7rem;
  font-size: 6rem;
  line-height: 0.95;
  font-weight: 820;
}

.headline {
  max-width: 600px;
  margin-bottom: 1.1rem;
  font-size: 2.05rem;
  line-height: 1.13;
  font-weight: 740;
}

.lede {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.65;
}

.lede-line {
  display: block;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 1.05rem;
  font-weight: 750;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

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

.button-primary {
  background: var(--ink);
  color: #ffffff;
}

.button-primary:hover {
  background: #2a303b;
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.62);
}

.button-secondary:hover {
  border-color: #9aa7b4;
  background: #ffffff;
}

.hero-media {
  width: 100%;
  min-width: 0;
  max-width: 420px;
  margin: 0;
  animation: hero-media-in 780ms 110ms ease both;
}

.media-shell {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(148, 245, 219, 0.64), rgba(186, 199, 255, 0.62), rgba(255, 173, 224, 0.56));
  box-shadow: var(--shadow);
}

.media-shell img {
  width: 100%;
  border-radius: 8px;
}

.hero-media figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.feature-band,
.workflow-band,
.estimate-band,
.install-band {
  border-top: 1px solid var(--line);
}

.feature-band {
  background: #ffffff;
}

.feature-band.light {
  background: #f6f9f8;
}

.workflow-band {
  background: #191d26;
  color: #ffffff;
}

.estimate-band {
  background: #eef5f3;
}

.install-band {
  background: #ffffff;
}

.band-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 5.25rem 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 5rem;
  align-items: start;
}

.section-heading h2 {
  margin-bottom: 1rem;
  font-size: 2.35rem;
  line-height: 1.13;
  font-weight: 760;
}

.section-heading p:not(.eyebrow),
.large-copy {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.workflow-band .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.workflow-band .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.narrow {
  max-width: 740px;
}

.feature-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-row {
  border-bottom: 1px solid var(--line);
  padding: 1.35rem 0;
}

.feature-row h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
  line-height: 1.35;
}

.feature-row p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.meter-line {
  position: relative;
  height: 2px;
  margin-top: 3.5rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.meter-line span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 28%;
  background: linear-gradient(90deg, var(--mint), var(--periwinkle), var(--pink));
  animation: meter-scan 3.8s ease-in-out infinite;
}

.large-copy {
  margin-bottom: 0;
}

.install-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
}

.install-inner > img {
  border-radius: 8px;
}

.install-inner h2 {
  margin-bottom: 0.65rem;
  font-size: 2rem;
  line-height: 1.18;
}

.install-inner p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  font-weight: 700;
  color: var(--ink);
}

:lang(ko) .headline,
:lang(ko) .section-heading h2 {
  word-break: keep-all;
}

:lang(ko) .headline {
  max-width: 560px;
  line-height: 1.18;
}

:lang(ko) .lede-line {
  white-space: nowrap;
}

@keyframes hero-copy-in {
  from {
    opacity: 0.94;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-media-in {
  from {
    opacity: 0.96;
    transform: translateY(14px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes meter-scan {
  0%,
  100% {
    transform: translateX(-10%);
  }

  50% {
    transform: translateX(270%);
  }
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
  }

  .nav-links {
    flex-wrap: wrap;
    row-gap: 0.25rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .split,
  .install-inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero-inner {
    padding: 3.25rem 0 4rem;
  }

  .hero-media {
    justify-self: center;
    width: 360px;
    max-width: 100%;
  }

  h1 {
    font-size: 4.3rem;
  }

  .headline {
    font-size: 1.72rem;
  }

  .section-heading h2,
  .install-inner h2 {
    font-size: 1.85rem;
  }

  .band-inner {
    padding: 4rem 0;
  }

  .install-actions {
    justify-content: flex-start;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .site-header,
  .hero-inner,
  .band-inner,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .nav-links {
    gap: 0.9rem;
    font-size: 0.9rem;
  }

  h1 {
    font-size: 3.55rem;
  }

  .headline {
    font-size: 1.48rem;
  }

  .lede,
  .section-heading p:not(.eyebrow),
  .large-copy {
    font-size: 1rem;
  }

  .actions,
  .install-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .media-shell {
    padding: 8px;
  }

  .media-shell img {
    width: 320px;
    max-width: calc(100vw - 56px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
