/* Pebblebook product pages: "Night Amber". Warm charcoal in dark mode, warm stone in light mode. */
:root {
  color-scheme: light dark;
  --ground: #f6f3ee; --surface: #ffffff; --surface-2: #ece7df; --ink: #1e1b17; --muted: #5e574e;
  --line: #d9d2c6; --amber: #9c5f0c; --amber-fill: #e9ad48; --on-amber: #1a1406; --income: #1f5fa8;
  --radius: 26px; --shell: 72rem;
  font: 17px/1.6 "Manrope", system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --ground: #110f0d; --surface: #1a1816; --surface-2: #23201c; --ink: #f3eee6; --muted: #a39c92;
          --line: #2e2a25; --amber: #e9ad48; --income: #9cc8f0; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-underline-offset: .2em; }
.shell { width: min(100% - 2rem, var(--shell)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; padding: .6rem 1rem; background: var(--amber-fill); color: var(--on-amber); border-radius: 0 0 12px 0; z-index: 10; }
.skip:focus { left: 0; }

.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--ground) 86%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 1.25rem; min-height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.wordmark img { border-radius: 8px; }
.links { display: flex; gap: 1.25rem; }
.links a, .language { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 600; }
.links a:hover, .language:hover { color: var(--ink); }
.language { padding: .35rem .8rem; border-radius: 999px; background: var(--surface); }
@media (max-width: 640px) { .links { display: none; } }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding-block: 4.5rem 3rem; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); margin: 0 0 1rem; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 700; margin: 0; }
h1 em { font-style: normal; color: var(--amber); }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 34rem; margin: 1.4rem 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.4rem; border-radius: 999px; background: var(--amber-fill); color: var(--on-amber); font-weight: 700; text-decoration: none; }
.button:hover { filter: brightness(1.06); }
.coming { color: var(--muted); font-weight: 600; font-size: .95rem; }
.facts { color: var(--muted); font-size: .9rem; margin-top: 1rem; }
.hero-phone { margin: 0; justify-self: center; width: min(100%, 320px); border-radius: 44px; overflow: hidden; box-shadow: 0 0 0 8px #000, 0 0 0 9px var(--line), 0 40px 80px rgba(0,0,0,.35); }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; padding-top: 3rem; } .hero-phone { width: min(78%, 300px); } }

.features { padding-block: 2rem 4rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.card { background: var(--surface); border-radius: var(--radius); padding: 1.6rem; }
.card-number { font-size: .8rem; font-weight: 700; color: var(--amber); }
.card h2 { font-size: 1.2rem; line-height: 1.3; margin: .6rem 0 .5rem; }
.card p { color: var(--muted); margin: 0; }

.screens { background: var(--surface); padding-block: 4.5rem; }
.section-heading { max-width: 40rem; margin-bottom: 2.5rem; }
.section-heading h2, .privacy-band h2, .guides h2, .faq h2, .closing h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .8rem; }
.section-heading p { color: var(--muted); margin: 0; }
.shot-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.shot { margin: 0; }
.shot img { border-radius: 32px; box-shadow: 0 0 0 1px var(--line); }
.shot figcaption { color: var(--muted); font-size: .92rem; margin-top: .9rem; }
@media (max-width: 760px) { .shot-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; } .shot { scroll-snap-align: start; } }

.privacy-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; padding-block: 5rem; align-items: start; }
.pebbles { width: 72px; height: 72px; margin-bottom: 1rem; }
.privacy-band p { color: var(--muted); margin-top: 0; }
.check-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; margin: 1.4rem 0; }
.check-list li { padding-left: 1.4rem; position: relative; font-weight: 600; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--amber-fill); }
.text-link { font-weight: 700; text-decoration: none; }
@media (max-width: 760px) { .privacy-band { grid-template-columns: 1fr; gap: 0; } }

.guides { padding-bottom: 4rem; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.guide-card { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; min-height: 9rem; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; }
.guide-card h3 { font-size: 1.1rem; margin: 0; }
.guide-card:hover { box-shadow: inset 0 0 0 1px var(--amber); }

.faq { padding-bottom: 4rem; max-width: 52rem; }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--amber); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
details[open] summary span { transform: rotate(45deg); }
details p { color: var(--muted); margin: 0 0 1.2rem; }

.closing { text-align: center; padding-block: 4rem 5rem; display: flex; flex-direction: column; align-items: center; }
.closing img { border-radius: 18px; margin-bottom: 1.4rem; }
.closing p { color: var(--muted); margin: 0 0 1.4rem; }
.pill { display: inline-block; padding: .5rem 1rem; border-radius: 999px; background: var(--surface); color: var(--muted); font-weight: 600; font-size: .9rem; }

.foot { border-top: 1px solid var(--line); padding-block: 2.5rem; color: var(--muted); font-size: .92rem; }
.foot-main { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.foot-main p { margin: 0; flex: 1 1 18rem; }
.foot-main nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.foot-main nav a, .foot-bottom a { color: var(--muted); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.5rem; font-size: .85rem; }

.article { max-width: 46rem; padding-block: 3rem 4rem; }
.article h1 { font-size: clamp(2rem, 5vw, 3rem); }
.breadcrumbs, .article-meta { color: var(--muted); font-size: .9rem; }
.breadcrumbs a { color: var(--muted); }
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 2rem; }
.toc a { padding: .35rem .8rem; border-radius: 999px; background: var(--surface); text-decoration: none; font-size: .88rem; font-weight: 600; }
.article-section h2 { font-size: 1.3rem; margin: 2rem 0 .5rem; }
.article-section p { color: var(--muted); margin: 0; }
.related { margin-top: 3rem; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: .6rem; }
.related h2 { font-size: 1.1rem; margin: 0 0 .3rem; }
.related a { font-weight: 600; text-decoration: none; }

:focus-visible { outline: 3px solid var(--amber-fill); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
