/* Сайт-визитка «Моя Рыбалка». Одна страница, без сборки. */

:root {
  --water: #1f7a8c;
  --water-dark: #145561;
  --water-light: #4fb3c7;
  --ink: #12212b;
  --ink-soft: #45606c;
  --bg: #f5f8f9;
  --surface: #ffffff;
  --border: #dde7ea;
  --reed: #5f9e4a;
  --sand: #e8dcc6;
  --radius: 14px;
  --wrap: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.4em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  letter-spacing: -0.01em;
}

a {
  color: var(--water-dark);
}

/* --- Шапка --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 248, 249, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
}

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

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

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

.nav-cta {
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--water);
  color: #fff !important;
  font-weight: 600;
}

/* --- Кнопки --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    transform 0.08s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--water);
  color: #fff;
  box-shadow: 0 6px 18px rgba(31, 122, 140, 0.28);
}

.btn-primary:hover {
  background: var(--water-dark);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--ink);
  background: var(--surface);
}

.btn-ghost:hover {
  border-color: var(--water-light);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn.is-checking {
  opacity: 0.65;
  pointer-events: none;
}

.btn.is-unavailable {
  background: var(--sand);
  color: var(--ink-soft);
  box-shadow: none;
  pointer-events: none;
}

/* --- Hero --- */
.hero {
  padding: clamp(48px, 9vw, 104px) 0;
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(79, 179, 199, 0.18), transparent),
    linear-gradient(180deg, #fff, var(--bg));
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--water);
  margin: 0 0 12px;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34em;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 28px 0 12px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Телефон-макет */
.hero-art {
  display: flex;
  justify-content: center;
}

.phone {
  width: 240px;
  height: 480px;
  border-radius: 34px;
  background: #0e1a20;
  padding: 12px;
  box-shadow:
    0 30px 60px rgba(18, 33, 43, 0.28),
    inset 0 0 0 2px #26414c;
  transform: rotate(3deg);
}

.phone-screen {
  height: 100%;
  border-radius: 24px;
  background: linear-gradient(180deg, #dceff2, #eef6f7);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.ps-card {
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(18, 33, 43, 0.08);
}

.ps-photo {
  height: 92px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--water-light), var(--reed));
  margin-bottom: 10px;
}

.ps-photo-sm {
  height: 56px;
}

.ps-line {
  height: 9px;
  border-radius: 5px;
  background: #e4ebed;
  margin: 6px 0;
  width: 70%;
}

.ps-line-wide {
  width: 92%;
}

.ps-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.ps-tags span {
  font-size: 0.62rem;
  padding: 3px 7px;
  border-radius: 999px;
  background: #e6f1f3;
  color: var(--water-dark);
  white-space: nowrap;
}

/* --- Секции --- */
.section {
  padding: clamp(48px, 8vw, 88px) 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.feature-accent {
  background: linear-gradient(180deg, #eef7f4, #fff);
  border-color: #cfe6dd;
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.feature h3 {
  font-size: 1.15rem;
}

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

.how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.how-item h3 {
  font-size: 1.2rem;
  color: var(--water-dark);
}

.how-item p {
  margin: 0;
  color: var(--ink-soft);
}

/* --- Скачать --- */
.download {
  text-align: center;
  background:
    radial-gradient(800px 300px at 50% 120%, rgba(31, 122, 140, 0.12), transparent), var(--bg);
}

.download-inner {
  max-width: 620px;
}

.download-lead {
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.download-meta {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.download-note {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* --- Подвал --- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer-inner a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--water-dark);
}

/* --- Адаптив --- */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-art {
    order: -1;
  }

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

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

@media (max-width: 560px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

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

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8eef1;
    --ink-soft: #9fb4bd;
    --bg: #0f1417;
    --surface: #19232a;
    --border: #2a3841;
    --sand: #2b2a24;
  }

  .site-header {
    background: rgba(15, 20, 23, 0.85);
  }

  .phone-screen {
    background: linear-gradient(180deg, #16333a, #1b2b31);
  }

  .ps-card {
    background: #10201f;
  }

  .ps-line {
    background: #24343b;
  }

  .ps-tags span {
    background: #17323a;
    color: var(--water-light);
  }

  .hero {
    background:
      radial-gradient(1200px 400px at 80% -10%, rgba(79, 179, 199, 0.12), transparent),
      linear-gradient(180deg, #131b1f, var(--bg));
  }
}
