:root {
  color-scheme: light;
  --navy: #17365d;
  --teal: #49aeb7;
  --teal-dark: #247e8a;
  --sky: #eef8fb;
  --lavender: #f4f0fb;
  --rose: #fff3f5;
  --sage: #f0f7f3;
  --line: #dceaf0;
  --muted: #52677e;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #f8fbfc;
  color: var(--navy);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a { color: inherit; }

.preview-ribbon {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 12px clamp(16px, 4vw, 40px);
}

.preview-brand {
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: .03em;
}

.preview-brand span {
  color: var(--muted);
  display: block;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.draft-badge {
  background: #eef7f7;
  border: 1px solid #d5eaea;
  border-radius: 999px;
  color: #286d76;
  font-size: .82rem;
  padding: 6px 12px;
  white-space: nowrap;
}

.page-wrap {
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px clamp(12px, 3vw, 30px) 44px;
}

.cover-frame {
  border: 1px solid #e2edf1;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(34, 76, 111, .1);
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.cover-frame > img {
  display: block;
  height: auto;
  width: 100%;
}

.hotspot {
  border-radius: 8px;
  position: absolute;
  z-index: 2;
}

.hotspot:hover { background: rgba(255, 255, 255, .12); }

.hotspot:focus-visible {
  background: rgba(255, 255, 255, .25);
  outline: 3px solid #246fa2;
  outline-offset: -3px;
}

.marker {
  height: 1px;
  left: 0;
  position: absolute;
  scroll-margin-top: 28px;
  width: 1px;
}

.explore {
  background: linear-gradient(120deg, #f1f8fb, #fbf8fd 54%, #f1f8f6);
  border: 1px solid var(--line);
  border-radius: 22px;
  margin-top: 28px;
  padding: clamp(22px, 4vw, 38px);
}

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

h1, h2, h3 { line-height: 1.18; }

.explore h1 {
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  margin: 6px 0 8px;
}

.lead {
  color: var(--muted);
  margin: 0;
  max-width: 720px;
}

.link-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.link-card {
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: block;
  min-height: 122px;
  padding: 20px;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.link-card:hover {
  border-color: #a9d7dc;
  box-shadow: 0 8px 22px rgba(34, 76, 111, .08);
  transform: translateY(-2px);
}

.link-card:focus-visible, .back-link:focus-visible, .text-link:focus-visible {
  outline: 3px solid #246fa2;
  outline-offset: 3px;
}

.link-card h2 {
  font-size: 1.14rem;
  margin: 0 0 5px;
}

.link-card p {
  color: var(--muted);
  margin: 0;
}

.link-card .arrow {
  color: var(--teal-dark);
  display: inline-block;
  font-weight: 700;
  margin-top: 12px;
}

.pending-card {
  background: var(--lavender);
  border-style: dashed;
}

.page-head {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 44px);
}

.back-link, .text-link {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: none;
}

.detail-wrap {
  margin: 0 auto;
  max-width: 1240px;
  padding: 30px clamp(12px, 3vw, 30px) 52px;
}

.detail-intro {
  margin: 0 auto 22px;
  max-width: 920px;
  text-align: center;
}

.detail-intro h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 8px 0;
}

.detail-intro p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.sheet {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(34, 76, 111, .1);
  margin: 0;
  overflow: hidden;
}

.sheet img {
  display: block;
  height: auto;
  width: 100%;
}

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

.detail-agent-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  text-align: center;
}

.detail-mia { background: linear-gradient(145deg, #fbf0f8, #f9fbff); }
.detail-kai { background: linear-gradient(145deg, #edf8f8, #f8fbff); }
.detail-equilibria { background: linear-gradient(145deg, #f3effa, #fbf8fc); }

.detail-agent-card img {
  aspect-ratio: 1;
  background: #fff;
  border: 5px solid rgba(255,255,255,.84);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(39, 76, 116, .12);
  display: block;
  margin: 0 auto 14px;
  object-fit: cover;
  width: min(100%, 230px);
}

.detail-agent-card h2 { margin: 0 0 4px; }
.detail-agent-card strong { color: var(--teal-dark); }
.detail-agent-card p { color: var(--muted); margin: 10px 0 0; }

.pastel-note {
  background: #f2f8f8;
  border: 1px solid #dceced;
  border-radius: 16px;
  color: var(--muted);
  margin: 20px 0 0;
  padding: 16px 18px;
}

.next-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: space-between;
  margin-top: 24px;
}

.pending-note {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 24px auto 0;
  max-width: 760px;
  padding: clamp(22px, 4vw, 38px);
}

.pending-note p { color: var(--muted); }

@media (max-width: 680px) {
  .preview-ribbon { align-items: flex-start; flex-direction: column; gap: 9px; }
  .link-grid { grid-template-columns: 1fr; }
  .page-wrap { padding-top: 12px; }
  .cover-frame { border-radius: 10px; }
  .detail-wrap { padding-top: 22px; }
  .page-head { align-items: flex-start; flex-direction: column; }
}

/* Functional homepage styles */
.site-header {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-shell {
  align-items: center;
  display: flex;
  gap: 20px;
  margin: 0 auto;
  max-width: 1280px;
  padding: 10px clamp(14px, 3vw, 32px);
  position: relative;
}

.brand {
  align-items: center;
  color: var(--navy);
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  background: #fff;
  border-radius: 10px;
  display: block;
  flex: 0 0 92px;
  height: 76px;
  overflow: hidden;
  position: relative;
  width: 92px;
}

.brand-logo img {
  height: auto;
  left: 50%;
  max-width: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(140deg, #bdeaf0, #d6f2e8 58%, #e7ddf7);
  border: 1px solid #cfe8ec;
  border-radius: 50%;
  color: #278c98;
  display: inline-flex;
  font-size: 1.65rem;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.brand-copy strong {
  display: block;
  font-size: 1.27rem;
  letter-spacing: .045em;
  line-height: 1.1;
}

.brand-copy strong span { color: #48abb6; }

.brand-copy small {
  color: var(--muted);
  display: block;
  font-size: .58rem;
  letter-spacing: .17em;
  margin-top: 4px;
  text-transform: uppercase;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: clamp(10px, 1.6vw, 23px);
  margin-left: auto;
}

.main-nav a, .site-footer nav a {
  color: var(--navy);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:hover, .site-footer nav a:hover { color: var(--teal-dark); }

.main-nav a[aria-current="page"] { color: var(--teal-dark); }

.menu-toggle {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy);
  cursor: pointer;
  display: none;
  font-size: 1.2rem;
  height: 42px;
  width: 44px;
}

.button {
  align-items: center;
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 999px;
  box-shadow: 0 6px 15px rgba(73, 174, 183, .17);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: .97rem;
  font-weight: 700;
  gap: 9px;
  justify-content: center;
  padding: 12px 20px;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.button:hover { background: #358f99; transform: translateY(-1px); }
.button-small { font-size: .83rem; padding: 10px 15px; white-space: nowrap; }
.button-outline { background: rgba(255,255,255,.78); box-shadow: none; color: var(--teal-dark); }
.button-outline:hover { background: #fff; color: var(--navy); }

.button:focus-visible, .main-nav a:focus-visible, .site-footer a:focus-visible, .menu-toggle:focus-visible {
  outline: 3px solid #246fa2;
  outline-offset: 3px;
}

.hero {
  background: linear-gradient(110deg, #eff8fb 0%, #f8fbfc 53%, #edf8f7 100%);
  overflow: hidden;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: clamp(26px, 4vw, 56px);
  grid-template-columns: 1.02fr .98fr;
  margin: 0 auto;
  max-width: 1280px;
  min-height: 520px;
  padding: 44px clamp(16px, 4vw, 50px) 36px;
}

.eyebrow {
  color: var(--teal-dark);
  font-size: .77rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero-copy .eyebrow { margin: 0 0 5px; }
.hero-copy h1 { font-size: clamp(2.8rem, 6vw, 5.25rem); letter-spacing: -.045em; margin: 0; }
.hero-copy h2 { font-size: clamp(1.48rem, 2.7vw, 2.15rem); line-height: 1.18; margin: 0 0 12px; max-width: 640px; }
.hero-description { color: #344f6c; font-size: 1.02rem; max-width: 600px; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.feature-pills li { align-items: center; color: #26425f; display: flex; font-size: .78rem; gap: 9px; }
.pill-icon { align-items: center; background: #e1f4f5; border: 1px solid #cae9ec; border-radius: 50%; color: #318b97; display: inline-flex; font-size: 1.15rem; height: 42px; justify-content: center; width: 42px; }

.hero-visual { min-height: 0; padding-bottom: 0; position: relative; }
.hero-photo {
  background-color: #e7f3f4;
  background-image: url("assets/portada-supervisora-referencia.png");
  background-position: 99% 5%;
  background-repeat: no-repeat;
  background-size: 208% auto;
  aspect-ratio: 1.25;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 0;
  box-shadow: 0 16px 40px rgba(23,54,93,.13);
  height: auto;
}

.photo-caption {
  background: rgba(255,255,255,.96);
  border: 1px solid #e0edf0;
  border-radius: 13px;
  bottom: 12px;
  box-shadow: 0 8px 24px rgba(23,54,93,.12);
  display: grid;
  gap: 2px;
  max-width: 280px;
  padding: 11px 15px;
  position: absolute;
  right: 12px;
}

.photo-caption strong { font-size: .88rem; }
.photo-caption span { color: var(--muted); font-size: .76rem; }
.photo-note { color: #3988aa; font-family: Georgia, serif; font-size: 1.1rem; font-style: italic; max-width: 175px; position: absolute; right: 2px; top: 8px; transform: rotate(-5deg); }
.photo-caption, .photo-note { display: none; }

.section { margin: 0 auto; max-width: 1280px; padding: clamp(42px, 6vw, 76px) clamp(16px, 4vw, 50px); }
.section-heading { margin: 0 auto 28px; max-width: 780px; text-align: center; }
.section-heading .eyebrow { margin: 0 0 6px; }
.section-heading h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 0 0 5px; }
.section-heading > p:last-child { color: var(--muted); margin: 0; }
.how-section { max-width: 1340px; }

.steps-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step-card { border: 1px solid rgba(35,76,113,.07); border-radius: 20px; min-height: 230px; padding: 22px 18px; position: relative; text-align: center; }
.step-blue { background: #eef7ff; }
.step-teal { background: #ebf8f6; }
.step-lilac { background: #f4f0fb; }
.step-rose { background: #fff1f4; }
.step-number { align-items: center; background: #77bde0; border-radius: 50%; color: #fff; display: inline-flex; font-size: .86rem; font-weight: 800; height: 34px; justify-content: center; left: 14px; position: absolute; top: 14px; width: 34px; }
.step-teal .step-number { background: #69b9b4; }
.step-lilac .step-number { background: #9889d5; }
.step-rose .step-number { background: #dc8ba8; }
.step-icon { align-items: center; background: rgba(255,255,255,.74); border-radius: 50%; color: var(--teal-dark); display: flex; font-size: 1.75rem; height: 68px; justify-content: center; margin: 8px auto 12px; width: 68px; }
.step-card h3 { font-size: 1.05rem; margin: 0 0 6px; }
.step-card p { color: var(--muted); font-size: .91rem; margin: 0; }

.assistants-section { max-width: 1340px; }
.agents-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.agent-card { align-items: center; border: 1px solid rgba(35,76,113,.07); border-radius: 20px; display: flex; gap: 16px; min-height: 212px; padding: 18px; }
.agent-mia { background: linear-gradient(130deg,#eef7ff,#f5f9fd); }
.agent-kai { background: linear-gradient(130deg,#ebf8f6,#f7fbfa); }
.agent-equilibria { background: linear-gradient(130deg,#f4f0fb,#faf7fc); }
.agent-avatar { aspect-ratio: 1; background: #fff; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; box-shadow: 0 7px 20px rgba(23,54,93,.08); flex: 0 0 132px; height: 132px; object-fit: cover; object-position: center; }
.agent-card h3 { font-size: 1.55rem; margin: 0 0 2px; }
.agent-mia h3 { color: #2a80b3; }
.agent-kai h3 { color: #318f91; }
.agent-equilibria h3 { color: #7657b7; }
.agent-card strong { display: block; font-size: .91rem; margin-bottom: 8px; }
.agent-card p { color: var(--muted); font-size: .87rem; margin: 0; }
.centered-link { display: block; margin: 22px auto 0; text-align: center; width: fit-content; }
.assistant-note { color: var(--muted); font-size: .78rem; margin: 16px 0 0; text-align: center; }

.about-section { align-items: stretch; display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.about-card, .why-card { border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3.5vw, 36px); }
.about-card { align-items: center; background: linear-gradient(115deg,#eef7fb,#f7f8fb); display: flex; gap: 22px; }
.about-portrait { background: #eef5f6; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; box-shadow: 0 8px 20px rgba(23,54,93,.1); display: block; flex: 0 0 210px; height: auto; object-fit: contain; width: 210px; }
.about-card .eyebrow { margin: 0 0 5px; }
.about-card h2, .why-card h2 { font-size: clamp(1.35rem,2.4vw,1.8rem); margin: 0 0 9px; }
.about-card p:last-child { color: var(--muted); margin: 0; }
.why-card { background: linear-gradient(130deg,#f0f8f7,#f7f4fb); }
.why-card .section-heading { margin: 0 0 16px; }
.why-grid { display: grid; gap: 10px; grid-template-columns: repeat(4,1fr); }
.why-grid > div { background: rgba(255,255,255,.82); border-radius: 16px; padding: 14px 10px; text-align: center; }
.why-grid span { color: var(--teal-dark); font-size: 1.7rem; }
.why-grid p { color: var(--muted); font-size: .8rem; margin: 8px 0 0; }

.details-section { align-items: stretch; display: grid; gap: 18px; grid-template-columns: .96fr 1.04fr; }
.security-teaser, .plan-card { border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px,3.5vw,36px); }
.security-teaser { align-items: flex-start; background: linear-gradient(120deg,#edf7fb,#f8fbfc); display: flex; gap: 18px; }
.security-teaser .eyebrow, .plan-card .eyebrow { margin: 0 0 5px; }
.large-icon { align-items: center; background: #dff1fa; border-radius: 50%; color: #4189ba; display: flex; flex: 0 0 70px; font-size: 2rem; font-weight: 800; height: 70px; justify-content: center; }
.security-teaser h2, .plan-card h2 { font-size: clamp(1.4rem,2.7vw,1.85rem); margin: 0 0 8px; }
.security-teaser p:not(.eyebrow), .plan-intro { color: var(--muted); }
.security-teaser .button { margin-top: 6px; }
.security-actions { align-items: flex-start; display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.security-actions .button { margin-top: 0; }
.plan-card { background: linear-gradient(130deg,#f0f8fb,#f5f4fb); }
.plan-content { align-items: center; display: grid; gap: 18px; grid-template-columns: minmax(150px,.8fr) 1.2fr; margin: 20px 0; }
.price-box { background: #fff; border: 1px solid #e6eff2; border-radius: 18px; padding: 20px; text-align: center; }
.price-box strong { display: block; font-size: .94rem; }
.price { font-size: clamp(1.9rem,4vw,2.65rem); font-weight: 800; letter-spacing: -.04em; margin: 5px 0 0; }
.price-box span { color: var(--muted); font-size: .85rem; }
.plan-content ul { color: #415a73; font-size: .88rem; list-style: none; margin: 0; padding: 0; }
.plan-content li { margin: 8px 0; padding-left: 24px; position: relative; }
.plan-content li::before { color: #4aafa5; content: "✓"; font-weight: 800; left: 0; position: absolute; }

.closing-cta { background: linear-gradient(115deg,#eaf5f5,#f5f3fb 55%,#f9f4f1); padding: clamp(42px,7vw,76px) 18px; text-align: center; }
.closing-cta .eyebrow { margin: 0 0 7px; }
.closing-cta h2 { font-size: clamp(1.8rem,4vw,2.8rem); margin: 0 0 5px; }
.closing-cta p:not(.eyebrow) { color: var(--muted); margin: 0 0 20px; }
.site-footer { align-items: center; background: #fff; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; padding: 22px clamp(16px,4vw,48px); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer nav a, .site-footer > small { color: var(--muted); font-size: .82rem; }

.notice-dialog { background: transparent; border: 0; max-width: min(92vw, 460px); padding: 0; }
.notice-dialog::backdrop { background: rgba(19,45,75,.35); backdrop-filter: blur(3px); }
.dialog-inner { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 20px 60px rgba(23,54,93,.2); padding: 30px; position: relative; }
.dialog-inner h2 { margin: 5px 0 10px; }
.dialog-inner p:not(.eyebrow) { color: var(--muted); margin: 0 0 18px; }
.dialog-close { background: transparent; border: 0; color: var(--muted); cursor: pointer; font-size: 1.6rem; line-height: 1; position: absolute; right: 14px; top: 12px; }
.video-dialog { background: transparent; border: 0; max-height: 94vh; max-width: min(94vw, 1024px); overflow: auto; padding: 0; width: 100%; }
.video-dialog::backdrop { background: rgba(19,45,75,.48); backdrop-filter: blur(4px); }
.video-dialog-inner { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 20px 60px rgba(23,54,93,.22); max-height: 94vh; overflow-y: auto; padding: 26px; position: relative; }
.video-dialog-inner h2 { margin: 5px 50px 16px 0; }
.intro-video { aspect-ratio: 16 / 9; background: linear-gradient(135deg,#edf7fb,#f8f5fa); border: 1px solid var(--line); border-radius: 15px; display: block; height: auto; margin-inline: auto; max-height: 56vh; max-width: 100%; object-fit: contain; width: auto; }
.video-dialog-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; margin-top: 14px; }
.video-dialog-actions span { color: var(--muted); font-size: .88rem; }
.protocol-modal-copy { color: var(--muted); margin: -5px 0 16px; }

.faq-wrap { max-width: 900px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 18px 20px; }
.faq-list summary { cursor: pointer; font-size: 1.02rem; font-weight: 700; }
.faq-list details p { color: var(--muted); margin: 12px 0 0; }
.faq-note { color: var(--muted); font-size: .85rem; margin-top: 22px; text-align: center; }

@media (max-width: 900px) {
  .nav-shell { gap: 12px; }
  .main-nav { gap: 11px; }
  .main-nav a { font-size: .82rem; }
  .hero-inner { gap: 24px; min-height: 450px; }
  .hero-photo { height: auto; }
  .steps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 600px) {
  .video-dialog { max-width: 96vw; }
  .video-dialog-inner { border-radius: 18px; padding: 21px 14px 16px; }
  .video-dialog-inner h2 { font-size: 1.3rem; }
  .video-dialog-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 700px) {
  .nav-shell { flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .main-nav { align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgba(23,54,93,.1); display: none; flex-direction: column; gap: 0; left: 14px; margin: 0; padding: 8px; position: absolute; right: 14px; top: calc(100% - 2px); }
  .main-nav.is-open { display: flex; }
  .main-nav a { border-radius: 9px; font-size: .95rem; padding: 10px 12px; }
  .main-nav a:hover { background: var(--sky); }
  .button-small { font-size: .75rem; padding: 9px 12px; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 32px; }
  .hero-copy h1 { font-size: clamp(2.8rem,14vw,4.1rem); }
  .hero-visual { min-height: 0; padding-bottom: 0; }
  .hero-photo { background-size: 208% auto; height: auto; }
  .photo-note { font-size: .95rem; max-width: 135px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 0; padding: 22px 24px; }
  .about-section, .details-section { grid-template-columns: 1fr; }
  .about-card { align-items: flex-start; flex-direction: column; }
  .about-portrait { flex: 0 0 auto; max-width: 420px; width: 100%; }
  .security-teaser { flex-direction: column; }
  .plan-content { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 1100px) {
  .agents-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .agent-card { align-items: center; flex-direction: column; gap: 12px; min-height: 0; padding: 16px 12px; text-align: center; }
  .agent-avatar { flex: 0 0 auto; height: auto; margin: 0 auto; width: min(100%, 128px); }
  .agent-card h3 { font-size: 1.35rem; }
  .agent-card p { font-size: .84rem; }
  .detail-agent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-agent-card { padding: 16px 12px; }
  .detail-agent-card img { width: min(100%, 170px); }
}

@media (max-width: 700px) {
  .agents-grid { gap: 9px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .agent-card { gap: 8px; padding: 12px 8px; }
  .agent-avatar { width: min(100%, 94px); }
  .agent-card h3 { font-size: 1.08rem; }
  .agent-card strong { font-size: .76rem; }
  .agent-card p { font-size: .72rem; line-height: 1.4; }
}

@media (max-width: 520px) {
  .agents-grid, .detail-agent-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 0 12px;
    scroll-padding-inline: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .agent-card, .detail-agent-card {
    flex: 0 0 min(82vw, 300px);
    scroll-snap-align: start;
  }
  .agent-avatar { width: min(100%, 124px); }
  .agent-card h3 { font-size: 1.3rem; }
  .agent-card strong { font-size: .86rem; }
  .agent-card p { font-size: .82rem; }
  .detail-agent-card img { width: min(100%, 160px); }
}
