/* Shared layout, typography and accessibility styles for the static storefront. */
:root {
  --ink: #1e251e; --muted: #4c574d; --paper: #f7f8f3; --white: #fff;
  --line: #dce1d8; --lime: #d9f963; --green: #29382c; --radius: 16px;
  font: 16px/1.56 "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: var(--ink); background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #3b7051; outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -8rem; background: white; padding: .8rem; z-index: 10; }
.skip:focus { top: .5rem; }
.shell { width: min(1180px, calc(100% - 2 * clamp(20px, 5vw, 68px))); margin-inline: auto; }
.top { background: var(--white); border-bottom: 1px solid var(--line); }
.top-inner, .foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.top-inner { min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.28rem; font-weight: 800; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand b { display: inline-grid; place-content: center; width: 33px; height: 33px; border-radius: 8px; background: var(--lime); color: var(--ink); font-size: 1.15rem; }
nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
nav a { font-weight: 600; font-size: .92rem; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .73rem 1.22rem; text-decoration: none; border-radius: 8px; border: 1px solid transparent; font-weight: 750; line-height: 1.25; }
.button:hover { box-shadow: 0 0 0 2px var(--ink); }
.button.small { font-size: .9rem; min-height: 42px; }
.button.dark { background: var(--ink); color: white; }
.button.lime { background: var(--lime); color: var(--ink); border-color: #c7e960; }
.button.outline { border-color: #aeb9a9; background: var(--white); color: var(--ink); }
.hero { background: radial-gradient(ellipse at 83% 16%, #e9efdc 0, transparent 53%), var(--paper); }
.hero-grid { min-height: 516px; display: grid; align-items: center; gap: clamp(2rem, 4vw, 4.25rem); grid-template-columns: 1.04fr 1fr; padding-block: 4rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.052em; }
h1 { font-size: clamp(2.65rem, 5.45vw, 5rem); margin-bottom: 1.3rem; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.32rem; margin-bottom: .6rem; }
.hero h1 { font-size: clamp(2.65rem, 4.5vw, 4.1rem); }
.hero h1 em { font-style: normal; position: relative; isolation: isolate; }
.hero h1 em::after { content: ""; position: absolute; inset: auto 0 .08em; height: .23em; transform: rotate(-4deg); background: var(--lime); z-index: -1; }
.hero-copy > p:not(.eyebrow), .intro { font-size: clamp(1.05rem, 1.5vw, 1.23rem); color: var(--muted); max-width: 42rem; margin-bottom: 1.4rem; }
.eyebrow, .label { color: #3a5342; font: 700 .875rem/1.35 ui-monospace, monospace; letter-spacing: .085em; }
.eyebrow { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.eyebrow i, .work-label i { display: inline-block; background: #51805c; width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .72rem; }
.hero-meta { margin-top: .9rem; font-size: .9rem; color: var(--muted); }
.workbench { --work-line: #506050; padding: 1.16rem; border: 1px solid #374537; border-radius: 17px; background: #223126; color: #f8fbf1; box-shadow: 0 22px 55px #243f2633; min-width: 0; }
.work-top, .work-bottom { display: flex; align-items: center; gap: .6rem; }
.work-top { font-size: .90rem; font-weight: 700; padding-bottom: .95rem; }
.traffic { display: flex; gap: 4px; }
.traffic i { width: 6px; height: 6px; border-radius: 50%; background: #9aae95; }
.sample { margin-left: auto; color: #e1efba; font: 700 .75rem/1.5 ui-monospace, monospace; letter-spacing: .025em; border: 1px solid var(--work-line); border-radius: 5px; padding: .15rem .4rem; white-space: nowrap; }
.work-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: .65rem; }
.work-input, .work-output { padding: .9rem; border-radius: 10px; }
.work-input { border: 1px solid var(--work-line); background: #2c3c30; }
.work-label { display: flex; align-items: center; gap: .35rem; font: 750 .78rem/1.3 ui-monospace, monospace; letter-spacing: .04em; margin-bottom: .7rem; }
.work-input .work-label { color: #c9d7c8; }
.source-notes { display: grid; gap: .28rem; padding-top: .65rem; color: #e4ebe1; font-size: .89rem; }
.source-notes span::before { content: "· "; color: var(--lime); }
.work-output { background: #f6f7ee; color: var(--ink); }
.work-title { font-size: 1.14rem; line-height: 1.24; font-weight: 800; letter-spacing: -.025em; margin-bottom: .5rem; }
.work-output p:not(.work-title) { font-size: .89rem; line-height: 1.45; color: #39483b; margin-bottom: .8rem; }
.work-tags { display: flex; flex-wrap: wrap; gap: .32rem; }
.work-tags span { background: #e1e9db; color: #293b2d; font: 700 .75rem/1.35 ui-monospace, monospace; border-radius: 5px; padding: .24rem .38rem; }
.work-bottom { padding-top: .9rem; font-size: .875rem; color: #e4ebe1; }
.tick { color: var(--lime); }
.included { background: #edf1e7; border-block: 1px solid var(--line); }
.included-row { min-height: 68px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.2rem; padding-block: 1rem; }
.included-row span { color: #38473a; font-size: .93rem; }
.included-row span::before { content: "✓"; margin-right: .42rem; color: #446a48; font-weight: 800; }
.section { padding-block: clamp(2.7rem, 6vw, 5rem); }
.section-heading { margin-bottom: 1.65rem; }
.steps, .offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.steps article, .panel { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: clamp(1.1rem, 2.25vw, 1.65rem); min-width: 0; }
.steps p, .panel p:not(.label, .price), .proof p:not(.eyebrow), details p, .doc-panel p { color: var(--muted); }
.steps p:last-child, .panel p:last-child, .proof p:last-child { margin-bottom: 0; }
.step-icon { display: inline-grid; place-items: center; min-width: 36px; height: 34px; background: #e9efd9; border-radius: 6px; font: 750 .875rem/1 ui-monospace, monospace; margin-bottom: .9rem; }
.proof { display: flex; align-items: center; gap: 1rem 2rem; justify-content: space-between; border-block: 1px solid var(--line); }
.proof .button { flex-shrink: 0; }
.faq { max-width: 750px; }
details { padding: .9rem 0; border-bottom: 1px solid var(--line); }
summary { font-weight: 700; cursor: pointer; min-height: 26px; }
details p { margin: .65rem 0 0; }
.closing { background: var(--green); color: #f6f8f2; }
.closing-inner { padding-block: 2.4rem; display: flex; align-items: center; justify-content: space-between; gap: .9rem; }
.closing h2 { margin: 0; }
.foot { background: white; border-top: 1px solid var(--line); }
.foot-inner { padding-block: 1.4rem; align-items: flex-start; }
.foot nav { gap: .65rem 1rem; }
.mobile-action { display: none; }
.inner { min-height: calc(100svh - 155px); padding-block: clamp(2.7rem, 6vw, 5rem); }
.inner h1 { max-width: 920px; font-size: clamp(2.55rem, 5.6vw, 4.65rem); }
.inner .actions { margin-block: 1.5rem; }
.example-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 1rem; }
.panel h2, .doc-panel h2 { font-size: clamp(1.45rem, 2.4vw, 2.15rem); }
dl { display: grid; grid-template-columns: minmax(96px, .3fr) 1fr; gap: .6rem; }
dt { font-weight: 750; }
dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.notice { color: #34462f; background: #e9efda; padding: .8rem 1rem; border-radius: 8px; }
.offer { display: flex; flex-direction: column; }
.offer .button { align-self: flex-start; margin-top: auto; }
.offer ul { margin-block: 0 1.6rem; }
.price { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800; line-height: 1.15; }
.checkout-options { display: grid; gap: 1rem; max-width: 800px; }
.checkout-options article:target { border-color: #628053; box-shadow: 0 0 0 2px #a4b398; }
.checkout-price { margin-left: .38rem; color: #3d5943; }
.doc-panel { border-top: 1px solid var(--line); padding-block: 1.2rem; max-width: 760px; }
.doc-panel p { margin: 0; }
@media (max-width: 870px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-block: 2.4rem; }
  .workbench { max-width: 620px; }
}
@media (max-width: 670px) {
  .top-inner { min-height: 62px; flex-wrap: wrap; padding-block: .55rem; gap: .55rem; }
  .top-inner nav { display: none; }
  .steps, .offers, .example-grid { grid-template-columns: 1fr; }
  .workbench, .work-input, .work-output { padding: .75rem; }
  .included-row { display: grid; grid-template-columns: repeat(2, 1fr); }
  .included-row strong { grid-column: 1 / -1; }
  .proof, .closing-inner, .foot-inner { align-items: flex-start; flex-direction: column; }
  body:has(.mobile-action) .foot { padding-bottom: 70px; }
  .mobile-action { position: fixed; z-index: 2; inset: auto 0 0; display: flex; justify-content: space-between; align-items: center; gap: .5rem; background: white; border-top: 1px solid var(--line); padding: .5rem 20px max(.5rem, env(safe-area-inset-bottom)); font-size: .91rem; font-weight: 750; }
  .mobile-action .button { min-height: 44px; text-align: center; }
}
@media (max-width: 365px) {
  .hero h1 { font-size: 2.4rem; }
  .work-grid, dl { grid-template-columns: 1fr; }
}
.checkout-panel { max-width: 34rem; }
.checkout-panel [hidden] { display: none; }
.checkout-panel form, .checkout-panel form > div { margin-block-start: 1rem; }
.checkout-panel form label { display: block; font-weight: 700; margin-bottom: .3rem; }
.checkout-panel input { display: block; width: 100%; min-height: 44px; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.checkout-panel .payment-terms { margin-top: .9rem; font-size: .9rem; }
.checkout-panel [data-wallet]:not([hidden]) { margin-bottom: 1rem; }
.checkout-panel .button:disabled { opacity: .6; }
.site-artifact { --theme-color: #d9f963; --hero-bg: #e9efdc; --surface-dark: #223126; }
.theme-office { --theme-color: #ffc971; --hero-bg: #f0e6d3; --surface-dark: #3a2d23; }
.theme-studio { --theme-color: #ffafa9; --hero-bg: #f4e1e0; --surface-dark: #3d272d; }
.theme-home { --theme-color: #c5dec1; --hero-bg: #e3eee1; --surface-dark: #27382d; }
.theme-kitchen { --theme-color: #ffccae; --hero-bg: #f8e5d7; --surface-dark: #442d24; }
.theme-outdoors { --theme-color: #cee68a; --hero-bg: #e7ecd8; --surface-dark: #2d3622; }
.theme-tech { --theme-color: #afccff; --hero-bg: #dde8f7; --surface-dark: #25334a; }
.brand b,.button.lime,.hero h1 em::after { background:var(--theme-color); }
.button.lime { border-color: transparent; }
.hero { background:radial-gradient(ellipse at 95% 10%, var(--hero-bg) 0, transparent 68%),var(--paper); }
.workbench,.closing { background:var(--surface-dark); }
.work-input { background:#ffffff0c; }
.workbench .work-grid { grid-template-columns:1fr 1.2fr; }
.workbench .work-output p { font-size:.95rem; }
.proof-text { overflow-wrap:anywhere; }
.offer-list { padding-left:1.1rem; }
.site-artifact .hero-grid { min-height:490px; padding-block:3rem; }
.site-artifact .hero h1 { font-size:clamp(2.35rem,4.35vw,4rem); }
.site-artifact .brand { white-space:normal; }
.site-artifact .top .brand { min-width:0; }
@media (max-width: 870px) { .site-artifact .hero-grid { min-height:0; } }
@media (max-width: 500px) { .workbench .work-grid { grid-template-columns:1fr; } }
@media (max-width: 365px) { .site-artifact .hero h1 { font-size:2.15rem; } }
