:root {
  --content-max: 1360px;
  --bg: #f7f9f8;
  --surface: #ffffff;
  --surface-2: #eef6f3;
  --ink: #17211e;
  --muted: #6c7a75;
  --line: #d8e1de;
  --teal: #0b7a75;
  --teal-2: #0f8c84;
  --mint: #d7f2ee;
  --banana: #ffd84d;
  --banana-soft: #fff4bf;
  --plum: #2c1a2b;
  --shadow: 0 24px 70px rgba(23, 33, 30, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  background: var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 244, 191, 0.9) 0, rgba(255, 250, 225, 0.82) 190px, rgba(247, 249, 248, 0) 720px),
    linear-gradient(0deg, rgba(215, 242, 238, 0.58) 0, rgba(247, 249, 248, 0) 420px),
    var(--bg);
  z-index: 0;
}

body > *:not(.download-modal) {
  position: relative;
  z-index: 1;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--content-max), calc(100% - 40px));
  margin: 18px auto 0;
  padding: 14px 16px 14px 18px;
  border: 1px solid rgba(216, 225, 222, 0.78);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 42px rgba(23, 33, 30, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 172px;
}

.brand img {
  width: 178px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.language-select:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(11, 122, 117, 0.26);
  outline-offset: 3px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(620px, 1fr);
  gap: 28px;
  align-items: center;
  width: min(var(--content-max), calc(100% - 40px));
  min-height: calc(100vh - 112px);
  margin: 0 auto;
  padding: 74px 0 92px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(64px, 10vw, 128px);
  line-height: 0.88;
  letter-spacing: 0;
  color: var(--plum);
}

.hero-subtitle {
  max-width: 600px;
  margin-bottom: 30px;
  color: #40504b;
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.7;
  font-weight: 560;
}

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

.button {
  padding: 0 24px;
  border: 1px solid transparent;
}

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

.button-primary:hover {
  background: var(--teal-2);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.button-secondary:hover {
  border-color: rgba(11, 122, 117, 0.4);
  color: var(--teal);
}

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

.hero-stats div,
.feature-card,
.platform-card,
.plan-card,
details {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.hero-stats div {
  padding: 16px;
  border-radius: 18px;
}

.hero-stats dt {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-scene {
  isolation: isolate;
  position: relative;
  min-height: 720px;
}

.hero-scene::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 612px;
  z-index: 0;
  width: 520px;
  height: 112px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(23, 33, 30, 0.13) 0%, rgba(23, 33, 30, 0.07) 42%, rgba(23, 33, 30, 0) 72%);
  filter: blur(18px);
  pointer-events: none;
}

.phone {
  position: absolute;
  border-radius: 0;
  transform-origin: 50% 92%;
}

.phone img {
  width: 100%;
  border-radius: 34px;
  border: 1px solid rgba(216, 225, 222, 0.76);
}

.phone-main {
  left: 50%;
  top: 24px;
  z-index: 3;
  width: 310px;
  transform: translateX(-50%);
}

.phone-left {
  left: 50%;
  top: 88px;
  z-index: 2;
  width: 278px;
  transform: translateX(-84%) rotate(-12deg);
}

.phone-side {
  right: auto;
  left: 50%;
  top: 88px;
  z-index: 1;
  width: 278px;
  opacity: 1;
  transform: translateX(-16%) rotate(12deg);
}

.section,
.product-band {
  width: min(var(--content-max), calc(100% - 40px));
  margin: 0 auto 26px;
}

.section-heading h2,
.product-copy h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p,
.product-copy p,
.feature-card p,
.plan-desc,
details p {
  color: var(--muted);
  line-height: 1.7;
}

.section {
  padding: 78px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.download-platform-section {
  padding-top: 50px;
}

.download-platform-section .section-heading {
  max-width: 1040px;
}

.download-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: grid !important;
  place-items: center;
  padding: 20px;
  margin: 0;
  width: auto;
  height: auto;
}

.download-modal[hidden] {
  display: none !important;
}

.download-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 33, 30, 0.45);
}

.download-modal-card {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(23, 33, 30, 0.18);
}

.download-modal-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
}

.download-modal-hint {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.download-modal-form {
  display: grid;
  gap: 12px;
}

.download-modal-input {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
}

.download-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.download-modal-actions .button {
  min-height: 42px;
  border: 0;
  cursor: pointer;
}

.download-modal-error {
  margin: 10px 0 0;
  color: #b42318;
  font-size: 0.9rem;
  font-weight: 700;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.platform-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: stretch;
  min-height: 320px;
  padding: 22px;
  border-radius: 24px;
}

.platform-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
}

.platform-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-width: 46px;
  height: 36px;
  border-radius: 999px;
  color: var(--teal);
  background: var(--mint);
  font-size: 13px;
  font-weight: 900;
}

.platform-icon {
  width: 20px;
  height: 20px;
  color: currentColor;
  fill: currentColor;
}

.platform-icon-harmony {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.platform-status {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}

.platform-available .platform-status {
  color: var(--teal);
}

.platform-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
  letter-spacing: 0;
}

.platform-card p {
  color: var(--muted);
  line-height: 1.6;
}

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

.platform-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: 0 8px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--teal);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.platform-button:hover {
  background: var(--teal-2);
}

.platform-button.is-disabled {
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(238, 246, 243, 0.72);
  cursor: default;
}

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

.feature-card {
  padding: 26px;
  border-radius: 24px;
}

.feature-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 30px;
  margin-bottom: 24px;
  border-radius: 999px;
  color: var(--teal);
  background: var(--mint);
  font-size: 12px;
  font-weight: 900;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 23px;
  letter-spacing: 0;
}

.product-band {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 40px;
  border-radius: 32px;
  background: #11211f;
  color: #ffffff;
  overflow: hidden;
}

.product-band .section-kicker {
  color: var(--banana);
}

.product-copy h2 {
  color: #ffffff;
}

.product-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #ffffff;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--banana);
}

.preview-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.preview-row img {
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

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

.plan-card {
  min-height: 370px;
  padding: 28px;
  border-radius: 26px;
}

.plan-featured {
  color: #ffffff;
  border-color: var(--teal);
  background: var(--teal);
}

.plan-badge {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--teal);
  background: var(--mint);
  font-size: 12px;
  font-weight: 900;
}

.plan-name {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 900;
}

.plan-price {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 34px;
  font-weight: 950;
}

.plan-featured .plan-price,
.plan-featured .plan-desc {
  color: #ffffff;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.plan-featured ul {
  color: rgba(255, 255, 255, 0.86);
}

.faq-section {
  padding-top: 54px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border-radius: 20px;
  padding: 20px 22px;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

details p {
  margin: 14px 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 20px auto 34px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-footer img {
  width: 168px;
}

@media (max-width: 940px) {
  .site-header {
    width: min(720px, calc(100% - 24px));
  }

  .nav-links {
    display: flex;
    flex: 0 1 auto;
    gap: 16px;
    font-size: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    width: min(720px, calc(100% - 28px));
    min-height: auto;
    padding-top: 58px;
  }

  .hero-scene {
    min-height: 610px;
  }

  .hero-scene::after {
    top: 520px;
    width: 480px;
    height: 98px;
  }

  .phone-main {
    left: 50%;
    top: 20px;
    width: 300px;
  }

  .phone-left {
    left: 50%;
    top: 84px;
    width: 252px;
    transform: translateX(-83%) rotate(-12deg);
  }

  .phone-side {
    right: auto;
    left: 50%;
    top: 84px;
    width: 252px;
    transform: translateX(-17%) rotate(12deg);
  }

  .product-band {
    grid-template-columns: 1fr;
  }

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

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

  .preview-row {
    grid-template-columns: repeat(3, 220px);
    overflow-x: auto;
    padding-bottom: 8px;
  }
}

@media (max-width: 620px) {
  .site-header {
    margin-top: 10px;
    padding: 12px;
    gap: 8px;
    border-radius: 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 144px;
  }

  .header-actions {
    gap: 8px;
  }

  .language-select {
    max-width: 68px;
    min-height: 40px;
    padding: 0 8px;
    font-size: 12px;
  }

  .nav-links {
    gap: 10px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(58px, 18vw, 86px);
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .hero-stats div {
    padding: 12px 10px;
    border-radius: 16px;
  }

  .hero-stats dt {
    font-size: 18px;
  }

  .hero-stats dd {
    font-size: 11px;
    line-height: 1.35;
  }

  .hero-scene {
    min-height: 520px;
    padding-top: 30px;
  }

  .hero-scene::after {
    top: 430px;
    width: 340px;
    height: 76px;
    filter: blur(15px);
  }

  .phone-main {
    top: 38px;
    width: 220px;
  }

  .phone-left {
    left: 50%;
    top: 104px;
    width: 180px;
    transform: translateX(-82%) rotate(-12deg);
  }

  .phone-side {
    right: auto;
    left: 50%;
    top: 104px;
    width: 180px;
    transform: translateX(-18%) rotate(12deg);
  }

  .product-band,
  .feature-card,
  .platform-card,
  .plan-card {
    padding: 22px;
    border-radius: 22px;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: auto;
  }

  .section {
    padding: 54px 0;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    flex: 1 0 100%;
    justify-content: space-between;
    padding-top: 4px;
  }
}
