:root {
  --teal: #00bcc8;
  --teal-dark: #009aa5;
  --teal-light: #e6fafb;
  --ink: #0d1b1e;
  --ink-soft: #46595c;
  --bg: #ffffff;
  --bg-soft: #f6fbfb;
  --border: #e2eeef;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(0, 42, 46, 0.08);
  --max-w: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal);
  color: #fff;
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.site-nav a:hover { color: var(--teal-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 188, 200, 0.35);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }

/* Hero */
.hero {
  padding: 72px 0 56px;
  background: radial-gradient(1200px 500px at 50% -10%, var(--teal-light), transparent);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  max-width: 640px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-phones {
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 42, 46, 0.16));
}

@media (min-width: 960px) {
  .hero-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
  }
  .hero-copy {
    align-items: flex-start;
    text-align: left;
    max-width: 480px;
  }
  .hero-actions { justify-content: flex-start; }
  .appstore-wrap { align-items: flex-start; }
  .hero-visual { justify-content: flex-end; flex-shrink: 0; }
  .hero-phones { max-width: 340px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
}

.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0,188,200,0.18);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 18ch;
}

.hero h1 span {
  color: var(--teal-dark);
}

.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 6px;
}

.hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 6px;
}

/* App Store badge */
.appstore-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  border-radius: 12px;
  padding: 10px 18px 10px 14px;
  border: 1px solid #000;
}

.appstore-badge-icon { width: 28px; height: 28px; flex-shrink: 0; }

.appstore-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.appstore-badge-line1 { font-size: 0.68rem; font-weight: 400; opacity: 0.9; }
.appstore-badge-line2 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }

.appstore-badge.disabled {
  opacity: 0.45;
  filter: grayscale(0.3);
  cursor: default;
  pointer-events: none;
}

.appstore-soon {
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Sections */
section { padding: 64px 0; }

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 auto 44px;
}

/* Features */
.features {
  background: var(--bg-soft);
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* Store badges / CTA */
.cta {
  text-align: center;
}

.cta-card {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 24px;
  padding: 56px 32px;
  color: #fff;
}

.cta-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-card p {
  margin: 0 auto 24px;
  max-width: 50ch;
  opacity: 0.95;
}

.cta .btn-primary {
  background: #fff;
  color: var(--teal-dark);
  box-shadow: none;
}
.cta .btn-primary:hover { background: #f0fdfe; }

/* Social */
.social-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.social-link:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.social-link svg { width: 22px; height: 22px; flex-shrink: 0; }

.social-link.disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.social-link.disabled .soon {
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg-soft);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.footer-brand img { width: 28px; height: 28px; border-radius: 7px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--teal-dark); }

.footer-note {
  width: 100%;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.82rem;
  margin-top: 24px;
}

/* Legal page */
.legal {
  padding: 56px 0 80px;
}

.legal .container {
  max-width: 820px;
}

.legal h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.legal .updated {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.legal h2 {
  font-size: 1.25rem;
  margin-top: 36px;
  letter-spacing: -0.01em;
}

.legal p, .legal li {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.legal ul { padding-left: 22px; }

.legal a { color: var(--teal-dark); font-weight: 600; text-decoration: underline; }

.notice-box {
  background: var(--teal-light);
  border: 1px solid #c7eef1;
  border-radius: 14px;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 0.92rem;
  margin-bottom: 32px;
}

/* Language switcher */
.lang-switcher {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346595c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 34px 10px 16px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
}

.lang-switcher:hover { border-color: var(--teal); }
.lang-switcher:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 820px) {
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-nav {
    position: fixed;
    inset: 64px 16px auto 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a, .site-nav .btn {
    width: 100%;
    padding: 12px 10px;
  }
  .site-nav .lang-switcher {
    width: 100%;
    margin-top: 4px;
  }
  .nav-toggle { display: inline-flex; }
  .footer-inner { flex-direction: column; text-align: center; justify-content: center; }
}

/* Desktop (1024px and up) — mobile styles above are intentionally untouched. */
@media (min-width: 1024px) {
  :root { --max-w: 1200px; }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 64px;
  }
  .hero-copy {
    max-width: none;
    align-items: flex-start;
    text-align: left;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 4vw, 3.6rem);
    max-width: none;
  }
  .hero h1 span { display: block; }
  .hero p.lead {
    font-size: 1.2rem;
    max-width: 58ch;
  }
  .hero-visual {
    width: 100%;
    min-width: 0;
    justify-content: center;
    align-items: center;
  }
  .hero-phones {
    width: auto;
    max-width: 100%;
    max-height: min(600px, calc(100vh - 140px));
    height: auto;
  }
}
