@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 {
  --ink: #170749;
  --deep: #3c14cf;
  --violet: #6342f0;
  --slate: #544f65;
  --line: #dcd3ed;
  --glass: #ffffffde;
  --lavender: linear-gradient(155deg, #f5f3fd, #e8e3f9 48%, #d4cbf4);
  --soft-shadow: inset 0 1px 0 white, 0 8px 24px #35158312;
  --body: "DM Sans", system-ui, sans-serif;
  --display: Montserrat, system-ui, sans-serif;
  --gutter: max(clamp(1rem, 4vw, 3rem), env(safe-area-inset-left), env(safe-area-inset-right));
  --folds: url("./brand/amarquez-sculpted-folds-desktop.webp");
  color-scheme: light;
  background-color: #f3edff;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  isolation: isolate;
  color: var(--ink);
  font: 400 1.125rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  inset: 0;
  height: 100lvh;
  background: #f3edff var(--folds) center / cover no-repeat;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font: 700 1em/1.1 var(--display); letter-spacing: -.045em; text-wrap: balance; }
p, dd { 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; color: inherit; }
button, summary, label:has([type="radio"]) { cursor: pointer; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
::selection { background: #ddd2ff; color: var(--ink); }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - var(--gutter) * 2), 1180px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; left: 1rem; top: .5rem; transform: translateY(-160%); padding: .5rem 1rem; background: white; color: var(--deep); border-radius: 9px; }
.skip-link:focus { transform: none; }
section[id], form[id] { scroll-margin-block-start: 1.25rem; }

.analytics-consent { position: fixed; right: 16px; bottom: 16px; z-index: 8; width: min(360px, calc(100% - 32px)); padding: 16px; border-radius: 18px; background: #fbf9ff; border: 1px solid var(--line); box-shadow: var(--soft-shadow); }
.analytics-consent h2 { font-size: 1rem; letter-spacing: normal; }
.analytics-consent p { margin: 7px 0 14px; font-size: .9375rem; }
.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: .9375rem; }
#analytics-settings { border: 0; padding: 0; min-height: 44px; background: transparent; color: var(--slate); text-decoration: underline; font-size: .95rem; }

.site-header {
  display: flex;
  position: relative;
  z-index: 4;
  align-items: center;
  gap: clamp(1rem, 2.8vw, 2.5rem);
  min-height: 68px;
  margin-top: .9rem;
  padding: .55rem 1rem .55rem 1.5rem;
  border: 1px solid white;
  border-radius: 22px;
  background: var(--glass);
  box-shadow: var(--soft-shadow);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.brand img { width: clamp(125px, 13vw, 172px); }
.wide-nav, .header-actions { display: flex; align-items: center; gap: clamp(1rem, 2.3vw, 1.8rem); }
.wide-nav { margin-left: auto; }
.wide-nav a, .menu nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .96rem; font-weight: 500; text-decoration: none; }
.header-cta, .button, .menu summary {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: .58rem 1.05rem;
  color: var(--deep);
  background: var(--lavender);
  border: 1px solid #fff;
  border-radius: 14px;
  box-shadow: var(--soft-shadow);
  text-decoration: none;
  text-align: center;
  font: 500 1rem/1.25 var(--body);
}
.button { min-height: 50px; padding: .62rem 1.15rem .62rem 1.35rem; border-radius: 999px; }
.button.primary { background: var(--deep); color: white; border-color: var(--deep); box-shadow: 0 6px 18px #3c14cf28; }
.button.light { border-color: var(--deep); }
.arrow { display: inline-block; width: 1.08em; height: 1.08em; flex: none; vertical-align: middle; }
.round-arrow { display: inline-grid; place-items: center; flex: none; width: 1.65em; height: 1.65em; border-radius: 50%; border: 1px solid currentColor; }
.round-arrow .arrow { width: .85em; height: .85em; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: var(--deep); font-weight: 500; font-size: 1rem; }
.menu { display: none; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; inset: calc(100% + .45rem) 0 auto; display: grid; gap: .125rem; padding: .7rem 1.2rem; border: 1px solid #e0d6ef; border-radius: 18px; background: white; box-shadow: 0 16px 35px #27124a22; }

.hero { padding-block: clamp(2.8rem, 7vw, 6.75rem) clamp(2.25rem, 5.2vw, 4.75rem); }
.hero:has(.hero-media) { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); align-items: center; gap: clamp(1.75rem, 4vw, 4rem); }
.hero-copy { display: grid; justify-items: start; gap: clamp(.95rem, 1.7vw, 1.6rem); }
.hero h1 { max-width: 100%; font-size: clamp(3rem, 4.85vw, 4.65rem); line-height: .98; letter-spacing: -.072em; }
.hero h1 em { display: block; font-style: normal; color: var(--violet); }
.hero-deck, .article-heading > p { max-width: 46ch; font-size: clamp(1.08rem, 1.53vw, 1.34rem); line-height: 1.52; color: var(--slate); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.1rem; }
.hero-media {
  padding: clamp(.4rem, .7vw, .65rem);
  min-width: 0;
  border: 1px solid #fff;
  border-radius: clamp(1.5rem, 2.5vw, 2.1rem);
  box-shadow: inset 0 0 0 1px #fff9, 0 16px 48px #36128119;
  background: #ffffff88;
}
.hero-media picture { overflow: hidden; border-radius: clamp(1.15rem, 1.85vw, 1.65rem); }
.hero-media img { width: 100%; aspect-ratio: 1442 / 960; object-fit: cover; }
.hero-media figcaption { padding: .6rem .5rem .2rem; color: var(--slate); font-size: .875rem; line-height: 1.35; }
.full-section, .contact-section { padding-block: clamp(2.35rem, 5.4vw, 4.7rem); }
.section-heading, .planner-copy h2, .case-copy h2, .contact-section-intro h2 { font-size: clamp(1.95rem, 3.75vw, 3.35rem); }
.section-heading { margin-bottom: clamp(1.1rem, 2.1vw, 1.9rem); }

.planner, .case-feature { display: grid; align-items: start; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(1.5rem, 4vw, 4.5rem); }
.planner-copy, .case-copy { display: grid; justify-items: start; gap: 1rem; }
.planner-copy .section-heading, .case-copy .section-heading { margin-bottom: 0; }
.planner-copy h2, .case-copy h2 { max-width: 18ch; }
.planner-copy p, .case-copy p { max-width: 43ch; color: var(--slate); }
.planner-panel, .case-media, .article-body, .contact-form { min-width: 0; border: 1px solid white; border-radius: 24px; background: var(--glass); box-shadow: var(--soft-shadow); }
.planner-panel { padding: clamp(1.2rem, 2.6vw, 2.25rem); }
.planner-panel fieldset { min-width: 0; margin: 0 0 1.5rem; padding: 0; border: 0; }
.planner-panel legend, .planner-result h3 { padding: 0; font: 700 clamp(1.08rem, 1.45vw, 1.28rem)/1.35 var(--display); letter-spacing: -.025em; }
.planner-choices { display: grid; gap: .5rem; margin-top: .75rem; }
.planner-choices label { position: relative; display: block; min-width: 0; }
.planner-choices input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.planner-choices span { display: flex; align-items: center; gap: .65rem; min-height: 46px; padding: .55rem .85rem; border: 1px solid #c9bedf; border-radius: 12px; background: #fff; color: var(--ink); font-size: 1rem; line-height: 1.35; }
.planner-choices span::before { content: ""; width: 1.05rem; height: 1.05rem; flex: none; border: 1px solid #91849f; border-radius: 100%; background: white; }
.planner-choices input:checked + span { color: #3614ac; border-color: var(--deep); background: #f0eaff; box-shadow: inset 0 0 0 1px var(--deep); }
.planner-choices input:checked + span::before { background: var(--deep); border-color: var(--deep); box-shadow: inset 0 0 0 3px #f0eaff; }
.planner-choices input:focus-visible + span { outline: 3px solid var(--deep); outline-offset: 2px; }
.planner-result { display: grid; gap: .8rem; justify-items: start; }
.planner-result h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.12; }
.planner-result p { color: var(--slate); }
.planner-result [data-plan] p { margin: .6rem 0 .25rem; }
button.text-link { padding: 0; background: transparent; border: 0; text-decoration: underline; text-underline-offset: .2em; }
.budget-calculator { display: grid; gap: .85rem; }
.budget-calculator form { display: grid; gap: 1rem; }
.budget-calculator label, .contact-form label { display: grid; gap: .35rem; min-width: 0; font-size: 1rem; font-weight: 500; }
.budget-calculator input, .contact-form input:not([type="hidden"], [type="checkbox"]), .contact-form textarea, .contact-form select {
  display: block; min-width: 0; width: 100%; min-height: 48px; padding: .6rem .85rem; border: 1px solid #c7b9df; background: white; border-radius: 11px; color: var(--ink); font: 400 1.04rem/1.4 var(--body);
}
.budget-calculator output { display: block; padding-top: .85rem; border-top: 1px solid var(--line); color: var(--deep); font: 700 clamp(1.15rem, 2vw, 1.5rem)/1.35 var(--display); letter-spacing: -.025em; }
.budget-calculator output:empty { display: none; }
.case-feature { align-items: center; }
.case-media { padding: clamp(.85rem, 2.1vw, 1.65rem); }
.case-feature table { width: 100%; border-spacing: 0; font-variant-numeric: tabular-nums; font-size: clamp(.87rem, 1.25vw, 1.04rem); }
.case-feature caption { text-align: left; padding-bottom: 1rem; font: 700 clamp(1.02rem, 1.4vw, 1.22rem)/1.35 var(--display); letter-spacing: -.025em; }
.case-feature th, .case-feature td { padding: .85rem .25rem; border-bottom: 1px solid var(--line); line-height: 1.35; text-align: right; }
.case-feature th:first-child, .case-feature td:first-child { text-align: left; }
.case-feature thead th { color: var(--slate); font-weight: 500; font-size: .85em; }
.case-feature tbody tr:last-child > * { border-bottom: 0; }
.case-feature tbody th { font-weight: 500; }
.case-media > p, .case-media figcaption { color: var(--slate); font-size: .9rem; margin-top: .75rem; }

.guide-list { border: 1px solid white; border-radius: 22px; background: var(--glass); overflow: clip; box-shadow: var(--soft-shadow); }
.guide-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) auto; gap: clamp(1rem, 3vw, 2.8rem); align-items: center; padding: clamp(1.15rem, 2.5vw, 2rem); text-decoration: none; }
.guide-row + .guide-row { border-top: 1px solid var(--line); }
.guide-row h3 { font-size: clamp(1.2rem, 2.1vw, 1.65rem); }
.guide-row p { color: var(--slate); font-size: 1.055rem; }
.guide-row .round-arrow { color: var(--deep); width: 2.15rem; height: 2.15rem; }
.guide-row:focus-visible { outline-offset: -4px; }
.references ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.3rem; margin: 0; padding: 0; list-style: none; }
.references li { border-top: 1px solid #ccbfdb; }
.references li a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; min-height: 52px; color: var(--deep); font-size: 1.03rem; }
.article-wrap { padding-top: 1.5rem; }
.breadcrumbs { display: flex; align-items: baseline; gap: .4rem .65rem; flex-wrap: wrap; font-size: .9rem; color: var(--slate); }
.breadcrumbs a { color: var(--deep); }
.article-heading { display: grid; justify-items: center; gap: 1.1rem; padding: clamp(2.1rem, 5vw, 4.5rem) 0; text-align: center; }
.article-heading h1 { max-width: 21ch; font-size: clamp(2.5rem, 5.5vw, 4.75rem); letter-spacing: -.065em; }
.article-heading > p { max-width: 63ch; }
.article-layout { display: grid; align-items: start; grid-template-columns: minmax(0, .45fr) minmax(0, 1.3fr); gap: clamp(1rem, 3.25vw, 2.8rem); }
.contents { position: sticky; top: 1.25rem; padding: 1.1rem 1.3rem; border: 1px solid white; border-radius: 20px; background: var(--glass); box-shadow: var(--soft-shadow); }
.contents strong, .contents h2 { font: 700 1.06rem/1.35 var(--display); }
.contents ol, .contents ul { margin: .75rem 0 0; padding-left: 1.2rem; font-size: 1rem; color: var(--deep); }
.contents li + li { margin-top: .5rem; }
.article-body { padding: clamp(1.3rem, 3.5vw, 3.25rem); }
.article-body section + section { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 2rem; }
.article-body h2 { font-size: clamp(1.5rem, 2.5vw, 2.15rem); }
.article-body p, .article-body ol, .article-body ul { margin-top: .75rem; color: var(--slate); }
.article-body p { max-width: 67ch; }
.article-body a { color: var(--deep); }
.article-body .budget-calculator { margin-top: 1.2rem; background: #f6f2fc; box-shadow: none; }

.faq-section { max-width: 890px; }
.faq-section .section-heading { text-align: center; }
.faq-list { display: grid; gap: .55rem; }
.faq-item { border: 1px solid white; border-radius: 17px; background: var(--glass); box-shadow: var(--soft-shadow); }
.faq-item summary { position: relative; display: block; list-style: none; padding: 1.05rem 3.1rem 1.05rem 1.3rem; font-weight: 500; line-height: 1.4; border-radius: inherit; }
.faq-item summary::after { content: ""; position: absolute; right: 1.4rem; top: calc(50% - .35rem); width: .55rem; height: .55rem; border: solid var(--deep); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.faq-item[open] summary::after { top: calc(50% - .08rem); transform: rotate(225deg); }
.faq-item h3 { font-size: clamp(1.03rem, 1.6vw, 1.22rem); letter-spacing: -.025em; line-height: 1.4; text-wrap: initial; }
.faq-item p { padding: 0 1.3rem 1.2rem; color: var(--slate); font-size: 1.035rem; }
.faq-item a, .contact-section a { color: var(--deep); }
.contact-section-intro { display: grid; justify-items: center; text-align: center; gap: .75rem; margin-bottom: 1.65rem; }
.contact-section-intro h2 { max-width: 23ch; }
.contact-section-intro p { max-width: 55ch; color: var(--slate); }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; width: min(100%, 45rem); margin-inline: auto; padding: clamp(1.25rem, 3vw, 2rem); }
.contact-form > * { grid-column: 1 / -1; }
.contact-form > label:has(input[name="name"], input[name="email"]) { grid-column: auto; }
.contact-form textarea { resize: vertical; min-height: 118px; }
.contact-form .contact-consent { display: flex; align-items: baseline; gap: .55rem; }
.contact-consent input { flex: none; accent-color: var(--deep); }
.contact-form .form-note, .contact-form small { color: var(--slate); font-size: .925rem; }
.contact-form [role="status"] { font-size: 1rem; color: var(--ink); }
.contact-form [role="status"]:empty { display: none; }
.contact-form [data-plan-summary] { padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: #f4efff; font-size: 1rem; }
.contact-form [data-plan-summary] .text-link { display: block; }
.contact-form button:disabled { opacity: .7; cursor: wait; }
.site-footer { display: flex; justify-content: space-between; align-items: flex-start; gap: clamp(1rem, 3vw, 2.25rem); margin-top: 1rem; padding-block: 1.75rem 2.5rem; border-top: 1px solid #c7b8d9; }
.footer-brand { min-width: 0; }
.footer-brand p, .footer-brand address { margin: .55rem 0 .8rem; font: normal 1rem/1.5 var(--body); color: var(--slate); }
.socials, .footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.socials a { display: inline-grid; min-width: 44px; min-height: 44px; place-items: center; border: 1px solid var(--deep); border-radius: 50%; color: var(--deep); background: #f5f0fc; }
.socials svg { display: block; width: 18px; height: 18px; fill: currentColor; }
.footer-links { justify-content: flex-end; gap: 0 1.1rem; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--slate); font-size: .95rem; }
@media (hover: hover) {
  .button.primary:hover { background: #5226de; }
  .button.light:hover, .header-cta:hover, .menu summary:hover { background: #f4effe; }
  .wide-nav a:hover, .menu nav a:hover, .guide-row:hover h3 { text-decoration: underline; color: var(--deep); }
  .guide-row:hover { background: #f7f4fd; }
  .socials a:hover { background: #e9e2fa; }
  .wide-nav a, .button, .header-cta, .guide-row, .socials a { transition: background-color 170ms ease, color 170ms ease; }
}
@media (max-width: 760px), (orientation: portrait) { :root { --folds: url("./brand/amarquez-sculpted-folds-mobile.webp"); } }
@media (max-width: 820px) {
  .wide-nav { display: none; }
  .header-actions { margin-left: auto; gap: .45rem; }
  .menu { display: block; }
  .site-header { margin-top: .55rem; min-height: 58px; gap: .55rem; border-radius: 16px; padding: .3rem .7rem; }
  .header-cta, .menu summary { font-size: .9rem; padding: .52rem .72rem; gap: .38rem; }
  .header-cta .round-arrow { display: none; }
}
@media (max-width: 710px) {
  .hero:has(.hero-media), .planner, .case-feature, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 2.45rem; }
  .hero:has(.hero-media) { gap: 1.55rem; }
  .hero-copy { text-align: center; justify-items: center; }
  .hero-deck { max-width: 44ch; }
  .hero-actions { justify-content: center; }
  .hero-media { width: min(100%, 540px); margin-inline: auto; }
  .guide-row { grid-template-columns: minmax(0, 1fr) auto; gap: .5rem .85rem; }
  .guide-row h3, .guide-row p { grid-column: 1; }
  .guide-row .round-arrow { grid-column: 2; grid-row: 1 / 3; }
  .references ul { grid-template-columns: 1fr; }
  .contents { position: static; }
  .planner-copy h2, .case-copy h2 { max-width: 22ch; }
  .site-footer { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .case-feature th, .case-feature td { padding: .7rem .15rem; }
}
@media (max-width: 350px) {
  .brand img { width: 105px; }
  .hero h1 { font-size: 2.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  body::before, .site-header, .site-footer, .hero-actions, .contact-section, .contents { display: none; }
  .article-layout { display: block; }
  .article-body, .faq-item { box-shadow: none; }
}
