/* PlainSeller — digital product store look.
   Rules from the spec: mobile first, body ≥ 18px, buttons ≥ 48px, light background, one accent colour,
   nothing important hidden behind hover, no heavy effects. */
:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-warm: #fff8f3;
  --text: #0f172a;
  --text-2: #334155;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --accent: #c2410c;          /* 5.2:1 with white text */
  --accent-dark: #9a3412;
  --accent-soft: #ffedd5;
  --good: #15803d;
  --good-soft: #ecfdf3;
  --bad: #b91c1c;
  --bad-soft: #fef2f2;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .06), 0 20px 48px rgba(15, 23, 42, .12);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 18px/1.65 var(--font); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: 2.1rem; font-weight: 800; }
h2 { font-size: 1.55rem; font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p, ul, ol, dl { margin: 0 0 1em; }

.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; vertical-align: -.2em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.page { padding-top: 28px; padding-bottom: 56px; }
.lead { font-size: 1.15rem; color: var(--text-2); }
.small, .btn-note { font-size: 1rem; color: var(--text-2); }
.label { font-size: .95rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); margin: 16px 0 6px; }
.center { text-align: center; margin-top: 28px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding-top: 10px; padding-bottom: 6px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: 1.45rem; font-weight: 800; text-decoration: none; letter-spacing: -.02em; line-height: 1; }
.logo-mark { width: 32px; height: 34px; flex: 0 0 auto; }
.logo-plain { color: var(--accent); }
.logo-seller { color: var(--text); }
.site-footer .logo-seller { color: #fff; }
.site-footer .logo-plain { color: #fb923c; }
.main-nav { order: 3; width: 100%; display: flex; gap: 4px; }
.main-nav a {
  flex: 1; min-height: 48px; display: flex; align-items: center; justify-content: center;
  padding: 8px 6px; border-radius: var(--radius-sm);
  color: var(--text); font-weight: 600; text-decoration: none;
}
.main-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-dark); }
@media (min-width: 800px) {
  .header-row { flex-wrap: nowrap; padding-top: 12px; padding-bottom: 12px; }
  .main-nav { order: 2; width: auto; flex: 1; justify-content: center; }
  .main-nav a { flex: 0 0 auto; padding: 8px 18px; }
  .btn-header { order: 3; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(194, 65, 12, .25); }
.btn-primary:active { background: var(--accent-dark); }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--line-2); }
.btn-lg { min-height: 58px; padding: 14px 28px; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: 1rem; background: #fff; color: var(--text-2); border-color: var(--line-2); }
.btn-danger { background: var(--bad); color: #fff; }
.btn-header { padding: 10px 18px; }
.btn-row { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 20px; }
.btn-row .btn { width: 100%; }
@media (min-width: 640px) { .btn-row { flex-direction: row; } .btn-row .btn { width: auto; } }
.btn-note { display: flex; gap: 6px; align-items: flex-start; margin: 10px 0 0; }
.btn-note .icon { margin-top: .25em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 40px 0 48px;
  background:
    radial-gradient(circle at 85% 20%, rgba(234, 88, 12, .14), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(234, 88, 12, .08), transparent 40%),
    var(--bg-warm);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: 2.3rem; letter-spacing: -.03em; }
.hl { color: var(--accent); }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; margin-bottom: 18px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 1rem; font-weight: 700; color: var(--text-2); box-shadow: var(--shadow);
}
.hero-pill .icon { color: var(--accent); }
.trust { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--text-2); margin: 0; }
.trust .icon { color: var(--good); margin-top: .2em; }
@media (min-width: 900px) {
  .hero { padding: 80px 0 88px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .hero h1 { font-size: 3.4rem; }
}

/* Decorative hero illustration: what a PlainSeller product + review looks like. */
.hero-art { position: relative; min-height: 330px; max-width: 440px; width: 100%; margin: 0 auto; }
.art-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.art-file { top: 0; left: 0; width: 78%; padding: 18px; display: flex; gap: 14px; align-items: center; transform: rotate(-3deg); }
.art-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.art-icon .icon { width: 28px; height: 28px; }
.art-lines { flex: 1; display: grid; gap: 8px; }
.art-badge { position: absolute; right: -10px; top: -12px; background: var(--text); color: #fff; font-size: .85rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.art-review { right: 0; top: 96px; width: 82%; padding: 20px 22px; transform: rotate(2deg); }
.art-title { font-weight: 800; margin: 0 0 10px; }
.art-row { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1rem; margin: 10px 0 6px; }
.art-row.good .icon { color: var(--good); }
.art-row.bad .icon { color: var(--bad); }
.art-meter { justify-content: space-between; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.sk { display: block; height: 10px; border-radius: 99px; background: var(--line); }
.w45 { width: 45%; } .w55 { width: 55%; } .w65 { width: 65%; } .w70 { width: 70%; } .w80 { width: 80%; }

/* Difficulty meter */
.meter { display: inline-flex; gap: 4px; vertical-align: middle; }
.meter i { width: 14px; height: 14px; border-radius: 4px; background: var(--line-2); }
.meter i.on { background: var(--accent); }

/* ---------- Sections ---------- */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip-grid { display: grid; gap: 4px; padding-top: 20px; padding-bottom: 20px; }
.strip-grid p { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 10px 0; }
.strip-grid .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); }
.strip-grid strong { display: block; }
.strip-grid span { color: var(--text-2); }
.strip-grid strong { color: var(--text); }
@media (min-width: 800px) { .strip-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.section { padding: 56px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: .95rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-dark); margin-bottom: 8px; }
.section-title { font-size: 1.8rem; margin-bottom: 28px; }
@media (min-width: 800px) { .section { padding: 80px 0; } .section-title { font-size: 2.2rem; } }

.grid-2, .grid-3 { display: grid; gap: 20px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (min-width: 760px) { .grid-3 { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (min-width: 1040px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card, .path-card, .product-card, .featured, .buy-box, .glance, .contact-card, .empty, .faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.card { overflow: hidden; }

.path-card { padding: 28px; display: flex; flex-direction: column; align-items: flex-start; }
.path-card p { color: var(--text-2); flex: 1; }
.path-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-dark); margin-bottom: 18px; }
.path-icon .icon { width: 28px; height: 28px; }

/* Product media: real image, or a branded tile when there is none yet */
.media { aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 20px; text-align: center;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 50%, #fed7aa 100%);
  color: var(--accent-dark); font-weight: 800; font-size: 1.15rem;
}
.media-placeholder .icon { width: 52px; height: 52px; opacity: .85; }
.media-lg { border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 8px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line);
  font-size: .9rem; font-weight: 700; color: var(--text-2);
}
.tag-accent { background: var(--accent-soft); border-color: #fdba74; color: var(--accent-dark); }
.tag-good { background: var(--good-soft); border-color: #86efac; color: var(--good); }

.price { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.price-lg { font-size: 2.4rem; }
.price-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }

/* Icon lists (included / pros / cons / who for) */
.icon-list, .fit-list { list-style: none; padding: 0; margin: 0 0 1em; }
.icon-list li, .fit-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.icon-list .icon, .fit-list .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; margin-top: .05em; }
.icon-list.good .icon, .fit-list .good .icon { background: var(--good-soft); color: var(--good); }
.icon-list.bad .icon, .fit-list .bad .icon { background: var(--bad-soft); color: var(--bad); }

/* Featured product */
.featured { display: grid; overflow: hidden; }
.featured-media { aspect-ratio: 4 / 3; }
.featured-body { padding: 28px; display: flex; flex-direction: column; }
.featured-body > p:not(.label) { color: var(--text-2); }
.fit-line { margin-top: 4px; }
@media (min-width: 860px) {
  .featured { grid-template-columns: 1fr 1fr; }
  .featured-media { aspect-ratio: auto; min-height: 100%; }
  .featured-body { padding: 40px; }
}

/* Meet the founder */
.about-grid { display: grid; gap: 32px; align-items: center; }
/* Round, sharp portrait: native-pixel 560px source shown at ≤ 320px (2x for retina). */
.about-photo { display: flex; flex-direction: column; align-items: center; gap: 18px; margin: 0; }
.about-ring {
  display: block; width: min(300px, 78vw); aspect-ratio: 1; padding: 6px; border-radius: 50%;
  background: conic-gradient(from 200deg, #fb923c, var(--accent), #fdba74, #fb923c);
  box-shadow: 0 18px 40px rgba(194, 65, 12, .22);
}
.about-ring img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  border-radius: 50%; border: 5px solid #fff; background: #fff;
}
@media (min-width: 860px) { .about-ring { width: 320px; } }
.about-photo figcaption {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--text); font-weight: 700; font-size: .95rem; box-shadow: var(--shadow);
}
.about-photo figcaption .icon { color: var(--accent); }
.about-text p { color: var(--text-2); font-size: 1.1rem; }
.about-copy .btn { margin-top: 8px; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 420px 1fr; gap: 72px; } }

.byline { display: flex; align-items: center; gap: 14px; margin: 4px 0 20px; }
.byline img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent-soft), var(--shadow); }
.byline p { margin: 0; line-height: 1.4; }

/* Steps */
.steps { list-style: none; padding: 0; display: grid; gap: 20px; margin-bottom: 28px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.steps p { color: var(--text-2); margin: 0; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px;
  border-radius: 12px; background: var(--text); color: #fff; font-weight: 800; font-size: 1.2rem;
}
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.center-note { color: var(--text-2); max-width: 720px; }

.disclosure {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg-soft); border: 1px solid var(--line); border-left: 5px solid var(--accent);
  border-radius: var(--radius-sm); padding: 14px 18px; margin: 0 0 24px; font-size: 1rem;
}
.disclosure .icon { color: var(--accent); margin-top: .2em; }
.disclosure p { margin: 0; }

.faq { display: grid; gap: 14px; }
.faq-item { padding: 20px 22px; box-shadow: none; }
.faq-item h3 { margin-bottom: .35em; }
.faq-item p { margin: 0; color: var(--text-2); }
@media (min-width: 800px) { .faq-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Inner pages ---------- */
.page-hero {
  background: radial-gradient(circle at 90% 0%, rgba(234, 88, 12, .12), transparent 45%), var(--bg-warm);
  border-bottom: 1px solid var(--line);
  padding: 36px 0 32px;
}
.page-hero h1 { font-size: 2.2rem; margin-bottom: .3em; }
.page-hero .lead { max-width: 680px; margin: 0; }
@media (min-width: 800px) { .page-hero { padding: 56px 0 48px; } .page-hero h1 { font-size: 2.8rem; } }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 1rem; color: var(--text-2); margin-bottom: 18px; }
.crumbs a { color: var(--text-2); }

.product-card { display: flex; flex-direction: column; overflow: hidden; }
.card-media-link { display: block; }
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h2 { font-size: 1.35rem; }
.card-body h2 a { color: var(--text); text-decoration: none; }
.card-body > p { color: var(--text-2); }
.difficulty { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 600; }

.empty { padding: 40px 24px; text-align: center; max-width: 620px; margin: 0 auto 32px; }
.empty > .icon { width: 56px; height: 56px; padding: 12px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-dark); margin-bottom: 12px; }
.empty p { color: var(--text-2); }

/* Product page: title → buy box → details on mobile; sticky buy box on desktop */
.product-layout { display: grid; gap: 24px; grid-template-areas: "head" "buy" "body"; }
.p-head { grid-area: head; }
.p-head h1 { font-size: 2.2rem; }
.p-buy { grid-area: buy; }
.p-body { grid-area: body; min-width: 0; }
.buy-box { padding: 24px; }
.buy-box .price-lg { margin-bottom: 14px; }
.buy-box .small { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
@media (min-width: 960px) {
  .product-layout { grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "head buy" "body buy"; column-gap: 48px; }
  .p-head h1 { font-size: 2.8rem; }
  .p-buy { align-self: start; position: sticky; top: 96px; }
  .buy-box { box-shadow: var(--shadow-lg); }
}

.block { margin: 40px 0; }
.block h2 { display: flex; align-items: center; gap: 12px; }
.h-icon { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-dark); }
.fit-grid .block, .proscons .block { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.fit-grid, .proscons { margin: 40px 0; }
.steps-list { padding-left: 1.3em; }
.steps-list li { margin-bottom: 8px; }
.note { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; color: var(--text-2); }
.notice { display: flex; gap: 12px; align-items: flex-start; background: var(--accent-soft); border: 1px solid #fdba74; border-radius: var(--radius-sm); padding: 16px 18px; }
.notice .icon { color: var(--accent-dark); margin-top: .2em; }
.previews { display: grid; gap: 16px; }
@media (min-width: 760px) { .previews { grid-template-columns: 1fr 1fr; } }
figure { margin: 0; }
.preview-img { border: 1px solid var(--line); border-radius: var(--radius-sm); }
figcaption { font-size: 1rem; color: var(--text-2); margin-top: 6px; }

.cta-band {
  display: grid; gap: 16px; align-items: center;
  margin: 48px 0 32px; padding: 28px;
  border-radius: var(--radius);
  background: radial-gradient(circle at 100% 0%, rgba(234, 88, 12, .35), transparent 50%), var(--text);
  color: #fff;
}
.cta-band h2 { margin: 0 0 4px; }
.cta-band .price { color: #fed7aa; }
.cta-band .btn-note { color: #e2e8f0; }
.cta-band p { margin: 0; }
.cta-band a:not(.btn) { color: #fed7aa; }
@media (min-width: 760px) { .cta-band { grid-template-columns: 1fr auto; padding: 36px 40px; } }
.cta-col { grid-template-columns: 1fr !important; justify-items: start; }
.alternative { margin-top: 8px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .2); width: 100%; }
.alternative .btn-small { margin-top: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.chip {
  min-height: 48px; display: inline-flex; align-items: center; padding: 8px 20px;
  border: 1px solid var(--line-2); border-radius: 999px; background: #fff;
  color: var(--text); text-decoration: none; font-weight: 700;
}
.chip[aria-current="page"] { background: var(--text); border-color: var(--text); color: #fff; }

/* Review "At a Glance" scorecard */
.glance { padding: 0; margin: 24px 0; overflow: hidden; box-shadow: var(--shadow-lg); }
.glance-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 24px; background: var(--text); color: #fff; }
.glance-head h2 { margin: 0; font-size: 1.3rem; }
.glance-head .price { color: #fed7aa; font-size: 1.3rem; }
.glance dl { display: grid; margin: 0; }
.glance dl > div { padding: 16px 24px; border-bottom: 1px solid var(--line); }
.glance dt { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-2); }
.glance dd { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.glance .good dt { color: var(--good); }
.glance .bad dt { color: var(--bad); }
.verdict { padding: 18px 24px; background: var(--bg-warm); }
.verdict .label { margin-top: 0; color: var(--accent-dark); }
.verdict p:last-child { margin: 0; font-weight: 600; }
@media (min-width: 700px) { .glance dl { grid-template-columns: 1fr 1fr; } .glance dl > div:nth-child(odd) { border-right: 1px solid var(--line); } }

/* Long review article */
.article { margin: 40px 0; }
.article h2 { margin-top: 1.8em; padding-top: 1.2em; border-top: 1px solid var(--line); font-size: 1.55rem; }
.article h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.article p { font-size: 1.1rem; line-height: 1.75; }
.article ul { padding-left: 1.3em; }
.article li { margin-bottom: 8px; }
.inline-cta {
  margin: 32px 0; padding: 22px 24px;
  border-radius: var(--radius); border: 1px solid #fdba74; background: var(--bg-warm);
}
.inline-cta p { margin: 0 0 14px; }

/* Help */
.help-layout { display: grid; gap: 32px; }
.contact-card { padding: 28px; align-self: start; }
.contact-card h2 { display: flex; align-items: center; gap: 10px; }
@media (min-width: 960px) { .help-layout { grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; } .contact-card { position: sticky; top: 96px; } }

.prose h2 { margin-top: 1.6em; }

/* ---------- Forms ---------- */
label { display: block; font-weight: 700; margin: 16px 0 6px; }
input, textarea, select {
  width: 100%; font: inherit; color: var(--text);
  padding: 12px 14px; min-height: 48px;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
textarea { line-height: 1.5; }
.contact-form .btn { margin-top: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success { background: var(--good-soft); color: var(--good); border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 600; }
.error { background: var(--bad-soft); color: var(--bad); border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 600; }
.error ul { margin: 0; padding-left: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--text); color: #cbd5e1; padding: 48px 0 24px; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer .logo { color: #fff; }
.footer-grid { display: grid; gap: 28px; }
.footer-brand p { margin-top: 14px; max-width: 380px; }
.footer-mail { display: inline-flex; gap: 8px; align-items: center; }
.footer-title { color: #fff; font-weight: 800; margin-bottom: 8px; }
.footer-nav { display: flex; flex-direction: column; }
.footer-nav a { min-height: 44px; display: flex; align-items: center; text-decoration: none; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid #334155; }
.footer-bottom p { margin: 0 0 8px; }
/* Hidden admin entry: looks like the plain © sign. */
.site-footer .quiet-link { color: inherit; text-decoration: none; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* ---------- Motion ----------
   CSS only, transform/opacity only (cheap on weak phones), nothing important is hover-only,
   and everything is switched off for people who ask their device for reduced motion. */
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes float-a { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-8px); } }
@keyframes float-b { 0%, 100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(2deg) translateY(6px); } }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes shine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(220%) skewX(-20deg); } }
@keyframes header-shadow { to { box-shadow: 0 6px 20px rgba(15, 23, 42, .08); } }

/* Hero: content rises in on load, illustration floats gently */
.hero-copy > * { animation: fade-up .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-art { animation: fade-in 1s .3s both; }
.art-file { animation: float-a 6s ease-in-out infinite; }
.art-review { animation: float-b 7s ease-in-out infinite; }
.art-review .sk { transform-origin: left; animation: grow-x .9s cubic-bezier(.2, .7, .2, 1) both; }
.art-review .sk:nth-of-type(1) { animation-delay: .6s; }
.art-review .sk:nth-of-type(2) { animation-delay: .8s; }
.art-review .sk:nth-of-type(3) { animation-delay: 1s; }
.art-meter .meter i.on { animation: pop .4s 1.2s both; }
.art-meter .meter i.on + i.on { animation-delay: 1.35s; }
.page-hero h1, .page-hero .lead { animation: fade-up .6s cubic-bezier(.2, .7, .2, 1) both; }
.page-hero .lead { animation-delay: .08s; }

/* Round portrait: the orange ring slowly turns */
.about-ring { position: relative; isolation: isolate; background: none; }
.about-ring::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
  background: conic-gradient(from 0deg, #fb923c, var(--accent), #fdba74, #fff7ed, #fb923c);
  animation: spin 14s linear infinite;
}

/* Sections fade up as they scroll into view (browsers without support just show them) */
@supports (animation-timeline: view()) {
  .strip-grid > p, .path-card, .featured, .about-grid > *, .steps li, .faq-item,
  .product-card, .block, .glance, .cta-band, .contact-card, .empty {
    animation: fade-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}
@supports (animation-timeline: scroll()) {
  .site-header { animation: header-shadow linear both; animation-timeline: scroll(); animation-range: 0 80px; }
}

/* Touch + mouse feedback */
.btn { transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease; }
.btn:active { transform: scale(.97); }
.btn .icon { transition: transform .2s ease; }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: translateX(-120%) skewX(-20deg); pointer-events: none;
}
.path-card, .product-card, .featured, .steps li, .faq-item, .chip, .main-nav a, .footer-nav a {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .2s ease;
}
.media img { transition: transform .5s ease; }
@media (hover: hover) {
  .btn-primary:hover { background: var(--accent-dark); box-shadow: 0 10px 24px rgba(194, 65, 12, .32); transform: translateY(-2px); }
  .btn-primary:hover::after { animation: shine .8s ease; }
  .btn-secondary:hover, .btn-small:hover { border-color: var(--text); transform: translateY(-2px); }
  .btn:hover .icon { transform: translateX(3px); }
  .path-card:hover, .product-card:hover, .featured:hover, .steps li:hover {
    transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #fdba74;
  }
  .faq-item:hover { border-color: #fdba74; }
  .product-card:hover .media img, .featured:hover .media img { transform: scale(1.04); }
  .chip:hover { border-color: var(--accent-dark); }
  .main-nav a:hover { background: var(--bg-soft); }
  .main-nav a[aria-current="page"]:hover { background: var(--accent-soft); }
  .footer-nav a:hover { color: #fed7aa; }
}

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

/* ---------- Admin ---------- */
.admin { background: var(--bg-soft); }
.admin .page h1 { font-size: 1.9rem; }
.admin-bar { background: var(--text); }
.admin-nav { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; padding-top: 6px; padding-bottom: 6px; }
.admin-nav a, .linklike { color: #fff; text-decoration: none; padding: 10px 12px; font: inherit; font-size: 1rem; background: none; border: 0; cursor: pointer; min-height: 44px; }
.admin-nav form { margin-left: auto; }
.admin-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 20px 24px; }
.narrow-form { max-width: 420px; }
.narrow-form .btn { margin-top: 20px; width: 100%; }
.form-heading { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 1.25rem; }
.form-heading:first-child { border-top: 0; }
.field small { display: block; color: var(--text-2); font-size: .95rem; margin-bottom: 6px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; margin: 14px 0 4px; }
.check input { width: 24px; min-height: 24px; height: 24px; flex: 0 0 auto; }
fieldset { border: 0; padding: 0; margin: 16px 0 0; }
legend { font-weight: 700; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; position: sticky; bottom: 0; background: #fff; padding: 12px 0; }
.danger-zone { margin-top: 32px; padding: 16px 20px; border: 2px solid var(--bad); border-radius: var(--radius); background: #fff; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .9rem; }
.pill.ok { background: var(--good-soft); color: var(--good); border-color: var(--good); }
.pill.warn { background: var(--accent-soft); color: var(--accent-dark); border-color: var(--accent); }
.stat, .message, .help-box { padding: 20px; }
.stat { display: block; color: var(--text); text-decoration: none; }
.stat strong { font-size: 2rem; }
.warnings li { margin-bottom: .5em; }
.pre { white-space: pre-wrap; }
.help-box { margin-bottom: 20px; }
.help-box ol { margin: 8px 0 0; padding-left: 1.3em; }
code { background: var(--bg-soft); padding: 1px 6px; border-radius: 4px; }
.status-line { margin: 16px 0 0; font-weight: 700; }
.status-line small { display: block; font-weight: 400; color: var(--text-2); }
.regen { margin-top: 24px; }
.regen h2 { font-size: 1.2rem; }
.gen-form .lead { margin-top: 16px; }
.gen-row { display: grid; gap: 0 20px; }
@media (min-width: 760px) { .gen-row { grid-template-columns: 1fr 1fr; } }
.progress-log { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; }
.progress-log p { margin: 6px 0; }
.progress-log .dot { color: var(--accent); margin-right: 2px; }
.preview-banner { background: var(--text); color: #fff; text-align: center; padding: 10px 16px; font-weight: 700; }
.preview-banner a { color: #fed7aa; }
