@layer reset, base, components, layout, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--banner-height, 42px) + 82px); }
  body, h1, h2, h3, p, blockquote, figure { margin: 0; }
  img { display: block; max-width: 100%; }
  button, input { font: inherit; }
  button, summary { -webkit-tap-highlight-color: transparent; }
  a { color: inherit; }
  [hidden] { display: none !important; }
}

@layer base {
  :root {
    color-scheme: light;
    --ink: #1d3029;
    --ink-soft: #405149;
    --forest: #27463a;
    --forest-deep: #172720;
    --cream: #f4efe5;
    --paper: #fffdf8;
    --sage: #b8c7ae;
    --sage-pale: #e6eadf;
    --apricot: #efab87;
    --apricot-pale: #f8ddcb;
    --wine: #7a2d43;
    --wine-dark: #5b1d30;
    --gold: #e2a64e;
    --line: #d7d2c7;
    --muted: #58645e;
    --danger: #a02d31;
    --display: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
    --sans: 'Avenir Next', Avenir, 'Segoe UI', Helvetica, Arial, sans-serif;
    --max: 1260px;
    --banner-height: 42px;
    --shadow: 0 18px 50px rgba(38, 48, 42, .11);
  }

  body {
    min-width: 280px;
    overflow-x: clip;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
  }
  body.agent-open, body.panel-open { overflow: hidden; }
  h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.045em; text-wrap: balance; }
  h1 { font-size: clamp(3.35rem, 7.2vw, 7.4rem); line-height: .9; }
  h2 { font-size: clamp(2.55rem, 5.3vw, 5.4rem); line-height: .96; }
  h3 { font-size: 1.25rem; line-height: 1.2; text-wrap: balance; }
  p { text-wrap: pretty; }
  ::selection { background: var(--apricot); color: var(--ink); }
  :focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
}

@layer components {
  .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  .skip-link {
    position: fixed;
    z-index: 500;
    top: 10px;
    left: 10px;
    padding: 12px 16px;
    background: var(--paper);
    transform: translateY(-180%);
    transition: transform .18s ease;
  }
  .skip-link:focus { transform: translateY(0); }

  .demo-banner {
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 10px 20px;
    color: var(--forest-deep);
    background: #f3ca94;
    border-bottom: 1px solid rgba(29, 48, 41, .2);
    text-align: center;
  }
  .demo-banner__badge {
    flex: 0 0 auto;
    padding: 3px 8px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  .demo-banner p { max-width: 980px; font-size: .8rem; font-weight: 700; line-height: 1.35; }

  .brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    text-decoration: none;
  }
  .brand__mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border: 1px solid currentColor;
    border-radius: 50%;
  }
  .brand__mark::before, .brand__mark::after, .brand__mark span {
    content: '';
    position: absolute;
    width: 1px;
    height: 18px;
    background: currentColor;
  }
  .brand__mark::after { transform: rotate(60deg); }
  .brand__mark span { transform: rotate(-60deg); }
  .brand__word { font-family: var(--display); font-size: 1.38rem; letter-spacing: -.035em; }

  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .83rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  }
  .button:hover { transform: translateY(-2px); }
  .button--primary { color: #fff; background: var(--wine); }
  .button--primary:hover { background: var(--wine-dark); }
  .button--light { color: var(--ink); background: rgba(255, 253, 248, .88); border-color: rgba(29, 48, 41, .25); }
  .button--light:hover { background: #fff; }
  .button--mint { color: var(--forest-deep); background: var(--sage); }
  .button--mint:hover { background: #d1dcc9; }
  .button--ghost { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .5); }
  .button--ghost:hover { color: var(--forest-deep); background: #fff; }

  .eyebrow {
    margin-bottom: 18px;
    color: var(--wine);
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .12em;
    line-height: 1.25;
    text-transform: uppercase;
  }
  .eyebrow--light { color: #d5e2ce; }
  .section { padding: clamp(88px, 11vw, 160px) max(20px, calc((100vw - var(--max)) / 2)); }
  .section-heading { margin-bottom: clamp(46px, 7vw, 78px); }
  .section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    align-items: end;
    gap: clamp(30px, 7vw, 100px);
  }
  .section-heading h2 { max-width: 800px; }
  .section-heading--split > p { max-width: 570px; color: var(--muted); font-size: 1.03rem; }
  .context-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--wine-dark);
    background: var(--apricot-pale);
    font-size: .57rem;
    font-weight: 850;
    letter-spacing: .075em;
    line-height: 1.15;
    text-transform: uppercase;
  }
}

@layer layout {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 28px;
    min-height: 74px;
    padding: 10px max(20px, calc((100vw - var(--max)) / 2));
    color: #fff;
    background: rgba(23, 39, 32, .96);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  @supports (backdrop-filter: blur(15px)) {
    .site-header { background: rgba(23, 39, 32, .91); backdrop-filter: saturate(120%) blur(15px); }
  }
  .primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.4vw, 34px); }
  .primary-nav a, .site-footer nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: .77rem;
    font-weight: 650;
    text-decoration: none;
  }
  .primary-nav a::after, .site-footer nav a::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 8px;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .18s ease;
  }
  .primary-nav a:hover::after, .site-footer nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .header-agent {
    min-height: 44px;
    padding: 9px 17px;
    color: var(--forest-deep);
    background: var(--sage);
    border: 0;
    border-radius: 999px;
    font-size: .73rem;
    font-weight: 800;
    cursor: pointer;
  }
  .nav-toggle { display: none; width: 44px; height: 44px; padding: 0; color: #fff; background: transparent; border: 0; cursor: pointer; }
  .nav-toggle span { display: block; width: 23px; height: 1px; margin: 7px auto; background: currentColor; transition: transform .18s ease; }
  .nav-toggle[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .hero {
    position: relative;
    min-height: min(820px, calc(100svh - var(--banner-height)));
    overflow: hidden;
    isolation: isolate;
    background: #aebca5;
  }
  .hero__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(199, 210, 190, .48) 0%, rgba(199, 210, 190, .14) 42%, transparent 57%);
    pointer-events: none;
  }
  .hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(55%, 720px);
    min-height: min(820px, calc(100svh - var(--banner-height)));
    padding: clamp(72px, 8vw, 125px) max(20px, calc((100vw - var(--max)) / 2));
    padding-right: 30px;
  }
  .hero h1 { max-width: 720px; margin-bottom: 28px; }
  .hero__lede { max-width: 580px; margin-bottom: 30px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.6vw, 1.28rem); }
  .hero__actions { display: flex; flex-wrap: wrap; gap: 11px; }
  .hero__price { display: flex; align-items: baseline; gap: 10px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(29, 48, 41, .35); }
  .hero__price strong { font-family: var(--display); font-size: 1.65rem; font-weight: 500; }
  .hero__price span { color: var(--ink-soft); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }

  .benefit-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--max);
    margin: 0 auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .benefit-strip article { display: grid; gap: 5px; min-height: 112px; padding: 26px 28px; border-right: 1px solid var(--line); }
  .benefit-strip article:last-child { border-right: 0; }
  .benefit-strip strong { font-family: var(--display); font-size: 1.1rem; font-weight: 600; }
  .benefit-strip span { color: var(--muted); font-size: .72rem; }

  .catalog { background: var(--paper); }
  .category-filters { display: flex; gap: 8px; margin-bottom: 18px; padding-bottom: 5px; overflow-x: auto; scrollbar-width: thin; }
  .filter {
    min-height: 44px;
    flex: 0 0 auto;
    padding: 9px 15px;
    color: var(--ink-soft);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 750;
    cursor: pointer;
  }
  .filter:hover, .filter.is-active { color: #fff; background: var(--forest); border-color: var(--forest); }
  .catalog-status { margin-bottom: 24px; color: var(--muted); font-size: .68rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
  .product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .product-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    overflow: hidden;
    background: #f7f3eb;
    border: 1px solid #e5ded2;
    border-radius: 14px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .product-card:hover { transform: translateY(-4px); border-color: #bdb3a5; box-shadow: var(--shadow); }
  .product-card:focus-visible { outline: 3px solid var(--wine); outline-offset: 4px; }
  .product-card.is-recommended { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(122, 45, 67, .16), var(--shadow); }
  .product-card__media { position: relative; aspect-ratio: 1.35 / 1; overflow: hidden; background: var(--sage-pale); }
  .product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
  .product-card:hover .product-card__media img { transform: scale(1.025); }
  .product-card__tag { position: absolute; top: 13px; left: 13px; padding: 6px 10px; color: #fff; background: var(--wine); border-radius: 999px; font-size: .58rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
  .product-card__body { display: flex; flex-direction: column; padding: 25px; }
  .product-card__category { margin-bottom: 9px; color: var(--wine); font-size: .61rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
  .product-card h3 { margin-bottom: 10px; font-family: var(--display); font-size: clamp(1.65rem, 2.2vw, 2.3rem); font-weight: 550; }
  .product-card__fit { margin-bottom: 16px; color: var(--ink-soft); font-size: .82rem; }
  .product-card ul { display: grid; gap: 7px; margin: 0 0 24px; padding: 0; color: var(--muted); list-style: none; font-size: .75rem; }
  .product-card li { position: relative; padding-left: 17px; }
  .product-card li::before { content: '✓'; position: absolute; left: 0; color: var(--forest); font-weight: 850; }
  .product-card__note { margin: -10px 0 19px; color: var(--wine-dark); font-size: .65rem; font-weight: 750; }
  .product-card__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
  .product-card__footer p { display: grid; gap: 1px; }
  .product-card__footer p > span { color: var(--muted); font-size: .58rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
  .product-card__footer strong { font-family: var(--display); font-size: 1.45rem; font-weight: 600; }
  .product-card__footer small { color: var(--muted); font-family: var(--sans); font-size: .58rem; font-weight: 650; }
  .product-card__footer button {
    min-height: 44px;
    padding: 8px 13px;
    color: #fff;
    background: var(--forest);
    border: 0;
    border-radius: 999px;
    font-size: .66rem;
    font-weight: 750;
    cursor: pointer;
  }

  .compare { background: var(--sage-pale); }
  .compare-table-wrap { margin-bottom: 30px; overflow-x: auto; border: 1px solid rgba(29, 48, 41, .3); border-radius: 12px; }
  .compare-table-wrap:focus-visible { outline-offset: 5px; }
  .compare-table { width: 100%; min-width: 720px; border-collapse: collapse; }
  .compare-table th, .compare-table td { height: 62px; padding: 14px 18px; border-right: 1px solid rgba(29, 48, 41, .16); border-bottom: 1px solid rgba(29, 48, 41, .2); font-size: .8rem; font-weight: 500; text-align: center; }
  .compare-table tr > *:first-child { width: 37.5%; text-align: left; }
  .compare-table tr > *:last-child { border-right: 0; }
  .compare-table tbody tr:last-child > * { border-bottom: 0; }
  .compare-table thead { color: #fff; background: var(--forest); }
  .compare-table thead th:not(:first-child) { font-family: var(--display); font-size: 1.15rem; font-weight: 550; }
  .compare-table-wrap + .button { margin-top: 4px; }

  .agent-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, .8fr);
    gap: clamp(60px, 10vw, 150px);
    align-items: center;
    padding: clamp(90px, 12vw, 170px) max(20px, calc((100vw - var(--max)) / 2));
    color: #fff;
    background: var(--wine-dark);
  }
  .agent-feature__copy h2 { max-width: 700px; margin-bottom: 26px; }
  .agent-feature__copy > p:not(.eyebrow) { max-width: 610px; color: #e8cdd4; font-size: 1.04rem; }
  .agent-feature__copy ul { display: grid; gap: 10px; margin: 28px 0 34px; padding: 0; list-style: none; color: #f3dfe4; font-size: .83rem; }
  .agent-feature__copy li { position: relative; padding-left: 22px; }
  .agent-feature__copy li::before { content: '—'; position: absolute; left: 0; color: var(--sage); }
  .agent-preview { padding: 22px; color: var(--ink); background: var(--paper); border-radius: 18px; box-shadow: 0 30px 80px rgba(24, 6, 12, .35); transform: rotate(1.2deg); }
  .agent-preview__top { display: flex; gap: 11px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .agent-preview__top > span, .agent-identity > span { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; color: #fff; background: var(--forest); border-radius: 50%; font-family: var(--display); font-size: 1.1rem; }
  .agent-preview__top div, .agent-identity div { display: grid; }
  .agent-preview__top strong { font-size: .78rem; }
  .agent-preview__top small { color: var(--muted); font-size: .62rem; }
  .agent-preview__message { width: 84%; margin: 24px 0 12px; padding: 14px 16px; background: var(--sage-pale); border-radius: 4px 15px 15px 15px; font-size: .8rem; }
  .agent-preview__choices { display: flex; flex-wrap: wrap; gap: 7px; }
  .agent-preview__choices span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .62rem; }
  .agent-preview__result { display: grid; gap: 4px; margin-top: 28px; padding: 18px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; }
  .agent-preview__result small { color: var(--wine); font-size: .56rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
  .agent-preview__result strong { font-family: var(--display); font-size: 1.45rem; }
  .agent-preview__result span { color: var(--muted); font-size: .7rem; }

  .journey { background: var(--cream); }
  .journey-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
  .journey-grid li { min-height: 285px; padding: 28px 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--ink); }
  .journey-grid li:first-child { border-left: 1px solid var(--line); }
  .journey-grid li > span { display: block; margin-bottom: 80px; color: var(--wine); font-size: .65rem; font-weight: 850; }
  .journey-grid h3 { margin-bottom: 11px; font-family: var(--display); font-size: 2rem; font-weight: 550; }
  .journey-grid p { color: var(--muted); font-size: .8rem; }

  .service-experience { padding: clamp(90px, 12vw, 170px) max(20px, calc((100vw - var(--max)) / 2)); color: #fff; background: var(--forest-deep); }
  .service-experience__intro { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 70px; margin-bottom: 60px; }
  .service-experience__intro h2 { max-width: 760px; }
  .service-experience__intro > p:last-child { max-width: 520px; color: #afbeb6; }
  .service-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 20px; }
  .service-grid article { min-width: 0; overflow: hidden; color: var(--ink); background: var(--paper); border-radius: 14px; }
  .portal-card { grid-row: span 2; }
  .portal-card__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 20px; border-bottom: 1px solid var(--line); font-size: .68rem; font-weight: 750; }
  .status-dot { padding: 5px 8px; color: var(--forest); background: var(--sage-pale); border-radius: 999px; }
  .portal-card__body { display: flex; flex-direction: column; min-height: 610px; padding: clamp(28px, 5vw, 55px); }
  .portal-card__body > p { color: var(--muted); font-size: .72rem; }
  .portal-card__body h3 { max-width: 470px; margin: 6px 0 65px; font-family: var(--display); font-size: clamp(2.4rem, 4.5vw, 4.6rem); font-weight: 500; letter-spacing: -.045em; }
  .portal-task { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
  .portal-task > span { color: var(--wine); font-size: .63rem; font-weight: 800; }
  .portal-task div { display: grid; gap: 3px; }
  .portal-task strong { font-size: .78rem; }
  .portal-task small { color: var(--muted); font-size: .65rem; }
  .portal-card__body > button { min-height: 44px; margin-top: auto; color: var(--muted); background: var(--cream); border: 1px solid var(--line); border-radius: 999px; }
  .delivery-card { display: grid; grid-template-columns: 1fr 1fr; }
  .delivery-card img { width: 100%; height: 100%; object-fit: cover; }
  .delivery-card > div { padding: 26px; }
  .delivery-card h3, .support-card h3 { margin-bottom: 13px; font-family: var(--display); font-size: 2rem; font-weight: 550; }
  .delivery-card > div > p:last-child { color: var(--muted); font-size: .74rem; }
  .support-card { padding: 30px; }
  .support-card > div { display: flex; justify-content: space-between; gap: 15px; padding: 14px 0; border-top: 1px solid var(--line); font-size: .69rem; }
  .support-card > div span { color: var(--muted); }
  .support-card > div strong { text-align: right; }
  .text-button { min-height: 44px; margin-top: 12px; padding: 8px 0; color: var(--wine); background: transparent; border: 0; border-bottom: 1px solid currentColor; font-size: .72rem; font-weight: 800; cursor: pointer; }

  .team { background: var(--paper); }
  .team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .team-card { overflow: hidden; background: var(--cream); border-radius: 14px; }
  .team-card > img { width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; object-position: 50% 22%; filter: saturate(.88); }
  .team-card > div { padding: 24px; }
  .team-card h3 { margin: 16px 0 2px; font-family: var(--display); font-size: 2rem; font-weight: 550; }
  .team-card__role { margin-bottom: 14px; color: var(--wine); font-size: .67rem; font-weight: 800; }
  .team-card > div > p:last-child { color: var(--muted); font-size: .78rem; }

  .reviews { display: grid; grid-template-columns: .85fr 1.15fr; background: var(--sage-pale); }
  .reviews__image { min-height: 820px; }
  .reviews__image img { width: 100%; height: 100%; object-fit: cover; }
  .reviews__content { padding: clamp(75px, 10vw, 135px) max(20px, calc((100vw - var(--max)) / 2)); padding-left: clamp(35px, 8vw, 110px); }
  .review-heading { max-width: 720px; margin-bottom: 32px; }
  .review-heading h2 { margin-bottom: 24px; font-size: clamp(2.8rem, 5vw, 5rem); }
  .review-disclosure { display: inline-flex; padding: 7px 10px; color: var(--wine-dark); background: var(--apricot-pale); border-radius: 999px; font-size: .64rem; font-weight: 800; }
  .review-list { max-width: 740px; }
  .review { padding: 27px 0; border-top: 1px solid rgba(29, 48, 41, .25); }
  .review blockquote { margin-bottom: 20px; font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.25; }
  .review figcaption { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
  .review figcaption strong { font-size: .69rem; }

  .faq { background: var(--paper); }
  .faq-list { border-top: 1px solid var(--ink); }
  .faq-list details { border-bottom: 1px solid var(--line); }
  .faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 86px; padding: 20px 0; font-family: var(--display); font-size: clamp(1.25rem, 2.2vw, 1.85rem); line-height: 1.2; cursor: pointer; list-style: none; }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list summary > span:last-child { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border: 1px solid currentColor; border-radius: 50%; font-family: var(--sans); transition: transform .18s ease; }
  .faq-list details[open] summary > span:last-child { transform: rotate(45deg); }
  .faq-list details p { max-width: 800px; padding: 0 60px 28px 0; color: var(--muted); }

  .closing { padding: clamp(100px, 14vw, 190px) max(20px, calc((100vw - var(--max)) / 2)); color: #fff; background: var(--wine-dark); }
  .closing h2 { max-width: 900px; margin-bottom: 30px; }
  .closing > p:not(.eyebrow) { max-width: 620px; color: #e2cbd1; font-size: 1.04rem; }
  .closing > div { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 34px; }

  .site-footer { padding: 60px max(20px, calc((100vw - var(--max)) / 2)) 28px; color: #fff; background: #101c17; }
  .site-footer > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
  .site-footer > div > p { max-width: 360px; margin-top: 8px; color: #9cabA4; font-size: .74rem; text-align: right; }
  .site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 20px 0; border-block: 1px solid #32423a; }
  .site-footer__meta { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; color: #7e8c85; font-size: .64rem; }

  .agent-overlay { position: fixed; inset: 0; z-index: 180; background: rgba(10, 18, 14, .62); backdrop-filter: blur(3px); }
  .sales-agent {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 190;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto auto auto;
    width: min(465px, 100vw);
    height: 100dvh;
    color: var(--ink);
    background: var(--paper);
    box-shadow: -24px 0 70px rgba(9, 18, 14, .28);
    animation: agent-in .28s cubic-bezier(.2, .75, .2, 1) both;
  }
  @keyframes agent-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
  .sales-agent__header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .agent-identity { display: flex; align-items: center; gap: 11px; }
  .agent-identity h2 { font-family: var(--sans); font-size: .82rem; font-weight: 800; letter-spacing: 0; }
  .agent-identity p { color: var(--muted); font-size: .6rem; }
  .agent-identity i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; background: #4c8a68; border-radius: 50%; }
  .agent-controls { display: flex; gap: 5px; }
  .agent-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 50%; font-size: 1.25rem; cursor: pointer; }
  .agent-boundary { padding: 9px 18px; color: var(--wine-dark); background: var(--apricot-pale); font-size: .61rem; font-weight: 700; line-height: 1.35; }
  .agent-log { display: flex; flex-direction: column; gap: 11px; min-height: 0; padding: 22px 18px; overflow-y: auto; overscroll-behavior: contain; }
  .agent-message { max-width: 88%; padding: 12px 14px; border-radius: 5px 15px 15px 15px; background: var(--sage-pale); font-size: .78rem; animation: message-in .18s ease both; }
  @keyframes message-in { from { opacity: 0; transform: translateY(5px); } }
  .agent-message--user { align-self: flex-end; color: #fff; background: var(--forest); border-radius: 15px 5px 15px 15px; }
  .agent-message--boundary { color: var(--wine-dark); background: var(--apricot-pale); }
  .agent-message--emergency { max-width: 100%; color: #fff; background: var(--danger); border-radius: 10px; }
  .agent-message strong { display: block; margin-bottom: 4px; }
  .agent-results { display: grid; gap: 9px; width: 100%; }
  .agent-result { display: grid; grid-template-columns: 1fr auto; gap: 9px 12px; padding: 14px; background: var(--cream); border: 1px solid var(--line); border-radius: 10px; }
  .agent-result small { color: var(--wine); font-size: .56rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
  .agent-result strong { font-family: var(--display); font-size: 1.2rem; font-weight: 600; }
  .agent-result__price { grid-row: span 2; align-self: center; font-family: var(--display); font-size: 1.05rem; font-weight: 600; }
  .agent-result p { grid-column: 1 / -1; color: var(--muted); font-size: .68rem; }
  .agent-result button { grid-column: 1 / -1; min-height: 44px; color: #fff; background: var(--wine); border: 0; border-radius: 999px; font-size: .67rem; font-weight: 800; cursor: pointer; }
  .agent-quick { display: flex; flex-wrap: wrap; gap: 7px; max-height: 166px; padding: 0 18px 14px; overflow-y: auto; }
  .agent-quick button { min-height: 44px; padding: 8px 12px; color: var(--forest); background: #fff; border: 1px solid #aebcb4; border-radius: 999px; font-size: .67rem; font-weight: 750; cursor: pointer; }
  .agent-quick button:hover { color: #fff; background: var(--forest); }
  .agent-input-row { display: grid; grid-template-columns: 1fr 44px; gap: 7px; padding: 12px 18px 8px; border-top: 1px solid var(--line); }
  .agent-input-row input { width: 100%; min-width: 0; min-height: 46px; padding: 11px 14px; color: var(--ink); background: #fff; border: 1px solid #bdb8ae; border-radius: 999px; font-size: .75rem; }
  .agent-input-row button { width: 44px; height: 44px; padding: 0; color: #fff; background: var(--wine); border: 0; border-radius: 50%; font-size: 1.1rem; cursor: pointer; }
  .agent-input-row input:disabled, .agent-input-row button:disabled { opacity: .45; cursor: not-allowed; }
  .agent-privacy { padding: 0 18px 12px; color: var(--muted); font-size: .56rem; text-align: center; }

  .header-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 9px 15px;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 800;
    cursor: pointer;
  }
  .header-cart__icon { display: block; flex: 0 0 auto; }
  .cart-badge {
    display: inline-grid;
    place-items: center;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    color: var(--forest-deep);
    background: var(--apricot);
    border-radius: 999px;
    font-size: .63rem;
    font-weight: 850;
    line-height: 1;
  }
  .cart-badge--light { margin-left: 5px; background: #fff; }
  .filter--priority:not(.is-active) { color: var(--wine-dark); background: var(--apricot-pale); border-color: #e8bda4; }
  .product-card__footer button.is-added { color: var(--forest-deep); background: var(--sage); }
  .catalog-noscript { padding: 18px; color: var(--wine-dark); background: var(--apricot-pale); border-radius: 10px; }
  .cart-feedback {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 160;
    max-width: min(390px, calc(100vw - 32px));
    padding: 12px 16px;
    color: #fff;
    background: var(--forest-deep);
    border-radius: 999px;
    box-shadow: var(--shadow);
    font-size: .72rem;
    font-weight: 700;
    pointer-events: none;
  }
  .cart-feedback:empty { display: none; }
  .agent-overlay, .cart-overlay { position: fixed; inset: 0; z-index: 180; background: rgba(10, 18, 14, .62); backdrop-filter: blur(3px); }
  .cart-overlay { z-index: 200; }
  .shopping-cart {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 210;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    width: min(500px, 100vw);
    height: 100dvh;
    color: var(--ink);
    background: var(--paper);
    box-shadow: -24px 0 70px rgba(9, 18, 14, .28);
    animation: panel-in .28s cubic-bezier(.2, .75, .2, 1) both;
  }
  @keyframes panel-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
  .shopping-cart__header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 20px 16px; border-bottom: 1px solid var(--line); }
  .shopping-cart__header .eyebrow { margin-bottom: 5px; }
  .shopping-cart__header h2 { font-size: 2.35rem; line-height: 1; }
  .panel-close { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; padding: 0; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 50%; font-size: 1.45rem; cursor: pointer; }
  .shopping-cart__intro { padding: 13px 20px; color: var(--muted); background: var(--sage-pale); font-size: .68rem; }
  .cart-items { min-height: 0; padding: 12px 20px 24px; overflow-y: auto; overscroll-behavior: contain; }
  .cart-item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 13px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .cart-item > img { width: 84px; height: 84px; object-fit: cover; background: var(--sage-pale); border-radius: 9px; }
  .cart-item__details { min-width: 0; }
  .cart-item__category { margin-bottom: 2px; overflow-wrap: anywhere; color: var(--wine); font-size: .55rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
  .cart-item h3 { margin-bottom: 3px; overflow-wrap: anywhere; font-family: var(--display); font-size: 1.15rem; font-weight: 600; }
  .cart-item__unit { color: var(--muted); font-size: .62rem; }
  .cart-item__line-total { padding-top: 21px; font-family: var(--display); font-size: .95rem; font-weight: 600; white-space: nowrap; }
  .cart-item__controls { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-top: 10px; }
  .cart-item__quantity-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--ink); background: #fff; border: 1px solid #aeb8b1; border-radius: 50%; font-size: 1rem; cursor: pointer; }
  .cart-item__quantity-button:disabled { opacity: .4; cursor: not-allowed; }
  .cart-item__quantity { min-width: 24px; font-size: .73rem; font-weight: 800; text-align: center; }
  .cart-item__remove { min-width: 48px; min-height: 44px; margin-left: 5px; padding: 5px 2px; color: var(--wine); background: transparent; border: 0; border-bottom: 1px solid currentColor; font-size: .62rem; font-weight: 750; cursor: pointer; }
  .cart-empty { display: grid; justify-items: center; align-content: center; min-height: 100%; padding: 45px 20px; text-align: center; }
  .cart-empty__mark { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; color: #fff; background: var(--forest); border-radius: 50%; font-family: var(--display); font-size: 1.5rem; }
  .cart-empty h3 { margin-bottom: 8px; font-family: var(--display); font-size: 1.55rem; font-weight: 600; }
  .cart-empty p { max-width: 310px; color: var(--muted); font-size: .74rem; }
  .cart-empty button { min-height: 44px; margin-top: 22px; padding: 10px 17px; color: #fff; background: var(--forest); border: 0; border-radius: 999px; font-size: .7rem; font-weight: 800; cursor: pointer; }
  .cart-summary { padding: 18px 20px max(18px, env(safe-area-inset-bottom)); background: var(--cream); border-top: 1px solid var(--line); }
  .cart-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .cart-total span { font-size: .72rem; font-weight: 800; }
  .cart-total strong { font-family: var(--display); font-size: 1.55rem; font-weight: 600; }
  .cart-total__note { margin: 2px 0 13px; color: var(--muted); font-size: .58rem; }
  .cart-checkout { width: 100%; min-height: 50px; padding: 12px 16px; color: #fff; background: var(--forest); border: 0; border-radius: 999px; font-size: .73rem; font-weight: 850; cursor: pointer; }
  .cart-checkout:disabled { color: var(--muted); background: #dedbd3; cursor: not-allowed; }
  .cart-whatsapp-status { margin: 9px auto 2px; color: var(--wine-dark); font-size: .62rem; font-weight: 650; text-align: center; }
  .cart-continue { display: block; min-height: 44px; margin: 4px auto 0; padding: 7px 4px; color: var(--forest); background: transparent; border: 0; border-bottom: 1px solid currentColor; font-size: .65rem; font-weight: 750; cursor: pointer; }
}

@layer responsive {
  @media (max-width: 1080px) {
    .site-header { grid-template-columns: auto 44px 1fr auto auto; gap: 11px; }
    .nav-toggle { display: block; grid-column: 2; }
    .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 14px max(20px, calc((100vw - var(--max)) / 2)) 24px; background: var(--forest-deep); border-top: 1px solid rgba(255,255,255,.14); }
    .primary-nav.is-open { display: grid; }
    .primary-nav a { min-height: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
    .header-cart { grid-column: 4; }
    .header-agent { grid-column: 5; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-grid { grid-template-columns: 1fr; }
    .portal-card { grid-row: auto; }
    .reviews { grid-template-columns: 1fr; }
    .reviews__image { min-height: 560px; }
  }

  @media (max-width: 820px) {
    .hero { display: grid; min-height: auto; background: #c5d0bd; }
    .hero__image { position: relative; grid-row: 2; z-index: 0; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
    .hero::after { display: none; }
    .hero__content { grid-row: 1; width: 100%; min-height: auto; padding: 75px 24px 60px; }
    .hero h1 { max-width: 680px; font-size: clamp(3.6rem, 11vw, 6rem); }
    .benefit-strip { grid-template-columns: 1fr 1fr; }
    .benefit-strip article:nth-child(2) { border-right: 0; }
    .benefit-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .section-heading--split, .service-experience__intro { grid-template-columns: 1fr; align-items: start; gap: 25px; }
    .agent-feature { grid-template-columns: 1fr; }
    .agent-preview { max-width: 560px; }
    .journey-grid { grid-template-columns: 1fr 1fr; }
    .journey-grid li:nth-child(2) { border-right: 0; }
    .team-grid { grid-template-columns: 1fr; gap: 28px; }
    .team-card { display: grid; grid-template-columns: minmax(220px, .8fr) 1fr; }
    .team-card > img { height: 100%; aspect-ratio: auto; }
    .reviews__content { padding-right: 24px; }
  }

  @media (max-width: 600px) {
    html { scroll-padding-top: calc(var(--banner-height, 64px) + 68px); }
    .demo-banner { min-height: 68px; align-items: flex-start; gap: 8px; padding: 10px; }
    .demo-banner__badge { margin-top: 1px; font-size: .58rem; }
    .demo-banner p { font-size: .7rem; text-align: left; }
    .site-header { grid-template-columns: minmax(0, 1fr) 44px 70px; gap: 7px; min-height: 64px; padding: 8px 14px; }
    .header-cart { grid-column: 3; justify-self: end; min-width: 70px; padding-inline: 8px; }
    .header-cart__label { display: none; }
    .header-agent { display: none; }
    .primary-nav { padding-inline: 17px; }
    .hero__content { padding: 58px 18px 46px; }
    .hero h1 { font-size: clamp(3.1rem, 15vw, 4.6rem); }
    .hero__actions { display: grid; }
    .hero__actions .button { width: 100%; }
    .hero__price { align-items: flex-start; flex-direction: column; gap: 2px; margin-top: 30px; }
    .hero__image { aspect-ratio: 1.25 / 1; object-position: 70% center; }
    .benefit-strip { margin-inline: 0; }
    .benefit-strip article { min-height: 100px; padding: 20px 16px; }
    .section { padding-inline: 16px; }
    .product-grid { grid-template-columns: 1fr; }
    .product-card__media { aspect-ratio: 1.45 / 1; }
    .product-card__body { padding: 22px; }
    .compare-table-wrap { overscroll-behavior-inline: contain; }
    .agent-feature, .service-experience { padding-inline: 16px; }
    .agent-preview { padding: 16px; transform: none; }
    .journey-grid { grid-template-columns: 1fr; }
    .journey-grid li, .journey-grid li:first-child { min-height: 220px; border-right: 0; border-left: 1px solid var(--line); }
    .journey-grid li > span { margin-bottom: 50px; }
    .delivery-card { grid-template-columns: 1fr; }
    .delivery-card img { max-height: 280px; }
    .support-card > div { align-items: flex-start; flex-direction: column; gap: 3px; }
    .support-card > div strong { text-align: left; }
    .team-card { display: block; }
    .team-card > img { height: auto; aspect-ratio: 4 / 4.7; }
    .reviews__image { min-height: 330px; }
    .reviews__content { padding: 70px 16px; }
    .review figcaption { align-items: flex-start; flex-direction: column; gap: 8px; }
    .faq-list details p { padding-right: 0; }
    .closing { padding-inline: 16px; }
    .closing > div { display: grid; }
    .site-footer { padding-inline: 16px; }
    .site-footer > div { display: grid; }
    .site-footer > div > p { text-align: left; }
    .site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
    .site-footer__meta { flex-direction: column; gap: 6px; }
    .sales-agent, .shopping-cart { width: 100vw; }
    .cart-feedback { right: 16px; bottom: 16px; border-radius: 12px; }
  }

  @media (max-width: 355px) {
    .brand__word { font-size: 1.18rem; }
    .brand__mark { width: 28px; height: 28px; }
    .brand { gap: 6px; }
    .header-agent { max-width: 105px; padding-inline: 8px; font-size: .58rem; }
    .hero__content, .section, .agent-feature, .service-experience, .reviews__content, .closing, .site-footer { padding-inline: 13px; }
    .hero h1 { font-size: 2.95rem; }
    .benefit-strip { grid-template-columns: 1fr; }
    .benefit-strip article { border-right: 0; border-bottom: 1px solid var(--line); }
    .product-card__footer { align-items: stretch; flex-direction: column; }
    .product-card__footer button { width: 100%; }
    .cart-items { padding-inline: 13px; }
    .cart-item { grid-template-columns: 70px minmax(0, 1fr); gap: 10px; }
    .cart-item > img { width: 70px; height: 70px; }
    .cart-item__line-total { grid-column: 2; padding-top: 0; }
    .shopping-cart__header, .shopping-cart__intro, .cart-summary { padding-left: 14px; padding-right: 14px; }
    .agent-controls { gap: 2px; }
    .sales-agent__header, .agent-log, .agent-quick, .agent-input-row { padding-left: 12px; padding-right: 12px; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
    .button:hover, .product-card:hover { transform: none; }
    .product-card:hover .product-card__media img { transform: none; }
  }

  @media print {
    .demo-banner, .site-header, .sales-agent, .shopping-cart, .agent-overlay, .cart-overlay, .cart-feedback, [data-agent-open], [data-cart-open] { display: none !important; }
  }
}
