* { box-sizing: border-box; }
:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #20232a; background: #fbfaf7; line-height: 1.6; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 28px; border-bottom: 1px solid #deded9; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 750; line-height: 1.25; text-decoration: none; }
.brand img { border-radius: 10px; }
nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
nav a { text-decoration: none; }
nav a:hover, .footer a:hover { color: var(--accent); }
.nav-cta { font-weight: 700; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; padding-block: 70px 48px; }
.eyebrow { margin: 0 0 20px; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
h1 { font-size: 17px; font-weight: 600; margin: 0 0 18px; }
.headline { margin: 0; font-size: clamp(36px, 4.3vw, 60px); line-height: 1.08; font-weight: 800; letter-spacing: -.045em; }
em { font-style: normal; color: var(--accent); }
.lead { margin: 0 0 28px; font-size: 19px; line-height: 1.7; color: #4e5159; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 17px 24px; border-radius: 12px; background: var(--accent); color: white; font-size: 15px; font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px #20232a12; }
.button:hover { filter: brightness(.9); }
.note { font-size: 13px; color: #62656d; }
.preview { margin: 0; background: var(--tint); border: 1px solid #20232a12; border-radius: 20px; overflow: hidden; }
.preview img { display: block; width: 100%; height: auto; }
figcaption { padding: 12px 20px; font-size: 12px; color: #51545d; }
.section { padding-block: 72px; border-bottom: 1px solid #deded9; scroll-margin-top: 24px; }
h2 { font-size: clamp(28px, 3.1vw, 42px); letter-spacing: -.035em; line-height: 1.18; margin: 0 0 30px; }
h3 { font-size: 20px; line-height: 1.3; margin: 18px 0 12px; }
p { margin-top: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards article { padding: 28px; border: 1px solid #deded9; border-radius: 16px; background: white; }
.cards p, .steps p, .context p, details p { color: #51545d; }
.cards p { margin-bottom: 0; }
.number { color: var(--accent); font-size: 14px; font-weight: 700; }
.context, .faq { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; }
.context h2 { margin-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-left: 22px; margin: 0; }
.steps li { padding-left: 8px; }
.steps li::marker { color: var(--accent); font-weight: 700; }
.steps h3 { margin-top: 0; }
.steps p { margin-bottom: 0; }
details { border-bottom: 1px solid #deded9; padding-block: 18px; }
details:first-child { padding-top: 0; }
summary { cursor: pointer; font-size: 17px; font-weight: 650; }
details p { margin: 16px 0 0; }
.closing { padding: 48px; margin-block: 64px; background: var(--tint); border-radius: 20px; text-align: center; }
.closing h2 { margin-bottom: 20px; }
.closing p:not(.eyebrow) { max-width: 570px; margin-inline: auto; }
.footer { padding-block: 28px 32px; border-top: 1px solid #deded9; }
.footer-top { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; font-size: 13px; }
.footer-top .brand { margin-right: auto; }
.shops { margin-block: 24px; flex-wrap: wrap; gap: 12px 24px; }
.shops [aria-current="page"] { color: var(--accent); font-weight: 700; }
.footer .note { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.skip { position: absolute; top: -80px; left: 16px; background: white; padding: 12px; z-index: 1; }
.skip:focus { top: 12px; }
@media (max-width: 800px) {
    .container { width: calc(100% - 40px); }
    .header { align-items: flex-start; }
    .header nav { flex-wrap: wrap; justify-content: flex-end; gap: 10px 16px; }
    .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 48px 32px; }
    .headline { font-size: clamp(36px, 7vw, 54px); }
    .lead { font-size: 17px; }
    .section { padding-block: 48px; }
    .cards, .context, .faq, .steps { grid-template-columns: 1fr; gap: 24px; }
    .cards article { padding: 24px; }
    .closing { padding: 32px 20px; margin-block: 40px; }
}
@media (max-width: 480px) {
    .header { flex-direction: column; gap: 20px; }
    .header nav { justify-content: flex-start; font-size: 12px; }
    .button { width: 100%; gap: 10px; padding: 16px; font-size: 14px; }
    .preview { border-radius: 12px; }
    .footer-top { align-items: flex-start; }
    .footer-top .brand { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Main-page marketplace carousel. Native scrolling also works without JavaScript. */
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; border: 1px solid #deded9; border-radius: 20px; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.carousel-image { aspect-ratio: 16 / 9; background: var(--tint); }
.carousel-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.carousel-slide figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; background: white; font-size: 14px; }
.carousel-slide figcaption a { text-align: right; }
.carousel-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; }
.carousel-controls[hidden] { display: none; }
.carousel-controls button { font: inherit; cursor: pointer; border: 1px solid #deded9; background: white; color: #51545d; border-radius: 10px; }
.carousel-controls button:hover { border-color: var(--accent); color: var(--accent); }
.carousel-arrow { flex-shrink: 0; width: 44px; height: 44px; }
.carousel-switches { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.carousel-switches button { padding: 10px 18px; font-size: 13px; }
.carousel-switches button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: white; }
.carousel-note { margin-block: 12px 0; text-align: center; }
.shop-cards { grid-template-columns: repeat(2, 1fr); }
.shop-cards h3 a { text-decoration: none; }
.shop-cards h3 a:hover { color: var(--accent); }
.marketplace-note { margin-block: 24px 0; }
@media (max-width: 800px) {
    .carousel-slide figcaption { padding: 14px 16px; font-size: 12px; }
    .carousel-switches button { padding: 10px 12px; }
}
@media (max-width: 480px) {
    .carousel-track { border-radius: 12px; }
    .carousel-controls { gap: 8px; }
    .carousel-switches { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; }
    .carousel-switches button { padding: 10px 4px; font-size: 11px; min-height: 44px; }
    .carousel-slide figcaption { flex-direction: column; align-items: flex-start; gap: 4px; }
    .carousel-slide figcaption a { text-align: left; }
    .shop-cards { grid-template-columns: 1fr; }
}
