/* ---------- Design tokens ---------- */
:root {
  --teal-900: #0b3d3a;
  --teal-700: #0f766e;
  --teal-600: #14857b;
  --teal-500: #17a398;
  --teal-100: #d6f2ee;
  --teal-50:  #eef8f6;

  --ink:      #0e1a19;
  --slate:    #4a5b59;
  --line:     #e2e9e7;
  --surface:  #ffffff;
  --bg:       #f6faf9;

  --radius:   14px;
  --shadow:   0 10px 30px rgba(11, 61, 58, 0.08);
  --shadow-sm:0 2px 10px rgba(11, 61, 58, 0.06);
  --maxw:     1120px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.05rem; }
p  { margin: 0 0 1rem; color: var(--slate); }
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--teal-600);
  margin: 0 0 .6rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-600); }
.btn-ghost { background: transparent; color: var(--teal-700); border-color: var(--line); }
.btn-ghost:hover { background: var(--teal-50); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; }
.brand-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--teal-700); color: #fff;
}
.brand-name { font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-accent { color: var(--teal-600); }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a { font-weight: 600; font-size: .95rem; color: var(--slate); }
.main-nav a:hover { color: var(--teal-700); }
.main-nav .nav-cta { color: #fff; background: var(--teal-700); padding: .55rem 1.1rem; border-radius: 999px; }
.main-nav .nav-cta:hover { background: var(--teal-600); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 8vw, 6rem) 0; background:
    radial-gradient(120% 120% at 100% 0%, var(--teal-50) 0%, transparent 55%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.lede { font-size: 1.12rem; max-width: 34ch; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
.hero-stats { display: flex; gap: 2rem; margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero-stats dt { font-size: 1.6rem; font-weight: 800; color: var(--teal-700); }
.hero-stats dd { margin: 0; font-size: .85rem; color: var(--slate); }

.hero-visual { display: grid; place-items: center; }
.glass-card {
  width: 100%; max-width: 360px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: grid; gap: 1rem;
  transform: rotate(-1.5deg);
}
.glass-row { display: flex; align-items: center; gap: .75rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot-a { background: var(--teal-700); }
.dot-b { background: var(--teal-500); }
.dot-c { background: var(--teal-100); }
.bar { height: 12px; border-radius: 6px; background: var(--teal-50); }
.bar-lg { width: 80%; } .bar-md { width: 60%; } .bar-sm { width: 45%; }
.glass-code {
  margin-top: .5rem; padding: .9rem 1rem; border-radius: 12px;
  background: var(--teal-900); color: var(--teal-100);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9rem;
}

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 620px; margin: 0 auto 2.5rem; text-align: center; }
.section-sub { font-size: 1.05rem; }

/* ---------- Product cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-700);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .35rem; }
.card p { font-size: .94rem; margin-bottom: 1rem; }
.card-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.tag {
  font-size: .72rem; font-weight: 600;
  color: var(--teal-700); background: var(--teal-50);
  padding: .25rem .6rem; border-radius: 999px;
}

/* ---------- Two column ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.col-copy h2 { margin-bottom: 1rem; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.feature-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm);
}
.section-alt .feature-list li { background: var(--bg); }
.feature-icon {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--teal-700); color: #fff;
}
.feature-list h3 { margin-bottom: .15rem; }
.feature-list p { margin: 0; font-size: .9rem; }

/* ---------- About ---------- */
.about-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.about-text { font-size: 1.1rem; }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-details { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.contact-details li { color: var(--slate); }
.contact-details strong { display: inline-block; min-width: 92px; color: var(--ink); }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; }
.field input, .field textarea {
  width: 100%; padding: .7rem .85rem; font: inherit;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
  color: var(--ink); resize: vertical;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--teal-500); outline-offset: 1px; border-color: transparent; }
.form-note { font-size: .9rem; margin: .75rem 0 0; min-height: 1.2em; color: var(--teal-700); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: var(--teal-100); padding: 2rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-accent { color: var(--teal-100); }
.footer-copy { margin: 0; font-size: .85rem; color: var(--teal-100); opacity: .85; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner, .two-col, .two-col.reverse, .contact-inner { grid-template-columns: 1fr; }
  .two-col.reverse .col-copy { order: -1; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { display: none; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1rem;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cta { text-align: center; margin-top: .75rem; border-bottom: 0; }
}

@media (max-width: 520px) {
  .card-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
