@font-face {
  font-family: "DM Sans";
  src: url("./brand/dm-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("./brand/dm-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url("./brand/montserrat-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --violet: #6342f0;
  --deep: #3c14cf;
  --ink: #170749;
  --slate: #5d596c;
  --muted: #625c73;
  --line: #ded8eb;
  --body: "DM Sans", system-ui, sans-serif;
  --display: "Montserrat", system-ui, sans-serif;
  --gutter: max(clamp(1rem, 4vw, 2.5rem), env(safe-area-inset-left), env(safe-area-inset-right));
  --soft: inset 0 1px 0 #fff, inset 0 -1px 0 #ffffff80, 0 6px 14px #3c14cf1f;
  --soft-hover: inset 0 1px 0 #fff, inset 0 -1px 0 #ffffff80, 0 8px 22px #3c14cf38;
  --lavender: linear-gradient(155deg, #f5f3fd 0%, #e8e3f9 48%, #d4cbf4 100%);
  --lavender-hover: linear-gradient(155deg, #f9f8fe 0%, #edeafb 48%, #dcd5f6 100%);
  --card-shadow: inset 0 1px 0 white, 0 12px 32px #3c14cf12;
  --lift-shadow: inset 0 1px 0 white, 0 18px 45px #3c14cf30, 0 4px 12px #3c14cf12;
  --site-background: url("./brand/amarquez-sculpted-folds-desktop.webp");
  background: #f3edff;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  background: transparent;
  isolation: isolate;
  font: 400 1.125rem/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100lvh;
  z-index: -1;
  pointer-events: none;
  background: #f3edff var(--site-background) center center / cover no-repeat;
}
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
p { overflow-wrap: break-word; }
img, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
::selection { background: #ded6fe; color: var(--ink); }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1200px); margin-inline: auto; }
.skip-link { position: absolute; top: .5rem; left: 1rem; z-index: 30; transform: translateY(-170%); padding: .6rem 1rem; border-radius: 12px; background: white; color: var(--deep); }
.skip-link:focus { transform: translateY(0); }
section[id] { scroll-margin-top: 1.5rem; }

.site-header { position: relative; z-index: 10; padding-top: 12px; }
.nav-inner { position: relative; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0 1.25rem; border-radius: 22px; background: #ffffffe0; box-shadow: var(--card-shadow); }
.brand { display: inline-flex; align-items: center; flex: none; padding-block: 12px; }
.brand img { width: clamp(120px, 11vw, 160px); height: auto; }
.nav-actions { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.5rem); }
.nav-phone { display: inline-flex; align-items: center; padding: .6rem 0; font-size: 1rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav-phone svg { display: none; }
.explore-menu { position: relative; }
.explore-menu[open] { z-index: 1; }
.nav-toggle, .header-cta, .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  padding: 0 1.1rem 0 1.25rem;
  color: var(--ink);
  background: var(--lavender);
  box-shadow: var(--soft);
  font: 500 1rem/1.2 var(--body);
  text-decoration: none;
  transition: box-shadow 200ms ease, background 200ms ease, transform 200ms ease;
}
.nav-toggle, .header-cta { white-space: nowrap; }
.nav-toggle { list-style: none; }
.nav-toggle::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.nav-toggle svg { display: block; width: 18px; height: 18px; transition: transform .2s; }
.explore-menu[open] .nav-toggle svg { transform: rotate(180deg); }
.nav-links { position: absolute; right: 0; top: calc(100% + .9rem); width: min(320px, calc(100vw - 2 * var(--gutter))); padding: 1rem; display: grid; border-radius: 22px; background: white; box-shadow: var(--lift-shadow); }
.nav-links a { display: block; padding: .6rem; border-radius: 10px; font-size: 1rem; font-weight: 500; text-decoration: none; }
.nav-links a:hover { background: #f0edfb; }
.nav-links .menu-phone { display: none; }
.button { min-height: 48px; width: fit-content; padding: .65rem 1.35rem; border-radius: 999px; border: 1px solid var(--deep); color: var(--deep); }
.button.primary { border-radius: 12px; color: white; background: var(--deep); box-shadow: inset 0 1px 0 #ffffff33, 0 8px 22px #3c14cf40; }
.arrow { display: inline-block; width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.round-arrow { display: inline-grid; place-items: center; width: 1.65em; height: 1.65em; border: 1px solid currentColor; border-radius: 50%; }
.text-link { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; color: var(--deep); font-size: 1rem; font-weight: 500; text-decoration: underline; text-decoration-color: #b6a7d8; }
.text-link:hover, .footer-links a:hover, .nav-phone:hover { color: var(--deep); text-decoration: underline; }
@media (hover: hover) {
  .nav-toggle:hover, .header-cta:hover, .button:hover { background: var(--lavender-hover); box-shadow: var(--soft-hover); }
  .button.primary:hover { background: #5128dd; }
}
.hero-grid {
  width: 100%;
  max-width: 1248px;
  padding: clamp(24px, 5.3svh, 60px) 24px clamp(16px, 2.4svh, 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 5.3svh, 54px);
  text-align: center;
}
.hero-copy { width: 100%; }
.hero-chip { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 7px 13px; border-radius: 999px; background: #ffffffcc; box-shadow: var(--soft); color: var(--slate); font: 500 14px/1.5 var(--body); text-decoration: none; }
.hero-chip:hover { color: var(--deep); }
.hero-chip :is(svg,img) { flex: none; width: 19px; height: auto; }
.hero-copy h1 { margin: 12px 0 11px; font: 700 clamp(30px, 4.3vw, 58px)/1.08 var(--display); letter-spacing: -.045em; }
.hero-lead { color: var(--violet); font: italic 700 clamp(20px, 2.2vw, 29px)/1.14 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.hero-deck { max-width: 70ch; margin: 10px auto 0; color: var(--muted); font-size: clamp(14px, 1.35vw, 18px); line-height: 1.4; text-wrap: balance; }
.hero-grid > #seo-check { width: min(920px, 100%); margin: 0; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.hero-actions .text-link { min-height: 46px; padding: .625rem 1.375rem; gap: .6rem; border: 1px solid var(--deep); border-radius: 999px; background: var(--lavender); box-shadow: var(--soft); font-weight: 600; text-decoration: none; }
.hero-actions .text-link:hover { background: var(--lavender-hover); box-shadow: var(--soft-hover); }

.guides-section, .case-section, .reading-section, .faq-section, .site-check-section, .contact-section { padding-block: clamp(2.5rem, 6svh, 4.5rem) clamp(3rem, 7svh, 5rem); }
.guides-section, .case-section, .reading-section { max-width: 1120px; }
.section-head { display: grid; justify-items: center; text-align: center; gap: .75rem; margin-bottom: clamp(1.4rem, 3svh, 2.4rem); }
.section-head h2, .case-copy h2, .faq-title, .contact-section-intro h2 { font: 700 clamp(2rem, 4.6vw, 3.5rem)/1.04 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.section-head p, .case-copy p { max-width: 52ch; color: var(--slate); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 1.6vw, 1.5rem); }
.guide-card, .reading-card, .case-visual, .article-content, .article-toc, .contact-form { border-radius: 22px; background: #ffffffd9; box-shadow: var(--card-shadow); }
.guide-card, .reading-card { min-width: 0; color: var(--ink); text-decoration: none; transition: box-shadow .22s, transform .22s; }
.guide-card { position: relative; display: grid; align-content: start; gap: 1.05rem; padding: 1.5rem; }
.guide-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--deep); background: var(--lavender); box-shadow: inset 0 1px 0 white; }
.guide-icon svg { display: block; width: 23px; height: 23px; }
.guide-copy h3, .guide-copy h2, .reading-card h3 { font: 700 clamp(1.25rem, 1.6vw, 1.5rem)/1.15 var(--display); letter-spacing: -.02em; }
.guide-copy p, .reading-card p { margin-top: .65rem; color: var(--slate); font-size: 1.0625rem; line-height: 1.45; }
.guide-link { position: absolute; top: 1.5rem; right: 1.5rem; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; border: 1px solid var(--deep); color: var(--deep); }
.guide-link .arrow { width: 15px; height: 15px; }
@media (hover: hover) {
  .guide-card:hover, .reading-card:hover { transform: translateY(-3px); box-shadow: var(--lift-shadow); }
}
.case-grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: clamp(1.75rem, 4.5vw, 4rem); }
.case-visual { padding: 1rem; min-width: 0; }
.case-visual a, .case-visual img { display: block; width: 100%; border-radius: 15px; }
.case-copy h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.case-copy p, .case-copy .button { margin-top: 1rem; }
.case-copy .text-link { margin-top: .25rem; }
.reading-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 1.6vw, 1.5rem); }
.reading-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-content: start; align-items: center; gap: .85rem; padding: 1rem 1rem 1.5rem; }
.reading-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; grid-column: 1/-1; border-radius: 16px; }
.reading-card > div { margin: .2rem .4rem; }
.reading-card > .arrow { align-self: start; margin: .25rem .45rem 0 0; color: var(--deep); }

.article-shell { max-width: 1120px; padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.article-intro { display: grid; justify-items: center; gap: .95rem; margin: 0 auto clamp(2rem, 4vw, 3.5rem); text-align: center; }
.article-intro h1 { max-width: 24ch; font-size: clamp(2.25rem, 4.3vw, 3.625rem); line-height: 1.08; letter-spacing: -.045em; }
.article-intro p { max-width: 60ch; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.5; }
.back-link { display: inline-flex; align-items: center; min-height: 40px; padding: .45rem 1rem; border-radius: 999px; color: var(--deep); background: #ffffffcc; font-size: .94rem; font-weight: 500; text-decoration: none; box-shadow: var(--soft); }
.back-link:hover { text-decoration: underline; }
.article-layout { display: grid; grid-template-columns: minmax(190px, .7fr) minmax(0, 2fr); gap: clamp(1rem, 2.8vw, 2.5rem); align-items: start; }
.article-toc { position: sticky; top: 1rem; padding: 1.4rem; }
.article-toc strong { display: block; margin-bottom: .6rem; color: var(--ink); font: 700 1rem/1.3 var(--display); }
.article-toc a { display: block; padding: .5rem 0; color: var(--slate); text-decoration: none; font-size: .96rem; line-height: 1.4; }
.article-toc a:hover { color: var(--deep); text-decoration: underline; }
.article-content { min-width: 0; padding: clamp(1.3rem, 3.8vw, 3.25rem); }
.article-section + .article-section, .article-resources { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.article-section h2, .article-resources h2 { font-size: clamp(1.55rem, 2.4vw, 2rem); }
.article-section :is(p, ol, ul), .article-resources :is(ol, ul) { margin-top: .95rem; }
.article-content :is(p,li) { color: var(--slate); }
.article-content :is(ol,ul) { padding-left: 1.4rem; }
.article-content li { margin-block: .5rem; padding-left: .2rem; }
.article-content li::marker { color: var(--deep); font-weight: 700; }
.article-resources .text-link { min-height: 36px; }
.self-check { min-width: 0; margin: 2rem 0 0; padding: 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: #f8f6fd; }
.self-check legend { padding: 0 .35rem; color: var(--ink); font: 700 1rem/1.4 var(--display); }
.self-check label { display: flex; align-items: baseline; gap: .55rem; min-height: 44px; margin-top: .5rem; border: 1px solid var(--line); border-radius: 11px; padding: .65rem .8rem; background: white; font-size: 1rem; cursor: pointer; }
.self-check label:has(input:checked) { border-color: var(--violet); color: var(--deep); background: #f2edff; }
.self-check input { accent-color: var(--deep); }
.self-check-result { margin-top: 1rem; }
.self-check-result p { margin-top: .35rem; }
.contact-section-intro { display: grid; justify-items: center; gap: .8rem; margin-bottom: clamp(1.25rem, 2.8svh, 2rem); text-align: center; }
.contact-section-intro h2 { max-width: 24ch; }
.contact-section-intro p { max-width: 46ch; color: var(--slate); font-size: clamp(1.0625rem, 1.4vw, 1.3125rem); text-wrap: pretty; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; width: min(100%, 44rem); margin-inline: auto; padding: clamp(1.25rem, 2.4vw, 2rem); font-size: 1rem; }
.contact-form > * { grid-column: 1 / -1; }
.contact-form > label:has(input[name="name"], input[name="email"]) { grid-column: auto; }
.contact-form label { display: grid; gap: .4rem; min-width: 0; font-weight: 500; }
.contact-form input:not([type="checkbox"],[type="radio"]), .contact-form textarea, .contact-form select { width: 100%; min-height: 50px; border: 1.5px solid #d4cbf4; border-radius: 12px; padding: .7rem .9rem; color: var(--ink); background: white; box-shadow: inset 2px 2px 5px #3c14cf12, inset -2px -2px 5px #fff; font-size: 1.0625rem; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form label:has(input[type="checkbox"]) { display: block; }
.contact-form input[type="checkbox"] { width: 1.05rem; height: 1.05rem; margin: 0 .2rem 0 0; accent-color: var(--deep); vertical-align: text-bottom; }
.contact-form p { color: var(--slate); }
.contact-form .form-note { font-size: .9375rem; }
.contact-form button[type="submit"] { min-height: 56px; border-radius: 14px; }
.contact-form button:disabled { cursor: wait; opacity: .7; }
.contact-form [role="status"] { color: var(--deep); }
.contact-form [role="status"]:empty { display: none; }
.contact-form [data-state="error"], .contact-form [data-state="verification"] { color: #703325; }
.analytics-consent { position: fixed; right: 16px; bottom: 16px; z-index: 20; width: min(360px, calc(100% - 32px)); padding: 16px; border-radius: 18px; background: #fbf9ff; border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.analytics-consent h2 { font: 700 1rem/1.3 var(--display); letter-spacing: normal; }
.analytics-consent p { margin: 7px 0 14px; font-size: .875rem; }
.analytics-consent div { display: flex; gap: 8px; flex-wrap: wrap; }
.analytics-consent button { flex: 1 1 120px; min-height: 44px; border: 1px solid var(--violet); border-radius: 999px; color: var(--ink); background: var(--lavender); font-size: .875rem; }
#analytics-settings { border: 0; padding: 0; min-height: 44px; background: transparent; color: var(--slate); text-decoration: underline; font-size: 1rem; }
.contact-form a { color: var(--deep); }

.faq-section { max-width: 920px; }
.faq-title { margin-bottom: clamp(1.4rem, 3svh, 2.4rem); text-align: center; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: 18px; background: #ffffffdf; box-shadow: var(--card-shadow); }
.faq-item summary { position: relative; display: block; list-style: none; padding: 1.18rem 3.75rem 1.18rem 1.5rem; border-radius: inherit; }
.faq-item summary h2 { font: 700 clamp(1.05rem, 1.6vw, 1.25rem)/1.35 var(--display); letter-spacing: -.02em; text-wrap: initial; }
.faq-item summary::after { content: ""; position: absolute; top: calc(50% - 6px); right: 1.6rem; width: 9px; height: 9px; border-right: 2px solid var(--deep); border-bottom: 2px solid var(--deep); transform: rotate(45deg); }
.faq-item[open] summary::after { top: calc(50% - 1px); transform: rotate(225deg); }
.faq-item[open] summary { padding-bottom: .7rem; }
.faq-item > p { max-width: 77ch; padding: 0 1.5rem 1.35rem; color: var(--slate); font-size: 1.0625rem; line-height: 1.55; }
.faq-item a { color: var(--deep); }
.faq-item:has(.faq-follow-up) > p { padding-bottom: .45rem; }
.faq-follow-up { max-width: 77ch; padding: 0 1.5rem 1.35rem; font-size: 1.0625rem; line-height: 1.55; }
.site-check-section { display: grid; justify-items: center; }
.site-check-section > #seo-check { width: min(920px, 100%); }

.site-footer { padding: clamp(2.5rem, 6svh, 4.5rem) 0 calc(2rem + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; max-width: 1120px; }
.footer-inner .brand { margin-bottom: .65rem; }
.footer-links, .socials { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.footer-links { justify-content: flex-end; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--slate); font-size: 1rem; }
.socials a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--deep); border-radius: 999px; color: var(--deep); background: #f5f3fd; }
.socials a:hover { background: #e8e3f9; }
.socials svg { display: block; width: 18px; height: 18px; fill: currentColor; }
@media (min-width: 761px) and (max-height: 800px) {
  .site-header { padding-top: 8px; }
  .nav-inner { height: 58px; }
  .nav-toggle, .header-cta { min-height: 40px; }
  .hero-grid { padding-block: clamp(20px, 4svh, 32px) 16px; gap: clamp(20px, 4svh, 32px); }
  .hero-chip { padding: 5px 11px; font-size: 12px; }
  .hero-chip :is(img,svg) { width: 17px; }
  .hero-copy h1 { margin: 10px 0 9px; font-size: clamp(30px, 4.1vw, 51px); }
  .hero-lead { font-size: 24px; line-height: 1.12; }
}
@media (min-width: 761px) and (max-height: 680px) {
  .hero-copy h1 { font-size: 38px; margin: 8px 0; }
  .hero-lead { font-size: 21px; }
}
@media (max-width: 1023px) {
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .explore-menu { position: static; }
  .nav-links { left: 0; right: 0; width: auto; top: calc(100% + .6rem); }
}
@media (max-width: 760px), (orientation: portrait) {
  :root { --site-background: url("./brand/amarquez-sculpted-folds-mobile.webp"); }
}
@media (max-width: 760px) {
  .site-header { padding-top: 10px; }
  .nav-inner { width: calc(100% - 32px); height: 58px; gap: 10px; padding: 0 13px; border-radius: 18px; }
  .brand img { width: 122px; }
  .nav-actions { gap: 9px; }
  .nav-toggle, .header-cta { min-height: 38px; padding: 0 10px; font-size: 12px; }
  .nav-toggle svg { width: 14px; height: 14px; }
  .nav-phone { display: none; }
  .nav-links .menu-phone { display: block; }
  .hero-grid { min-height: 0; padding: 23px 16px 29px; gap: 23px; }
  .hero-chip { padding: 6px 10px; gap: 5px; font-size: 10px; }
  .hero-chip :is(img,svg) { width: 15px; }
  .hero-copy h1 { max-width: 600px; margin: 14px auto 12px; font-size: clamp(28px, 7.8vw, 46px); }
  .hero-lead { max-width: 580px; margin-inline: auto; font-size: clamp(17px, 4.4vw, 23px); line-height: 1.2; }
  .case-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .case-copy { order: -1; }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; }
  .footer-inner { flex-direction: column; align-items: start; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .guide-grid, .reading-grid { grid-template-columns: 1fr; }
  .guide-card { padding: 1.25rem; gap: .85rem; }
  .guide-link { top: 1.25rem; right: 1.25rem; }
  .section-head h2, .case-copy h2, .faq-title, .contact-section-intro h2 { font-size: clamp(1.85rem, 7vw, 2.5rem); }
  .contact-form { grid-template-columns: minmax(0, 1fr); padding: 1.25rem 1rem; }
  .contact-form button[type="submit"] { width: 100%; }
  .faq-item summary { padding-left: 1.15rem; }
  .faq-item > p, .faq-follow-up { padding-left: 1.15rem; }
}
@media (max-width: 340px) {
  .nav-inner { width: calc(100% - 24px); gap: 6px; padding: 0 9px; }
  .nav-actions { gap: 6px; }
  .brand img { width: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  :root { background: white; }
  body::before, .site-header, .hero-actions, .article-toc, .site-footer { display: none; }
  .article-layout { display: block; }
  .article-content, .faq-item { box-shadow: none; }
}
