@font-face{font-family:'Archivo';font-style:normal;font-weight:400 700;font-display:swap;src:url('fonts/Archivo.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

:root {
  --paper: #f6f4ef;
  --paper-2: #ece8df;
  --white: #ffffff;
  --ink: #1b1d1a;
  --ink-2: #4a4d47;
  --ink-3: #6b6e66;
  --rule: rgba(27, 29, 26, .13);
  --rule-2: rgba(27, 29, 26, .22);
  --accent: #1e5b3a;
  --accent-ink: #164a2f;
  --accent-soft: #e4efe8;
  --radius: 10px;
  --radius-lg: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --gutter: 1.25rem;
  --wrap: min(100% - 2 * var(--gutter), 78rem);
  --h1: clamp(2.35rem, 4.8vw, 3.9rem);
  --h2: clamp(1.7rem, 3vw, 2.5rem);
  --h3: 1.25rem;
  --lede: clamp(1.12rem, .8vw + .85rem, 1.3rem);
  --body: 17px;
  --header: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 72px); }
body {
  margin: 0;
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-size: var(--body);
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
::selection { background: #cfe3d6; }
img { display: block; width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .18em; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 700; }
h1 { font-size: var(--h1); line-height: 1; letter-spacing: -.022em; margin-bottom: .32em; }
h2 { font-size: var(--h2); line-height: 1.06; letter-spacing: -.016em; margin-bottom: .45em; }
h3 { font-size: var(--h3); line-height: 1.22; }
p { margin: 0 0 1em; }
.wrap { width: var(--wrap); margin-inline: auto; }
.price, .num { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: .88rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.muted { color: var(--ink-3); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 6px; z-index: 50; }
.skip:focus { top: .6rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 1.35rem; border-radius: var(--radius);
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1px solid var(--accent); background: var(--accent); color: #fff;
  touch-action: manipulation; transition: transform .16s var(--ease-out), background-color .16s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn.small { min-height: 40px; padding: 0 1rem; font-size: .95rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-ink); }
  .btn.ghost:hover { background: var(--white); }
}

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20; height: var(--header);
  background: rgba(246, 244, 239, .96); border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(1.2) blur(6px);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 1.25rem; }
.brand { font-weight: 700; font-size: 1.22rem; letter-spacing: -.015em; color: var(--ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: none; gap: 1.35rem; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.cart-link {
  margin-left: auto; display: inline-flex; align-items: center; gap: .5rem; min-height: 42px;
  padding: 0 .9rem; border: 1px solid var(--rule-2); border-radius: 99px;
  color: var(--ink); text-decoration: none; font-weight: 600; background: var(--white);
}
.cart-count {
  min-width: 1.45rem; height: 1.45rem; padding: 0 .4rem; border-radius: 99px; display: inline-grid; place-items: center;
  background: var(--accent); color: #fff; font-size: .8rem; font-variant-numeric: tabular-nums;
}
.cart-count[data-n="0"] { background: var(--paper-2); color: var(--ink-3); }
@media (min-width: 900px) {
  .nav { display: flex; }
  .cart-link { margin-left: 0; }
}

/* hero */
.hero { background: var(--paper-2); border-bottom: 1px solid var(--rule); padding: 2.4rem 0 2.6rem; }
.hero .wrap { display: grid; gap: 2rem; }
.hero h1 { inline-size: min(100%, 15ch); }
.hero .lede { font-size: var(--lede); line-height: 1.42; color: var(--ink-2); inline-size: min(100%, 32rem); margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem 1.4rem; align-items: center; }
.hero-actions a.text { font-weight: 600; }
.collage { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: .55rem; }
.collage a { position: relative; display: block; background: var(--white); border-radius: var(--radius); border: 1px solid var(--rule); overflow: hidden; text-decoration: none; color: var(--ink); }
.collage a:first-child { grid-column: span 2; grid-row: span 2; }
.collage img { aspect-ratio: 1; object-fit: cover; }
.collage .tag { position: absolute; left: .5rem; right: .5rem; bottom: .5rem; display: flex; justify-content: space-between; gap: .4rem; align-items: baseline; background: rgba(255, 255, 255, .92); border: 1px solid var(--rule); border-radius: 6px; padding: .3rem .5rem; font-size: .74rem; line-height: 1.2; }
.collage .tag span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.collage .tag b { font-weight: 700; white-space: nowrap; }
.collage a:first-child .tag { font-size: .9rem; padding: .45rem .65rem; }
@media (width < 600px) { .collage a:not(:first-child) .tag span:first-child { display: none; } }
@media (min-width: 980px) {
  .hero { padding: 4.2rem 0 4.2rem; }
  .hero .wrap { grid-template-columns: 1fr 1.15fr; align-items: center; gap: 3.5rem; }
  .collage { gap: .75rem; }
}
@media (prefers-reduced-motion: no-preference) {
  body.js-motion [data-reveal] { opacity: 0; transform: translateY(14px); }
  body.js-motion [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
}

/* trust strip */
.trust { border-bottom: 1px solid var(--rule); background: var(--paper); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.trust li { padding: 1.1rem 1rem 1.1rem 0; border-top: 1px solid var(--rule); }
.trust li:nth-child(-n+2) { border-top: 0; }
.trust li:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--rule); }
.trust b { display: block; font-size: 1.02rem; line-height: 1.25; margin-bottom: .2rem; }
.trust .sub { color: var(--ink-3); font-size: .92rem; line-height: 1.35; display: block; }
@media (min-width: 900px) {
  .trust ul { grid-template-columns: repeat(4, 1fr); }
  .trust li { border-top: 0; padding: 1.4rem 1.4rem 1.4rem 0; }
  .trust li:nth-child(even) { padding-left: 1.4rem; }
  .trust li + li { border-left: 1px solid var(--rule); padding-left: 1.4rem; }
}

/* departments */
.depts { padding: 3rem 0 1rem; }
.depts .head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.depts .head a { white-space: nowrap; }
.depts h2 { margin-bottom: 0; }
.dept-grid { list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); display: flex; gap: .7rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.dept-grid::-webkit-scrollbar { display: none; }
.dept-grid li { flex: 0 0 42%; scroll-snap-align: start; }
.dept { display: block; text-decoration: none; color: var(--ink); }
.dept .well { display: block; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; padding: 10%; }
.dept img { aspect-ratio: 1; object-fit: contain; }
.dept b { display: block; margin: .6rem 0 .05rem; font-size: 1rem; line-height: 1.25; }
.dept span { color: var(--ink-3); font-size: .9rem; }
@media (hover: hover) and (pointer: fine) { .dept:hover .well { border-color: var(--rule-2); } .dept:hover b { text-decoration: underline; } }
@media (min-width: 700px) { .dept-grid li { flex-basis: 23%; } }
@media (min-width: 1100px) {
  .dept-grid { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); overflow: visible; gap: .9rem; }
  .dept-grid li { flex: none; }
}

/* catalog */
.catalog { padding: 2.6rem 0 4rem; }
.catalog-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: .9rem; }
.catalog-head h2 { margin-bottom: 0; }
.toolbar {
  position: sticky; top: var(--header); z-index: 10; background: var(--paper);
  padding: .7rem 0 .2rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.6rem;
}
.toolbar-row { display: flex; gap: .6rem; }
.search { flex: 1; min-width: 0; }
.search input, .sort select {
  width: 100%; min-height: 46px; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid var(--rule-2); border-radius: var(--radius); background: var(--white); padding: 0 .9rem;
}
.sort select { width: 9.5rem; padding-right: 1.6rem; }
@media (min-width: 700px) { .sort select { width: 13rem; } }
.chips { display: flex; gap: .45rem; overflow-x: auto; padding: .7rem 0 .6rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .chips { flex-wrap: wrap; overflow: visible; } }
.chip {
  flex: none; min-height: 38px; padding: 0 .9rem; border-radius: 99px; border: 1px solid var(--rule-2);
  background: var(--white); color: var(--ink-2); font: inherit; font-size: .93rem; font-weight: 500; cursor: pointer;
  touch-action: manipulation;
}
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .n { color: var(--ink-3); margin-left: .3rem; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .n { color: #c9cbc4; }
.result-count { color: var(--ink-3); font-size: .95rem; margin: 0; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.7rem .9rem; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 2.2rem 1.2rem; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 2.4rem 1.4rem; } }
.card { display: flex; flex-direction: column; min-width: 0; }
.card .pic { display: block; padding: 0; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; cursor: pointer; width: 100%; transition: border-color .16s var(--ease); }
.card .pic img { aspect-ratio: 1; object-fit: cover; }
.card .cat { font-size: .78rem; color: var(--ink-3); margin: .75rem 0 .15rem; text-transform: uppercase; letter-spacing: .06em; }
.card h3 { font-size: .98rem; font-weight: 600; line-height: 1.3; margin-bottom: .5rem; }
.card h3 button { all: unset; cursor: pointer; }
.card h3 button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.card .buy-row { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem .6rem; }
.card .add .s { display: none; }
@media (width < 600px) { .card .add .l { display: none; } .card .add .s { display: inline; } .card .add { padding: 0 .85rem; } }
.card .price { font-size: 1.2rem; font-weight: 700; margin: 0; }
.card .add {
  flex: none; min-height: 40px; padding: 0 .95rem; border-radius: 99px; font: inherit; font-weight: 600; font-size: .92rem;
  background: var(--white); color: var(--accent); border: 1px solid rgba(30, 91, 58, .5); cursor: pointer; touch-action: manipulation;
  transition: background-color .16s var(--ease), color .16s var(--ease), transform .16s var(--ease-out);
}
.card .add:active { transform: scale(.97); }
.card .add.done { background: var(--accent); color: #fff; border-color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .card .add:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
  .card .pic:hover { border-color: var(--rule-2); }
}
.empty { padding: 3rem 0; color: var(--ink-2); }

/* how ordering works */
.how { padding: 4rem 0; background: var(--white); border-block: 1px solid var(--rule); }
.how .wrap { display: grid; gap: 2rem; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(s); font-size: 2.4rem; line-height: 1; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: .25rem; }
.steps p { margin: 0; color: var(--ink-2); }
@media (min-width: 980px) { .how .wrap { grid-template-columns: 1fr 1.3fr; gap: 5rem; } }

/* wholesale (the one dark section) */
.wholesale { background: var(--ink); color: #eeeee8; padding: 4.5rem 0; }
.wholesale .wrap { display: grid; gap: 2.5rem; }
.wholesale h2 { color: #fff; inline-size: min(100%, 16ch); }
.wholesale .eyebrow { color: #9fd0b2; }
.wholesale p { color: #cfd0c9; inline-size: min(100%, 36rem); }
.wholesale ul { margin: 0 0 1.6rem; padding: 0; list-style: none; }
.wholesale li { padding: .7rem 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.wholesale .btn { background: #fff; color: var(--ink); border-color: #fff; }
.wholesale .mail { display: block; margin-top: .9rem; color: #9fd0b2; word-break: break-all; }
.wholesale .side { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 2rem; }
.wholesale h3 { color: #fff; margin-bottom: .5rem; }
@media (hover: hover) and (pointer: fine) { .wholesale .btn:hover { background: #e9ebe4; } }
@media (min-width: 980px) {
  .wholesale .wrap { grid-template-columns: 1.3fr 1fr; gap: 5rem; }
  .wholesale .side { border-top: 0; border-left: 1px solid rgba(255, 255, 255, .14); padding: 0 0 0 3rem; }
}

/* partners */
.partners { padding: 4.5rem 0; background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.partners .wrap { display: grid; gap: 2rem; }
.partners .lede { font-size: var(--lede); color: var(--ink-2); inline-size: min(100%, 34rem); }
.partners dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--rule-2); }
.partners dl div { padding: 1rem 0; border-bottom: 1px solid var(--rule-2); }
.partners dt { font-weight: 700; font-size: 1.1rem; margin-bottom: .15rem; }
.partners dd { margin: 0; color: var(--ink-2); }
.partners .actions { display: flex; flex-wrap: wrap; gap: .75rem 1.4rem; align-items: center; margin-top: 1.4rem; }
@media (min-width: 700px) { .partners dl { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
@media (min-width: 980px) { .partners .wrap { grid-template-columns: 1fr 1.3fr; gap: 5rem; } }

/* about + faq */
.about { padding: 4.5rem 0 2rem; }
.about .wrap { display: grid; gap: 1.5rem; }
.about .big { font-size: var(--lede); line-height: 1.45; inline-size: min(100%, 40rem); }
.about address { font-style: normal; color: var(--ink-2); }
.faq { padding: 2rem 0 5rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.2rem 1.1rem 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .2rem; top: .9rem; font-size: 1.5rem; font-weight: 400; color: var(--ink-3); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--ink-2); inline-size: min(100%, 44rem); }
@media (min-width: 980px) {
  .about .wrap, .faq .wrap { grid-template-columns: 1fr 1.6fr; gap: 5rem; }
}

/* footer */
.site-footer { border-top: 1px solid var(--rule); background: var(--white); padding: 3rem 0 2rem; color: var(--ink-2); font-size: .95rem; }
.site-footer .cols { display: grid; gap: 1.8rem; }
.site-footer .brand { font-size: 1.15rem; }
.site-footer h3 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .22rem 0; }
.site-footer a { color: var(--ink-2); }
.site-footer address { font-style: normal; }
.site-footer .legal { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: space-between; color: var(--ink-3); font-size: .9rem; }
.site-footer .legal p { margin: 0; }
@media (min-width: 700px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* product dialog */
dialog.product {
  inline-size: min(100% - 1.5rem, 56rem); padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--white); color: var(--ink);
}
dialog.product::backdrop { background: rgba(20, 22, 19, .55); }
.product-body { display: grid; }
.product-body .pic { background: var(--white); border-bottom: 1px solid var(--rule); }
.product-body .pic img { aspect-ratio: 1; object-fit: cover; inline-size: min(100%, 26rem); margin-inline: auto; }
.product-body .info { padding: 1.4rem 1.4rem 1.6rem; }
.product-body h2 { font-size: 1.6rem; margin-bottom: .5rem; }
.product-body .full { color: var(--ink-2); font-size: .98rem; }
.product-body .price { font-size: 1.8rem; font-weight: 700; margin: 0 0 1rem; }
.product-body .buy { display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: 1rem; }
.product-body .note { font-size: .92rem; color: var(--ink-3); margin: 0; }
.close {
  position: absolute; top: .6rem; right: .6rem; z-index: 2; width: 44px; height: 44px; border-radius: 99px;
  border: 1px solid var(--rule); background: var(--white); font: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer;
}
@media (min-width: 820px) {
  .product-body { grid-template-columns: 1fr 1fr; }
  .product-body .pic { border-bottom: 0; border-right: 1px solid var(--rule); display: grid; place-items: center; }
  .product-body .info { padding: 2.4rem 2rem; align-self: center; }
}

/* quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--rule-2); border-radius: var(--radius); background: var(--white); }
.qty button { width: 44px; height: 46px; border: 0; background: none; font: inherit; font-size: 1.25rem; cursor: pointer; color: var(--ink); touch-action: manipulation; }
.qty input { width: 3.2rem; height: 46px; border: 0; text-align: center; font: inherit; font-weight: 600; font-variant-numeric: tabular-nums; background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* toast */
.toast {
  position: fixed; inset-inline: 1rem; margin-inline: auto; bottom: 1.2rem; transform: translateY(1rem); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: .8rem 1.1rem; border-radius: var(--radius); z-index: 40;
  display: flex; gap: 1rem; align-items: center; transition: opacity .2s var(--ease), transform .2s var(--ease);
  width: fit-content; font-size: .98rem;
}
.toast.show { opacity: 1; transform: none; pointer-events: auto; }
.toast a { color: #9fd0b2; font-weight: 600; white-space: nowrap; }

/* cart + checkout pages */
.page { padding: 2.2rem 0 5rem; }
.page h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.page .lede { font-size: var(--lede); color: var(--ink-2); inline-size: min(100%, 36rem); }
.crumbs { font-size: .9rem; color: var(--ink-3); margin-bottom: 1rem; }
.crumbs a { color: var(--ink-3); }
.page-grid { display: grid; gap: 2rem; }
@media (min-width: 980px) { .page-grid { grid-template-columns: 1.6fr 1fr; gap: 3.5rem; align-items: start; } }
.panel { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 1.2rem; }
@media (min-width: 700px) { .panel { padding: 1.6rem; } }
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 84px 1fr; gap: .4rem 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.line:first-child { padding-top: .2rem; }
.line:last-child { border-bottom: 0; padding-bottom: .2rem; }
.line img { grid-row: span 3; width: 84px; height: 84px; border-radius: 8px; border: 1px solid var(--rule); background: var(--white); object-fit: cover; }
.line h3 { font-size: 1.02rem; font-weight: 600; }
.line .each { color: var(--ink-3); font-size: .92rem; }
.line .row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.line .total { font-weight: 700; font-size: 1.1rem; }
.line .remove { background: none; border: 0; color: var(--ink-3); text-decoration: underline; font: inherit; font-size: .92rem; cursor: pointer; padding: .4rem 0; }
.summary { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 1.4rem; position: sticky; top: calc(var(--header) + 1.2rem); }
.summary h2 { font-size: 1.4rem; }
.summary .sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.summary .sum-row.total { border-top: 1px solid var(--rule); margin-top: .4rem; padding-top: .9rem; font-weight: 700; font-size: 1.25rem; }
.summary .pay-note { background: var(--accent-soft); border-radius: 8px; padding: .8rem .9rem; font-size: .95rem; color: var(--accent-ink); margin: 1rem 0; }
.summary .mini { list-style: none; margin: 0 0 .6rem; padding: 0; font-size: .95rem; }
.summary .mini li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid var(--rule); }
.summary .mini li span:first-child { color: var(--ink-2); }
.summary .fine { list-style: none; margin: 1rem 0 0; padding: 0; font-size: .9rem; color: var(--ink-3); }
.summary .fine li { padding: .25rem 0; border-top: 1px solid var(--rule); }
.empty-state { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 2.2rem 1.4rem; text-align: center; inline-size: min(100%, 30rem); }
.empty-state p { color: var(--ink-2); }

form.checkout fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
form.checkout fieldset + fieldset { border-top: 1px solid var(--rule); padding-top: 1.4rem; }
form.checkout legend { float: left; width: 100%; font-weight: 700; font-size: 1.2rem; margin-bottom: .8rem; }
form.checkout legend + * { clear: both; }
.fields { display: grid; gap: .9rem; }
@media (min-width: 600px) { .fields.two { grid-template-columns: 1fr 1fr; } .fields.three { grid-template-columns: 2fr 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.field label .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid var(--rule-2); border-radius: 8px; background: var(--white); padding: .6rem .8rem;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent-soft); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:invalid:not(:placeholder-shown), .field.bad input { border-color: #a3341f; }
.form-error { color: #a3341f; font-weight: 600; }
.no-card { font-size: .95rem; color: var(--ink-2); margin-top: .8rem; }

.confirm { inline-size: min(100%, 46rem); }
.confirm h1 { inline-size: min(100%, 16ch); }
.confirm pre {
  white-space: pre-wrap; word-break: break-word; background: var(--white); border: 1px solid var(--rule); border-radius: 10px;
  padding: 1.1rem; font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: .9rem; line-height: 1.5;
}
.confirm .actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.2rem 0 1.6rem; }

/* info pages (about, partners, policies, contact) */
.doc { padding: 2.4rem 0 5rem; }
.doc .intro { inline-size: min(100%, 46rem); margin-bottom: 2rem; }
.doc .body { inline-size: min(100%, 46rem); }
.doc .body h2 { font-size: 1.45rem; margin: 2rem 0 .5rem; letter-spacing: -.01em; }
.doc .body h2:first-child { margin-top: 0; }
.doc .body ul { padding-left: 1.2rem; margin: 0 0 1em; }
.doc .body li { margin: .3rem 0; }
.doc .body p, .doc .body li { color: var(--ink-2); }
.doc .body p b { color: var(--ink); }
.doc .card-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .8rem; }
.doc .card-list li { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem 1.1rem; }
.doc .card-list b { display: block; margin-bottom: .2rem; color: var(--ink); }
.doc .contact-box { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 1.4rem; margin: 1.5rem 0; }
.doc .contact-box p:last-child { margin: 0; }
.doc .updated { color: var(--ink-3); font-size: .9rem; }
@media (min-width: 980px) {
  .doc .wrap { display: grid; grid-template-columns: 1fr 1.7fr; gap: 5rem; align-items: start; }
  .doc .intro { margin-bottom: 0; position: sticky; top: calc(var(--header) + 1.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
