:root {
  --color-petrol: #0B6E70;
  --color-teal: #12A5A0;
  --color-soft-teal: #E6F5F3;
  --color-coral: #FF6B3E;
  --color-amber: #F5A524;
  --color-freshness: #2FB673;
  --color-text: #0E2B2C;
  --color-text-muted: #5A7374;
  --color-white: #FFFFFF;
  --color-border: #D4E8E6;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(11, 110, 112, 0.08);
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-teal);
  text-decoration: none;
  transition: color 0.2s;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--color-text);
}

.logo__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

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

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

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

.btn--coral {
  background: var(--color-coral);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(255, 107, 62, 0.35);
}

.btn--coral:hover {
  background: #e85a30;
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-petrol);
  border: 2px solid var(--color-petrol);
}

.btn--outline:hover {
  background: var(--color-soft-teal);
  color: var(--color-petrol);
}

/* Hero */
.hero {
  padding: 64px 0 80px;
  background: linear-gradient(180deg, var(--color-soft-teal) 0%, var(--color-white) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-white);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-petrol);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

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

.hero__subtitle {
  margin: 0 0 32px;
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 480px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  max-width: 320px;
  width: 100%;
}

/* Product card */
.product-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.product-card__image {
  position: relative;
  background: var(--color-soft-teal);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-amber);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.product-card__body {
  padding: 16px;
}

.product-card__title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.product-card__price-current {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-petrol);
}

.product-card__price-old {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.product-card__btn {
  width: 100%;
  padding: 12px;
  background: var(--color-coral);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section--soft {
  background: var(--color-soft-teal);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section__header h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section__header p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

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

.feature {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--color-border);
}

.section--soft .feature {
  border: none;
  box-shadow: var(--shadow);
}

.feature__icon {
  width: 48px;
  height: 48px;
  background: var(--color-soft-teal);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
}

.feature p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* App promo */
.app-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.app-promo__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.app-promo__list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--color-text-muted);
}

.app-promo__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-freshness);
  font-weight: 800;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--color-text);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
}

.store-badge:hover {
  color: var(--color-white);
  opacity: 0.9;
}

/* Footer */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer .logo {
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer__desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer h4 {
  margin: 0 0 16px;
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 800;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 10px;
}

.footer a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

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

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

/* Legal pages */
.page-hero {
  padding: 48px 0 32px;
  background: var(--color-soft-teal);
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  color: var(--color-text-muted);
}

.legal-content {
  padding: 48px 0 80px;
}

.legal-content h2 {
  margin: 40px 0 16px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-petrol);
}

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

.legal-content h3 {
  margin: 28px 0 12px;
  font-size: 1.1rem;
  font-weight: 700;
}

.legal-content p,
.legal-content li {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--color-border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--color-soft-teal);
  font-weight: 700;
  color: var(--color-text);
}

.legal-table td {
  color: var(--color-text-muted);
}

.delete-steps {
  background: var(--color-soft-teal);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin: 24px 0;
  border-left: 4px solid var(--color-teal);
}

.delete-steps ol {
  margin: 0;
  padding-left: 20px;
}

.delete-steps li {
  margin-bottom: 12px;
  color: var(--color-text);
  font-weight: 500;
}

.delete-note {
  background: #FFF8E6;
  border: 1px solid rgba(245, 165, 36, 0.3);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--color-text);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-teal);
}

.breadcrumb span {
  color: var(--color-text-muted);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 6px 0;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .hero__grid,
  .app-promo {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

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

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

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

@media (max-width: 640px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-white);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--color-border);
    gap: 16px;
  }

  .nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .header__inner {
    position: relative;
  }

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

  .hero {
    padding: 40px 0 56px;
  }

  .section {
    padding: 48px 0;
  }
}
