:root {
  color-scheme: light;
  --ink: #19202c;
  --muted: #4c5767;
  --accent: #ac2439;
  --accent-hover: #841a2d;
  --paper: #fff;
  --wash: #f5f8fa;
  --line: #dce3e9;
  --heading: 'Instrument Sans', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--body); }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
button { cursor: pointer; }
:is(a, button, summary, input):focus-visible { outline: 3px solid #257caa; outline-offset: 4px; }
h1, h2, h3 { margin: 0 0 0.45em; font: 650 1em/1.07 var(--heading); letter-spacing: -0.04em; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 5.25vw, 5.75rem); }
h2 { font-size: clamp(2rem, 3.3vw, 3.65rem); }
h3 { font-size: clamp(1.2rem, 1.65vw, 1.55rem); }
p { margin: 0 0 1em; color: var(--muted); }
p:last-child { margin-bottom: 0; }
address { font-style: normal; margin-bottom: 1rem; color: var(--muted); }
.shell { width: min(100% - 80px, 1240px); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: 1rem; padding: 1rem; transform: translateY(-180%); z-index: 9; background: white; }
.skip:focus { transform: none; }
.masthead { background: white; position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; flex: none; gap: 9px; font: 700 1.4rem/1 var(--heading); letter-spacing: -0.045em; text-decoration: none; white-space: nowrap; }
.brand img { object-fit: contain; }
#main-navigation { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px); }
#main-navigation a, #main-navigation summary { font-size: .91rem; font-weight: 700; white-space: nowrap; text-decoration: none; }
#main-navigation a:hover, #main-navigation summary:hover { color: var(--accent); }
#main-navigation details { position: relative; }
#main-navigation summary { cursor: pointer; }
#main-navigation details > div { position: absolute; top: calc(100% + 16px); right: 0; min-width: 245px; max-height: 65vh; overflow: auto; padding: 9px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 35px #24384d15; }
#main-navigation details a { display: block; padding: 9px 10px; white-space: normal; border-radius: 6px; }
#main-navigation details a:hover { background: var(--wash); }
.nav-toggle { display: none; }
.hero { background: var(--wash); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(26px, 5.3vw, 82px); padding-block: clamp(40px, 6vw, 86px); }
.hero-home .hero-grid { grid-template-columns: .94fr 1.06fr; }
.hero-photo { width: 100%; aspect-ratio: 1.36; object-fit: cover; object-position: center; border-radius: clamp(12px, 1.7vw, 24px); }
.hero-home .hero-photo { aspect-ratio: 1.18; object-position: right center; }
.hero h1 em { color: var(--accent); font-style: normal; }
.intro { max-width: 32rem; font-size: clamp(1.04rem, 1.55vw, 1.3rem); }
.eyebrow { color: var(--accent); font-size: .84rem; font-weight: 700; margin-bottom: 1.2rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 9px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .58rem; padding: .79rem 1.15rem; min-height: 46px; background: var(--accent); color: white; text-decoration: none; border: 1px solid var(--accent); border-radius: 8px; font-weight: 700; line-height: 1.3; }
.button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button.secondary { background: white; color: #216078; border-color: #6d9bad; }
.button.secondary:hover { color: var(--accent); border-color: var(--accent); }
.text-link { color: var(--accent); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.section { padding-block: clamp(46px, 7vw, 92px); }
.tinted { background: var(--wash); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; column-gap: 22px; margin-bottom: 20px; }
.cards, .product-grid, .capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card, .product-card, .capability-card { background: white; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.feature-card { text-decoration: none; transition: border-color .18s, box-shadow .18s; }
.feature-card:hover { border-color: #bdbbc7; box-shadow: 0 14px 37px #18293f0d; }
.feature-card img, .product-card img { aspect-ratio: 1.65; width: 100%; height: auto; object-fit: cover; }
.feature-card > div, .product-card > div, .capability-card { padding: 22px; }
.price { color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(24px, 5vw, 75px); }
.split.reverse > img { order: 2; }
.split p { max-width: 58ch; }
.story-photo { width: 100%; aspect-ratio: 1.43; object-fit: cover; border-radius: 16px; }
.contact-photo { object-position: center 34%; }
.wide-story { background: #f7f4f1; }
.wide-image { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; background: white; border: 1px solid #ebe3dc; border-radius: 18px; overflow: hidden; }
.wide-image > div { padding: clamp(24px, 4vw, 60px); }
.wide-image img { height: 100%; width: 100%; min-height: 310px; object-fit: cover; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: #f9eff1; border-radius: 16px; padding: clamp(24px, 4vw, 48px); margin-block: 30px 48px; }
.cta h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cta .button { flex-shrink: 0; }
.back-guide { margin-bottom: 24px; }
.prose { max-width: min(100% - 80px, 810px); }
.prose h2 { font-size: 1.95rem; }
.prose p { margin-bottom: 1.8rem; }
.topic-banner, .notice { padding: 12px 18px; margin-top: 14px; border-left: 3px solid var(--accent); background: #f9eff1; }
.menu-tools { padding-bottom: 28px; }
.menu-tools label { display: block; font-weight: 700; }
.menu-tools input { display: block; width: min(100%, 440px); padding: .6rem .78rem; border: 1px solid #9ba9b8; border-radius: 8px; margin: .45rem 0 1rem; }
.category-filters { display: flex; gap: .55rem; flex-wrap: wrap; margin-bottom: 1rem; }
.category-filters button { color: var(--ink); background: var(--wash); border: 1px solid var(--line); border-radius: 6px; padding: .4rem .65rem; }
.category-filters button[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: white; }
.pricing-group { margin-bottom: 28px; }
.pricing-catalog > button { margin-top: 10px; }
.chatgpt-actions { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 20px; }
.chatgpt-qr { display: grid; width: 250px; text-align: center; color: var(--accent); font-weight: 700; }
.chatgpt-qr img { height: 250px; width: 250px; max-width: none; }
.capability-grid { margin-top: 22px; }
.capability-card details { margin-top: 12px; }
.capability-card summary { cursor: pointer; }
.capability-card code { display: block; overflow-wrap: anywhere; font-size: .81rem; }
.site-footer { background: var(--wash); border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 25px; padding-block: 40px 27px; }
.footer-main h2 { font: 700 1rem/1.2 var(--body); letter-spacing: 0; }
.footer-main a:not(.brand) { display: block; text-decoration: none; margin-bottom: .2rem; overflow-wrap: anywhere; }
.footer-main a:hover { color: var(--accent); }
.footer-main .brand { margin-bottom: 10px; }
.footer-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.footer-gallery a { display: grid; gap: 5px; text-decoration: none; font-size: .88rem; font-weight: 700; }
.footer-gallery img { aspect-ratio: 1.65; object-fit: cover; width: 100%; border-radius: 6px; }
.fineprint { border-top: 1px solid var(--line); padding: 15px 0 24px; }
.fineprint > div:first-child, .iod-footer-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.fineprint > div:first-child { font-size: .86rem; color: var(--muted); }
.iod-footer-badges { margin-top: 12px; }
.iod-footer-badges img { object-fit: contain; }
@media (max-width: 980px) {
  .shell { width: calc(100% - 44px); }
  .nav-wrap { min-height: 66px; }
  .nav-toggle { display: block; background: white; padding: 7px 11px; border: 1px solid #bfcbd5; border-radius: 7px; }
  #main-navigation { display: none; position: absolute; inset: 66px 0 auto; background: white; padding: 17px 22px; border-bottom: 1px solid var(--line); max-height: calc(100dvh - 66px); overflow: auto; }
  #main-navigation.is-open { display: grid; }
  #main-navigation details > div { position: static; box-shadow: none; max-height: none; margin-top: 7px; }
  .cards, .product-grid, .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .shell { width: calc(100% - 36px); }
  :is(.hero .hero-grid, .split, .wide-image) { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(2.55rem, 10vw, 3.6rem); }
  .hero-home .hero-photo, .hero-photo { aspect-ratio: 1.38; }
  .split.reverse > img { order: 0; }
  .wide-image img { min-height: 0; height: auto; aspect-ratio: 1.43; }
  .cards, .product-grid, .capability-grid { grid-template-columns: minmax(0, 1fr); }
  .cta { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: minmax(0, 1fr); }
  .footer-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
