:root {
  --color-primary: #E67E22;
  --color-primary-dark: #CA6F1E;
  --color-action: #AD4E0C;
  --color-action-dark: #8A3F0A;
  --color-link: #8A3F0A;
  --color-success: #27AE60;
  --color-accent: #2F6F73;
  --color-bg: #FAFAFA;
  --color-surface: #FFFFFF;
  --color-surface-warm: #FFF3E6;
  --color-text: #1A1A1A;
  --color-text-secondary: #555555;
  --color-border: #E0E0E0;
  --color-ink: #17212B;
  --shadow-soft: 0 10px 28px rgba(26, 26, 26, 0.10);
  --shadow-card: 0 2px 8px rgba(26, 26, 26, 0.10);
  --font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --space-page: clamp(16px, 4vw, 32px);
  --max-width-legal: 720px;
  --max-width-landing: 1120px;
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-link);
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(47, 111, 115, 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--color-ink);
  color: #FFFFFF;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - (var(--space-page) * 2), var(--max-width-landing));
  margin-inline: auto;
}

.narrow {
  max-width: var(--max-width-legal);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--color-text);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 10px rgba(230, 126, 34, 0.28);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -7px;
}

.nav-toggle-lines::after {
  top: 7px;
}

.site-nav {
  position: fixed;
  top: var(--header-height);
  right: var(--space-page);
  left: var(--space-page);
  visibility: hidden;
  transform: translateY(-12px);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-open .site-nav {
  visibility: visible;
  transform: translateY(0);
  opacity: 1;
}

.site-nav ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  list-style: none;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--color-surface-warm);
  color: var(--color-link);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(690px, calc(100svh - 72px));
  padding: calc(var(--header-height) + 36px) 0 56px;
  background:
    linear-gradient(90deg, rgba(23, 33, 43, 0.86) 0%, rgba(23, 33, 43, 0.58) 52%, rgba(23, 33, 43, 0.12) 100%),
    url("../assets/images/splash-illustration.png") center 30% / cover no-repeat;
  color: #FFFFFF;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 24%;
  background: linear-gradient(180deg, rgba(250, 250, 250, 0) 0%, var(--color-bg) 100%);
  content: "";
}

.hero-content {
  max-width: 680px;
  animation: fade-up 620ms ease both;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 12px;
  color: var(--color-link);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .hero-kicker {
  color: #FFE0BF;
}

.hero h1 {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(3.2rem, 12vw, 6.6rem);
  line-height: 0.92;
}

.hero-lead {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.45;
}

.hero-actions,
.cta-row,
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.store-badges {
  margin-top: 18px;
}

.btn,
.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.store-badge:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-action);
  color: #FFFFFF;
  box-shadow: 0 12px 20px rgba(138, 63, 10, 0.24);
}

.btn-primary:hover {
  background: var(--color-action-dark);
  color: #FFFFFF;
}

.btn-secondary {
  border: 1.5px solid currentColor;
  background: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.btn-outline {
  border: 1.5px solid var(--color-action);
  background: var(--color-surface);
  color: var(--color-link);
}

.store-badge {
  min-width: 182px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  box-shadow: none;
}

.store-badge.is-disabled {
  cursor: not-allowed;
  opacity: 0.78;
}

.store-badge small {
  display: block;
  margin-right: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  opacity: 0.8;
}

.section {
  padding: clamp(56px, 9vw, 96px) 0;
}

.section-tight {
  padding: clamp(36px, 6vw, 64px) 0;
}

.section-alt {
  background: var(--color-surface);
}

.section-warm {
  background: linear-gradient(180deg, var(--color-surface-warm), #FFFFFF);
}

.section-header {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-header h2,
.legal h1,
.legal h2,
.legal h3 {
  margin-top: 0;
  color: var(--color-text);
  line-height: 1.15;
}

.section-header h2,
.legal h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.section-header p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 1.08rem;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-3,
.grid-2 {
  grid-template-columns: 1fr;
}

.feature-card,
.step,
.faq-item,
.support-panel,
.highlight-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.feature-card,
.step,
.highlight-card {
  padding: 22px;
}

.feature-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.feature-card h3,
.step h3,
.highlight-card h3,
.faq-item h2,
.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.feature-card p,
.step p,
.highlight-card p,
.faq-item p {
  margin: 0;
  color: var(--color-text-secondary);
}

.icon-mark,
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  background: var(--color-surface-warm);
  color: var(--color-link);
  font-weight: 900;
}

.step-number {
  background: var(--color-accent);
  color: #FFFFFF;
}

.product-band {
  display: grid;
  gap: 28px;
  align-items: center;
}

.phone-mockup {
  width: min(100%, 360px);
  margin-inline: auto;
  padding: 14px;
  border: 10px solid #17212B;
  border-radius: 34px;
  background: #F6F7F7;
  box-shadow: var(--shadow-soft);
}

.phone-screen {
  min-height: 520px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--color-bg);
}

.phone-top {
  padding: 22px 18px 16px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.phone-top strong {
  display: block;
  font-size: 1.12rem;
}

.phone-top span {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.phone-list {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.phone-row,
.phone-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: 0 1px 4px rgba(26, 26, 26, 0.08);
}

.phone-row span {
  color: var(--color-text-secondary);
  font-size: 0.92rem;
}

.phone-row strong,
.phone-total strong {
  color: var(--color-link);
}

.phone-total {
  background: var(--color-surface-warm);
}

.pro-band {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 46px);
  border-radius: var(--radius-md);
  background: var(--color-ink);
  color: #FFFFFF;
}

.pro-band h2 {
  margin: 0 0 12px;
  color: #FFFFFF;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.12;
}

.pro-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

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

.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
}

.check-list li::before {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--color-success);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 22px;
  text-align: center;
  content: "✓";
}

.legal-page {
  padding-top: calc(var(--header-height) + 42px);
}

.legal {
  padding-bottom: 72px;
}

.legal-meta {
  margin: 0 0 28px;
  color: var(--color-text-secondary);
}

.legal h2 {
  margin: 36px 0 10px;
  font-size: 1.5rem;
}

.legal h3 {
  margin: 24px 0 8px;
  font-size: 1.15rem;
}

.legal p,
.legal li {
  color: var(--color-text-secondary);
}

.legal ul,
.legal ol {
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 8px;
}

.notice {
  padding: 16px;
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  background: var(--color-surface-warm);
  color: var(--color-text);
}

.support-panel {
  padding: 22px;
}

.support-panel .btn {
  margin-top: 14px;
}

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

.faq-item {
  padding: 20px;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.footer-inner {
  display: grid;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  color: var(--color-text-secondary);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-link);
}

.footer-copy {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.94rem;
}

.reveal {
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@keyframes fade-up {
  from {
    transform: translateY(18px);
    opacity: 0;
  }

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

@media (max-width: 767px) {
  .hero-actions .btn,
  .store-badge,
  .cta-row .btn {
    width: 100%;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(23, 33, 43, 0.86) 0%, rgba(23, 33, 43, 0.62) 58%, rgba(23, 33, 43, 0.22) 100%),
      url("../assets/images/splash-illustration.png") center top / cover no-repeat;
  }
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    visibility: visible;
    transform: none;
    opacity: 1;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    padding: 0 10px;
  }

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

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

  .product-band {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  }

  .pro-band {
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(260px, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .hero {
    background-position: center 36%;
  }

  .site-nav a {
    padding: 0 14px;
  }
}

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