/* Tansu — editorial Life OS landing */
:root {
  --bg: #f7f4ef;
  --bg-alt: #efeae2;
  --surface: #fffdf9;
  --ink: #1a1916;
  --ink-soft: #3a3530;
  --muted: #6b6358;
  --line: #e4ddd2;
  --accent: #1f6f5b;
  --accent-ink: #0f3f34;
  --accent-soft: #e4f1ec;
  --danger: #9b2c2c;
  --ok: #1f6f5b;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(26, 25, 22, 0.08);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(31, 111, 91, 0.07), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(180, 120, 60, 0.06), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-ink); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(247, 244, 239, 0.86);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}
.mark { color: var(--accent); }
.nav {
  display: none;
  gap: 1.35rem;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:focus-visible, .choice:has(input:focus-visible),
input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--accent);
  color: #f7fffb;
  box-shadow: 0 8px 24px rgba(31, 111, 91, 0.22);
}
.btn-primary:hover {
  background: var(--accent-ink);
  color: #fff;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--muted);
  color: var(--ink);
}
.btn-sm { padding: 0.55rem 1rem; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.65; cursor: wait; }

/* Hero */
.hero {
  padding: 2.5rem 0 3rem;
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}
h1 {
  margin: 0;
  font-size: clamp(2.05rem, 5.4vw, 3.55rem);
  font-optical-sizing: auto;
  line-height: 1.08;
}
h1 em, h2 em, .lede em, .card p em, .steps em {
  font-style: italic;
  color: var(--accent-ink);
  font-weight: 500;
}
.lede {
  margin: 1.15rem 0 0;
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 38rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.micro {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-panel { justify-self: stretch; }
.panel-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbf8f2, #f3eee6);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #d4cbbd;
}
.panel-label {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.chat {
  padding: 1.1rem;
  display: grid;
  gap: 0.7rem;
}
.bubble {
  max-width: 92%;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.45;
}
.bubble.you {
  justify-self: end;
  background: var(--accent);
  color: #f4fffa;
  border-bottom-right-radius: 4px;
}
.bubble.ai {
  justify-self: start;
  background: var(--bg-alt);
  color: var(--ink);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--line);
}
.bubble .muted { color: var(--muted); font-size: 0.88rem; }
.panel-caption {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.honest {
  margin: 0.5rem auto 1rem;
  padding: 1.25rem 1.4rem;
  border-left: 3px solid var(--accent);
  background: rgba(31, 111, 91, 0.05);
  border-radius: 0 12px 12px 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.honest p { margin: 0; }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: rgba(239, 234, 226, 0.55); }
.section-head { margin-bottom: 2rem; max-width: 40rem; }
.section-head h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
}
.soft { color: var(--muted); font-weight: 400; }

.cards {
  display: grid;
  gap: 1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: #cfc5b6;
  transform: translateY(-2px);
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}
.card blockquote {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--ink);
}
.card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.step-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent);
  line-height: 1;
  padding-top: 0.15rem;
}
.steps h3 { margin: 0 0 0.35rem; font-size: 1.2rem; }
.steps p { margin: 0; color: var(--ink-soft); }

.scope-grid {
  display: grid;
  gap: 2.5rem;
}
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.checklist li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1.15rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}
.checklist.out li::before {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--muted);
}
.checklist.out li { color: var(--muted); }

/* Form */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}
legend { padding: 0; }
.section-form { padding-bottom: 5rem; }
.form-wrap { max-width: 640px; }
.waitlist {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field { margin-bottom: 1.15rem; }
.field label, .field legend {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
  color: var(--ink);
}
.req { color: var(--accent); }
.opt {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.85rem;
}
input[type="email"],
input[type="text"],
select {
  width: 100%;
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%216b6358' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.4rem;
}
input:hover, select:hover { border-color: #cfc5b6; }
::placeholder { color: #9a9186; opacity: 1; }
.field-error {
  margin: 0.4rem 0 0;
  color: var(--danger);
  font-size: 0.9rem;
}
.radios {
  display: grid;
  gap: 0.45rem;
}
.radios.inline {
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.choice {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  color: var(--ink-soft);
}
.choice:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.choice input { accent-color: var(--accent); width: 1rem; height: 1rem; }
.privacy-note {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}
.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  font-weight: 500;
}
.form-status.ok {
  background: var(--accent-soft);
  color: var(--accent-ink);
  border: 1px solid #b7d8cc;
}
.form-status.err {
  background: #f8e8e8;
  color: var(--danger);
  border: 1px solid #e8c4c4;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.55rem;
  max-width: 720px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.15rem 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--ink-soft);
}

.footer-cta {
  padding: 4rem 0;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(31,111,91,0.08), rgba(31,111,91,0.02));
}
.footer-cta h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
}
.footer-cta p {
  margin: 0 0 1.4rem;
  color: var(--ink-soft);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: #f3eee6;
}
.footer-inner {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}
.footer-links {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.footer-links a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--accent); }
.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.legal {
  padding: 2.5rem 0 4.5rem;
}
.legal-card {
  max-width: 40rem;
}
.legal-card h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 1rem;
}
.legal-card p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.legal-card p + p { margin-top: 0.9rem; }

@media (max-width: 719px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn-ghost { align-self: flex-start; }
}

@media (min-width: 720px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .brand { justify-self: start; grid-column: 1; }
  .nav { justify-self: center; grid-column: 2; display: flex; }
  .header-cta { justify-self: end; grid-column: 3; }
  .cards { grid-template-columns: 1fr 1fr; }
  .waitlist { padding: 1.85rem; }
  .footer-inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .footer-links { justify-self: center; }
  .footer-note { justify-self: end; }
}

@media (min-width: 960px) {
  .hero { padding: 3.5rem 0 4rem; }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
  .scope-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .cases { grid-template-columns: 1fr 1fr; }
}

/* Anchor offset under sticky header */
section[id], #lista, #casos, #como, #escopo, #faq, #topo {
  scroll-margin-top: calc(var(--header-h) + 12px);
}
