:root {
  --green-900: #07533d;
  --green-800: #0b694b;
  --green-700: #0f7b55;
  --green-500: #22a976;
  --green-100: #e8f6ef;
  --mint-50: #f4fbf7;
  --ink: #202724;
  --muted: #66736d;
  --line: #dfe8e3;
  --paper: #ffffff;
  --warm: #f7f4ed;
  --shadow: 0 22px 60px rgba(19, 45, 34, 0.13);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 82% 120px, rgba(34, 169, 118, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(244, 251, 247, 0.96) 0%, rgba(255, 255, 255, 0.98) 560px),
    var(--paper);
  color: var(--ink);
  line-height: 1.75;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(223, 232, 227, 0.8);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(19, 45, 34, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--green-700);
  color: white;
  font-weight: 800;
}

.brand-text {
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}

.nav a,
.text-link,
.site-footer a {
  text-decoration: none;
}

.nav a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--green-700);
}

.header-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--green-700);
  border-radius: 8px;
  color: var(--green-700);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(390px, 0.86fr) minmax(520px, 1.14fr);
  align-items: start;
  gap: clamp(40px, 5vw, 78px);
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(50px, 6vw, 78px) clamp(24px, 5vw, 72px) 58px;
}

.hero-copy {
  min-width: 0;
  padding-top: clamp(2px, 1vw, 12px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 9.2em;
  font-size: clamp(42px, 5.35vw, 68px);
  line-height: 1.1;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.lead {
  max-width: 34rem;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 18px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
}

.app-store-button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 190px;
  min-height: 62px;
  padding: 9px 22px 10px;
  border-radius: 8px;
  background: #111614;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(17, 22, 20, 0.18);
}

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

.app-store-button.dark {
  background: var(--green-900);
}

.button-kicker {
  font-size: 11px;
  line-height: 1.1;
}

.button-main {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.1;
}

.text-link {
  color: var(--green-800);
  font-weight: 800;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 42px 0 0;
}

.hero-stats div {
  min-width: 0;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats dt {
  color: var(--muted);
  font-size: 12px;
}

.hero-stats dd {
  margin: 3px 0 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.hero-visual {
  margin: 0;
  align-self: start;
  padding-top: clamp(18px, 3vw, 44px);
}

.hero-visual img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.overview,
.feature-band,
.device-section,
.scenes,
.english,
.download {
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px clamp(20px, 5vw, 72px);
}

.overview {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
  border-top: 1px solid var(--line);
}

.overview p,
.english p,
.download p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

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

.feature-band {
  max-width: none;
  background: var(--mint-50);
}

.feature-band > .section-heading,
.feature-grid {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

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

.feature,
.scene-list article,
.device-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature {
  padding: 26px 22px;
}

.feature p,
.scene-list p,
.device-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.feature-icon {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 8px;
  background-color: var(--green-100);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 26px 26px;
}

.feature-icon.route {
  background-image: url("./assets/icon-route.svg");
}

.feature-icon.speed {
  background-image: url("./assets/icon-speed.svg");
}

.feature-icon.altitude {
  background-image: url("./assets/icon-altitude.svg");
}

.feature-icon.background {
  background-image: url("./assets/icon-background.svg");
}

.feature-icon.export {
  background-image: url("./assets/icon-export.svg");
}

.feature-icon.simple {
  background-image: url("./assets/icon-simple.svg");
}

.device-section {
  background:
    linear-gradient(90deg, rgba(247, 244, 237, 0.85), rgba(255, 255, 255, 0.88)),
    #fff;
}

.device-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.device-panel {
  padding: 30px;
}

.scene-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.scene-list article {
  padding: 24px 22px;
}

.english {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--warm);
}

.download h2 {
  margin-bottom: 12px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 30px 20px 42px;
  color: var(--muted);
  font-size: 14px;
}

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

  .hero {
    padding-top: 42px;
  }

  .hero-visual {
    order: -1;
  }

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

@media (max-width: 720px) {
  .site-header {
    gap: 14px;
    min-height: 64px;
    padding: 12px 16px;
  }

  .nav {
    display: none;
  }

  .header-download {
    margin-left: auto;
    min-height: 38px;
    padding: 0 12px;
  }

  .hero,
  .overview,
  .feature-band,
  .device-section,
  .scenes,
  .english,
  .download {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    gap: 28px;
  }

  .hero-stats,
  .device-layout,
  .feature-grid,
  .scene-list {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
  }

  .app-store-button {
    width: 100%;
  }

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