:root {
  --bg: #f4fdff;
  --panel: #ffffff;
  --ink: #17324d;
  --muted: #5e768e;
  --line: #dceff6;
  --aqua: #31d7cf;
  --blue: #5aa9ff;
  --green: #2fa76f;
  --orange: #ff946b;
  --soft-blue: #dff5ff;
  --soft-aqua: #e3fbf8;
  --soft-orange: #fff0e8;
  --shadow: 0 18px 50px rgba(59, 132, 165, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 6vw;
  background: rgba(244, 253, 255, 0.88);
  border-bottom: 1px solid rgba(220, 239, 246, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.header-actions,
.hero-actions,
.download-panel,
.app-bar,
.rule-item {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

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

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover,
.language-link:hover,
.text-link:hover,
.site-footer a:hover,
.legal-content a:hover {
  color: #0b90d0;
}

.header-actions {
  gap: 12px;
  margin-left: auto;
}

.language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.header-cta,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--aqua), var(--blue));
  color: #07314a;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(49, 215, 207, 0.25);
}

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

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: 64px 0 92px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #5bb7e8;
  font-size: 0.82rem;
  font-weight: 900;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 5.25rem;
  line-height: 1;
  font-weight: 900;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.2rem;
  line-height: 1.24;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.35;
}

.hero-lead {
  margin-bottom: 12px;
  color: #5aa9ff;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.42;
}

.hero-body,
.pro-panel p,
.download-panel p,
.legal-hero p,
.legal-content p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-body {
  max-width: 34rem;
  margin-bottom: 28px;
  font-size: 1rem;
  font-weight: 600;
}

.hero-actions {
  gap: 18px;
  flex-wrap: wrap;
}

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

.hero-visual {
  position: relative;
  min-height: 560px;
}

.phone-mock {
  width: min(100%, 340px);
  margin: 0 auto;
  padding: 18px;
  border: 8px solid #ffffff;
  border-radius: 30px;
  background: linear-gradient(180deg, #f9feff 0%, #e7f9ff 100%);
  box-shadow: var(--shadow);
}

.phone-top {
  width: 92px;
  height: 6px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: #cce6ef;
}

.app-bar {
  gap: 12px;
  margin-bottom: 20px;
}

.app-bar img {
  border-radius: 8px;
}

.app-bar strong,
.app-bar span,
.rule-item strong,
.rule-item small {
  display: block;
}

.app-bar strong {
  font-size: 0.95rem;
}

.app-bar span,
.rule-item small,
.status-panel small {
  color: var(--muted);
  font-size: 0.78rem;
}

.status-panel {
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--soft-aqua), var(--soft-blue));
  border: 1px solid rgba(49, 215, 207, 0.28);
}

.status-panel span,
.status-panel strong,
.status-panel small {
  display: block;
}

.status-panel span {
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
}

.status-panel strong {
  margin-bottom: 6px;
  font-size: 1.45rem;
}

.rule-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.rule-item {
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.rule-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 40px;
  border-radius: 999px;
  background: var(--blue);
}

.rule-dot.green {
  background: var(--green);
}

.rule-dot.orange {
  background: var(--orange);
}

.mini-note {
  position: absolute;
  width: 124px;
  padding: 14px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  box-shadow: var(--shadow);
}

.note-one {
  top: 82px;
  left: 0;
}

.note-two {
  right: 0;
  bottom: 96px;
}

.numbered-section {
  position: relative;
  padding: 104px 0;
}

.section-number {
  position: absolute;
  top: 38px;
  left: 50%;
  z-index: 0;
  margin: 0;
  transform: translateX(-50%);
  color: rgba(191, 230, 246, 0.26);
  font-size: 9rem;
  font-weight: 900;
  line-height: 1;
}

.section-heading {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2 {
  color: #63b5ea;
}

.problem-grid,
.feature-layout,
.steps {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
}

.problem-grid {
  grid-template-columns: repeat(3, 1fr);
}

.problem-card,
.feature-card,
.step-card,
.download-panel,
.legal-content {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.problem-card {
  padding: 26px;
  text-align: center;
}

.soft-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--soft-blue);
  color: #2488cf;
  font-size: 0.84rem;
  font-weight: 900;
}

.soft-icon.work {
  background: var(--soft-aqua);
  color: var(--green);
}

.soft-icon.night {
  background: var(--soft-orange);
  color: var(--orange);
}

.problem-card p,
.feature-card p,
.step-card p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-layout {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  min-height: 236px;
  padding: 24px;
}

.feature-mark,
.step-card span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 900;
}

.feature-mark.safe {
  background: var(--green);
}

.feature-mark.time {
  background: var(--orange);
}

.feature-mark.calm {
  background: var(--aqua);
  color: #07314a;
}

.how-section {
  padding-top: 116px;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.step-card {
  padding: 28px;
}

.pro-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: center;
  padding: 42px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.pro-panel h2 {
  color: var(--ink);
}

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

.pro-list span {
  display: block;
  padding: 15px 16px;
  border-radius: 8px;
  background: #f2fbff;
  color: #2a678b;
  font-weight: 800;
}

.faq-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(59, 132, 165, 0.08);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 800;
}

.faq-list p {
  padding: 0 22px 22px;
}

.download-section {
  padding: 52px 0 92px;
}

.download-panel {
  gap: 24px;
  justify-content: space-between;
  padding: 30px;
}

.download-panel img {
  flex: 0 0 auto;
  border-radius: 8px;
}

.download-panel div {
  flex: 1 1 auto;
}

.download-panel h2,
.download-panel p {
  margin-bottom: 8px;
}

.disabled-button {
  opacity: 0.62;
  pointer-events: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.legal-main {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 54px;
}

.legal-hero {
  margin-bottom: 30px;
}

.legal-hero h1 {
  font-size: 3.4rem;
}

.legal-hero small {
  color: var(--muted);
  font-weight: 700;
}

.legal-content {
  padding: 36px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.35rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content a {
  color: #0b90d0;
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    margin-left: 0;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .header-cta {
    display: none;
  }

  .hero-section,
  .pro-panel {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .problem-grid,
  .feature-layout,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .pro-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section-band,
  .site-footer,
  .legal-main {
    width: calc(100% - 28px);
  }

  .site-header {
    width: 100%;
    padding: 14px;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.84rem;
  }

  .header-actions {
    gap: 10px;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .hero-lead {
    font-size: 1.28rem;
  }

  .hero-section {
    gap: 34px;
    padding-bottom: 64px;
  }

  .hero-visual {
    min-height: 450px;
  }

  .phone-mock {
    width: min(100%, 310px);
  }

  .mini-note {
    display: none;
  }

  .numbered-section {
    padding: 76px 0;
  }

  .section-number {
    top: 32px;
    font-size: 6.2rem;
  }

  .problem-grid,
  .feature-layout,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .pro-panel,
  .download-panel,
  .legal-content {
    padding: 24px;
  }

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

  .primary-button {
    width: 100%;
  }

  .legal-hero h1 {
    font-size: 2rem;
  }
}
