
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/bricolage-grotesque.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('/fonts/inter-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #271b0f;
  --muted: #3c2917;
  --champagne: #fff8e3;
  --gold-light: #f6e7b8;
  --gold: #ddb866;
  --gold-deep: #a87b2c;
  --edge: #8d632f;
  --line: #b8935880;
  --focus: #57360e;
  --brush: repeating-linear-gradient(0deg, #85561706 0 1px, #fff8e30c 1px 2px, transparent 2px 4px);
  --metal-field: linear-gradient(118deg, #bb9046, var(--gold) 13%, var(--gold-light) 29%, var(--champagne) 40%,
      var(--gold-light) 49%, var(--gold) 64%, #bd9145 75%, var(--gold-light) 87%, var(--gold) 100%);
  --metal-surface: linear-gradient(135deg, var(--champagne), #fffdf6 32%, var(--gold-light) 80%, #edd29a);
  --metal-button: linear-gradient(168deg, var(--gold) 0%, var(--gold-light) 28%, var(--champagne) 40%, var(--gold) 54%, #c0984c 88%, var(--gold) 100%);
  --metal-secondary: linear-gradient(166deg, var(--gold-light), #fffdf3 40%, #edd59d 57%, var(--gold-light));
  --display: 'Bricolage Grotesque', Arial, sans-serif;
  --mono: 'Courier New', monospace;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  margin: 0;
  background: var(--brush), var(--metal-field) fixed, var(--gold);
  color: var(--ink);
  font: 1rem/1.55 var(--display);
}
main { flex: 1; }
h1, h2, h3, p, figure, dl, dd, form { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { color: var(--champagne); background: #624012; }
.shell { width: min(74rem, calc(100% - clamp(2rem, 8vw, 7rem))); margin-inline: auto; }
.skip-link { position: absolute; z-index: 3; top: .65rem; left: 1rem; padding: .5rem 1rem; background: var(--gold-light); transform: translateY(calc(-100% - 1rem)); }
.skip-link:focus { transform: none; }
.masthead { border-bottom: 1px solid var(--edge); background: var(--brush), var(--metal-secondary); box-shadow: inset 0 1px #fff8e3; }
.masthead-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .7rem 1.25rem; min-height: 4.65rem; padding-block: .8rem; }
.wordmark, .footer-brand { display: inline-flex; align-items: center; gap: .6rem; width: fit-content; text-decoration: none; }
.wordmark { font-weight: 800; font-size: 1.55rem; line-height: 1; letter-spacing: -.045em; }
.brand-mark { display: block; width: 2rem; height: 2rem; flex: none; filter: drop-shadow(0 1px 1px #57360ebf) drop-shadow(0 -1px 0 #fff8e3a8); }
.footer-brand .brand-mark, .preview-header .brand-mark { width: 1.55rem; height: 1.55rem; }
.masthead nav { display: flex; flex-wrap: wrap; gap: .35rem clamp(.8rem, 2.4vw, 1.65rem); }
.masthead nav a, .reference { font-weight: 700; font-size: .94rem; text-decoration: none; }
.masthead nav a:hover, .reference:hover { text-decoration: underline; }
.reference { justify-self: end; color: var(--muted); }
h1, .section h2 { font-weight: 800; line-height: .96; letter-spacing: -.062em; text-wrap: balance; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(2.4rem, 7vw, 6.35rem);
  padding-block: clamp(4.5rem, 11vw, 9.2rem);
}
.hero h1 { max-width: 13ch; font-size: clamp(3.35rem, 7.15vw, 6.55rem); }
.hero .lede { color: var(--muted); margin-top: 1.5rem; }
.lede, .section-copy > p, .section-head > p { max-width: 47ch; font-size: clamp(1.05rem, 1.5vw, 1.21rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.3rem; margin-top: 1.5rem; }
.button, .choice, .copy-code, summary { transition: transform 160ms ease, box-shadow 160ms ease; }
.button {
  display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 3rem;
  padding: .7rem 1rem; border: 1px solid var(--edge); border-radius: .6rem; color: var(--ink);
  background: linear-gradient(114deg, transparent 38%, #fff8e3ba 49%, transparent 62%) 100% 0 / 250% 100%,
    var(--brush), var(--metal-button);
  box-shadow: inset 0 1px 0 #fff8e3, inset 0 -1px #8556178c, 0 2px 4px #57360e38;
  font: 760 .97rem/1.2 var(--display); text-align: center; text-decoration: none; cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-position 420ms ease;
}
.button:is(:hover, :focus-visible):not(:disabled) { background-position: 0 0, 0 0, 0 0; transform: translateY(-2px); box-shadow: inset 0 1px 0 #fff8e3, 0 5px 12px #57360e45; }
.button:active:not(:disabled), .choice:active { transform: translateY(1px) scale(.99); box-shadow: inset 0 2px 3px #57360e40; }
.button:disabled { color: var(--muted); background: var(--metal-secondary); box-shadow: none; cursor: default; }
.button.secondary:not(:disabled) { background-image: linear-gradient(114deg, transparent 38%, #fff8e3ba 49%, transparent 62%), var(--brush), var(--metal-secondary); }
.text-link { color: var(--ink); font-weight: 700; }
.text-link:hover { text-decoration-thickness: 2px; }
.label { font: 700 .875rem/1.4 var(--mono); letter-spacing: .035em; text-transform: uppercase; }
.order-preview {
  justify-self: stretch; min-width: 0; border: 1px solid var(--edge); border-radius: 1.25rem;
  background: var(--metal-surface); color: var(--ink); box-shadow: 0 1.5rem 3.2rem #57360e42; overflow: hidden;
}
.preview-header, .preview-header > span, .preview-order { display: flex; align-items: center; gap: .6rem; }
.preview-header { justify-content: space-between; flex-wrap: wrap; padding: .9rem clamp(1rem, 2.4vw, 1.6rem); border-bottom: 1px solid var(--edge); background: var(--brush), var(--metal-button); font-weight: 750; }
.preview-status { padding: .18rem .48rem; border: 1px solid var(--edge); background: #fff8e353; border-radius: .4rem; font: 700 .8rem/1.35 var(--mono); }
.preview-content { padding: clamp(1rem, 2.55vw, 1.8rem); }
.preview-order { justify-content: space-between; }
.preview-order .label { color: var(--muted); }
.preview-product { font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 800; letter-spacing: -.03em; }
.preview-divider { height: 1px; background: var(--line); margin-block: 1rem; }
.preview-label { font-weight: 800; }
.preview-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: .45rem; padding: 0; list-style: none; margin-block: .65rem 1rem; }
.preview-options li { background: #ddb86633; border-radius: .4rem; padding: .42rem .6rem; font-size: .9rem; }
.preview-button { width: 100%; }
.section { padding-block: clamp(3rem, 7.5vw, 6.15rem); }
.paper { background: var(--brush), var(--metal-surface); border-block: 1px solid var(--line); }
.section h2 { font-size: clamp(2.25rem, 4.8vw, 4.15rem); }
.section-head, .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 1.25rem clamp(1.4rem, 6vw, 5rem); }
.section-head > p { color: var(--muted); align-self: center; }
.journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 1.9rem 0 0; padding: 0; list-style: none; }
.journey li { border-top: 2px solid var(--gold-deep); padding: 1rem 1rem 1.05rem; background: #ddb86630; border-radius: 0 0 .7rem .7rem; }
.journey h3, .providers dt { font-weight: 780; font-size: clamp(1.18rem, 2vw, 1.5rem); line-height: 1.12; }
.journey p { margin-top: .42rem; }
.section-copy > p { margin-top: 1.1rem; color: var(--muted); }
.providers > div { border-top: 1px solid var(--edge); padding-block: .85rem 1.15rem; }
.providers dd { max-width: 45ch; margin-top: .36rem; }
.landing-pricing { background: var(--brush), var(--metal-secondary); border-top: 1px solid var(--edge); }
.landing-pricing .button { justify-self: start; align-self: center; }
.store { padding-block: clamp(2.8rem, 7.5vw, 5.5rem); }
.store-inner { max-width: 52rem; }
.store .eyebrow, .muted, .store .lede { color: var(--muted); }
.store h1 { margin-block: .55rem 1rem; font-size: clamp(2.55rem, 7.2vw, 4.8rem); }
.panel { margin-top: 1.5rem; border: 1px solid var(--edge); border-radius: 1rem; background: var(--metal-surface); overflow: hidden; box-shadow: 0 10px 24px #57360e30; }
.panel-bar { padding: .72rem clamp(1rem, 3vw, 1.65rem); border-bottom: 1px solid var(--edge); background: var(--brush), var(--metal-button); }
.store airsurf-purchase { --airsurf-button-finish: var(--brush), var(--metal-button); }
.store-panel { display: grid; justify-items: start; gap: 1.2rem; padding: clamp(1rem, 3vw, 1.65rem); }
.summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; width: 100%; padding-bottom: .85rem; border-bottom: 1px solid var(--line); }
.summary-title, .line-items { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 800; line-height: 1.25; }
.line-items { min-width: 0; margin: 0; padding: 0; list-style: none; overflow-wrap: anywhere; }
.line-items li + li { margin-top: .3rem; }
.amount, code { font: 700 .875rem/1.45 var(--mono); }
.case-status { width: 100%; padding: 1rem; border: 1px solid var(--edge); border-radius: .55rem; background: var(--metal-secondary); }
.case-status[data-status="completed"] { background: var(--gold-light); }
.case-status h3 { font-weight: 800; font-size: 1.3rem; line-height: 1.2; }
.case-details { display: grid; gap: .6rem; margin-top: .7rem; }
.case-details code { display: block; overflow-wrap: anywhere; }
.footer { border-top: 1px solid var(--edge); background: var(--brush), var(--metal-button); }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .65rem 1.4rem; padding-block: 1.15rem; font-weight: 700; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.connect-inner { max-width: 64rem; }
.connect > .connect-inner { padding-block: clamp(2.8rem, 7vw, 5.6rem); }
.connect h1, .pricing h1 { margin-block: .15rem 1rem; font-size: clamp(2.75rem, 7vw, 5.2rem); }
.connect .lede, .pricing .lede { max-width: 59ch; color: var(--muted); }
.provider-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .8rem; margin-top: 1.4rem; }
.choice { display: grid; gap: .29rem; padding: 1rem; border: 1px solid var(--edge); border-radius: .75rem; background: var(--metal-secondary); text-decoration: none; box-shadow: inset 0 1px #fff8e3; }
.choice:hover, .choice[aria-current='page'] { background: var(--brush), var(--metal-button); }
.choice strong { font-size: 1.25rem; }
.connect-paper h2 { font-size: clamp(1.75rem, 4vw, 2.45rem); line-height: 1.04; letter-spacing: -.04em; }
.connect-paper p { max-width: 72ch; margin-block: .62rem; overflow-wrap: anywhere; }
.snippet { margin-block: .85rem 1rem; border: 1px solid var(--edge); border-radius: .68rem; overflow: hidden; }
.snippet-bar { display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding: .42rem .68rem; background: var(--brush), var(--metal-secondary); }
.snippet-bar p { margin: 0; }
.copy-code { min-height: 2rem; padding: .14rem .55rem; border: 1px solid var(--edge); border-radius: .35rem; background: var(--metal-button); color: var(--ink); font: inherit; cursor: pointer; }
.copy-code:active, summary:active { transform: scale(.98); }
.snippet pre { --focus: var(--gold-light); margin: 0; padding: .75rem; overflow-x: auto; background: var(--ink); color: var(--champagne); }
.snippet code { font-weight: 400; }
#replacement-key { white-space: pre-wrap; overflow-wrap: anywhere; }
.setup-card { padding-block: 1.65rem; border-bottom: 1px solid var(--line); }
.setup-card:first-child { padding-top: 0; }
.setup-card h3 { margin-top: 1rem; }
.setup-card form, .contact-fields { display: grid; gap: .85rem; }
.setup-card form .button, .contact-fields .button { justify-self: start; }
.setup-card label, .contact-fields label { display: grid; gap: .25rem; font-weight: 700; }
.setup-card :is(input, select, textarea), .contact-fields :is(input, select, textarea) {
  min-width: 0; min-height: 2.7rem; padding: .43rem .62rem; color: var(--ink); background: #fffdf6;
  border: 1px solid var(--edge); border-radius: .45rem; font: inherit;
}
.setup-card input[type='color'] { width: 100%; padding: .2rem; cursor: pointer; }
.setup-card summary { width: fit-content; cursor: pointer; font-weight: 800; }
.setup-card details[open] > *:not(summary), .merchant-list > li { animation: reveal 190ms ease-out; }
@keyframes reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: .65rem 1rem; }
.brand-builder { display: grid; grid-template-columns: 2fr 1fr; gap: 1.35rem; margin-block: 1rem; }
.brand-preview { display: grid; place-content: center; place-items: center; gap: .55rem; padding: .75rem; min-height: 9rem; border: 1px solid var(--edge); border-radius: .65rem; background: var(--metal-secondary); }
.merchant-list { display: grid; gap: .75rem; padding: 0; margin: .85rem 0; list-style: none; }
.merchant-list li { padding: .8rem; border: 1px solid var(--line); border-radius: .5rem; overflow-wrap: anywhere; }
.merchant-list h3 { margin-top: 0; }
.merchant-list details { margin-top: .75rem; }
.merchant-list textarea, .contact-fields textarea { display: block; width: min(100%, 34rem); margin-block: .35rem; resize: vertical; }
.merchant-list li .actions { margin-top: .6rem; }
#portal-status { position: sticky; bottom: .75rem; background: var(--gold-light); width: fit-content; padding: .45rem .7rem; border: 1px solid var(--gold-deep); border-radius: .4rem; }
.inline-status:empty { display: none; }
.pricing-head { padding-block: clamp(3rem, 7vw, 5.8rem) clamp(2rem, 4vw, 2.8rem); }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .95rem; padding-bottom: clamp(3rem, 7vw, 5.7rem); }
.price-card { min-width: 0; display: flex; flex-direction: column; align-items: start; gap: .75rem; padding: clamp(1rem, 2.2vw, 1.65rem); border: 1px solid var(--edge); border-radius: .95rem; background: var(--metal-surface); box-shadow: 0 .55rem 1.7rem #57360e26; }
.price-card.featured { box-shadow: inset 0 3px var(--gold), 0 .55rem 1.7rem #57360e26; }
.price-card h2 { font-size: 1.33rem; line-height: 1.2; }
.plan-price { font-size: clamp(2.25rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.plan-price small { display: block; margin-top: .45rem; color: var(--muted); font-size: .92rem; font-weight: 650; letter-spacing: 0; }
.price-card ul { padding-inline-start: 1.15rem; margin-block: 0; }
.price-card .price-actions { width: 100%; margin-top: auto; padding-top: .35rem; }
.price-actions .button { width: 100%; }
.price-actions p { margin-top: .5rem; color: var(--muted); font-size: .9rem; }
.contact-wrap { max-width: 43rem; }
.contact-fields { margin-top: 1.35rem; }
.contact-fields :is(input, textarea) { width: 100%; }
.contact-fields .form-status { padding: .7rem; border-left: 3px solid var(--gold-deep); background: var(--gold-light); }
.agent-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.7rem, 6vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 8vw, 6.5rem); }
.agent-hero h1 { max-width: 13ch; font-size: clamp(2.8rem, 6.6vw, 5.85rem); line-height: .99; letter-spacing: -.045em; }
.agent-hero .lede { color: var(--muted); margin-top: 1rem; }
.agent-fit { max-width: 46ch; margin-top: .75rem; }
.agent-product-nav { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-bottom: .85rem; }
.agent-product-nav [aria-current='page'] { font-weight: 800; }
.agent-endpoint, .brand-showcase { padding: clamp(1rem, 3vw, 1.85rem); }
.agent-endpoint p { margin-block: .45rem .8rem; }
.agent-endpoint .actions { margin-top: .8rem; }
.agent-reading > p { max-width: 60ch; margin-top: 1rem; }
.agent-columns, .agent-providers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; margin-top: 1.25rem; }
.agent-columns section { min-width: 0; }
.agent-columns h3 { margin-bottom: .45rem; }
.agent-code { padding: .85rem 1rem; margin: 0; border-radius: .55rem; background: var(--ink); color: var(--champagne); white-space: pre-wrap; overflow-wrap: anywhere; }
.agent-code code { font-weight: 400; }
.agent-prompt { font: inherit; }
.agent-columns button { margin-top: .75rem; }
.agent-providers dd { max-width: none; }
.agent-guidance { max-width: 72ch; padding-inline-start: 1.2rem; }
.agent-guidance li + li { margin-top: .55rem; }
.copy-feedback { display: block; min-height: 1.45rem; margin-top: .3rem; }
.brand-showcase { display: flex; gap: .75rem; align-items: center; justify-content: center; font-size: clamp(2.35rem, 4.2vw, 3.8rem); font-weight: 800; letter-spacing: -.045em; }
.brand-showcase .brand-mark { width: clamp(2.75rem, 4.8vw, 4.6rem); height: auto; }
.workspace-theme {
  --ink: #162a2a; --muted: #365250; --champagne: #f3fbfa; --gold-light: #d7e9e7; --gold: #b6d2d0;
  --gold-deep: #7a9e9a; --edge: #527873; --line: #7a9e9a80; --focus: #1d5b55;
  --brush: none; --metal-field: linear-gradient(145deg, #dcecea, #b6d2d0 76%);
  --metal-surface: linear-gradient(140deg, #fcfefe, #edf6f5);
  --metal-button: linear-gradient(170deg, #eaf5f3, #a5c8c4);
  --metal-secondary: linear-gradient(170deg, #f3fbfa, #d7e9e7);
  --display: 'Inter', Arial, sans-serif;
}
.workspace-theme .masthead, .workspace-theme .footer { box-shadow: none; }
.workspace-theme .wordmark { font-size: clamp(1.05rem, 2.4vw, 1.4rem); letter-spacing: -.025em; }
.workspace-theme .brand-mark { filter: none; }
.workspace-theme .button { color: var(--champagne); background: var(--focus); box-shadow: 0 2px 4px #264f4a27; }
.workspace-theme .button.secondary:not(:disabled) { color: var(--ink); background: var(--metal-secondary); }
.workspace-theme .button:is(:hover, :focus-visible):not(:disabled) { box-shadow: 0 5px 12px #264f4a35; }
.workspace-theme .button:active:not(:disabled) { box-shadow: inset 0 2px 3px #264f4a30; }
.workspace-sample { max-width: 62ch; margin-top: 1.15rem; }
.workspace-sample dd { max-width: none; }
.workspace-steps { max-width: 65ch; margin-block: 0; padding-inline-start: 1.35rem; }
.workspace-steps li + li { margin-top: .65rem; }
@media (max-width: 51rem) {
  .hero, .agent-hero { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .order-preview { width: min(100%, 34rem); }
  .price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 43rem) {
  body { background-attachment: scroll; }
  .masthead-inner { grid-template-columns: 1fr auto; }
  .masthead nav { grid-row: 2; grid-column: 1 / -1; }
  .section-head, .split, .journey, .brand-builder, .agent-columns, .agent-providers { grid-template-columns: 1fr; }
}
@media (max-width: 27rem) {
  .masthead nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem .75rem; }
  .masthead nav a { width: fit-content; }
  .workspace-guide .agent-product-nav { display: grid; justify-items: start; gap: .25rem; }
  .workspace-guide h1 { font-size: clamp(2.15rem, 11vw, 2.45rem); max-width: none; text-wrap: normal; }
}
@media (max-width: 24rem) {
  .hero h1 { font-size: clamp(2.7rem, 13vw, 3.2rem); }
  .preview-options { grid-template-columns: 1fr; }
  .masthead nav a, .reference { font-size: .87rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
