/* pivotwright.com: the brand and sales site. Same look as the book and the journal: near-black, gold accent, Archivo and Literata.
   Fonts: SIL Open Font License 1.1, see fonts/licenses. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('/fonts/Archivo-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('/fonts/Archivo-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'PW Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/PWSerif-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'PW Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/PWSerif-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0B0F13;
  --surface: #131920;
  --surface-2: #18202A;
  --line: #232C37;
  --line-strong: #36414E;
  --ink: #CDD5DE;
  --ink-strong: #F4F6F8;
  --muted: #8D98A6;
  --accent: #E2B45A;
  --on-accent: #17130A;
  --up: #35C495;
  --down: #EE6A62;
  --f-ui: 'Archivo', 'Segoe UI', Arial, sans-serif;
  --f-serif: 'PW Serif', Georgia, serif;
  --r: 16px;
  --w: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-ui); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { color: var(--ink-strong); line-height: 1.12; margin: 0 0 .5em; font-weight: 750; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 6vw, 64px); letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.02em; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--accent); color: var(--on-accent); padding: 8px 12px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(11, 15, 19, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.mark { font-weight: 800; letter-spacing: 0.32em; font-size: 15px; color: var(--ink-strong); text-decoration: none; white-space: nowrap; }
.mark span { color: var(--accent); }
.top nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.top nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--ink-strong); }
.top .short { display: none; }
@media (max-width: 760px) { .top nav a.opt { display: none; } .top nav { gap: 14px; } .top .long { display: none; } .top .short { display: inline; } }

/* buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font: 650 16px/1 var(--f-ui); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: #EDC57A; color: var(--on-accent); }
.btn.ghost { border-color: var(--line-strong); color: var(--ink-strong); background: transparent; }
.btn.ghost:hover { border-color: var(--accent); color: var(--ink-strong); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* sections */
section { padding: 88px 0; border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 13px; margin-bottom: 14px; }
.lead { font-family: var(--f-serif); font-size: clamp(19px, 2.2vw, 22px); line-height: 1.55; color: var(--ink); max-width: 40em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.hero { padding: 72px 0 88px; background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 80px 80px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 80px 80px; background-color: var(--bg); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; }
.hero .note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero-art { position: relative; }
.hero-art .book { width: 78%; border-radius: 6px; }
.hero-art .phone { position: absolute; right: 0; bottom: -24px; width: 34%; border-radius: 22px; border: 1px solid var(--line-strong); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; }
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.flip > :first-child { order: 0; } }

.list { list-style: none; padding: 0; margin: 0 0 28px; }
.list li { padding: 12px 0 12px 30px; border-top: 1px solid var(--line); position: relative; }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--accent); }
.list b { color: var(--ink-strong); font-weight: 650; }

.price { display: flex; align-items: baseline; gap: 10px; margin: 0 0 18px; }
.price b { font-size: 40px; color: var(--ink-strong); font-weight: 750; letter-spacing: -0.02em; }
.price span { color: var(--muted); font-size: 15px; }

.shot { border-radius: var(--r); border: 1px solid var(--line-strong); overflow: hidden; background: var(--surface); }
figure { margin: 0; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }

.parts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 36px 0 44px; padding: 0; list-style: none; }
.parts li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.parts .n { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.parts h3 { font-size: 17px; margin: 6px 0 6px; }
.parts p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.5; }
@media (max-width: 960px) { .parts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .parts { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.plan.best { border-color: var(--accent); background: linear-gradient(180deg, rgba(226, 180, 90, 0.09), var(--surface) 55%); }
.plan .tag { align-self: flex-start; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; margin-bottom: 12px; }
.plan h3 { font-size: 22px; }
.plan ul { padding-left: 18px; margin: 0 0 24px; color: var(--ink); font-size: 15.5px; }
.plan li { margin: 6px 0; }
.plan .btn { margin-top: auto; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 780px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 650; color: var(--ink-strong); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 24px; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--ink); margin: 0 0 16px; }

.risk { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: 22px 24px; font-size: 15px; }
.risk b { color: var(--ink-strong); }

/* footer */
footer { padding: 48px 0 64px; font-size: 14.5px; color: var(--muted); }
footer .wrap { display: grid; gap: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--ink); text-decoration: none; }
footer a:hover { color: var(--ink-strong); text-decoration: underline; }

/* legal pages */
.legal { padding: 56px 0 80px; border: 0; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); }
.legal h2 { font-size: 24px; margin-top: 2.2em; }
.legal h3 { font-size: 18px; margin-top: 1.6em; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 20px; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { color: var(--ink-strong); font-weight: 650; background: var(--surface); }
.legal .meta { color: var(--muted); font-size: 15px; }
.legal .box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin: 20px 0; }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; border: 0; }
