/* Teen Life Toolkit website
   Colour: teal ink + coral action on a cool mint page; each topic keeps its own colour (--c, --c2, --s).
   Type: Fredoka (display, rounded) + Lexend (body, built for reading ease). */

@font-face { font-family: "Fredoka"; src: url("../fonts/Fredoka.woff2") format("woff2"); font-weight: 300 700; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("../fonts/Lexend.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --teal: #0e6f73;
  --teal-deep: #0a4c4f;
  --coral: #ff6f4f;
  --coral-deep: #d9472a;
  --ink: #1d2430;
  --ink-soft: #4a5566;
  --mint: #eef6f5;
  --paper: #ffffff;
  --line: #d3e4e2;
  --sun: #ffd84d;
  --radius: 14px;
  --display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --body: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 2px rgba(16, 52, 54, .08), 0 8px 22px rgba(16, 52, 54, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--mint); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 62ch; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 62ch; }

/* ---------- buttons, chips, links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  padding: .72em 1.35em; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.1;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 3px 0 var(--teal-deep); }
.btn-primary:hover { background: var(--teal-deep); color: #fff; }
.btn-tpt { background: var(--coral); color: #fff; box-shadow: 0 3px 0 var(--coral-deep); }
.btn-tpt:hover { background: var(--coral-deep); color: #fff; }
.btn-ghost { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-ghost:hover { background: var(--teal); color: #fff; }
.btn-lg { font-size: 1.15rem; padding: .85em 1.6em; }
.btn-sm { font-size: .95rem; padding: .55em 1.05em; box-shadow: none; }
.text-link { font-weight: 600; text-decoration-thickness: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1rem; }
.chip { --c: var(--teal); display: inline-flex; align-items: center; font: 500 .9rem/1 var(--body); padding: .5em .9em; border-radius: 999px;
  background: var(--paper); color: var(--ink); border: 1.5px solid color-mix(in srgb, var(--c) 45%, transparent); text-decoration: none; cursor: pointer; }
.chip::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--c); margin-right: .45em; }
a.chip:hover, button.chip:hover { border-color: var(--c); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--c); color: #fff; border-color: var(--c); }
.chip[aria-pressed="true"]::before { background: #fff; }
.chip-soft { background: transparent; }
.chip-free { --c: var(--coral); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--mint) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--teal); }
.logo b { color: var(--coral); font-weight: 600; }
.logo img { width: 44px; height: 44px; }
.menu-btn { display: none; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a, .topics-menu > summary { font-weight: 500; color: var(--ink); text-decoration: none; padding: .5em .8em; border-radius: 999px; cursor: pointer; }
.nav > a:hover, .topics-menu > summary:hover, .nav > a[aria-current="page"] { background: var(--paper); color: var(--teal); }
.nav .btn-tpt { color: #fff; margin-left: 6px; }
.topics-menu { position: relative; }
.topics-menu > summary { list-style: none; }
.topics-menu > summary::-webkit-details-marker { display: none; }
.topics-menu > summary::after { content: ""; display: inline-block; width: .45em; height: .45em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); margin-left: .5em; }
.topics-pop { position: absolute; top: calc(100% + 8px); left: 0; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; min-width: 260px; display: grid; }
.topics-pop a { display: flex; align-items: center; gap: .6em; padding: .55em .7em; border-radius: 8px; text-decoration: none; color: var(--ink); }
.topics-pop a::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.topics-pop a:hover { background: var(--mint); }

@media (max-width: 900px) {
  .head-row { flex-wrap: wrap; }
  .js .menu-btn { display: grid; gap: 5px; width: 46px; height: 46px; place-content: center; border-radius: 12px; cursor: pointer; background: var(--paper); border: 0; }
  .menu-btn span { display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; }
  .nav { flex-wrap: wrap; padding-bottom: 10px; }
  .js .nav { display: none; }
  .js .site-head.open .nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 72px;
    background: var(--paper); padding: 12px 16px 20px; box-shadow: var(--shadow); max-height: calc(100vh - 72px); overflow: auto; }
  .js .site-head.open .nav > a, .js .site-head.open .topics-menu > summary { padding: .8em .6em; border-radius: 8px; }
  .topics-pop { position: static; box-shadow: none; padding: 0 0 0 12px; min-width: 0; }
  .nav .btn-tpt { margin: 10px 0 0; }
}

/* ---------- hero + desk ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; font-stretch: 108%; color: var(--teal); line-height: 1.02; margin-bottom: .35em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 1rem; }
.hero-note { font-size: .95rem; color: var(--ink-soft); }

.desk { position: relative; height: 580px; border-radius: 28px;
  background: #d9ebe8 radial-gradient(circle at 1px 1px, rgba(14,111,115,.16) 1.4px, transparent 1.6px) 0 0 / 22px 22px; }
.doc { --c: var(--teal); position: absolute; display: block; text-decoration: none; color: var(--ink); background: var(--paper); padding: 30px 16px 16px;
  box-shadow: 0 2px 3px rgba(20,40,40,.12), 0 14px 28px rgba(20,40,40,.16); transform: rotate(var(--r, 0deg));
  transition: transform .25s cubic-bezier(.2,.8,.3,1.2), box-shadow .25s ease; animation: drop .7s cubic-bezier(.2,.8,.3,1.1) backwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
.doc:hover, .doc:focus-visible { transform: rotate(0deg) translateY(-8px) scale(1.04); z-index: 10; box-shadow: 0 4px 6px rgba(20,40,40,.12), 0 24px 40px rgba(20,40,40,.22); color: var(--ink); }
.doc-tab { position: absolute; top: -14px; left: 14px; background: var(--c); color: #fff; font: 600 .85rem/1 var(--display); padding: .55em .85em; border-radius: 8px 8px 8px 2px; white-space: nowrap; }
@keyframes drop { from { opacity: 0; transform: translateY(-40px) rotate(calc(var(--r, 0deg) * -2)); } }

/* receipt */
.doc-receipt { --r: -6deg; left: 3%; top: 5%; width: 190px; font-family: "Courier New", ui-monospace, monospace; font-size: .82rem; padding-bottom: 26px;
  background: transparent; box-shadow: none; filter: drop-shadow(0 2px 2px rgba(20,40,40,.12)) drop-shadow(0 10px 14px rgba(20,40,40,.14)); }
.doc-receipt::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 100%; }
.doc-receipt:hover, .doc-receipt:focus-visible { box-shadow: none; }
.r-head { display: block; text-align: center; font-weight: 700; letter-spacing: .04em; margin-bottom: 8px; border-bottom: 1px dashed #9aa; padding-bottom: 8px; }
.r-head small { font-weight: 400; letter-spacing: 0; }
.r-row { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; }
.r-total { border-top: 1px dashed #9aa; margin-top: 6px; padding-top: 6px; font-weight: 700; }
.r-ok span:last-child { background: var(--sun); padding: 0 3px; }
/* timetable */
.doc-timetable { --r: 3deg; left: 37%; top: 4%; width: 232px; border-radius: 6px; }
.tt-head { display: block; font: 600 1.05rem var(--display); color: var(--c); margin-bottom: 8px; }
.tt-head small { font: 400 .8rem var(--body); color: var(--ink-soft); }
.tt-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); font-size: .78rem; border-top: 2px solid var(--c); }
.tt-grid span { padding: 4px 2px; border-bottom: 1px solid #e3ecea; }
.tt-grid .hl { background: color-mix(in srgb, var(--sun) 70%, transparent); font-weight: 600; }
/* sticky note */
.doc-sticky { --r: -3deg; right: 2%; top: 47%; width: 175px; background: #fff3a6; padding-top: 32px; border-radius: 2px 2px 18px 2px; }
.st-head { display: block; font: 600 1.15rem var(--display); margin-bottom: 6px; }
.st-item { display: block; position: relative; padding-left: 26px; font-size: .86rem; line-height: 1.35; margin: 6px 0; }
.st-item::before { content: ""; position: absolute; left: 0; top: 1px; width: 15px; height: 15px; border: 2px solid var(--ink); border-radius: 4px; }
.st-item.done { text-decoration: line-through; color: var(--ink-soft); }
.st-item.done::after { content: ""; position: absolute; left: 5px; top: 2px; width: 6px; height: 11px; border: solid var(--c); border-width: 0 3px 3px 0; transform: rotate(40deg); }
/* SEL check-in */
.doc-checkin { --r: 5deg; left: 3%; top: 57%; width: 185px; border-radius: 16px; }
.ci-q { display: block; font: 600 1rem/1.2 var(--display); margin-bottom: 10px; }
.ci-bat { display: flex; gap: 4px; padding: 4px; border: 2px solid var(--ink); border-radius: 6px; width: 132px; position: relative; }
.ci-bat::after { content: ""; position: absolute; right: -7px; top: 8px; width: 5px; height: 10px; background: var(--ink); border-radius: 0 2px 2px 0; }
.ci-bat i { flex: 1; height: 18px; background: var(--c); border-radius: 2px; }
.ci-bat i.off { background: #e9e2e6; }
.ci-note { display: block; margin-top: 10px; font-size: .82rem; color: var(--ink-soft); font-style: italic; }
/* Spanish menu */
.doc-menu { --r: -4deg; left: 36%; top: 36%; width: 195px; border: 3px double var(--c); border-radius: 4px; }
.mn-head { display: block; text-align: center; font: 700 1.3rem var(--display); color: var(--c); margin-bottom: 6px; }
.mn-row { display: flex; justify-content: space-between; font-size: .84rem; padding: 3px 0; border-bottom: 1px dotted #c9b9b0; }
.mn-ask { display: block; margin-top: 8px; text-align: center; font: 500 1rem var(--display); }
/* job application */
.doc-form { --r: 2deg; left: 36%; top: 74%; width: 215px; border-radius: 4px; }
.fm-head { display: block; font: 600 1rem var(--display); margin-bottom: 6px; }
.fm-line { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .78rem; color: var(--ink-soft); border-bottom: 1px solid #c8d0d8; padding: 5px 0 2px; }
.fm-line b { color: #1b3c8c; font: 500 .95rem var(--display); }
.fm-line .sig { font-style: italic; }
/* phone */
.doc-phone { --r: -8deg; right: 3%; top: 3%; width: 128px; height: 210px; padding: 12px 9px; border-radius: 24px; background: var(--ink); display: none; }
.ph-screen { display: flex; flex-direction: column; height: 100%; background: #f4f8ff; border-radius: 16px; padding: 18px 10px 10px; }
.ph-label { font-size: .68rem; color: var(--ink-soft); }
.ph-big { font: 700 1.35rem var(--display); color: var(--c); }
.ph-bars { display: flex; align-items: flex-end; gap: 5px; height: 70px; margin-top: auto; }
.ph-bars i { flex: 1; height: var(--h); background: var(--c); border-radius: 3px 3px 0 0; opacity: .85; }
.doc-phone .doc-tab { top: auto; bottom: -14px; left: 50%; transform: translateX(-50%); }

@media (min-width: 901px) { .doc-phone { display: block; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .desk { height: auto; display: flex; gap: 22px; overflow-x: auto; padding: 34px 18px 26px; scroll-snap-type: x mandatory; margin-inline: -16px; border-radius: 0; }
  .doc { position: relative; inset: auto; flex: 0 0 auto; scroll-snap-align: center; }
  .doc-phone { display: block; }
}

/* ---------- sections ---------- */
.band { padding: clamp(40px, 6vw, 72px) 0; }
.band-topics { background: var(--paper); }
.band-bundles { background: #dff0ec; }
.band-soft { background: #e3f1ef; }
.sec-head { margin-bottom: 26px; }
.sec-head p { color: var(--ink-soft); max-width: 62ch; margin: 0; }
.sec-head-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sec-head-row h2 { margin: 0; }

/* topic folders */
.folders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px 28px; padding-top: 44px; }
@media (max-width: 960px) { .folders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .folders { grid-template-columns: 1fr; } }
.folder { --c: var(--teal); position: relative; display: block; text-decoration: none; color: var(--ink); min-height: 220px; }
.folder-papers { position: absolute; left: 22px; right: 22px; top: -40px; height: 150px; display: block; }
.folder-papers img { position: absolute; width: 108px; height: 108px; border-radius: 8px; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.15);
  transition: transform .25s cubic-bezier(.2,.8,.3,1.2); }
.folder-papers img:nth-child(1) { left: 0; transform: rotate(-8deg); }
.folder-papers img:nth-child(2) { left: calc(50% - 54px); top: -10px; transform: rotate(2deg); }
.folder-papers img:nth-child(3) { right: 0; transform: rotate(9deg); }
.folder:hover .folder-papers img:nth-child(1) { transform: rotate(-12deg) translateY(-14px); }
.folder:hover .folder-papers img:nth-child(2) { transform: rotate(0) translateY(-20px); }
.folder:hover .folder-papers img:nth-child(3) { transform: rotate(13deg) translateY(-14px); }
.folder-front { position: relative; display: flex; flex-direction: column; gap: 6px; margin-top: 50px; background: var(--s); border: 2px solid var(--c);
  border-radius: 4px var(--radius) var(--radius) var(--radius); padding: 22px 20px 18px; min-height: 170px; }
.folder-front::before { content: ""; position: absolute; left: -2px; top: -22px; width: 44%; height: 22px; background: var(--s); border: 2px solid var(--c); border-bottom: 0; border-radius: 10px 10px 0 0; }
.folder-name { font: 600 1.35rem/1.15 var(--display); color: var(--c); }
.folder-short { font-size: .95rem; color: var(--ink-soft); }
.folder-count { margin-top: auto; font-weight: 600; font-size: .9rem; }
.folder:hover .folder-name { text-decoration: underline; text-underline-offset: 4px; }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 24px; }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; } }
.grid-tight { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.card { --c: var(--teal); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card-img { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.card-img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card:hover .card-img { border-color: var(--c); }
.card-body { display: block; padding: 10px 2px 0; }
.card-title { display: block; font: 600 1.08rem/1.22 var(--display); }
.card:hover .card-title { color: var(--c); }
.card-meta { display: block; font-size: .85rem; color: var(--ink-soft); margin-top: 4px; line-height: 1.4; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c); margin-right: 6px; }
.sticker { position: absolute; top: 10px; right: 10px; background: var(--coral); color: #fff; font: 700 .85rem/1 var(--display); padding: .6em .7em; border-radius: 999px;
  transform: rotate(8deg); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.sticker-free { background: var(--sun); color: var(--ink); }
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 22px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x proximity; }
.shelf .card { scroll-snap-align: start; }

/* why */
.band-why { background: var(--teal); color: #fff; }
.why-grid { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); gap: 32px; align-items: start; }
.why-grid h2 { color: #fff; }
.why h3 { color: var(--sun); }
.why p { color: #d8eeec; margin: 0; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; gap: 18px; } }

/* posts */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.post { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); border: 1px solid var(--line); }
.post img { aspect-ratio: 16 / 10; object-fit: cover; object-position: center 12%; width: 100%; }
.post-title { font: 600 1.2rem/1.25 var(--display); padding: 16px 18px 6px; }
.post-desc { padding: 0 18px; color: var(--ink-soft); font-size: .95rem; }
.post-meta { padding: 8px 18px 18px; font-size: .85rem; color: var(--ink-soft); margin-top: auto; }
.post:hover .post-title { color: var(--teal); }

/* follow */
.band-follow { background: var(--paper); }
.follow { display: flex; gap: 28px; align-items: center; }
.follow img { width: 120px; flex-shrink: 0; }
@media (max-width: 640px) { .follow { flex-direction: column; text-align: center; } .follow .hero-actions { justify-content: center; } }

/* ---------- page heads ---------- */
.page-head { padding: clamp(32px, 5vw, 60px) 0 24px; }
.page-head h1 { color: var(--teal); }
.crumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: 14px; }
.crumbs a { color: var(--ink-soft); }
.topic-head { background: var(--s); border-bottom: 4px solid var(--c); padding: clamp(32px, 5vw, 60px) 0; }
.topic-head h1 { color: var(--c); }
.topic-head p { max-width: 64ch; }
.topic-head-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.topic-fan { position: relative; height: 280px; }
.topic-fan img { position: absolute; width: 58%; border-radius: 12px; border: 4px solid #fff; box-shadow: var(--shadow); }
.topic-fan img:nth-child(1) { left: 0; top: 30px; transform: rotate(-7deg); }
.topic-fan img:nth-child(2) { left: 21%; top: 0; transform: rotate(2deg); z-index: 1; }
.topic-fan img:nth-child(3) { right: 0; top: 40px; transform: rotate(8deg); }
@media (max-width: 800px) { .topic-head-grid { grid-template-columns: 1fr; } .topic-fan { display: none; } }
.more { margin: 48px 0; }
.other-topics .chip { font-size: .95rem; }

/* filters */
.filters { display: grid; gap: 14px; margin-bottom: 18px; }
.search input { width: 100%; max-width: 520px; font: inherit; padding: .8em 1.1em; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); }
.search input:focus { outline: none; border-color: var(--teal); }
.result-count { color: var(--ink-soft); font-size: .95rem; }
.empty { padding: 30px; text-align: center; background: var(--paper); border-radius: var(--radius); }
.card[hidden] { display: none; }

/* ---------- product page ---------- */
.product { padding: 28px 0 40px; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.gallery-main img { border-radius: 18px; border: 1px solid var(--line); background: var(--paper); width: 100%; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--c); }
.product-info h1 { color: var(--c); margin-bottom: .2em; }
.product-sub { font-size: 1.15rem; color: var(--ink-soft); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0 24px; padding: 16px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); }
.facts div { min-width: 0; }
.facts dt { font-size: .8rem; color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 600; }
.tpt-note { font-size: .88rem; color: var(--ink-soft); margin: 10px 0 22px; }
.product-detail { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; margin-top: 48px; align-items: start; }
.product-detail h2 { font-size: 1.5rem; color: var(--c); }
.ticklist { list-style: none; padding: 0; margin: 0; columns: 1; }
.ticklist li { position: relative; padding: 7px 0 7px 32px; border-bottom: 1px solid var(--line); }
.ticklist li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--c); }
.ticklist li::after { content: ""; position: absolute; left: 6.5px; top: 14px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(40deg); }
.side-notes { background: var(--s); border-radius: var(--radius); padding: 24px; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; }
.skills span { background: var(--paper); padding: .35em .75em; border-radius: 999px; font-size: .9rem; }
.bundle-callout { display: flex; gap: 22px; align-items: center; margin: 40px 0 0; padding: 20px; background: var(--paper); border: 2px dashed var(--c); border-radius: var(--radius); }
.bundle-callout img { width: 120px; border-radius: 10px; }
.bundle-callout h2 { font-size: 1.35rem; margin-bottom: .3em; }
.bundle-callout p { margin: 0 0 .4em; }
.article-links { padding-left: 1.2em; }
.article-links li { margin: .4em 0; }
@media (max-width: 860px) { .product-grid, .product-detail { grid-template-columns: 1fr; } .product-detail { gap: 28px; } }

/* bundles page */
.bundle-row { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.bundle-cover { position: relative; display: block; }
.bundle-cover img { border-radius: var(--radius); border: 1px solid var(--line); }
.bundle-row h2 a { color: var(--c); text-decoration: none; }
.bundle-meta { color: var(--ink-soft); }
.bundle-list { columns: 2; column-gap: 28px; padding-left: 1.1em; margin: 0 0 18px; }
.bundle-list li { break-inside: avoid; margin: .2em 0; }
@media (max-width: 700px) { .bundle-row { grid-template-columns: 1fr; } .bundle-cover { max-width: 260px; } .bundle-list { columns: 1; } }

/* ---------- articles ---------- */
.article-head { padding: clamp(32px, 5vw, 64px) 0 10px; }
.article-head h1 { color: var(--teal); font-size: clamp(2rem, 4.2vw, 3.1rem); }
.article-meta { color: var(--ink-soft); }
.prose { font-size: 1.1rem; line-height: 1.75; padding-bottom: 56px; }
.prose h2 { margin-top: 1.8em; color: var(--teal); }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--coral); font-weight: 700; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--sun); color: var(--ink-soft); }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 1.2em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--paper); }
.prose code { background: var(--paper); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.inline-card { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; margin: 2em 0; padding: 18px; background: var(--paper);
  border-radius: var(--radius); border: 1px solid var(--line); border-left: 6px solid var(--c); line-height: 1.5; }
.inline-card img { border-radius: 10px; }
.inline-card h3 { margin: 0 0 .25em; font-size: 1.25rem; }
.inline-card h3 a { color: var(--ink); text-decoration: none; }
.inline-card h3 a:hover { color: var(--c); }
.inline-card p { margin: 0 0 .5em; font-size: .95rem; color: var(--ink-soft); }
.inline-kicker { color: var(--c) !important; font-weight: 600; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 10px !important; }
@media (max-width: 560px) { .inline-card { grid-template-columns: 1fr; } .inline-card .inline-img { max-width: 180px; } }

/* ---------- footer ---------- */
.site-foot { background: var(--teal-deep); color: #cfe6e4; padding: 56px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-foot h2 { color: #fff; font-size: 1.1rem; }
.site-foot nav a { display: block; color: #cfe6e4; text-decoration: none; padding: 4px 0; }
.site-foot nav a:hover, .foot-links a:hover { color: #fff; text-decoration: underline; }
.logo-light { color: #fff; margin-bottom: 12px; }
.logo-light b { color: #ffb4a3; }
.foot-links { display: flex; gap: 18px; }
.foot-links a { color: #fff; font-weight: 600; }
.foot-small { font-size: .85rem; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
