:root {
  --phi: 1.618;
  --wide: minmax(0, 1.618fr);
  --narrow: minmax(0, 1fr);
  --paper: #faf6ef;
  --white: #fffcf7;
  --ink: #302132;
  --plum: #301e31;
  --muted: #605261;
  --line: #e3d8d8;
  --peach: #ffb793;
  --wine: #8c4150;
  --shade: 0 25px 49px -28px #492b4685, 0 4px 14px #3021320c;
  --motion: cubic-bezier(.2,.68,.26,1);
  --display: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.58 system-ui, -apple-system, "Segoe UI", sans-serif;
  scroll-padding-top: 86px;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dd, dl { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
img { display: block; width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #9c4861; outline-offset: 4px; }
.hero :focus-visible, .demo-cover :focus-visible { outline-color: var(--peach); }

.skip { position: fixed; z-index: 20; top: 9px; left: 9px; padding: 8px 13px; border-radius: 8px; background: var(--white); transform: translateY(-165%); }
.skip:focus { transform: none; }
.wrap { width: min(1220px, calc(100% - clamp(32px, 8vw, 112px))); margin-inline: auto; }
.section { padding-block: clamp(55px, 7.6vw, 103px); }

.masthead { position: sticky; z-index: 5; top: 0; background: #faf6eff0; border-bottom: 1px solid #ded0d7c4; backdrop-filter: blur(13px); }
.mast-inner { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 17px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 820; letter-spacing: -.031em; line-height: 1.18; }
.brand-mark, .focus-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  border-radius: 12px;
  background: var(--plum);
  color: var(--peach);
  box-shadow: inset 0 1px #fff2, 0 6px 12px #3d213d23;
}
.brand-mark::before, .focus-mark::before { width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 6px 11px 6px 11px; transform: rotate(45deg); content: ""; }
.brand-mark::after, .focus-mark::after { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: currentColor; content: ""; }
.masthead nav { display: flex; align-items: center; gap: clamp(15px, 2.25vw, 34px); color: var(--muted); font-size: .94rem; font-weight: 680; }
.masthead nav a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.btn, .menu {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 760;
  text-align: center;
  transition: background .2s, transform .2s var(--motion), box-shadow .2s, border-color .2s;
}
.menu { display: none; }
.btn:active, .mobile-contact:active { transform: scale(.98); }
.btn-nav, .menu { color: var(--ink); border-color: #d8c3cf; background: #f4ebed; }
.btn-coral { background: var(--peach); color: #341f2e; box-shadow: 0 8px 19px #ffb79340, inset 0 1px #ffe2c9; }
.btn-outline { color: #fff5f1; border-color: #e4c3db67; background: #ffffff0b; }
.btn-cream { color: #1f3a31; background: #f1f6e8; box-shadow: 0 6px 15px #0b2018aa; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
  color: var(--wine);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .125em;
}
.eyebrow::before { width: 14px; height: 1px; flex: 0 0 14px; background: currentColor; content: ""; }
h1, h2, .demo-name { font-family: var(--display); font-weight: 400; letter-spacing: -.062em; }
h2 { font-size: clamp(2.67rem, 5vw, 4.68rem); line-height: .98; }
h1 em, h2 em { color: var(--wine); font-weight: 400; }
.inquiry h2 em, .trade h2 em, .contact h2 em { display: block; }
.inquiry-intro > p:last-child, .trade-layout > div > p:last-child, .section-head > p, .contact-copy > p:last-child {
  max-width: 34rem;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.045rem;
  text-wrap: pretty;
}

.hero, .contact {
  background: radial-gradient(ellipse at 85% 5%, #6a3d58bc, transparent 62%), linear-gradient(132deg, #3c2642, #2f1e31 70%);
  color: #fffbf7;
}
.hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 0 0 clamp(20px, 3.25vw, 41px) clamp(20px, 3.25vw, 41px); }
.hero::before {
  position: absolute;
  z-index: -1;
  inset: auto auto -19vw -10vw;
  width: 46vw;
  aspect-ratio: 1;
  border: 1px solid #ffe0cf25;
  border-radius: 50%;
  box-shadow: 0 0 0 40px #ffe0cf17, 0 0 0 80px #ffe0cf0d;
  pointer-events: none;
  content: "";
}
.hero-layout {
  display: grid;
  grid-template-columns: var(--narrow) var(--wide);
  align-items: center;
  gap: clamp(25px, 4.1vw, 57px);
  padding-block: clamp(36px, 6.2vw, 83px);
}
.hero-copy { container-type: inline-size; }
.hero h1 { font-size: clamp(2.7rem, 19.4cqi, 6rem); line-height: .93; }
.hero h1 em { display: block; }
.hero .eyebrow, .hero h1 em, .contact .eyebrow, .contact h2 em { color: var(--peach); }
.hero-lead { margin-top: 19px; max-width: 28rem; color: #f3e8f1; font-size: 1.07rem; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.hero-media {
  position: relative;
  isolation: isolate;
  aspect-ratio: var(--phi);
  overflow: hidden;
  border: 1px solid #ffe7d5a4;
  border-radius: clamp(15px, 2.5vw, 31px);
  background: #534655;
  box-shadow: 0 19px 39px -12px #190e21d1, 0 0 0 5px #ffd1b922;
}
.hero-media img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-media::after { position: absolute; z-index: 0; inset: 0; background: linear-gradient(0deg, #24122270, transparent 54%); pointer-events: none; content: ""; }
.hero-media figcaption {
  position: absolute;
  z-index: 1;
  bottom: clamp(9px, 2vw, 22px);
  left: clamp(9px, 2vw, 22px);
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100% - 18px);
  padding: 7px 11px 7px 7px;
  border: 1px solid #fffbf3d4;
  border-radius: 12px;
  color: var(--ink);
  background: #fffbf3ed;
  box-shadow: 0 6px 18px #2817267c;
}
.hero-media .focus-mark { width: 29px; height: 29px; flex-basis: 29px; border-radius: 8px; }
.hero-media figcaption strong, .hero-media figcaption small { display: block; line-height: 1.24; }
.hero-media figcaption strong { font-size: .9rem; }
.hero-media figcaption small { margin-top: 2px; color: var(--muted); font-size: .79rem; }

.inquiry, .trade-layout, .contact-layout { display: grid; grid-template-columns: var(--narrow) var(--wide); align-items: center; gap: clamp(27px, 6.18vw, 84px); }
.scenario { min-width: 0; padding: clamp(10px, 1.8vw, 19px); border: 1px solid #e3ccd2; border-radius: clamp(17px, 2.25vw, 27px); background: linear-gradient(152deg, #f9efee, #f3e7ea); box-shadow: var(--shade); }
.scenario-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-bottom: 11px; }
.scenario-controls button, .device-controls button {
  min-height: 44px;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #fff8f4;
  color: #63404f;
  font-size: .91rem;
  font-weight: 750;
  transition: background .2s, box-shadow .2s;
}
.scenario-controls button[aria-pressed="true"] { background: var(--plum); color: #fff8f5; box-shadow: 0 5px 12px #4d2f514d; }
.ticket { padding: clamp(14px, 2.4vw, 26px); border: 1px solid #ead8d5; border-radius: 16px; background: var(--white); box-shadow: 0 8px 22px #43283e12; }
.ticket:not([hidden]) + .ticket:not([hidden]) { margin-top: 9px; }
.ticket header { display: flex; align-items: start; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; }
.ticket h3 { font-size: clamp(1.14rem, 1.9vw, 1.53rem); line-height: 1.22; letter-spacing: -.027em; }
.ticket header > span { padding: 2px 9px; border-radius: 20px; background: #f2e8ee; color: #65465b; font-size: .78rem; font-weight: 750; }
.speech { margin-top: 14px; padding: 10px 13px; border: 1px solid #ecd4c8; border-radius: 3px 14px 14px; background: #fff2e9; color: #452e3a; font-size: 1.02rem; text-wrap: pretty; }
.ticket dl { display: grid; grid-template-columns: minmax(0, 1fr) var(--wide) var(--wide); gap: 8px 11px; margin-top: 13px; }
.ticket dt { font-size: .82rem; color: var(--muted); font-weight: 680; }
.ticket dd { font-size: .93rem; font-weight: 730; line-height: 1.37; }

.trade { padding-block: clamp(48px, 6.18vw, 82px); border-block: 1px solid #ecd8d5; background: radial-gradient(ellipse at 10% 0%, #f9e2d8, transparent 70%), #f5ebef; }
.trade-details { display: grid; gap: 9px; }
.trade-details > div { padding: 13px 16px; border: 1px solid #ead7da; border-left: 3px solid #ac5967; border-radius: 12px; background: #fffbf7; box-shadow: 0 7px 18px -14px #50314b79; }
.trade-details dt { font-weight: 810; letter-spacing: -.021em; }
.trade-details dd { margin-top: 3px; color: var(--muted); }

.section-head { display: grid; grid-template-columns: var(--wide) var(--narrow); align-items: end; gap: 13px clamp(22px, 4.5vw, 58px); margin-bottom: 20px; }
.section-head > p { margin-top: 0; }
.demo-cover { display: grid; grid-template-columns: var(--wide) var(--narrow); overflow: hidden; border: 1px solid #53665a; border-radius: clamp(17px, 2.7vw, 32px); background: radial-gradient(ellipse at 100% 0%, #3b6858, transparent 65%), #1c3930; color: #faf8ed; box-shadow: var(--shade); }
.demo-cover img { height: clamp(220px, 29vw, 377px); object-fit: cover; }
.demo-cover > div { display: grid; align-content: center; justify-items: start; gap: 9px; padding: clamp(21px, 3.6vw, 49px); }
.demo-name { font-size: clamp(2.48rem, 5vw, 4.45rem); line-height: .95; }
.demo-cover > div > p + p { color: #e1ede2; }
.demo-cover .btn { margin-top: 4px; }
.preview { overflow: hidden; margin-top: 13px; border: 1px solid #dfd4dc; border-radius: 16px; background: #faf4f4; }
.preview summary { padding: 12px 15px; color: var(--plum); font-weight: 750; }
.preview summary:focus-visible { outline-offset: -4px; }
.device-controls { display: flex; gap: 5px; padding: 0 14px 12px; }
.device-controls button { border-color: #dbc7d2; }
.device-controls button[aria-pressed="true"] { background: var(--plum); color: white; }
.preview-well { --screen-w: 1180; --screen-h: 674; padding: clamp(18px, 4vw, 50px); border-top: 1px solid #edcfd8; background: radial-gradient(ellipse at 50% 12%, #eed8e5, transparent 71%), #d8b8ce; }
.preview-well[data-layout="phone"] { --screen-w: 390; --screen-h: 665; }
.preview-screen { position: relative; width: 100%; max-width: 1050px; aspect-ratio: var(--screen-w) / var(--screen-h); overflow: hidden; margin-inline: auto; border-radius: 11px; background: #f4e9ee; box-shadow: 0 0 0 5px #3b2739, 0 16px 29px #4f344e6c; }
.preview-well[data-layout="phone"] .preview-screen { max-width: 325px; border-radius: 24px; box-shadow: 0 0 0 6px #3b2739, 0 17px 30px #50314a85; }
.preview-screen iframe { position: absolute; inset: 0; width: calc(var(--screen-w) * 1px); height: calc(var(--screen-h) * 1px); border: 0; transform: scale(var(--scale, .5)); transform-origin: top left; }
.preview-screen iframe[inert] { pointer-events: none; }

.contact { padding-block: clamp(54px, 7.3vw, 100px); }
.contact-copy > p:last-child { color: #f2e5ee; }
#contact-form { min-width: 0; padding: clamp(16px, 3.3vw, 34px); border: 1px solid #f8e7de; border-radius: clamp(17px, 2.4vw, 25px); background: var(--white); color: var(--ink); box-shadow: 0 20px 43px -17px #130a14c9, 0 0 0 5px #ffd4bb21; }
fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 12px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.035em; }
.fields { display: grid; grid-template-columns: var(--wide) var(--narrow); gap: 0 10px; }
label { display: block; min-width: 0; margin-bottom: 10px; font-size: .91rem; font-weight: 750; }
label span, .form-note { color: var(--muted); font-weight: 400; }
label input, label textarea, label select { display: block; width: 100%; min-height: 44px; margin-top: 4px; padding: 8px 10px; border: 1px solid #c1acb9; border-radius: 8px; background: white; color: var(--ink); font-size: 1rem; font-weight: 430; }
textarea { resize: vertical; }
.form-note { margin-bottom: 11px; font-size: .89rem; }
#contact-submit { width: 100%; }
#form-result { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
#form-status:not(:empty) { margin-top: 8px; }
footer { padding-block: 22px; color: var(--muted); }
.footer-layout { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; }
.footer-layout a { color: var(--ink); font-weight: 760; }
.mobile-contact { display: none; }

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn-nav:hover, .menu:hover { background: #f0e0e9; border-color: #c8a9bf; }
  .btn-coral:hover { background: #ffd1b3; }
  .btn-outline:hover { background: #ffffff23; }
  .btn-cream:hover { background: #fcfff7; }
  .scenario-controls button:not([aria-pressed="true"]):hover, .device-controls button:not([aria-pressed="true"]):hover { background: #f0dce8; }
}
@media (max-width: 790px) {
  :root { scroll-padding-top: 74px; scroll-padding-bottom: calc(91px + env(safe-area-inset-bottom, 0px)); }
  .mast-inner { display: grid; min-height: 61px; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; padding-block: 6px; }
  .mast-inner > .btn { display: none; }
  .menu { display: inline-flex; min-height: 41px; }
  .masthead nav { grid-column: 1 / -1; flex-wrap: wrap; gap: 7px 16px; padding: 6px 0 9px; }
  .menu[aria-expanded="false"]:not([hidden]) + nav { display: none; }
  .mobile-contact {
    position: fixed;
    z-index: 8;
    inset: auto 12px calc(10px + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(390px, calc(100% - 24px));
    min-height: 57px;
    margin-inline: auto;
    padding: 7px 12px;
    border: 1px solid #83b6a0;
    border-radius: 17px;
    color: white;
    background: linear-gradient(129deg, #356854, #22503f);
    box-shadow: 0 9px 25px #1b392ba0;
    transition: transform .2s var(--motion);
  }
  .mobile-contact strong, .mobile-contact small { display: block; line-height: 1.2; }
  .mobile-contact small { margin-top: 2px; color: #dceee2; font-size: .81rem; }
  .chat-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 50% 50% 50% 28%; background: #e2f4df; color: #254f3d; line-height: 1; }
  body:has(#contact-form :is(input, select, textarea):focus) .mobile-contact { visibility: hidden; }
  footer { padding-bottom: calc(87px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 705px) {
  .hero-layout, .inquiry, .trade-layout, .section-head, .demo-cover, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-layout { gap: 19px; padding-block: 28px 29px; }
  .hero h1 { font-size: clamp(2.7rem, 15cqi, 4.39rem); }
  .hero-lead { margin-top: 13px; font-size: 1rem; }
  .hero-actions { margin-top: 14px; }
  .hero-actions .btn { padding-inline: 11px; }
  .hero-media img { object-position: 67% center; }
  .ticket dl { grid-template-columns: minmax(0, 1fr); }
  .ticket dl > div { display: grid; grid-template-columns: var(--narrow) var(--wide); gap: 5px; }
  .demo-cover img { height: auto; aspect-ratio: var(--phi); }
  .section-head { gap: 10px; }
}
@media (max-width: 430px) {
  .fields { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { min-height: 44px; font-size: .84rem; }
}
@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: smooth; }
  .hero-copy { animation: appear .58s var(--motion); }
  .hero-media { animation: appear .72s var(--motion); }
  .hero-media img { animation: settle .92s var(--motion); }
  .revealed { animation: appear .54s var(--motion); }
  .ticket.current { animation: appear .28s var(--motion); }
  .preview[open] .preview-well { animation: appear .29s var(--motion); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@keyframes appear { from { opacity: .6; transform: translateY(10px); } }
@keyframes settle { from { transform: scale(1.042); } }
