:root {
  --navy: #0d0d0d;
  --bg: #f7f8fa;
  --bg-subtle: #ffffff;
  --accent: #32b8a0;
  --accent-soft: rgba(50, 184, 160, 0.12);
  --text: #0d0d0d;
  --text-muted: #646a73;
  --card: #ffffff;
  --border: rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.08);
  --radius-lg: 20px;
  --radius-xl: 24px;
  --header-h: 64px;
  --announce-h: 40px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(180, 220, 255, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(200, 180, 255, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse 50% 35% at 5% 60%, rgba(180, 255, 230, 0.2) 0%, transparent 45%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(240, 245, 250, 0.9) 0%, transparent 60%),
    var(--bg);
}

body.has-announce { padding-top: calc(var(--header-h) + var(--announce-h)); }
body.has-announce .site-header { top: var(--announce-h); }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #268f7a; }

.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
}

.announce-bar a { font-weight: 600; white-space: nowrap; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(247, 248, 250, 0.8);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}

body.has-announce .hero,
body.has-announce .page-hero {
  padding-top: calc(var(--header-h) + var(--announce-h) + 3rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
}

.brand img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.brand-text { display: flex; flex-direction: column; gap: 0; }

.brand-name {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-links a:hover { color: var(--text); }

.nav-cta { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  color: #fff;
}

.btn-outline {
  background: var(--card);
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: var(--shadow);
  color: var(--text);
}

.btn-text {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
}

.link-arrow {
  font-weight: 600;
  font-size: 0.9rem;
}

.link-arrow::after {
  content: " \2192";
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
}

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .nav-cta { display: inline-flex; }
}

.hero,
.page-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 3rem) clamp(1.25rem, 4vw, 3rem) 3rem;
}

.hero-content,
.page-hero .container { max-width: 720px; width: 100%; }

.page-hero.wide .container { max-width: 1120px; }

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
}

.hero h1,
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero .lead,
.page-hero .lead {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.trust-lines {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.trust-lines li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 600;
}

section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
}

.container { max-width: 1120px; margin: 0 auto; }

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.products { padding-top: 0; }

.product-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

.product-card {
  padding: 2rem 1.75rem;
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--text-muted);
}

.product-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.product-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card h3 { font-size: 1.1rem; }

.product-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  flex: 1;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.status-badge {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px dashed var(--border);
}

.section-footer-link {
  text-align: center;
  margin-top: 2rem;
}

.about-grid {
  display: grid;
  gap: 2rem;
  max-width: 100%;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 2.5rem;
  }
}

.about-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.about-col .about-actions,
.about-col .team-pills {
  margin-top: auto;
}

.about-col .team-pills {
  padding-top: 1rem;
}

.about-col p,
.about p,
.prose p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.about-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.about-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.pill {
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.team-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  align-items: flex-start;
}

.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

.card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
  width: 100%;
  flex: 1;
}

.card .btn {
  margin-top: 1rem;
  align-self: flex-start;
}

.card h4 { font-size: 1.05rem; margin-bottom: 0.6rem; }

.cta-strip {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem);
}

.cta-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-strip p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.site-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: auto;
  flex-shrink: 0;
  padding: 3rem clamp(1.25rem, 4vw, 3rem) 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  max-width: 1120px;
  margin: 0 auto 2rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-brand img {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-brand p,
.footer-col li {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-col h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.8;
}

/* Subpages */
.page-main { padding-bottom: 4rem; }

.prose {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content {
  max-width: 1120px;
}

.legal-cards {
  margin-top: 2rem;
}

.legal-table-header {
  margin-top: 3rem;
  text-align: left;
}

.legal-table-header .section-desc {
  margin-left: 0;
}

.prose h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.prose ul { margin: 0.5rem 0 1rem 1.25rem; color: var(--text-muted); }

.prose li { margin-bottom: 0.35rem; }

.legal-caps {
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.legal-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 1.5rem 0;
}

.data-table th,
.data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid var(--border);
}

.data-table th {
  background: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  gap: 2rem;
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form-block {
    grid-column: 1 / -1;
  }
}

.contact-block {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
}

.contact-block h2 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.contact-email {
  font-size: 1.25rem;
  font-weight: 600;
  word-break: break-all;
}

.contact-address {
  font-style: normal;
  line-height: 1.8;
  color: var(--text-muted);
  white-space: pre-line;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-form textarea { min-height: 120px; resize: vertical; }

.product-detail-hero {
  text-align: left;
  padding-bottom: 2rem;
}

.product-detail-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .product-detail-grid { grid-template-columns: auto 1fr; }
}

.product-detail-icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.product-detail-icon img { width: 100%; height: 100%; object-fit: cover; }

.feature-list {
  list-style: none;
  margin: 1.5rem 0;
}

.feature-list li {
  padding: 0.5rem 0 0.5rem 1.25rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.product-legal-footer {
  margin-top: 3rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-legal-footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.75rem;
}

.catalog-list .product-row {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .catalog-list .product-row { grid-template-columns: auto 1fr; }
}

.check-list {
  list-style: none;
  margin: 1rem 0;
}

.check-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal {
  width: 100%;
  max-width: 400px;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-hover);
  text-align: center;
  position: relative;
  z-index: 201;
}

.modal-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 48px;
  font-weight: 700;
  flex-shrink: 0;
}

.modal h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.modal p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

@media (max-width: 899px) {
  .nav-links { display: none; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-top: 0.5rem;
  }
  .nav-wrap { position: relative; }
}
