/* TeiaClin — landing page */
:root {
  --bg: #FDF8F1;
  --white: #FFFFFF;
  --sand: #F4EEE4;
  --ink: #1A2033;
  --ink-2: #4F5466;
  --ink-3: #555B6E;
  --line: #E7E1D8;
  --line-2: #D9D2C6;
  --teal: #2BC0B7;
  --teal-dark: #0E7C72;
  --teal-darker: #0A5E56;
  --orange: #FE7B0A;
  --peach: #FDB175;
  --accent: var(--orange);
  --dark-line: #3A3E52;
  --dark-muted: #C9C6D6;
  --radius: 16px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: Manrope, Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-dark); }
a:hover { color: var(--teal-darker); }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }
img, svg { display: block; }

:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; color: #fff; }

/* layout */
.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.container-narrow { max-width: 900px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.section-sm { padding-top: 72px; padding-bottom: 72px; }
.stack-32, .stack-40, .stack-44 { display: flex; flex-direction: column; }
.stack-32 { gap: 32px; }
.stack-40 { gap: 40px; }
.stack-44 { gap: 44px; }
.band-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-sand { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--ink); color: #F4F1EC; }
.band-teal { background: var(--teal); color: var(--ink); }

/* type */
.h2 { font-weight: 800; font-size: 40px; line-height: 1.15; letter-spacing: -1px; }
.narrow { max-width: 760px; font-size: 38px; }
.center { text-align: center; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--teal-dark); text-transform: uppercase; letter-spacing: 1px; }
.eyebrow-light { color: var(--teal); }
.muted { color: var(--ink-2); max-width: 560px; }
.muted-sm { font-size: 13px; color: var(--ink-3); }
.on-dark-muted { color: var(--dark-muted); }
.fine { font-size: 14px; color: var(--ink-3); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 26px; border-radius: 12px;
  font-family: var(--font); font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { color: var(--ink); filter: brightness(1.05); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { color: var(--ink); background: #FAF7F2; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #2A3149; }
.btn-sm { min-height: 44px; padding: 11px 20px; border-radius: 10px; font-size: 15px; }
.btn-block { width: 100%; padding: 16px 20px; border-radius: 14px; font-weight: 700; font-size: 17px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 248, 241, .92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand span { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.5px; }
.brand:hover { color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.main-nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.main-nav a:not(.btn):hover { color: var(--teal-dark); }
.menu-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink); cursor: pointer;
}

/* hero */
.hero { padding-top: 80px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; background: #FFE6D2; color: #8A3E05; font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-weight: 800; font-size: 56px; line-height: 1.08; letter-spacing: -1.5px; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
  flex: 1 1 420px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: 24px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 24px 48px -28px rgba(28, 31, 46, .25);
}
.hero-card-head { display: flex; justify-content: space-between; align-items: center; }
.hero-card-head strong { font-family: var(--display); font-size: 17px; }
.agenda { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.agenda li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: #F6F3EE; font-size: 15px; }
.agenda .time { font-weight: 600; width: 52px; flex: none; }
.agenda .who { flex: 1; min-width: 0; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tag-ok { color: #1F6B45; background: #E3F4EA; }
.tag-wait { color: #8A4B12; background: #FBEBD9; }
.draft { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.draft-title { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.draft p { font-size: 14px; color: var(--ink-2); }
.draft-status { font-size: 13px; font-weight: 600; color: var(--teal-darker); }

/* problem */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.compare-card { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.compare-card strong { font-family: var(--display); font-size: 20px; }
.compare-before { background: #FFEBDC; }
.compare-before p { color: var(--ink-2); }
.compare-after { background: #DDF5F2; }
.compare-after strong { color: var(--teal-darker); }
.compare-after p { color: #2F2E45; }

/* features */
.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.feature:hover { border-color: #BFE7E3; box-shadow: 0 16px 32px -24px rgba(14, 124, 114, .35); }
.feature svg { fill: none; stroke: var(--teal-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 20px; }
.feature p { color: var(--ink-2); font-size: 16px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.steps li { border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step-n { font-family: var(--display); font-weight: 800; font-size: 32px; color: var(--teal); line-height: 1.2; }
.steps h3 { font-size: 19px; }
.steps p { color: var(--dark-muted); font-size: 15px; }

/* chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { background: var(--white); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; font-weight: 500; font-size: 15px; }

/* table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 16px; }
.compare-table th { padding: 14px 12px; border-bottom: 2px solid var(--ink); font-weight: 600; text-align: center; }
.compare-table th:first-child { text-align: left; }
.compare-table .col-generic { color: var(--ink-3); }
.compare-table .col-teia { color: var(--teal-darker); font-weight: 700; }
.compare-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.compare-table td:first-child { text-align: left; }
.ico-yes, .ico-no { display: inline-block; width: 20px; height: 20px; vertical-align: middle; background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico-yes { color: var(--teal-dark); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.yes-generic .ico-yes { color: var(--ink-3); }
.ico-no { color: #A0A3AF; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }

/* plans */
.plans { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.plans-copy { flex: 3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.included { display: flex; flex-wrap: wrap; gap: 16px; }
.included > div { flex: 1 1 240px; background: var(--white); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.included .num { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 1px; color: #B45200; }
.included strong { font-family: var(--display); font-size: 18px; }
.included span:last-child { font-size: 15px; color: var(--ink-2); }

.price-card {
  flex: 2 1 340px; min-width: 0; background: var(--ink); color: var(--bg); border-radius: 28px;
  padding: 36px; display: flex; flex-direction: column; gap: 22px;
}
.billing { display: flex; padding: 5px; border-radius: 14px; background: #2A3149; gap: 4px; }
.billing button {
  flex: 1 1 0; min-height: 44px; border: 0; border-radius: 10px; font-family: var(--font);
  font-size: 15px; font-weight: 600; cursor: pointer; background: transparent; color: #E8ECF5;
  transition: background-color .15s ease, color .15s ease;
}
.billing button[aria-pressed="true"] { background: var(--bg); color: var(--ink); }
.price-block { display: flex; flex-direction: column; gap: 6px; }
.price-label { font-size: 15px; color: #C9D0DE; }
.price { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -1.5px; }
.price-unit { font-size: 20px; font-weight: 600; color: #C9D0DE; letter-spacing: 0; }
.price-note { font-size: 15px; font-weight: 600; color: #8FE3DD; }
.trial { padding: 16px 18px; border-radius: var(--radius); background: var(--teal); color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.trial strong { font-family: var(--display); font-size: 20px; }
.trial span { font-size: 15px; }
.price-card .btn-block { margin-top: auto; }
.exit-note { font-size: 14px; color: #C9D0DE; text-align: center; }

/* faq */
.faq { display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-2); font-size: 16px; padding: 0 0 20px; }

/* waitlist */
.waitlist { max-width: 760px; padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.waitlist-sub { font-size: 18px; }
.waitlist-form { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; max-width: 560px; justify-content: center; }
.waitlist-form input {
  flex: 1 1 260px; min-width: 0; min-height: 48px; padding: 14px 18px; border-radius: 12px; border: 2px solid transparent;
  font-size: 16px; font-family: var(--font); color: var(--ink); background: #fff;
}
.waitlist-form input:focus { outline: none; border-color: var(--ink); }
.waitlist-form input[aria-invalid="true"] { border-color: #B3261E; }
.form-msg { flex-basis: 100%; min-height: 1.6em; font-weight: 600; font-size: 15px; }
.whats-link { color: var(--ink); font-weight: 600; font-size: 15px; }
.whats-link:hover { color: var(--ink); }

/* footer */
.site-footer { background: var(--ink); color: var(--dark-muted); }
.footer-inner { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.brand-light span { color: #fff; font-size: 20px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.footer-nav a { color: var(--dark-muted); text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.copy { font-size: 14px; }

/* responsive */
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 16px 20px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px -20px rgba(28, 31, 46, .3);
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 12px 8px; border-radius: 8px; }
  .main-nav .btn { margin-top: 8px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section-sm { padding-top: 56px; padding-bottom: 56px; }
  .hero { padding-top: 48px; padding-bottom: 56px; gap: 40px; }
  .hero h1 { font-size: 38px; letter-spacing: -1px; }
  .lead { font-size: 17px; }
  .h2, .narrow { font-size: 30px; }
  .hero-copy, .hero-card, .grid-2 > *, .plans-copy, .price-card { flex-basis: 100%; }
  .grid-2, .grid-features { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .hero-card { padding: 18px; }
  .agenda li { flex-wrap: wrap; gap: 6px 12px; }
  .price-card { padding: 24px; border-radius: 22px; }
  .price { font-size: 44px; }
  .waitlist { padding-top: 64px; padding-bottom: 64px; }
  .waitlist-form .btn { flex: 1 1 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
