/* ============================================================
   AGNO — Proof of clean. Not promises.
   Design system: fresh teal/petrol, soap-bubble motifs,
   generous whitespace, rounded cards. No frameworks.
   ============================================================ */

:root {
  /* Brand */
  --brand:        #0EA88C;
  --brand-dark:   #0B8271;
  --brand-bright: #12C9A6;
  --mint:         #DFF5EE;
  --mint-soft:    #EFF9F5;

  /* Ink */
  --ink:          #0A2B25;
  --ink-soft:     #3D5A53;
  --ink-mute:     #6B857E;

  /* Surfaces */
  --bg:           #F6FAF8;
  --surface:      #FFFFFF;
  --line:         #DCEAE5;
  --dark:         #07231E;
  --dark-2:       #0B322B;

  /* Accents */
  --amber:        #FFB43A;
  --amber-soft:   #FFF3DE;

  /* Type */
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;

  /* Shape & shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(7,35,30,.06), 0 2px 8px rgba(7,35,30,.05);
  --shadow-md: 0 4px 12px rgba(7,35,30,.07), 0 12px 32px rgba(7,35,30,.08);
  --shadow-lg: 0 8px 24px rgba(7,35,30,.10), 0 24px 64px rgba(7,35,30,.12);

  --container: 1160px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.28rem; font-weight: 700; }
p.lead { font-size: 1.18rem; color: var(--ink-soft); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
section { padding-block: clamp(64px, 9vw, 110px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--mint);
  border: 1px solid #BFE8DC;
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(14,168,140,.35); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 8px 24px rgba(14,168,140,.45); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--dark-2); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mint); color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-lg { padding: 17px 32px; font-size: 1.06rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,250,248,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand .brand-mark { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; font-size: .96rem; color: var(--ink-soft); }
.nav-links a:hover, .nav-links a.active { color: var(--brand-dark); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; }
.nav-toggle svg { margin: auto; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 18px 24px 22px; box-shadow: var(--shadow-md);
  }
  .nav-links.open a { padding: 10px 0; font-size: 1.05rem; width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 100px); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 130%;
  background:
    radial-gradient(560px 420px at 88% 12%, rgba(18,201,166,.14), transparent 62%),
    radial-gradient(720px 520px at -8% 88%, rgba(14,168,140,.10), transparent 60%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero h1 .hl { color: var(--brand-dark); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .32em; z-index: -1;
  background: linear-gradient(90deg, rgba(18,201,166,.35), rgba(255,180,58,.4));
  border-radius: 4px;
}
.hero p.lead { margin-top: 22px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; font-size: .9rem; color: var(--ink-mute); font-weight: 600; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--brand); flex: none; }

/* Soap bubbles decoration */
.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubbles span {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(14,168,140,.25);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(18,201,166,.06));
  animation: float 9s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

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

/* ---------- Logo strip ---------- */
.strip { padding-block: 26px; border-block: 1px solid var(--line); background: var(--surface); }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; }
.strip span { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .94rem; color: var(--ink-soft); font-family: var(--font-display); }
.strip svg { color: var(--brand); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; 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-md); border-color: #C4E2D8; }
.card h3 { margin: 16px 0 8px; }
.card p { color: var(--ink-soft); font-size: .98rem; }

.icon-tile {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--mint); color: var(--brand-dark);
}
.icon-tile.amber { background: var(--amber-soft); color: #B97A0B; }

/* ---------- Evidence chain ---------- */
.chain { counter-reset: step; position: relative; }
.chain-track {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative;
}
.chain-track::before {
  content: ""; position: absolute; top: 34px; left: 6%; right: 6%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 10px, transparent 10px 20px);
  opacity: .4;
}
.chain-step { position: relative; text-align: center; padding: 0 6px; }
.chain-step .dot {
  counter-increment: step;
  width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--brand);
  display: grid; place-items: center; position: relative; z-index: 1;
  box-shadow: var(--shadow-sm);
}
.chain-step .dot::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--brand-dark);
}
.chain-step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.chain-step p { font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 900px) {
  .chain-track { grid-template-columns: 1fr; gap: 26px; }
  .chain-track::before { display: none; }
  .chain-step { display: grid; grid-template-columns: 68px 1fr; gap: 18px; text-align: left; align-items: center; }
  .chain-step .dot { margin: 0; }
}

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split.rev > .split-media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > .split-media { order: 0; } }
.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.check-list svg { flex: none; margin-top: 3px; color: var(--brand); }
.check-list strong { color: var(--ink); }

/* ---------- Dark section ---------- */
.dark-section { background: var(--dark); color: #D8EAE4; }
.dark-section h2, .dark-section h3 { color: #fff; }
.dark-section .eyebrow { background: rgba(18,201,166,.12); border-color: rgba(18,201,166,.3); color: var(--brand-bright); }
.dark-section .section-head p, .dark-section p { color: #A7C4BC; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .95rem; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-display); font-size: .92rem; background: var(--mint-soft); color: var(--ink); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 600; color: var(--ink); }
.compare .col-agno { background: rgba(14,168,140,.06); }
.compare thead .col-agno { background: var(--mint); color: var(--brand-dark); }
.mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-weight: 800; font-size: .8rem; }
.mark.yes { background: var(--mint); color: var(--brand-dark); }
.mark.part { background: var(--amber-soft); color: #B97A0B; }
.mark.no { background: #FDECEC; color: #C0492F; }

/* ---------- Site images ---------- */
.site-image {
  display: block; width: 100%; height: auto; border-radius: var(--r-lg);
  object-fit: cover; box-shadow: var(--shadow-lg);
}
.site-image-portrait { aspect-ratio: 4 / 5; }
.site-image-wide { aspect-ratio: 16 / 9; }
.site-image-product { aspect-ratio: 4 / 3; object-fit: contain; background: #f8faf9; }

/* ---------- Image placeholders (development only) ---------- */
.img-ph {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 28px;
  border: 2px dashed #8FC7B8; border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(-45deg, rgba(14,168,140,.045) 0 14px, transparent 14px 28px),
    var(--mint-soft);
  color: var(--ink-soft);
  min-height: 220px;
}
.img-ph .ph-tag {
  font-family: var(--font-display); font-size: .72rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-dark);
  display: inline-flex; align-items: center; gap: 8px;
}
.img-ph .ph-prompt { font-size: .88rem; line-height: 1.55; color: var(--ink-soft); max-width: 46ch; }
.img-ph .ph-prompt b { color: var(--ink); }
.img-ph .ph-style {
  display: inline-block; font-size: .74rem; font-weight: 700; font-family: var(--font-display);
  padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; letter-spacing: .04em;
}
.img-ph.ph-photo  { border-color: #8FC7B8; }
.img-ph.ph-comic  { border-color: #E8B45A; background: repeating-linear-gradient(-45deg, rgba(255,180,58,.06) 0 14px, transparent 14px 28px), #FFFBF2; }
.img-ph.ph-comic .ph-style { background: #B97A0B; }
.img-ph.ph-aqua   { border-color: #9BB8E8; background: repeating-linear-gradient(-45deg, rgba(90,130,200,.05) 0 14px, transparent 14px 28px), #F4F8FF; }
.img-ph.ph-aqua .ph-style { background: #3D5A99; }
.img-ph.ph-ui     { border-color: #B9A7E8; background: repeating-linear-gradient(-45deg, rgba(140,110,220,.05) 0 14px, transparent 14px 28px), #F8F5FF; }
.img-ph.ph-ui .ph-style { background: #5B4399; }
.img-ph.tall { min-height: 420px; }
.img-ph.small { min-height: 120px; padding: 18px; border-radius: var(--r-md); }
.img-ph.circle { border-radius: 50%; width: 96px; height: 96px; min-height: 0; padding: 8px; margin-inline: auto; }
.img-ph.circle .ph-prompt { display: none; }
.img-ph.circle .ph-tag { font-size: .6rem; }

/* ---------- Testimonials ---------- */
.quote-card { display: flex; flex-direction: column; gap: 18px; }
.quote-card blockquote { font-size: 1.05rem; color: var(--ink); font-weight: 500; line-height: 1.55; }
.quote-card blockquote::before { content: "“"; display: block; font-family: var(--font-display); font-size: 3rem; line-height: .6; color: var(--brand); margin-bottom: 12px; }
.quote-meta { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote-meta .who b { display: block; font-size: .95rem; }
.quote-meta .who span { font-size: .85rem; color: var(--ink-mute); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--dark); color: #fff; padding: clamp(44px, 6vw, 80px); text-align: center; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 85% 20%, rgba(18,201,166,.22), transparent 60%),
              radial-gradient(400px 300px at 10% 90%, rgba(255,180,58,.12), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #A7C4BC; max-width: 560px; margin: 16px auto 30px; }

/* ---------- Pricing ---------- */
.bill-toggle { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 5px; }
.bill-toggle button { padding: 10px 22px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: .94rem; color: var(--ink-mute); transition: all .15s ease; }
.bill-toggle button.active { background: var(--ink); color: #fff; }
.bill-toggle .save { font-size: .72rem; background: var(--amber); color: var(--ink); border-radius: 999px; padding: 2px 8px; margin-left: 7px; font-weight: 800; }
.bill-toggle button.active .save { background: var(--brand-bright); }

.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 1080px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { display: flex; flex-direction: column; padding: 32px 28px; position: relative; }
.price-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.price-card .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-family: var(--font-display);
  font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 1.15rem; }
.price-card .for { font-size: .86rem; color: var(--ink-mute); margin-top: 4px; min-height: 2.6em; }
.price-line { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 4px; }
.price-line .amount { font-family: var(--font-display); font-size: 2.7rem; font-weight: 800; letter-spacing: -.03em; }
.price-line .per { color: var(--ink-mute); font-size: .9rem; }
.price-note { font-size: .8rem; color: var(--ink-mute); min-height: 2.4em; }
.price-card ul { display: grid; gap: 10px; margin: 22px 0 26px; font-size: .92rem; color: var(--ink-soft); }
.price-card ul li { display: flex; gap: 10px; align-items: flex-start; }
.price-card ul svg { flex: none; margin-top: 3px; color: var(--brand); }
.price-card .btn { margin-top: auto; width: 100%; }

.plans-note { text-align: center; color: var(--ink-soft); font-size: .95rem; margin-top: 28px; }
.plans-note b { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 24px; }
.faq summary { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--brand); font-weight: 400; transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--ink-soft); font-size: .96rem; }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--dark); color: #fff; padding-block: 64px; }
.legal-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-hero p { color: #A7C4BC; margin-top: 10px; }
.legal-body { max-width: 800px; }
.legal-body h2 { font-size: 1.45rem; margin: 44px 0 14px; }
.legal-body h3 { font-size: 1.1rem; margin: 28px 0 10px; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: .98rem; }
.legal-body ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin-top: 10px; }
.legal-body p { margin-top: 12px; }
.legal-placeholder {
  background: var(--amber-soft); border: 1px dashed #E8B45A; border-radius: var(--r-sm);
  padding: 3px 8px; font-weight: 600; color: #8A5A08; font-size: .92em;
}
.legal-notice {
  background: var(--amber-soft); border: 1px solid #F0D9A8; border-radius: var(--r-md);
  padding: 18px 22px; font-size: .92rem; color: #7A5410; margin-top: 32px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #A7C4BC; padding: 64px 0 34px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; font-size: .94rem; }
.site-footer a { color: #A7C4BC; }
.site-footer a:hover { color: var(--brand-bright); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.09); font-size: .85rem; }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-badges span { border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 5px 13px; font-size: .78rem; font-weight: 600; color: #C7E2D9; }
