/* Stone Age theme, applied site-wide through <body class="stone-age">.
   style.css holds the base layout and the palette variables; this file adds the
   rock textures, carved shapes, and the cave-wall + tablet content layout. */
.stone-age {
  --cave: #120d09;
  --basalt: #2a2018;
  --basalt-2: #382a1e;
  --rock-line: rgba(226, 190, 132, .18);
  --sand: #e8dabd;
  --sand-deep: #d9c7a2;
  --bone: #f5ebd5;
  --bone-dim: #d9cbb0;
  --ink: #2a1f15;
  --ink-soft: #57463a;
  --groove: rgba(88, 62, 32, .34);
  --lip: rgba(255, 250, 232, .72);
  --ochre: #d0932f;
  --ochre-light: #f0c36e;
  --red: #b4492c;
  --red-deep: #7d2a13;
  --moss: #3f4d1c;
  --grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .08 0 0 0 0 .04 .9 0 0 0 -.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .72 .34 0 0 0 -.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background: var(--grain-light), radial-gradient(1100px 620px at 50% 0, #33251a 0%, rgba(51, 37, 26, 0) 72%), linear-gradient(#17110c, #0e0a07);
  background-color: #0e0a07;
  background-repeat: repeat, no-repeat, no-repeat;
  min-height: 100vh;
  color: var(--bone);
}
html:has(.stone-age) { scroll-behavior: smooth; }

/* Shared header and footer, warmed up for the cave. */
/* Solid bars instead of blurred glass: the blur was barely visible on rock and costs every scroll frame on phones. */
.stone-age .glass-header, .stone-age .bottom-nav { background: rgba(20, 15, 10, .96); -webkit-backdrop-filter: none; backdrop-filter: none; }
.stone-age .glass-header { border-bottom-color: var(--rock-line); }
.stone-age .center-modal .sheet-overlay, .stone-age .modal-overlay { -webkit-backdrop-filter: none; backdrop-filter: none; }
.stone-age .glass-header a:not(.logo):not(.user-balance):not(.back-btn-header) { color: var(--ochre-light) !important; font-weight: 600; text-decoration: none; }
.stone-age .glass-header a:not(.logo):not(.user-balance):not(.back-btn-header):hover { text-decoration: underline; text-underline-offset: 4px; }
.stone-age .glass-header .logo { color: var(--bone); }
.stone-age .user-balance { background: rgba(208, 147, 47, .14); border-color: rgba(208, 147, 47, .38); color: var(--bone); }
.stone-age .user-balance .balance-icon { background: linear-gradient(135deg, #d0932f, #a23e22) !important; }
.stone-age .site-footer { border-top-color: var(--rock-line); }
.stone-age .footer-bottom { border-top-color: rgba(226, 190, 132, .1); }
.stone-age .site-footer .footer-logo { color: var(--bone); }
.stone-age .site-footer .footer-brand p, .stone-age .site-footer .footer-bottom p { color: #a89a83; }
.stone-age .site-footer nav a, .stone-age .site-footer .footer-bottom a { color: var(--bone-dim); }
.stone-age .site-footer nav a:hover { color: #fff; background: rgba(208, 147, 47, .12); }
.stone-age .site-footer a:focus-visible { outline-color: var(--ochre-light); }
@media (max-width: 600px) {
  .stone-age .site-footer nav a { background: #1b140e; border-color: rgba(226, 190, 132, .16); }
}

.stone-age .content-page { max-width: none; padding: 0; }
.stone-age :focus-visible { outline: 3px solid var(--ochre-light); outline-offset: 3px; border-radius: 6px; }
.stone-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.stone-progress { display: none; }
@supports (animation-timeline: scroll()) {
  .stone-progress { display: block; position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 200; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--red), var(--ochre-light)); animation: stone-progress linear both; animation-timeline: scroll(root); }
}
@keyframes stone-progress { to { transform: scaleX(1); } }

/* Cave wall: the page heading, lit like a torch on rock. */
.cave-hero { position: relative; padding: 30px 20px 0; text-align: center; background: radial-gradient(ellipse 62% 78% at 50% 44%, rgba(120, 84, 52, .62) 0%, rgba(72, 50, 32, .5) 42%, rgba(18, 13, 9, 0) 100%); }
.cave-hero > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.stone-age .breadcrumbs { color: #b9a98d; font-size: 14px; }
.stone-age .breadcrumbs a { color: var(--bone-dim); text-underline-offset: 3px; }
.stone-age .stone-kicker { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; color: var(--ochre-light); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.stone-kicker::before, .stone-kicker::after { content: ""; width: 26px; height: 8px; background: radial-gradient(circle, var(--red) 0 3px, transparent 3.5px) 0 0 / 13px 8px; }
.stone-age .cave-hero h1 { margin: 14px auto 18px; max-width: 20ch; color: var(--bone); font-size: clamp(31px, 5.6vw, 56px); font-weight: 700; line-height: 1.06; letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; text-shadow: 0 2px 0 #6e3216, 0 0 34px rgba(240, 160, 60, .28); filter: url(#stone-chisel); }
.stone-age .cave-hero .cave-lede { max-width: 62ch; margin-bottom: 18px; color: #eadfc8; font-size: clamp(17px, 2.1vw, 19.5px); line-height: 1.7; text-wrap: pretty; }
.stone-age .cave-hero .article-byline { margin-bottom: 4px; color: #b9a98d; font-size: 14px; }
.stone-age .article-byline a { color: var(--bone-dim); text-underline-offset: 3px; }
.cave-hero.is-plain { padding-bottom: 30px; }
.cave-icon { display: block; width: 84px; height: 84px; margin-top: 22px; border-radius: 50% 46% 52% 44% / 46% 52% 44% 50%; background: rgba(18, 13, 9, .55); box-shadow: 0 0 0 4px rgba(18, 13, 9, .6), 0 0 0 5px rgba(255, 236, 200, .18), 0 8px 18px rgba(0, 0, 0, .5); object-fit: cover; }
.cave-icon + .stone-kicker { margin-top: 16px; }
.cave-frieze { display: block; width: 100%; max-width: 980px; height: clamp(104px, 17vw, 178px); margin-top: 10px; }
.stone-age .cave-hero .cave-saying { margin: 0 auto; padding-bottom: 26px; color: #a89a83; font-size: 13.5px; font-style: italic; }

/* Layout: trail map beside the tablet on wide screens, above it on phones. */
.stone-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 850px; margin: 0 auto; padding: 8px 14px 72px; }
.stone-layout.has-trail { max-width: 1100px; }
.stone-age .trail-title { margin: 0 0 10px; color: var(--ochre-light); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.stone-age .trail ol { display: flex; gap: 8px; margin: 0; padding: 2px 2px 10px; list-style: none; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #5b452f transparent; }
.stone-age .trail li { flex: none; margin: 0; }
.trail a { display: block; padding: 9px 14px; border: 1px solid var(--rock-line); border-radius: 12px 9px 13px 8px / 9px 13px 8px 12px; background: rgba(54, 40, 28, .7); color: var(--bone-dim); font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.trail a:hover, .trail a[aria-current] { border-color: rgba(208, 147, 47, .6); background: rgba(208, 147, 47, .14); color: #fff; }
@media (min-width: 1040px) {
  .stone-layout.has-trail { grid-template-columns: 208px minmax(0, 790px); justify-content: center; gap: 40px; padding-top: 20px; }
  .trail { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 124px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #5b452f transparent; }
  .stone-age .trail ol { display: block; padding: 0; overflow: visible; }
  .trail a { padding: 10px 14px; border: 0; border-left: 2px solid var(--rock-line); border-radius: 0 10px 10px 0; background: none; white-space: normal; line-height: 1.4; }
  .trail a:hover, .trail a[aria-current] { border-left-color: var(--ochre); }
}

/* The tablet: sandstone slab that carries the article. */
.tablet { position: relative; padding: clamp(20px, 4.6vw, 54px); border-radius: 26px 18px 30px 16px / 18px 28px 16px 30px; background: var(--grain-dark), radial-gradient(ellipse 130px 95px at 170px 140px, rgba(92, 61, 26, .2), rgba(92, 61, 26, 0)) 0 0 / 520px 440px, radial-gradient(ellipse 100px 140px at 300px 200px, rgba(92, 61, 26, .14), rgba(92, 61, 26, 0)) 60px 90px / 610px 520px, radial-gradient(ellipse 160px 100px at 200px 150px, rgba(92, 61, 26, .16), rgba(92, 61, 26, 0)) 240px 300px / 470px 610px, radial-gradient(ellipse 90px 120px at 120px 160px, rgba(92, 61, 26, .13), rgba(92, 61, 26, 0)) 330px 40px / 390px 350px, linear-gradient(172deg, #eddfc4 0%, var(--sand) 46%, var(--sand-deep) 100%); background-color: var(--sand); color: var(--ink); box-shadow: inset 0 2px 0 var(--lip), inset 0 -5px 0 rgba(96, 70, 38, .3), inset 0 0 0 1px rgba(120, 92, 54, .4), 0 28px 60px rgba(0, 0, 0, .6); }
.tablet::after { content: ""; position: absolute; top: 0; right: 22px; width: 132px; height: 84px; pointer-events: none; opacity: .5; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 84' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M92 0l-7 15 9 11-14 13 5 12-16 9M85 15l-18 6-8-5M80 39l15 9 4 14' stroke='%23fff6dc' stroke-width='1.2' transform='translate(1 1.4)'/%3E%3Cpath d='M92 0l-7 15 9 11-14 13 5 12-16 9M85 15l-18 6-8-5M80 39l15 9 4 14' stroke='%235b3f20' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat; }
.tablet > * { position: relative; z-index: 1; }
.tablet section, .tablet h2[id] { scroll-margin-top: 96px; }
.tablet section + section { margin-top: clamp(44px, 6vw, 64px); }
.tablet :focus-visible { outline-color: var(--red-deep); }
.stone-age .tablet p, .stone-age .tablet li, .stone-age .tablet dd { color: var(--ink); font-size: 17px; line-height: 1.75; }
.stone-age .tablet p { max-width: 68ch; margin-bottom: 16px; }
.stone-age .tablet a { color: var(--red-deep); font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.stone-age .tablet a:hover { color: #561a09; text-decoration-thickness: 2.5px; }
.stone-age .tablet h2 { margin: 46px 0 18px; padding-bottom: 13px; border-bottom: 2px solid var(--groove); box-shadow: 0 1px 0 var(--lip); color: #33251a; font-size: clamp(23px, 3.5vw, 31px); line-height: 1.2; letter-spacing: -.012em; text-shadow: 0 1px 0 var(--lip); text-wrap: balance; }
.stone-age .tablet > h2:first-child, .stone-age .tablet section > h2:first-child, .stone-age .tablet .basalt h2 { margin-top: 0; }
.stone-age .tablet > :last-child { margin-bottom: 0; }
.stone-age .tablet .guide-practical { margin-top: 46px; }
.stone-age .tablet h3 { margin: 26px 0 8px; color: #33251a; font-size: 19px; line-height: 1.3; }
.stone-age .tablet .den-card h3, .stone-age .tablet .support-help h3, .stone-age .tablet h2 + h3, .stone-age .tablet .basalt h3:first-child { margin-top: 0; }
.stone-age .tablet .small-note { color: var(--ink-soft); font-size: 15px; line-height: 1.65; }

/* Basalt slabs: dark blocks for the summary, the limits, and the closing call. */
.basalt { padding: clamp(20px, 3.4vw, 30px); border-radius: 20px 14px 22px 12px / 14px 22px 12px 20px; background: var(--grain-light), linear-gradient(160deg, var(--basalt-2), var(--basalt)); background-color: var(--basalt); box-shadow: inset 0 2px 0 rgba(255, 236, 200, .14), inset 0 -4px 0 rgba(0, 0, 0, .34), 0 10px 22px rgba(62, 42, 20, .34); }
.basalt :focus-visible { outline-color: var(--ochre-light); }
.stone-age .tablet .basalt h2 { border-bottom-color: rgba(0, 0, 0, .45); box-shadow: 0 1px 0 rgba(255, 236, 200, .14); color: var(--bone); text-shadow: 0 2px 0 rgba(0, 0, 0, .5); }
.stone-age .tablet .basalt p, .stone-age .tablet .basalt li { color: #eee2ca; }
.stone-age .tablet .basalt h3 { color: var(--bone); }
.stone-age .tablet .basalt strong { color: var(--ochre-light); }
.stone-age .tablet .basalt a { color: var(--ochre-light); }
.stone-age .tablet .basalt a:hover { color: #ffe1a3; }
.stone-age .flint-list { margin: 0; padding: 0; list-style: none; }
.stone-age .flint-list li { position: relative; margin: 0; padding: 0 0 0 30px; }
.stone-age .flint-list li + li { margin-top: 12px; }
.stone-age .tablet .flint-list + p { margin-top: 20px; }
.stone-age .tablet .basalt > :last-child, .stone-age .tablet .basalt > div > :last-child { margin-bottom: 0; }
.flint-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 17px; height: 13px; background: var(--ochre); clip-path: polygon(100% 50%, 34% 0, 42% 34%, 0 34%, 0 66%, 42% 66%, 34% 100%); }
.fire-slab { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px 26px; }
.campfire { width: 76px; height: 76px; }
.campfire .flame { transform-box: fill-box; transform-origin: 50% 92%; animation: stone-flicker 1.7s ease-in-out infinite; }
.campfire .flame-core { animation-duration: 1.1s; animation-direction: reverse; }
@keyframes stone-flicker { 0%, 100% { transform: scale(1) rotate(-1.5deg); } 35% { transform: scale(1.05, .95) rotate(2deg); } 70% { transform: scale(.96, 1.06) rotate(-2deg); } }
@media (min-width: 640px) { .fire-slab { grid-template-columns: 76px minmax(0, 1fr); } }

/* Listing stones. */
.den-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 22px 0 30px; }
@media (min-width: 640px) { .den-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.den-card { display: flex; flex-direction: column; padding: 20px; border-radius: 18px 12px 20px 10px / 12px 20px 10px 18px; background: linear-gradient(170deg, #f7eeda, #eee1c5); box-shadow: inset 0 2px 0 #fffaea, inset 0 -3px 0 rgba(96, 70, 38, .22), inset 0 0 0 1px rgba(120, 92, 54, .34), 0 6px 14px rgba(62, 42, 20, .2); }
.den-card:nth-child(even) { border-radius: 12px 20px 10px 18px / 18px 10px 20px 12px; }
.den-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50% 46% 52% 44% / 46% 52% 44% 50%; background: #d8c5a0; box-shadow: inset 0 3px 5px rgba(70, 48, 22, .45), inset 0 -1px 0 #fff6de; color: var(--red-deep); }
.den-icon svg { width: 34px; height: 34px; }
.stone-age .tablet .den-card p { margin-bottom: 12px; font-size: 16px; line-height: 1.65; }
.stone-age .tablet .den-card .den-tip { padding-left: 12px; border-left: 3px solid var(--ochre); color: var(--ink-soft); font-size: 15px; }
.stone-age .tablet .den-card .den-link { margin: auto 0 0; padding-top: 4px; font-size: 16px; }
.den-link a::after { content: " \2192"; }

.stone-age .table-scroll { margin: 0 0 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(120, 92, 54, .45); }
.stone-age .tablet .table-scroll table { min-width: 460px; }
.stone-age .tablet table { width: 100%; margin-bottom: 12px; border-collapse: collapse; font-size: 15.5px; }
.stone-age .tablet th, .stone-age .tablet td { padding: 13px 15px; border: 0; border-bottom: 1px solid var(--groove); color: var(--ink); line-height: 1.45; text-align: left; vertical-align: top; }
.stone-age .tablet thead th { background: var(--basalt-2); color: var(--bone); font-size: 13px; letter-spacing: .07em; text-transform: uppercase; }
.stone-age .tablet thead th:first-child { border-top-left-radius: 12px; }
.stone-age .tablet thead th:last-child { border-top-right-radius: 12px; }
.stone-age .tablet tbody th { font-weight: 700; }
.stone-age .tablet tbody tr:nth-child(odd) > * { background: rgba(255, 249, 232, .5); }
.stone-age .tablet tbody tr:last-child > * { border-bottom: 0; }
.stone-age .tablet td.yes { color: var(--moss); font-weight: 700; }
.stone-age .tablet td.none { color: var(--ink-soft); }

/* Numbered pebbles: the checklist and the buying trail. */
.stone-age .pebble-list { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: pebble; }
.stone-age .pebble-list > li { position: relative; margin: 0; padding: 0 0 22px 64px; counter-increment: pebble; min-height: 46px; }
.stone-age .pebble-list > li + li { padding-top: 22px; border-top: 1px dashed var(--groove); }
.pebble-list > li::before { content: counter(pebble); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 48% 52% 44% 56% / 54% 46% 56% 44%; background: linear-gradient(160deg, #4a3828, var(--basalt)); box-shadow: inset 0 2px 0 rgba(255, 236, 200, .22), inset 0 -3px 0 rgba(0, 0, 0, .4), 0 4px 8px rgba(62, 42, 20, .35); color: var(--bone); font-size: 20px; font-weight: 700; }
.pebble-list > li + li::before { top: 22px; }
.pebble-list > li:nth-child(even)::before { border-radius: 56% 44% 54% 46% / 44% 56% 46% 54%; }
.pebble-list > li:last-child { padding-bottom: 0; }
.stone-age .tablet .pebble-list strong { display: block; margin-bottom: 2px; color: #33251a; font-size: 18.5px; line-height: 1.4; }
.stone-age .pebble-list.is-trail > li { padding-bottom: 20px; }
.stone-age .pebble-list.is-trail > li + li { padding-top: 0; border-top: 0; }
.pebble-list.is-trail > li + li::before { top: 0; }
.pebble-list.is-trail > li::before { background: linear-gradient(160deg, #e9b452, #c08224); box-shadow: inset 0 2px 0 rgba(255, 244, 210, .7), inset 0 -3px 0 rgba(110, 67, 13, .5), 0 4px 8px rgba(62, 42, 20, .3); color: #2a1708; }
.pebble-list.is-trail > li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 52px; bottom: 6px; width: 4px; background: radial-gradient(circle, rgba(88, 62, 32, .6) 0 1.6px, transparent 2px) 0 0 / 4px 10px; }

.ochre-note { margin: 20px 0; padding: 18px 20px 18px 22px; border-left: 5px solid var(--red); border-radius: 4px 16px 12px 4px / 4px 12px 16px 4px; background: rgba(255, 249, 232, .62); box-shadow: inset 0 0 0 1px rgba(120, 92, 54, .28); }
.stone-age .tablet .ochre-note ol { margin: 0; padding-left: 22px; }
.stone-age .tablet .ochre-note li { margin: 0; padding-left: 4px; }
.stone-age .tablet .ochre-note li + li { margin-top: 10px; }
.stone-age .tablet .ochre-note li::marker { color: var(--red-deep); font-weight: 700; }

.stone-faq { margin-top: 12px; border-radius: 14px 10px 15px 9px / 10px 15px 9px 14px; background: rgba(255, 249, 232, .62); box-shadow: inset 0 2px 0 #fffaea, inset 0 0 0 1px rgba(120, 92, 54, .34); }
.stone-faq summary { position: relative; padding: 16px 52px 16px 20px; color: #33251a; font-size: 17.5px; font-weight: 700; line-height: 1.4; list-style: none; cursor: pointer; }
.stone-faq summary::-webkit-details-marker { display: none; }
.stone-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--basalt-2); color: var(--bone); font-size: 19px; font-weight: 600; line-height: 1; transition: rotate .2s ease; }
.stone-faq[open] summary::after { rotate: 45deg; }
.stone-age .tablet .stone-faq p { margin: 0; padding: 0 20px 18px; }

.cave-cta { text-align: center; }
.stone-age .tablet .cave-cta h2 { border: 0; box-shadow: none; padding: 0; margin-bottom: 8px; }
.stone-age .tablet .cave-cta p { margin-left: auto; margin-right: auto; }
.stone-age .tablet .cave-cta .small-note { margin-bottom: 0; color: var(--bone-dim); }

.stone-age .related-stones { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .stone-age .related-stones { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stone-age .related-stones li { margin: 0; }
.stone-age .tablet .related-stones a { display: block; height: 100%; padding: 14px 18px; border-radius: 13px 9px 14px 8px / 9px 14px 8px 13px; background: rgba(255, 249, 232, .62); box-shadow: inset 0 2px 0 #fffaea, inset 0 0 0 1px rgba(120, 92, 54, .34); font-size: 16px; line-height: 1.45; text-decoration: none; }
.stone-age .tablet .related-stones a:hover { background: #fff9e8; text-decoration: underline; }

/* Content blocks produced by the page generators (guides, products, support, legal). */
.stone-age .tablet .credential-example { margin: 22px 0; padding: 20px 22px; border: 0; border-radius: 18px 12px 20px 10px / 12px 20px 10px 18px; background: var(--grain-light), linear-gradient(160deg, var(--basalt-2), var(--basalt)); background-color: var(--basalt); box-shadow: inset 0 2px 0 rgba(255, 236, 200, .14), inset 0 -4px 0 rgba(0, 0, 0, .34), 0 8px 18px rgba(62, 42, 20, .3); }
.stone-age .tablet .credential-example .example-label { margin-bottom: 10px; color: var(--ochre-light); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.stone-age .tablet .credential-example pre { color: var(--bone); font-size: 14px; line-height: 1.9; }
.stone-age .tablet .credential-example p:last-child { margin: 14px 0 0; color: var(--bone-dim); font-size: 14.5px; }
.stone-age .tablet .listing-note, .stone-age .tablet .sources { margin: 22px 0; padding: 18px 20px 18px 22px; border: 0; border-left: 5px solid var(--red); border-radius: 4px 16px 12px 4px / 4px 12px 16px 4px; background: rgba(255, 249, 232, .62); box-shadow: inset 0 0 0 1px rgba(120, 92, 54, .28); color: var(--ink); }
.stone-age .tablet .listing-note p, .stone-age .tablet .sources p { margin: 8px 0 0; font-size: 16px; }
.stone-age .tablet .sources p:first-child { margin-top: 0; }
.stone-age .guide-figure img { border: 0; border-radius: 14px 10px 15px 9px / 10px 15px 9px 14px; box-shadow: 0 0 0 1px rgba(88, 62, 32, .5), 0 10px 22px rgba(62, 42, 20, .32); }
.stone-age .guide-figure figcaption { color: var(--ink-soft); font-size: 14.5px; }
.stone-age .tablet .listing-panel { margin: 0 0 8px; border: 0; }
.stone-age .tablet .listing-panel .listing-price { margin-bottom: 4px; color: var(--ochre-light); font-size: 34px; line-height: 1.2; }
.stone-age .tablet .listing-panel .listing-price span { color: var(--bone-dim); font-size: 15px; }
.stone-age .tablet .stock-badge { font-size: 15px; font-weight: 600; }
.stone-age .tablet .basalt .stock-badge.in-stock { color: #a4cf63; }
.stone-age .tablet .basalt .stock-badge.out-of-stock { color: #ee7a5c; }
.stone-age .tablet .listing-panel ul { margin-bottom: 14px; }
.stone-age .tablet .listing-panel .listing-cta { margin-bottom: 0; }
.stone-age .listing-facts { border: 0; border-radius: 16px 11px 17px 10px / 11px 17px 10px 16px; background: rgba(255, 249, 232, .62); box-shadow: inset 0 2px 0 #fffaea, inset 0 0 0 1px rgba(120, 92, 54, .34); }
.stone-age .listing-facts > div + div, .stone-age .listing-facts > .fact-wide { border-color: var(--groove); }
.stone-age .listing-facts dt { color: var(--ink-soft); font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.stone-age .tablet .listing-facts dd { font-size: 16.5px; line-height: 1.55; }
.stone-age .tablet .support-contact { margin: 0 0 8px; padding: clamp(20px, 3.4vw, 28px); border: 0; border-radius: 20px 14px 22px 12px / 14px 22px 12px 20px; background: var(--grain-light), linear-gradient(160deg, var(--basalt-2), var(--basalt)); background-color: var(--basalt); box-shadow: inset 0 2px 0 rgba(255, 236, 200, .14), inset 0 -4px 0 rgba(0, 0, 0, .34), 0 10px 22px rgba(62, 42, 20, .34); color: var(--bone); }
.stone-age .tablet .support-contact strong { font-size: 19px; }
.stone-age .tablet .support-contact p { margin: 6px 0 0; color: var(--bone-dim); font-size: 16px; }
.stone-age .tablet .support-contact .primary-btn { margin: 0; white-space: nowrap; }
.stone-age .tablet .support-help > section { border: 0; border-radius: 18px 12px 20px 10px / 12px 20px 10px 18px; background: linear-gradient(170deg, #f7eeda, #eee1c5); box-shadow: inset 0 2px 0 #fffaea, inset 0 -3px 0 rgba(96, 70, 38, .22), inset 0 0 0 1px rgba(120, 92, 54, .34), 0 6px 14px rgba(62, 42, 20, .2); }
.stone-age .tablet .support-help > section + section { margin-top: 0; }
.stone-age .tablet .support-help p { margin-bottom: 0; font-size: 16px; line-height: 1.65; }
.stone-age .tablet .legal-section-num { margin-right: 4px; color: var(--red-deep); }
.stone-age .tablet .legal-text { margin-bottom: 14px; color: var(--ink); font-size: 16.5px; line-height: 1.75; }
.stone-age .tablet .legal-text ul { margin: 10px 0; padding-left: 22px; }
.stone-age .tablet .legal-text li { margin-bottom: 6px; font-size: 16.5px; }
.stone-age .tablet .legal-badge { display: inline-block; margin: 2px 0 12px; padding: 7px 13px; border: 1px solid rgba(143, 90, 18, .45); border-radius: 10px 7px 11px 6px / 7px 11px 6px 10px; background: rgba(208, 147, 47, .2); color: #6b3f08; font-size: 15px; font-weight: 700; }
.stone-age .tablet .legal-badge.green, .stone-age .tablet .pill.green { border-color: rgba(63, 77, 28, .45); background: rgba(105, 130, 46, .18); color: var(--moss); }
.stone-age .tablet .legal-badge.red, .stone-age .tablet .pill.red { border-color: rgba(125, 42, 19, .4); background: rgba(180, 73, 44, .14); color: var(--red-deep); }
.stone-age .tablet .pill { display: inline-block; margin: 3px 4px 3px 0; padding: 5px 11px; border: 1px solid var(--groove); border-radius: 9px; background: rgba(255, 249, 232, .62); color: var(--ink); font-size: 15px; font-weight: 600; }

/* Stone action buttons across the store and account screens. Light text keeps
   inline colour variants (danger, success, muted) readable. */
.stone-age .primary-btn, .stone-age .btn-primary-lg, .stone-age .topup-btn, .stone-age .mini-btn, .stone-age .modal-btn-ok { border-radius: 15px 11px 16px 10px / 11px 16px 10px 15px; background: linear-gradient(180deg, #c08224, #96560f); box-shadow: inset 0 1px 0 rgba(255, 236, 200, .4), inset 0 -3px 0 rgba(0, 0, 0, .28), 0 4px 10px rgba(0, 0, 0, .35); color: #fff8e8; font-weight: 700; text-shadow: 0 1px 0 rgba(60, 30, 0, .45); }
.stone-age .primary-btn:disabled, .stone-age .btn-primary-lg:disabled, .stone-age .mini-btn:disabled { box-shadow: none; text-shadow: none; }
.stone-age .buy-btn { padding: 8px 17px; border-radius: 13px 9px 14px 8px / 9px 14px 8px 13px; background: linear-gradient(180deg, #f3c062, var(--ochre) 62%, #b97b1f); box-shadow: inset 0 1px 0 rgba(255, 244, 210, .75), 0 3px 0 #6f430d, 0 6px 10px rgba(62, 42, 20, .3); color: #2a1708; font-size: 14px; font-weight: 700; }
.stone-age .buy-btn:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 244, 210, .75), 0 1px 0 #6f430d; }
.stone-age .buy-btn:disabled { box-shadow: 0 2px 0 #6f430d; }

/* Storefront. */
.store-cave { margin: -20px -20px 14px; padding: 0 20px; text-align: center; background: radial-gradient(ellipse 60% 100% at 50% 60%, rgba(120, 84, 52, .5) 0%, rgba(72, 50, 32, .34) 45%, rgba(18, 13, 9, 0) 100%); }
.store-cave .cave-frieze { height: clamp(88px, 13vw, 150px); margin: 0 auto; }
.stone-age .search-bar { border: 1px solid var(--rock-line); border-radius: 14px 10px 15px 9px / 10px 15px 9px 14px; background: #1a130d; box-shadow: inset 0 3px 6px rgba(0, 0, 0, .55), 0 1px 0 rgba(255, 236, 200, .07); }
.stone-age .search-bar:focus-within { border-color: rgba(208, 147, 47, .7); }
.stone-age .section-header h2 { display: flex; align-items: center; gap: 12px; color: var(--bone); letter-spacing: -.01em; }
.stone-age .section-header h2::before { content: ""; flex: none; width: 17px; height: 13px; background: var(--ochre); clip-path: polygon(100% 50%, 34% 0, 42% 34%, 0 34%, 0 66%, 42% 66%, 34% 100%); }
.stone-age .product-grid { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 18px; }
.stone-age .product-card { padding: 16px; border-radius: 18px 12px 20px 10px / 12px 20px 10px 18px; background: var(--grain-dark), linear-gradient(170deg, #f1e4c9, var(--sand) 55%, var(--sand-deep)); background-color: var(--sand); box-shadow: inset 0 2px 0 var(--lip), inset 0 -4px 0 rgba(96, 70, 38, .3), inset 0 0 0 1px rgba(120, 92, 54, .4), 0 12px 24px rgba(0, 0, 0, .5); color: var(--ink); transition: transform .16s ease, box-shadow .16s ease; }
.stone-age .product-card:nth-child(even) { border-radius: 12px 20px 10px 18px / 18px 10px 20px 12px; }
.stone-age .product-card:hover { transform: translateY(-3px); }
.stone-age .product-card:active { transform: translateY(0) scale(.985); background-color: var(--sand); }
.stone-age .product-logo { border-radius: 50% 46% 52% 44% / 46% 52% 44% 50%; background: #d8c5a0; box-shadow: inset 0 3px 5px rgba(70, 48, 22, .45), inset 0 -1px 0 #fff6de; }
.stone-age .product-logo, .stone-age .detail-logo { position: relative; }
.stone-age .product-logo img, .stone-age .detail-logo img { width: 100%; height: 100%; object-fit: cover; }
/* The carved rim is drawn over the picture, which fills the whole hollow. */
.stone-age .product-logo::after, .stone-age .detail-logo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 2px 5px rgba(70, 48, 22, .5), inset 0 0 0 1px rgba(88, 62, 32, .4); pointer-events: none; }
.stone-age .product-logo:focus-visible { outline: 3px solid var(--red-deep); }
.stone-age .product-title { color: #33251a; font-size: 16px; font-weight: 700; }
.stone-age .product-title a:hover, .stone-age .product-title a:focus-visible { color: var(--red-deep); }
.stone-age .product-title a:focus-visible { outline-color: var(--red-deep); }
.stone-age .product-card .stock-badge { font-size: 13px; font-weight: 700; }
.stone-age .product-card .stock-badge.in-stock { color: var(--moss); }
.stone-age .product-card .stock-badge.out-of-stock { color: #a3301a; }
.stone-age .product-desc { color: var(--ink-soft); font-size: 13.5px; line-height: 1.5; }
.stone-age .product-price { color: var(--red-deep); font-size: 18px; }
.stone-age .catalog-status, .stone-age #catalogNotice { color: var(--bone-dim); }
.stone-age .bottom-nav { box-shadow: 0 -1px 0 rgba(255, 236, 200, .05); }
.stone-age .sheet-overlay, .stone-age .center-modal .sheet-overlay { background: rgba(10, 6, 3, .66); }
.stone-age .sheet-content { border-top: 1px solid rgba(255, 236, 200, .16); border-radius: 26px 18px 0 0 / 18px 24px 0 0; background: var(--grain-light), linear-gradient(170deg, var(--basalt-2), var(--basalt)); background-color: var(--basalt); }
.stone-age .center-modal-content, .stone-age .modal-content { border: 0; border-radius: 22px 15px 24px 13px / 15px 24px 13px 22px; background: var(--grain-light), linear-gradient(170deg, var(--basalt-2), var(--basalt)); background-color: var(--basalt); box-shadow: inset 0 2px 0 rgba(255, 236, 200, .14), inset 0 -4px 0 rgba(0, 0, 0, .34), 0 24px 50px rgba(0, 0, 0, .6); }
.stone-age .detail-logo { border-radius: 50% 46% 52% 44% / 46% 52% 44% 50%; background: #1a130d; box-shadow: inset 0 4px 8px rgba(0, 0, 0, .6), inset 0 -1px 0 rgba(255, 236, 200, .14); }
.stone-age .detail-desc { color: var(--bone-dim); }
.stone-age .home-discovery h1, .stone-age .home-discovery h2 { color: var(--bone); letter-spacing: -.02em; }
.stone-age .home-discovery h1 > span { color: var(--ochre-light); }
.stone-age .home-discovery .discovery-eyebrow { color: var(--ochre-light); font-size: 11px; }
.stone-age .discovery-eyebrow > span { background: var(--red); }
.stone-age .discovery-lead, .stone-age .discovery-card .discovery-copy, .stone-age .discovery-steps p, .stone-age .discovery-answers details p { color: #cbbda3; font-size: 14.5px; }
.stone-age .discovery-card, .stone-age .discovery-buying { border: 0; border-radius: 20px 14px 22px 12px / 14px 22px 12px 20px; background: var(--grain-light), linear-gradient(160deg, var(--basalt-2), var(--basalt)); background-color: var(--basalt); box-shadow: inset 0 2px 0 rgba(255, 236, 200, .12), inset 0 -4px 0 rgba(0, 0, 0, .32), 0 10px 22px rgba(0, 0, 0, .4); }
.stone-age .discovery-card:nth-child(even) { border-radius: 14px 22px 12px 20px / 20px 12px 22px 14px; }
.stone-age .discovery-youtube { background: var(--grain-light), radial-gradient(ellipse at top right, rgba(180, 73, 44, .34), transparent 70%), linear-gradient(160deg, var(--basalt-2), var(--basalt)); }
.stone-age .discovery-gemini { background: var(--grain-light), radial-gradient(ellipse at top right, rgba(208, 147, 47, .3), transparent 70%), linear-gradient(160deg, var(--basalt-2), var(--basalt)); }
.stone-age .discovery-icon, .stone-age .discovery-youtube .discovery-icon, .stone-age .discovery-gemini .discovery-icon { border: 0; border-radius: 50% 46% 52% 44% / 46% 52% 44% 50%; background: #1a130d; box-shadow: inset 0 3px 5px rgba(0, 0, 0, .6), inset 0 -1px 0 rgba(255, 236, 200, .14); color: var(--ochre-light); }
.stone-age .discovery-card .discovery-label { color: #b9a98d; font-size: 11px; }
.stone-age .discovery-card h3, .stone-age .discovery-steps h3 { color: var(--bone); }
.stone-age .discovery-steps h3 { font-size: 15.5px; }
.stone-age .home-discovery .discovery-link, .stone-age .discovery-steps a, .stone-age .discovery-answers a, .stone-age .discovery-guide-bar a, .stone-age .discovery-nav a { color: var(--ochre-light); font-size: 13.5px; }
.stone-age .home-discovery a:hover { color: #ffe1a3; }
.stone-age .home-discovery a:focus-visible, .stone-age .home-discovery summary:focus-visible { outline-color: var(--ochre-light); }
.stone-age .discovery-nav span, .stone-age .discovery-guide-bar a span { color: var(--ochre); }
.stone-age .discovery-chip, .stone-age .discovery-tags span { border-color: var(--rock-line); color: var(--bone-dim); font-size: 11.5px; }
.stone-age .discovery-step-number { color: var(--ochre); font-size: 13px; font-weight: 700; }
.stone-age .discovery-answers, .stone-age .discovery-answers details, .stone-age .discovery-guide-bar { border-color: var(--rock-line); }
.stone-age .discovery-answers summary { color: var(--bone); font-size: 15px; }
.stone-age .discovery-answers summary::after { color: var(--ochre-light); }
.stone-age .discovery-section-heading > p, .stone-age .discovery-faq > div > p:last-child, .stone-age .discovery-guide-bar > span, .stone-age .home-discovery .discovery-source { color: #a89a83; font-size: 13px; }

/* Guides index: two-tone slabs, dark cap over sandstone. */
.stone-age .blog-cave { margin: -20px -20px 26px; }
.stone-age .blog-card { border: 0; border-radius: 20px 14px 22px 12px / 14px 22px 12px 20px; background: var(--grain-dark), linear-gradient(170deg, #f1e4c9, var(--sand) 55%, var(--sand-deep)); background-color: var(--sand); box-shadow: inset 0 -4px 0 rgba(96, 70, 38, .3), 0 14px 28px rgba(0, 0, 0, .5); transition: transform .16s ease; }
.stone-age .blog-card:nth-child(even) { border-radius: 14px 22px 12px 20px / 20px 12px 22px 14px; }
.stone-age .blog-card:hover { transform: translateY(-3px); }
.stone-age .blog-card:focus-visible { outline: 3px solid var(--ochre-light); outline-offset: 4px; }
.stone-age .blog-card-top, .stone-age .blog-card.featured .blog-card-top { border: 0; background: var(--grain-light), linear-gradient(160deg, var(--basalt-2), var(--basalt)); background-color: var(--basalt); box-shadow: inset 0 2px 0 rgba(255, 236, 200, .14); }
.stone-age .blog-card-icon { border-radius: 50% 46% 52% 44% / 46% 52% 44% 50%; }
.stone-age .blog-card-tag { font-size: 12px; letter-spacing: .08em; }
.stone-age .blog-card-title { color: var(--bone); font-size: 17.5px; }
.stone-age .blog-card-excerpt { color: var(--ink); font-size: 15.5px; }
.stone-age .blog-meta { color: var(--ink-soft); font-size: 13px; }
.stone-age .blog-read-btn { color: var(--red-deep); font-size: 14.5px; }

/* Account and admin screens: basalt slabs on the cave floor. */
.stone-age .auth-container, .stone-age .transaction-item, .stone-age .selection-card, .stone-age .premium-panel, .stone-age .payment-screen, .stone-age .report-account-card, .stone-age .report-history-card, .stone-age .menu-list, .stone-age .setting-box, .stone-age .compact-card, .stone-age .crypto-card, .stone-age .tx-card, .stone-age .profile-card, .stone-age .balance-hero { border-radius: 20px 14px 22px 12px / 14px 22px 12px 20px; background-image: var(--grain-light), linear-gradient(160deg, rgba(255, 236, 200, .05), rgba(0, 0, 0, .14)); box-shadow: inset 0 1px 0 rgba(255, 236, 200, .12), inset 0 -3px 0 rgba(0, 0, 0, .3), 0 10px 22px rgba(0, 0, 0, .4); }
.stone-age .profile-card, .stone-age .balance-hero { background-image: var(--grain-light), radial-gradient(ellipse 70% 90% at 50% 0, rgba(120, 84, 52, .6), rgba(40, 29, 20, 0) 75%), linear-gradient(160deg, #3a2b1e, #241b14); }
.stone-age .auth-title, .stone-age .step-title { color: var(--bone); }
.stone-age .input-group input, .stone-age .input-group textarea, .stone-age .mini-input, .stone-age .amount-input { border-radius: 13px 9px 14px 8px / 9px 14px 8px 13px; background: #1a130d; box-shadow: inset 0 3px 6px rgba(0, 0, 0, .5); color: var(--bone); }
.stone-age .input-group input:focus, .stone-age .input-group textarea:focus, .stone-age .mini-input:focus, .stone-age .amount-input:focus { border-color: rgba(208, 147, 47, .8); }
.stone-age .selection-card:hover { border-color: var(--ochre); }
.stone-age .page-btn, .stone-age .report-tab-btn, .stone-age .back-btn-header { border-radius: 12px 9px 13px 8px / 9px 13px 8px 12px; }
.stone-age .app-container h1, .stone-age .app-container h2 { color: var(--bone); }

.stone-age a.boulder-btn, .stone-age .tablet a.boulder-btn, .stone-age .tablet a.primary-btn, .stone-age .tablet button.primary-btn { width: auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center; margin: 8px 0 20px; padding: 15px 28px; border-radius: 18px 13px 20px 12px / 13px 20px 12px 18px; background: linear-gradient(180deg, #f3c062, var(--ochre) 62%, #b97b1f); box-shadow: inset 0 2px 0 rgba(255, 244, 210, .75), 0 6px 0 #6f430d, 0 14px 22px rgba(0, 0, 0, .45); color: #2a1708; font-size: 18px; font-weight: 700; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease; }
.stone-age a.boulder-btn:hover, .stone-age .tablet a.boulder-btn:hover, .stone-age .tablet a.primary-btn:hover, .stone-age .tablet button.primary-btn:hover { color: #2a1708; transform: translateY(-2px); box-shadow: inset 0 2px 0 rgba(255, 244, 210, .75), 0 8px 0 #6f430d, 0 18px 26px rgba(0, 0, 0, .5); }
.stone-age a.boulder-btn:active, .stone-age .tablet a.boulder-btn:active, .stone-age .tablet a.primary-btn:active, .stone-age .tablet button.primary-btn:active { transform: translateY(5px); box-shadow: inset 0 2px 0 rgba(255, 244, 210, .75), 0 1px 0 #6f430d, 0 4px 8px rgba(0, 0, 0, .4); }

@media (max-width: 600px) {
  .stone-age .discovery-nav a { font-size: 13px; }
  .stone-age .tablet .support-contact .primary-btn { white-space: normal; }
}
@media (max-width: 480px) {
  .store-cave { margin: -20px -20px 10px; }
  .stone-layout { padding-left: 10px; padding-right: 10px; }
  .tablet { padding: 18px 16px 22px; }
  .basalt { padding: 20px 18px; }
  .stone-age .tablet table, .stone-age .tablet .table-scroll table { min-width: 0; font-size: 14px; }
  .stone-age .tablet th, .stone-age .tablet td { padding: 10px 8px; }
  .stone-age .tablet thead th { font-size: 11.5px; letter-spacing: .04em; }
  .stone-age .pebble-list > li { padding-left: 56px; }
  .pebble-list > li::before { width: 42px; height: 42px; font-size: 18px; }
  .pebble-list.is-trail > li:not(:last-child)::after { left: 19px; top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.stone-age) { scroll-behavior: auto; }
  .campfire .flame { animation: none; }
  .stone-age a.boulder-btn, .stone-age .tablet .primary-btn, .stone-faq summary::after, .stone-age .product-card, .stone-age .blog-card { transition: none; }
}
