@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  color-scheme: light;
  --ink: #22152c;
  --muted: #605269;
  --plum: #552676;
  --deep: #2b1639;
  --canvas: #fbf8f5;
  --line: #e6dbe8;
  --serif: 'Instrument Serif', Georgia, serif;
  font-family: 'DM Sans', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); line-height: 1.6; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #9b55bf; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
.wrap { max-width: 1240px; width: calc(100% - 96px); margin-inline: auto; }
.skip { position: absolute; top: -60px; left: 12px; background: #fff; padding: 8px 12px; z-index: 1; }
.skip:focus { top: 12px; }

.header { min-height: 80px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); gap: 16px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: clamp(182px, 22vw, 226px); height: auto; }
nav { display: flex; gap: clamp(14px, 3vw, 36px); }
nav a { font-size: .9rem; font-weight: 600; text-decoration: none; }
nav a:hover, .plain-link:hover, .shop-link:hover { color: #873bab; text-decoration: underline; }

.hero { min-height: 585px; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(22px, 6vw, 96px); align-items: center; padding-block: 52px 62px; }
.hero h1 { font-family: var(--serif); font-size: clamp(4rem, 7.4vw, 7.7rem); line-height: .9; font-weight: 400; letter-spacing: -.035em; margin: 16px 0 22px; }
.hero h1 em { color: var(--plum); font-weight: 400; }
.hero-copy > p:not(.kicker) { max-width: 465px; color: var(--muted); font-size: 1.08rem; }
.kicker { color: var(--plum); font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; margin-top: 28px; }
.button { display: inline-flex; gap: 12px; align-items: center; border-radius: 5px; padding: 13px 18px; background: var(--plum); color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; }
.button:hover { background: var(--deep); }
.plain-link { font-size: .9rem; font-weight: 700; }
.hero-art { overflow: hidden; border-radius: 8px; background: #e4cddd; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.compare { background: var(--deep); color: #fff7ff; padding-block: 68px 75px; }
.section-title { margin-bottom: 26px; max-width: 730px; }
.section-title h2 { font-family: var(--serif); font-weight: 400; line-height: 1; font-size: clamp(2.65rem, 5.2vw, 4.45rem); margin: 10px 0 13px; letter-spacing: -.018em; }
.section-title > p:not(.kicker) { color: var(--muted); }
.compare .kicker, .compare .section-title > p:not(.kicker) { color: #e3cde9; }
.table-scroll { overflow-x: auto; border: 1px solid #62446d; border-radius: 8px; }
table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .92rem; }
th, td { padding: 15px 16px; border-bottom: 1px solid #62446d; text-align: left; vertical-align: top; }
thead th { background: #41264f; color: #f2dcf8; }
tbody th { min-width: 185px; }
td:nth-child(2), td:nth-child(3), td:nth-child(4) { white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }

.collection { padding-block: 72px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product { border: 1px solid var(--line); border-radius: 8px; background: #fffdfb; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.product-photo { display: grid; place-items: center; padding: 18px; background: #f0e7f4; }
.product-photo img { width: 100%; height: 230px; object-fit: contain; mix-blend-mode: multiply; transition: transform .2s ease; }
.product-photo:hover img { transform: scale(1.035); }
.product-info { display: flex; flex-direction: column; flex: 1; gap: 9px; padding: 21px; }
.product-info h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.04; }
.product-info h3 a { text-decoration: none; }
.product-info h3 a:hover { text-decoration: underline; }
.product-info > p:not(.kicker) { font-size: .9rem; color: var(--muted); }
.product-info .spec { font-weight: 600; }
.shop-link { color: var(--plum); font-size: .88rem; font-weight: 700; margin-top: auto; padding-top: 5px; }
.alternatives { margin-top: 66px; }

.faq { background: #f1e7f4; padding-block: 65px; }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 36px; }
details { border-bottom: 1px solid #d8c6df; padding: 13px 0; }
summary { font-weight: 700; cursor: pointer; }
details p { color: var(--muted); padding: 8px 14px 3px 16px; }
.footer { padding-block: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .85rem; }
.footer p:first-child { font-weight: 700; }
.footer nav { flex-wrap: wrap; gap: 8px 18px; align-content: start; }
.footer nav a { font-size: .85rem; }
.home-guides { padding-bottom: 65px; }
.resource-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: 16px; }
.resource-grid > a { display: flex; gap: 14px; justify-content: space-between; padding: 17px 19px; border: 1px solid var(--line); border-radius: 8px; background: #fffdfb; color: var(--plum); font-weight: 700; text-decoration: none; }
.resource-grid > a:hover { border-color: var(--plum); text-decoration: underline; }
.resource-grid > .resource-card { display: grid; gap: 5px; }
.resource-card span { color: var(--muted); font-size: .9rem; font-weight: 400; }

.detail-page { padding-block: 26px 72px; }
.crumbs { flex-wrap: wrap; column-gap: 10px; row-gap: 4px; margin-bottom: 28px; color: var(--muted); font-size: .85rem; }
.crumbs a { color: var(--plum); }
.product-detail { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: clamp(24px, 6vw, 76px); }
.detail-photo { padding: 25px; border-radius: 8px; background: #f0e7f4; }
.detail-photo img { width: 100%; height: clamp(270px, 33vw, 460px); object-fit: contain; mix-blend-mode: multiply; }
.detail-intro h1 { margin: 8px 0 16px; font-family: var(--serif); font-size: clamp(3rem, 7vw, 6rem); font-weight: 400; letter-spacing: -.025em; line-height: .95; }
.detail-intro > p:not(.kicker) { max-width: 630px; color: var(--muted); }
.detail-intro .detail-note { margin-top: 8px; font-size: .85rem; }
.detail-specs { display: grid; gap: 5px; margin-block: 20px; }
.detail-specs > div { display: grid; grid-template-columns: minmax(105px, .65fr) 1fr; gap: 8px; padding-block: 7px; border-bottom: 1px solid var(--line); }
.detail-specs dt { font-weight: 700; }
.detail-specs dd { margin: 0; color: var(--muted); }
.article-intro { margin: 35px 0 28px; }
.prose { max-width: 750px; margin-top: 32px; }
.prose section + section, .prose > p { margin-top: 24px; }
.prose h2 { margin-bottom: 6px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.06; }
.prose p, .prose li { color: var(--muted); }
.prose li + li { margin-top: 6px; }
.prose a:not(.button) { color: var(--plum); }

@media (max-width: 920px) {
  .wrap { width: calc(100% - 56px); }
  .hero { min-height: auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .header { min-height: 0; flex-wrap: wrap; padding-block: 14px; }
  .hero { grid-template-columns: 1fr; padding-block: 35px 45px; }
  .hero h1 { font-size: clamp(3.4rem, 11vw, 5.5rem); }
  .product-detail { grid-template-columns: 1fr; }
  .detail-photo img { height: 285px; }
  .compare, .collection, .faq { padding-block: 48px; }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .grid { gap: 12px; }
  .product-photo { padding: 8px; }
  .product-photo img { height: 158px; }
  .product-info { padding: 13px; }
  .product-info h3 { font-size: 1.65rem; }
}

@media (max-width: 390px) { .grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
