:root {
  --ink:#153e31;
  --muted:#62766a;
  --paper:#fffdf7;
  --cream:#f1f5e9;
  --line:#dbe5d8;
  --accent:#20805b;
  --dark:#103d2f;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color-scheme:light;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:90px;
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  line-height:1.65;
}

img,svg {
  display:block;
  max-width:100%;
}

a {
  color:inherit;
  text-decoration:none;
}

a:hover {
  text-decoration:underline;
  text-underline-offset:4px;
}

p {
  margin:0 0 1.2rem;
}

.shell {
  width:min(1160px,calc(100% - 40px));
  margin:auto;
}

h1,h2,h3 {
  line-height:1.08;
  letter-spacing:-.04em;
  margin:0 0 22px;
}

h1 {
  font-size:clamp(3.5rem,6.7vw,6rem);
  font-weight:850;
}

h2 {
  font-size:clamp(2rem,3.4vw,3rem);
}

h3 {
  font-size:1.35rem;
}

a:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:5px;
  border-radius:4px;
}

.skip-link {
  position:fixed;
  top:-100px;
  left:16px;
  z-index:30;
  padding:12px;
  background:var(--dark);
  color:white;
}

.skip-link:focus {
  top:12px;
}

.topbar {
  position:sticky;
  top:0;
  z-index:20;
  border-bottom:1px solid var(--line);
  background:rgba(255,253,247,.96);
  backdrop-filter:blur(16px);
}

.nav {
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:850;
  letter-spacing:-.025em;
}

.brand img {
  border-radius:12px;
}

.nav-links {
  display:flex;
  gap:18px;
  font-size:.95rem;
  font-weight:700;
  color:var(--muted);
}

.hero {
  background:radial-gradient(ellipse at 8% 10%,#d9efdc 0,transparent 48%),linear-gradient(180deg,#f8faef,var(--paper));
  border-bottom:1px solid var(--line);
}

.hero-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:80px;
  align-items:center;
  padding:72px 0 80px;
}

.eyebrow {
  font-size:.8rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.13em;
  color:var(--accent);
  margin:0 0 20px;
}

.hero-icon {
  border-radius:28px;
  margin:0 0 24px;
  box-shadow:0 18px 40px #174b3020;
}

.lead {
  font-size:1.15rem;
  color:var(--muted);
  max-width:550px;
}

.store-panel {
  border-left:4px solid var(--accent);
  padding:8px 0 8px 36px;
}

.store-panel h2 {
  font-size:clamp(1.9rem,3vw,2.65rem);
}

.store-panel>p:not(.eyebrow) {
  color:var(--muted);
}

.store-button {
  display:flex;
  align-items:center;
  gap:16px;
  background:var(--dark);
  color:#fff;
  border-radius:12px;
  padding:20px 22px;
  margin:26px 0 20px;
  box-shadow:0 16px 30px #133e3026;
}

.store-button:hover {
  background:#17523f;
  text-decoration:none;
}

.store-button svg {
  width:28px;
  height:28px;
  fill:currentColor;
  flex-shrink:0;
}

.store-button small {
  display:block;
  font-size:.78rem;
}

.store-button strong {
  display:block;
  font-size:1.5rem;
  line-height:1.15;
}

.store-arrow {
  margin-left:auto;
  font-size:1.8rem;
}

.text-link {
  font-size:.95rem;
  font-weight:750;
  color:var(--accent);
}

.section {
  padding:76px 0;
}

.section-heading {
  max-width:700px;
  margin-bottom:34px;
}

.section-heading>p:not(.eyebrow) {
  color:var(--muted);
}

.features {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.feature {
  border:1px solid var(--line);
  border-radius:14px;
  padding:26px;
  background:#fff;
}

.feature p {
  font-size:.97rem;
  color:var(--muted);
  margin-bottom:0;
}

.number {
  display:inline-grid;
  place-items:center;
  background:var(--cream);
  color:var(--accent);
  width:38px;
  height:38px;
  border-radius:11px;
  font-weight:800;
  margin-bottom:24px;
}

.brand-section {
  background:var(--dark);
  color:#fff;
  overflow:hidden;
}

.brand-grid {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:50px;
  align-items:center;
  padding:72px 0;
}

.brand-grid h2 {
  font-size:clamp(2.6rem,4.5vw,4.1rem);
}

.brand-grid .eyebrow {
  color:#a9e7b9;
}

.brand-grid p:not(.eyebrow) {
  max-width:560px;
  color:#c4d8ca;
  font-size:1.07rem;
}

.light-link {
  color:#b9edc4;
  font-weight:750;
}

.brand-art {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:28px;
  background:radial-gradient(ellipse,#53835a50,transparent 68%);
  padding:45px 0;
}

.brand-art img {
  border-radius:52px;
  box-shadow:0 24px 60px #001e1760;
  transform:rotate(-8deg);
}

.art-label {
  font-size:.9rem;
  color:#c8dfcc;
  letter-spacing:.08em;
}

.guidance {
  background:var(--cream);
}

.guidance p:not(.eyebrow) {
  max-width:860px;
  color:var(--muted);
}

.footer {
  border-top:1px solid var(--line);
  padding:30px 0;
}

.footer-inner {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:28px;
  font-size:.85rem;
  color:var(--muted);
}

.footer-links {
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:10px 16px;
  max-width:600px;
}

.document {
  max-width:900px;
  padding:60px 0 80px;
  min-height:70vh;
}

.document h1 {
  font-size:clamp(2.7rem,5vw,4rem);
}

.document-hero {
  margin-bottom:44px;
}

.document section+section {
  margin-top:38px;
}

.document section h2,.legal-card h2 {
  font-size:1.5rem;
  line-height:1.2;
}

.document section a {
  color:var(--accent);
  text-decoration:underline;
  overflow-wrap:anywhere;
}

.document section p {
  color:var(--muted);
}

.legal-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.legal-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:26px;
}

.legal-card p {
  color:var(--muted);
}

@media(max-width:960px) {
  .hero-grid {
    gap:40px;
  }
  .features {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .nav-links {
    gap:12px;
  }
  .footer-inner {
    flex-direction:column;
  }
  .footer-links {
    justify-content:flex-start;
  }
}

@media(max-width:680px) {
  .hero-grid,.brand-grid {
    grid-template-columns:1fr;
    gap:32px;
    padding:42px 0 48px;
  }
  .store-panel {
    padding:24px 0 0;
    border-left:0;
    border-top:4px solid var(--accent);
  }
  .hero-icon {
    width:88px;
    height:88px;
    border-radius:22px;
  }
  .brand span {
    max-width:100px;
    line-height:1.12;
  }
  .nav {
    gap:12px;
    min-height:68px;
  }
  .nav-links {
    font-size:.82rem;
    gap:10px;
  }
  .nav-links a:first-child {
    display:none;
  }
  .shell {
    width:calc(100% - 32px);
  }
  .section {
    padding:48px 0;
  }
  .brand-art {
    padding:16px 0 10px;
  }
  .brand-art img {
    width:160px;
    height:160px;
    border-radius:38px;
  }
  .legal-grid {
    grid-template-columns:1fr;
  }
  .document {
    padding-top:42px;
  }
  .document h1 {
    overflow-wrap:anywhere;
  }
}

@media(max-width:420px) {
  .features {
    grid-template-columns:1fr;
  }
  .brand {
    gap:8px;
    font-size:.92rem;
  }
  .brand img {
    width:36px;
    height:36px;
  }
  .nav-links {
    gap:9px;
  }
  .nav-links a:nth-child(2) {
    display:none;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
}


/* Documentos específicos de Dietista Personal. */
.legal-review { border:1px solid #cfb478; border-left:4px solid #997227; background:#fff8e8; padding:20px; border-radius:10px; margin-bottom:32px; }
.legal-review p:last-child { margin-bottom:0; }
.legal-table-wrap { max-width:100%; overflow-x:auto; margin:20px 0; }
.document table { width:100%; border-collapse:collapse; font-size:.95rem; }
.document caption { text-align:left; font-weight:750; padding:0 0 12px; }
.document th,.document td { min-width:170px; vertical-align:top; text-align:left; border:1px solid var(--line); padding:14px; overflow-wrap:anywhere; }
.document th { background:var(--cream); }
.document dl { padding:20px; background:var(--cream); border-radius:10px; }
.document dt { font-weight:750; }
.document dd { margin:0 0 16px; overflow-wrap:anywhere; }
.document dd:last-child { margin-bottom:0; }
