/* Cart, checkout, about, contact, policies, 404. Builds on styles.css tokens. */
.simple { padding-block: 48px clamp(96px, 12vw, 160px); }
.chead__h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.75rem, 6vw, 5.5rem); line-height: 1.08; letter-spacing: -0.025em; max-width: 18ch; text-wrap: balance; }
.simple .lede { margin-top: 20px; }

.cartpage__grid { margin-top: 40px; display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.clines--page { padding: 0; overflow: visible; border-top: 1px solid var(--line); }
.cartpage__sum { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 14px; padding: 28px; border-radius: var(--r); background: var(--bg-2); }
.cartpage__sum .link { justify-self: center; }
.cartpage .cempty { justify-items: start; place-content: start; text-align: left; padding: 32px 0 0; }
.endpage { display: grid; gap: 24px; max-width: 760px; }
.endpage .btn { justify-self: start; }

.about__band { margin: 48px 0 0; border-radius: var(--r); overflow: clip; aspect-ratio: 21 / 9; }
.about__band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
@media (max-width: 640px) { .about__band { aspect-ratio: 4 / 3; } }
.about__grid { margin-top: 56px; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__grid figure { margin: 0; border-radius: var(--r); overflow: clip; aspect-ratio: 4 / 5; }
.about__grid img { width: 100%; height: 100%; object-fit: cover; }
.about__quote { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.1; }
.about__quote cite { display: block; margin-top: 14px; font-family: var(--sans); font-style: normal; font-size: 0.9375rem; color: var(--ink-2); }
.about__h2 { margin-top: clamp(96px, 12vw, 160px); }
.about__bento { margin-top: 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.abox:first-child { aspect-ratio: 1; min-height: 0; }  /* first tile square (Guido 10-29); the others take its height */
.abox { position: relative; min-height: 440px; border-radius: var(--r); overflow: clip; display: flex; align-items: flex-end; isolation: isolate; color: var(--on-dark); }
.abox img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: scale 900ms var(--ease-out); }
.abox::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,14,12,.85), rgba(14,14,12,0) 65%); }
.abox span { display: grid; gap: 6px; padding: 24px; font-size: 0.9375rem; color: #ddd9d0; }
.abox b { font-family: var(--serif); font-weight: 600; font-size: 2rem; color: var(--on-dark); }
@media (hover: hover) and (pointer: fine) { .abox:hover img { scale: 1.04; } }

.bigmail { margin-top: 40px; display: inline-flex; align-items: center; gap: 20px; padding: 0; border: 0; background: none; cursor: pointer; font-family: var(--serif); font-weight: 600; font-size: clamp(2.25rem, 7vw, 6rem); line-height: 1.1; letter-spacing: -0.02em; text-align: left; position: relative; }
.bigmail span:first-child { overflow-wrap: anywhere; border-bottom: 2px solid var(--accent); }
.bigmail i { font-size: 0.45em; }
.bigmail__ok { position: absolute; left: 0; top: 100%; margin-top: 8px; font-family: var(--sans); font-size: 0.9375rem; padding: 6px 12px; border-radius: 999px; background: var(--accent); }
.channels { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.chan { padding: 28px; border-radius: var(--r); background: var(--bg-2); display: grid; gap: 10px; align-content: start; }
.chan__mark { width: auto; height: 56px; }
.chan p { color: var(--ink-2); }

.policy__body { margin-top: 48px; max-width: 72ch; display: grid; gap: 14px; }
.policy__body h2 { font-family: var(--serif); font-weight: 600; font-size: 1.75rem; margin-top: 28px; }
.policy__body p, .policy__body li { color: var(--ink-2); }
.policy__body li { margin-left: 1.2em; list-style: disc; }

.nf { min-height: calc(100dvh - var(--nav-h) - 120px); display: grid; align-content: center; gap: 20px; padding-block: 48px; }
.nf__big { display: flex; align-items: center; gap: 0.06em; font-family: var(--serif); font-weight: 600; font-size: clamp(8rem, 26vw, 22rem); line-height: 0.9; letter-spacing: -0.04em; }
.nf__big img { height: 0.82em; width: auto; }
.nf__links { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 900px) {
  .cartpage__grid, .about__grid { grid-template-columns: 1fr; }
  .cartpage__sum { position: static; }
  .about__bento, .channels { grid-template-columns: 1fr; }
  .abox { min-height: 340px; }
  .abox:first-child { min-height: 0; }
}

/* oil guide: answer first, sticky contents, plain tables */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--ink-2); }
.crumbs i { font-size: 12px; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--ink); } }
.guide .chead__h1 { margin-top: 16px; }
.guide__answer { margin-top: 20px; font-size: 1.25rem; line-height: 1.55; max-width: 68ch; }
.guide__grid { margin-top: 56px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.guide__toc { position: sticky; top: calc(var(--nav-h) + 24px); }
.guide__toc ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; font-size: 0.9375rem; }
.guide__toc a { position: relative; display: block; padding-left: 18px; color: var(--ink-2); transition: color 200ms ease; }
.guide__toc a::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0.5; transition: background-color 200ms ease, opacity 200ms ease; }
.guide__toc a.is-on { color: var(--ink); font-weight: 600; }
.guide__toc a.is-on::before { background: var(--ink); border-color: var(--ink); opacity: 1; }
@media (hover: hover) and (pointer: fine) { .guide__toc a:hover { color: var(--ink); } }
.guide__body > section { padding-top: 56px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.guide__body > section:first-child { padding-top: 0; }
.guide__body h2 { margin-bottom: 20px; }
.guide__body > section > p { max-width: 68ch; }
.guide__body .facts { max-width: none; margin-top: 8px; }
.guide__note { margin-top: 16px; font-size: 0.875rem; color: var(--ink-2); }
.gtable { overflow-x: auto; border-radius: var(--r); background: var(--bg-2); }
.gtable table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 0.9375rem; }
.gtable th, .gtable td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.gtable thead th { font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); }
.gtable tbody th { font-weight: 600; }
.gtable tbody th a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.gtable tr:last-child th, .gtable tr:last-child td { border-bottom: 0; }
.gtable td { font-variant-numeric: tabular-nums; }
.gol { padding: 28px 0; border-top: 1px solid var(--line); }
.gol:first-of-type { border-top: 0; padding-top: 0; }
.gol__fam { margin: 4px 0 10px; font-weight: 600; font-size: 0.9375rem; }
.gol__label { font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.gol__icons { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gol .pnotes, .gol .ppairs { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 20px; }
.gol li { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 0.8125rem; font-weight: 600; min-width: 64px; }
.gol .ico { width: 52px; height: 52px; }
.gol__oils { margin-top: 20px; }
.gpills { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.gpill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding-inline: 16px; border-radius: 999px; background: var(--bg-2); font-size: 0.9375rem; font-weight: 500; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.gpill:active { transform: scale(0.97); }
.gpill--all { background: var(--ink); color: var(--bg); }
@media (hover: hover) and (pointer: fine) { .gpill:not(.gpill--all):hover { background: var(--bg-3); } .gpill--all:hover { background: #33322e; } }

/* account (demo) */
.account__form { margin-top: 32px; display: grid; gap: 10px; max-width: 420px; }
.account__form label { font-size: 0.875rem; font-weight: 600; }
.account__form input { height: 52px; border-radius: 999px; border: 0; background: var(--bg-2); padding-inline: 22px; font: inherit; }
.account__form input:focus { outline: 2px solid var(--ink); }
.account__form .btn { justify-self: start; margin-top: 6px; }
.account .demo-ok { color: var(--ink); }

@media (max-width: 900px) {
  .guide__grid { grid-template-columns: minmax(0, 1fr); }
  .guide__toc { position: static; }
  .gol__icons { grid-template-columns: 1fr; }
}
