:root {
  --ink: #172026;
  --muted: #56656d;
  --paper: #f7faf9;
  --panel: #ffffff;
  --line: #d8e4e1;
  --teal: #116d78;
  --teal-dark: #0a3e48;
  --sun: #f7c948;
  --coral: #d96c4f;
  --mint: #dff2ea;
  --shadow: 0 24px 70px rgba(20, 33, 43, 0.14);
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Noto Sans KR", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: inherit;
}

.hero {
  min-height: 92vh;
  background:
    linear-gradient(110deg, rgba(17, 109, 120, 0.92), rgba(10, 62, 72, 0.88)),
    url("./assets/app_icon.png") center / cover;
  color: #ffffff;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0;
}

.brand,
.download-link,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.brand {
  gap: 10px;
  font-size: 1.05rem;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.download-link {
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  padding: 0 4px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
}

.nav-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 56px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  min-height: calc(92vh - 84px);
  margin: 0 auto;
  padding: 28px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sun);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 10vw, 7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  line-height: 1.65;
}

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

.primary-action,
.secondary-action {
  padding: 0 20px;
}

.primary-action {
  background: var(--coral);
  color: #ffffff;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.release-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 36px 0 0;
}

.release-meta div {
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  padding-top: 12px;
}

.release-meta dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 700;
}

.release-meta dd {
  margin: 6px 0 0;
  font-weight: 900;
}

.device-preview {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tablet {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1.45;
  border: 14px solid #11181d;
  border-radius: 28px;
  padding: 26px;
  background: #f4f7f8;
  box-shadow: var(--shadow);
  color: #14212b;
}

.weather-strip {
  display: flex;
  gap: 24px;
  min-height: 82px;
}

.weather-strip div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.weather-strip strong {
  color: var(--teal);
  font-size: 1.1rem;
}

.weather-icon {
  display: inline-block;
  width: 58px;
  aspect-ratio: 1;
  background-image: url("./assets/weather-sprite.png");
  background-repeat: no-repeat;
  background-size: 400% 200%;
}

.weather-icon.sunny {
  background-position: 0 0;
}

.weather-icon.cloudy {
  background-position: 66.667% 0;
}

.weather-icon.overcast {
  background-position: 100% 0;
}

.weather-icon.rain {
  background-position: 0 100%;
}

.preview-period,
.preview-date {
  margin: 0;
  font-weight: 800;
}

.preview-period {
  color: var(--teal);
  font-size: 2rem;
}

.preview-time {
  margin: 6px 0 8px;
  font-size: clamp(4.8rem, 10vw, 7.6rem);
  font-weight: 900;
  line-height: 1;
}

.preview-date {
  color: #4a5e68;
  font-size: 1.35rem;
}

.preview-current-weather {
  display: flex;
  gap: 1.8rem;
  margin: 0.4rem 0 0;
  color: #4a5e68;
  font-size: 1.18rem;
  font-weight: 800;
}

.preview-settings {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.preview-settings span {
  border-radius: 8px;
  padding: 9px 12px;
  background: var(--mint);
  color: var(--teal-dark);
  font-weight: 800;
}

.section,
.download-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading .eyebrow,
.split-section .eyebrow,
.download-section .eyebrow {
  color: var(--teal);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.feature {
  min-height: 176px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--panel);
}

.feature p,
.split-section p,
.download-section p,
footer p {
  color: var(--muted);
  line-height: 1.7;
}

.feature p {
  margin: 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 56px;
  border-top: 1px solid var(--line);
}

.install-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.install-steps li {
  position: relative;
  min-height: 56px;
  padding: 16px 18px 16px 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  font-weight: 800;
}

.install-steps li::before {
  position: absolute;
  top: 13px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  content: counter(step);
  counter-increment: step;
  font-size: 0.9rem;
}

.download-section {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 84px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--panel);
}

.download-section img {
  width: 96px;
  height: 96px;
  border-radius: 18px;
}

.download-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 20px;
  text-align: center;
}

footer a {
  color: var(--teal);
  font-weight: 700;
}

@media (max-width: 860px) {
  .hero-content,
  .split-section,
  .download-section {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 34px;
    padding-bottom: 48px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-section {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .topbar {
    width: min(100% - 28px, 1120px);
  }

  .download-link {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .nav-link {
    display: none;
  }

  .hero-content,
  .section,
  .download-section {
    width: min(100% - 28px, 1120px);
  }

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

  .tablet {
    border-width: 9px;
    border-radius: 20px;
    padding: 16px;
  }

  .weather-strip {
    gap: 10px;
  }

  .weather-strip div {
    gap: 6px;
  }

  .weather-icon {
    width: 42px;
  }

  .preview-period {
    font-size: 1.35rem;
  }

  .preview-date {
    font-size: 1rem;
  }

  .preview-current-weather {
    gap: 1.25rem;
    font-size: 0.95rem;
  }

  .preview-settings span {
    font-size: 0.86rem;
  }
}

/* AI-native process page */

.page-hero {
  background: linear-gradient(110deg, rgba(17, 109, 120, 0.92), rgba(10, 62, 72, 0.88));
  color: #ffffff;
  padding: 64px 0 76px;
}

.page-hero .inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
}

.page-hero .lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.stat-box {
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  padding-top: 12px;
}

.stat-box .num {
  font-size: 1.7rem;
  font-weight: 900;
}

.stat-box .cap {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
  counter-reset: loop;
}

.loop-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 18px 18px;
  background: var(--panel);
}

.loop-card::before {
  counter-increment: loop;
  content: counter(loop);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
}

.loop-card h3 {
  font-size: 1.02rem;
}

.loop-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.loop-note {
  margin: 18px 0 0;
  padding: 16px 20px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 0.92rem;
  line-height: 1.6;
}

.stage-list {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.stage-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
}

.stage-item .stage-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stage-item .stage-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--teal);
}

.stage-item .stage-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.stage-item.in-progress .stage-status {
  background: #fdeadb;
  color: #9a5a1a;
}

.stage-item h3 {
  margin: 0 0 12px;
}

.finding-fix {
  display: grid;
  gap: 10px;
}

.finding-fix > div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.finding-fix dt {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding-top: 2px;
}

.finding-fix dd {
  margin: 0;
  color: var(--ink);
}

@media (max-width: 860px) {
  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .loop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .stat-strip,
  .loop-grid {
    grid-template-columns: 1fr;
  }

  .finding-fix > div {
    grid-template-columns: 1fr;
  }
}
