/* Scentrait: built on the retro print kit (look.css). Two inks, accent and brown, on cream; Ultra and Zilla Slab. */
:root {
  --accent-ink: #973463; /* the accent dark enough for small text on cream */
  --rose: #f3d6e2; /* a tint of the accent, as a second printed field */
  --t-size: 1.0625rem;
  --rhythm: clamp(3.5rem, 9vw, 8rem);
}
::selection { background: var(--accent); color: #fff; }
html { scrollbar-color: var(--accent) var(--bg-2); }
body { overflow-x: hidden; }
main { overflow-x: clip; }
p, dd, li { text-wrap: pretty; }
.top .brand { min-height: 44px; }
.link-btn { min-height: 44px; display: inline-flex; align-items: center; }
.foot nav a, .syng-legal-links a, .faq .more, .alt a { display: inline-flex; align-items: center; min-height: 44px; }
.step-h { display: flex; align-items: center; gap: .9rem; }
.step-h h3 { margin: 0; }
.step p { margin-top: .8rem; }
.sample-stamp { border: 2px solid var(--accent); color: var(--accent-ink) !important; padding: .15rem .5rem; border-radius: 4px;
  transform: rotate(4deg); font: 400 .8rem/1.2 var(--display) !important; letter-spacing: .06em; text-transform: uppercase; }
.carousel-dots button { width: 44px; height: 44px; background: transparent; position: relative; }
.carousel-dots button::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 99px;
  transform: translate(-50%, -50%); background: var(--ink-2); transition: width .3s; }
.carousel-dots button[aria-current="true"] { width: 44px; background: transparent; }
.carousel-dots button[aria-current="true"]::after { width: 26px; background: var(--accent); }
.carousel-dots { gap: 0; }
.faq details p { max-width: 65ch; }
.faq summary { min-height: 44px; align-items: center; }
.top .acts a.plain { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.acct .btn, .locked .btn { white-space: normal; text-align: center; line-height: 1.15; padding-block: .6em; }
.acct .card { min-width: 0; overflow-wrap: anywhere; }
a { color: var(--accent-ink); }
.panel > .bar, .kicker { font-family: var(--text); }
.num { font-family: var(--text); font-variant-numeric: tabular-nums lining-nums; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: .5rem; background: var(--surface); padding: .5rem 1rem; z-index: 60; }

/* the bar */
.top { position: sticky; top: 0; z-index: 30; background: var(--bg); }
.top .brand img { border-radius: 4px; }
.top .acts { display: flex; align-items: center; gap: .9rem; }
.top .acts a.plain { color: var(--ink); font-weight: 600; text-decoration: none; padding: .6rem .2rem; }
.top .acts a.plain:hover { color: var(--accent-ink); text-decoration: underline; }
.top .btn { min-height: 44px; padding: 0 1.1em; font-size: .92rem; }
@media (max-width: 420px) { .top .brand span { display: none; } .top .acts { gap: .6rem; } }

/* the hero: the headline set around a printed DNA card */
.hero { padding-block: clamp(1.2rem, 3vw, 2rem) clamp(2.5rem, 5vw, 3.5rem); position: relative; }
.hero h1 { font-size: clamp(2.5rem, 7.4vw, 5.1rem); text-align: center; margin: 0 auto .35em; max-width: 15ch; }
.hero-grid { display: grid; gap: 1.6rem; align-items: center; }
.hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); margin: 0; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.1rem; margin-top: 1.1rem; }
.hero .cta .note { font-weight: 600; display: inline-flex; gap: .4em; align-items: center; }
.hero-side { display: grid; gap: 1rem; justify-items: start; }
.hero-side p { margin: 0; }
.stamp { display: inline-grid; place-items: center; width: 8.2rem; height: 8.2rem; border-radius: 50%;
  border: 3px solid var(--accent); color: var(--accent-ink); text-align: center; font: 400 .95rem/1.1 var(--display);
  transform: rotate(-9deg); padding: .8rem; background: var(--surface);
  box-shadow: inset 0 0 0 5px var(--surface), inset 0 0 0 7px color-mix(in srgb, var(--accent) 60%, transparent); }
.stamp small { display: block; font: 600 .78rem/1.2 var(--text); color: var(--ink); margin-top: .3rem; }
.hero .dot-field { position: absolute; z-index: -1; inset: 30% 18% auto auto; width: 34rem; height: 34rem; border-radius: 50%; opacity: .55; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1fr minmax(0, 430px) 1fr; gap: 2.4rem; }
  .hero-grid > .hero-copy { order: 0; }
  .hero-grid > .hero-card { order: 1; }
  .hero-grid > .hero-side { order: 2; justify-items: center; text-align: center; }
}
@media (max-width: 959px) {
  .hero h1 { text-align: start; margin-inline: 0; }
  .hero-side { display: none; }
  .hero .dot-field { inset: auto -40% 0 auto; width: 26rem; height: 26rem; }
}

/* the DNA card: a printed label */
.dna-card { position: relative; background: var(--screen); border: 3px solid var(--ink); border-radius: 8px;
  box-shadow: 7px 7px 0 var(--accent); padding: 1.2rem 1.25rem 1.1rem; color: var(--ink); max-height: 600px; overflow: hidden; }
.hero-card .dna-card { transform: rotate(-2.2deg); max-height: 470px; }
.dna-card .head { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem;
  border-bottom: 3px double var(--ink); padding-bottom: .55rem; margin-bottom: .8rem; }
.dna-card .head b { font: 400 1.05rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.dna-card .head span { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.dna-card .who { font: 400 clamp(1.5rem, 3.6vw, 1.95rem)/1.02 var(--display); margin: 0 0 .25rem; color: var(--accent-ink); }
.dna-card .from { font-size: .9rem; color: var(--ink-2); margin: 0 0 .9rem; }
.traits { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.trait { display: grid; grid-template-columns: 3.1rem 1fr auto; gap: .8rem; align-items: center; padding: .45rem .55rem;
  background: var(--surface); border: 2px solid var(--ink); border-radius: 6px; }
.trait .ring { width: 3.1rem; height: 3.1rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font: 400 1.05rem/1 var(--display); }
.trait:nth-child(2) .ring { background: var(--ink); }
.trait:nth-child(3) .ring { background: var(--rose); color: var(--ink); border: 2px solid var(--ink); }
.trait b { display: block; font: 700 1.12rem/1.15 var(--text); }
.trait small { color: var(--ink-2); font-size: .85rem; }
.trait .of { font: 400 1rem/1 var(--display); white-space: nowrap; }
.dna-card .matches-h { font: 400 .95rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; margin: 1rem 0 .5rem; }
.mrow { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; padding: .55rem 0; border-top: 2px dotted var(--ink-2); }
.mrow b { font-weight: 700; }
.mrow .pct { font: 400 1rem/1 var(--display); color: var(--accent-ink); }
.mrow small { grid-column: 1 / -1; color: var(--ink-2); }
.dna-card .site { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 600; color: var(--ink-2); margin-top: .8rem; }
.sample-tag { position: absolute; top: .75rem; right: -2.3rem; transform: rotate(35deg); background: var(--ink); color: var(--bg);
  font: 400 .72rem/1 var(--display); letter-spacing: .08em; padding: .35rem 2.6rem; }

/* sections */
.sec-head { max-width: 40rem; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.sec-head p { font-size: 1.12rem; }
h2 { color: var(--ink); }
#how { background: var(--bg-2); }
.steps { display: grid; gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.step { background: var(--surface); border: var(--bw) solid var(--ink); border-radius: var(--r); padding: 1.3rem 1.3rem 1.4rem;
  box-shadow: 5px 5px 0 var(--ink); }
.step h3 { font-size: 1.35rem; margin: .8rem 0 .4rem; }
.step p { margin: 0; }
.step .mini { margin-top: 1rem; background: var(--screen); border: 2px dashed var(--ink-2); border-radius: 6px; padding: .7rem .8rem; font-weight: 600; }
.step .mini .typed { color: var(--accent-ink); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--surface); font-weight: 600; font-size: .92rem; line-height: 1.2; }
.chip.on { background: var(--accent); color: #fff; border-color: var(--ink); }
.chip.dark { background: var(--ink); color: var(--bg); }
button.chip { cursor: pointer; }
button.chip:hover { background: var(--rose); }
button.chip.on:hover { background: var(--accent-ink); }

/* what: three pyramids side by side, the shared notes stamped */
.pyramids .slide { --slide: min(86%, 350px); }
.pyr { background: var(--screen); border: 3px solid var(--ink); border-radius: 8px; padding: 1rem 1.1rem 1.1rem; height: 100%; }
.pyr h3 { font-size: 1.2rem; margin: 0; }
.pyr .by { color: var(--ink-2); font-weight: 600; margin: .1rem 0 .7rem; font-size: .95rem; }
.pyr dl { margin: 0; display: grid; gap: .55rem; }
.pyr dt { font: 400 .78rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.pyr dd { margin: .25rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.pyr dd span { padding: .15rem .55rem; border: 1.5px solid var(--ink-2); border-radius: 999px; font-size: .92rem; }
.pyr dd span.hit { background: var(--accent); border-color: var(--ink); color: #fff; font-weight: 700; }
.pyr dd span.hit2 { background: var(--ink); border-color: var(--ink); color: var(--bg); font-weight: 700; }
.what-sum { display: grid; gap: 1.2rem; align-items: center; margin-top: 2rem; }
@media (min-width: 860px) { .what-sum { grid-template-columns: 1.2fr 1fr; gap: 3rem; } .what-sum .source { margin: 0; } }
.what-sum .eq { font: 400 clamp(1.4rem, 3vw, 2rem)/1.1 var(--display); }
.what-sum .eq em { font-style: normal; color: var(--accent-ink); }
.source { font-size: .95rem; color: var(--ink-2); margin-top: 1rem; }

/* price beside its questions */
.price-grid { display: grid; gap: 2.2rem; align-items: start; }
@media (min-width: 900px) { .price-grid { grid-template-columns: minmax(0, 420px) 1fr; gap: 3.5rem; } }
.tag { position: relative; background: var(--surface); border: 3px solid var(--ink); border-radius: 10px; padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: 8px 8px 0 var(--accent); }
.tag::before { content: ''; position: absolute; top: 1rem; right: 1rem; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  border: 3px solid var(--ink); background: var(--bg); }
.tag h3 { font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 .5rem; }
.tag .amount { font: 400 clamp(3rem, 7vw, 4.2rem)/1 var(--display); color: var(--accent-ink); margin: 0; }
.tag .amount small { font: 600 1.1rem/1 var(--text); color: var(--ink); }
.tag ul { list-style: none; padding: 0; margin: 1.1rem 0 1.3rem; display: grid; gap: .5rem; }
.tag li { display: flex; gap: .55rem; align-items: flex-start; }
.tag li .i { color: var(--accent-ink); margin-top: .15rem; }
.tag .free { margin: 1rem 0 0; padding-top: .9rem; border-top: 2px dotted var(--ink-2); font-size: .97rem; }
.tag .btn { width: 100%; }
.faq h3 { font-size: 1.3rem; margin: 0 0 .35rem; font-family: var(--display); }
.faq details { border-bottom: 2px solid var(--ink); padding: 1rem 0; }
.faq summary { cursor: pointer; font: 700 1.15rem/1.3 var(--text); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .2s; flex: none; margin-top: .2rem; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { margin: .6rem 0 0; }
.faq .more { display: inline-flex; margin-top: 1.2rem; font-weight: 700; gap: .4rem; align-items: center; }

/* band */
.band { background: var(--accent); color: #fff; text-align: center; position: relative; overflow: hidden; }
.band h2 { color: #fff; text-shadow: 3px 3px 0 var(--ink); max-width: 20ch; margin: 0 auto .7em; }
.band .btn { background: var(--bg); color: var(--ink); }
.band .dots { position: absolute; inset: 0; opacity: .25; background-image: radial-gradient(#fff 1.3px, transparent 1.5px); pointer-events: none; }
.band .wrap { position: relative; }

/* footer */
footer { border-top: 3px solid var(--ink); background: var(--bg-2); color: var(--ink); }
.foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.foot .brand { display: flex; align-items: center; gap: .5rem; font: 400 1.4rem/1 var(--display); color: var(--ink); text-decoration: none; }
.foot nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.foot a { color: var(--ink); font-weight: 600; }
.syng-legal-links a { color: var(--ink); }

/* plain pages: questions, auth, app */
.page-head { padding-block: clamp(2rem, 5vw, 3.5rem) 1rem; }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
.page-head p { font-size: 1.15rem; }
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 2.2rem; }
.qa { display: grid; gap: 1.2rem; margin: 0; }
.qa div { background: var(--surface); border: 2px solid var(--ink); border-radius: 8px; padding: 1rem 1.2rem; }
.qa dt { font-weight: 700; font-size: 1.12rem; }
.qa dd { margin: .3rem 0 0; }

.auth { padding-block: clamp(2rem, 6vw, 4rem); }
.auth .card { box-shadow: 6px 6px 0 var(--accent); }
.auth h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
.auth .alt { margin-top: 1.2rem; }
.msg { margin: .8rem 0 0; min-height: 1.2em; }
.msg.bad { color: var(--bad); font-weight: 600; }
.msg.good { color: var(--good); font-weight: 600; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent-ink); text-decoration: underline; cursor: pointer; font-weight: 600; }

/* the app */
.app-top nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; color: var(--ink); }
.app-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 980px) { .app-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); } }
.picker { position: relative; }
.picker .row { display: flex; gap: .6rem; }
.picker input { flex: 1; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; background: var(--surface); border: 2px solid var(--ink);
  border-radius: 6px; box-shadow: 5px 5px 0 var(--ink); list-style: none; margin: 0; padding: .3rem; max-height: 22rem; overflow: auto; }
.suggest li button { width: 100%; text-align: start; background: none; border: 0; padding: .6rem .7rem; border-radius: 4px; cursor: pointer; display: block; }
.suggest li button:hover, .suggest li button:focus-visible, .suggest li button[aria-selected="true"] { background: var(--rose); outline: none; }
.suggest li small { color: var(--ink-2); }
.bottles { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; min-height: 2.6rem; }
.bottles .chip button { background: none; border: 0; padding: 0 0 0 .2rem; cursor: pointer; display: inline-grid; place-items: center; min-width: 24px; min-height: 24px; }
.limits { color: var(--ink-2); font-size: .95rem; }
.pyr-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.matches { display: grid; gap: .8rem; }
.match { background: var(--surface); border: 2px solid var(--ink); border-radius: 8px; padding: .9rem 1rem; display: grid; gap: .35rem; }
.match .t { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.match .t b { font-size: 1.1rem; }
.match .pct { font: 400 1.15rem/1 var(--display); color: var(--accent-ink); white-space: nowrap; }
.match .why { margin: 0; font-style: italic; color: var(--ink-2); }
.match a { font-weight: 700; }
.locked { background: var(--rose); border: 2px dashed var(--ink); border-radius: 8px; padding: 1.2rem; }
.locked h3 { margin: 0 0 .4rem; }
.empty { background: var(--surface); border: 2px dashed var(--ink-2); border-radius: 8px; padding: 1.4rem; text-align: center; }
.empty .i { margin: 0 auto .5rem; width: 2rem; height: 2rem; color: var(--accent-ink); }
.notice { background: var(--surface); border: 2px solid var(--ink); border-left-width: 2px; border-radius: 8px; padding: .9rem 1rem; display: flex; gap: .6rem; align-items: flex-start; }
.card-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.wheel { margin-top: 1rem; }
.wheel li { display: grid; grid-template-columns: 9rem 1fr 3rem; gap: .6rem; align-items: center; font-size: .95rem; }
.wheel .barline { height: .7rem; background: var(--bg-2); border: 1.5px solid var(--ink); border-radius: 99px; overflow: hidden; }
.wheel .barline i { display: block; height: 100%; background: var(--accent); }
.wheel ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.acct { display: grid; gap: 1.4rem; max-width: 40rem; }
.acct .card h2 { font-size: 1.4rem; display: flex; gap: .5rem; align-items: center; }
.danger { color: var(--bad); }
.btn.danger { background: var(--bad); color: #fff; }
.hp { position: absolute; left: -9999px; }
.lookup-res { margin-top: 1.5rem; }
