@font-face {
  font-family: Inter;
  src: url("./fonts/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Bricolage;
  src: url("./fonts/bricolage-grotesque.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f7fc;
  --white: #fff;
  --ink: #201830;
  --muted: #62586f;
  --accent: #5a39b4;
  --accent-dark: #43278e;
  --soft: #eee8fb;
  --line: #e5dfee;
  --radius: 22px;
  --font: Inter, Arial, sans-serif;
  --display: Bricolage, Inter, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.55 var(--font); }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button, a, select, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #8964e8; outline-offset: 3px; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 116px; }

.shell { width: min(1192px, calc(100% - 80px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  clip: rect(0, 0, 0, 0); overflow: hidden; white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; z-index: 20; top: 12px; left: 12px; background: white; padding: 10px; }
.topbar { position: sticky; z-index: 5; top: 0; background: #f8f7fcf2; border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.topbar-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.site-name { color: var(--ink); font: 760 20px/1.1 var(--display); letter-spacing: -.045em; white-space: nowrap; }
.site-name-short { display: none; }
.topbar nav { display: flex; gap: clamp(16px, 3vw, 42px); align-items: center; }
.topbar nav a { padding: 8px 0; font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.topbar nav a:hover, .text-link:hover { color: var(--accent); }
.profile-control, .filter-control { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 650; }
.profile-control > span { white-space: nowrap; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.topbar-actions select { width: clamp(130px, 17vw, 222px); text-overflow: ellipsis; }
.present-button { min-height: 39px; padding: 6px 9px; background: var(--soft); border: 1px solid #e0d5f2; border-radius: 9px; color: var(--accent-dark); font-weight: 750; font-size: 12px; white-space: nowrap; }
.present-button:hover { background: #e4d7fa; }
.presentation-mode .profile-control, .presentation-mode #portfolio-meta { display: none; }
select { min-height: 39px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); padding: 7px 10px; color: var(--ink); font-size: 13px; font-weight: 650; }

.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(35px, 6vw, 91px); align-items: center; padding-top: 67px; padding-bottom: 40px; }
.hero-content { padding: 13px 0 17px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent-dark); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #8c62df; flex: none; }
.hero h1 { margin: 15px 0 19px; max-width: 660px; font: 720 clamp(48px, 6.1vw, 90px)/.93 var(--display); letter-spacing: -.068em; overflow-wrap: anywhere; }
.hero h1[data-long="true"] { font-size: clamp(43px, 5.4vw, 72px); }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-intro { max-width: 420px; color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.57; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 23px; margin-top: 27px; }
.button { padding: 12px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 46px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 750; white-space: nowrap; }
.button-main { background: var(--accent); color: var(--white); box-shadow: 0 3px 7px #39247524; }
.button-main:hover { background: var(--accent-dark); }
.button span, .text-link span { font-size: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 750; }
.hero-art { isolation: isolate; position: relative; min-height: 324px; display: grid; place-items: center; overflow: hidden; padding: 28px; border-radius: 27px; background: #251741; }
.hero-grid { position: absolute; z-index: -2; inset: 0; background: radial-gradient(ellipse at 90% 12%, #684cb1 0%, #38245e 42%, #251741 75%); }
.hero-grid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#bfaaf429 1px, transparent 1px), linear-gradient(90deg, #bfaaf429 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(135deg, transparent 10%, #000 85%); }
.hero-orbit { position: absolute; z-index: -1; width: 420px; height: 420px; border: 1px solid #c8b5f77d; border-radius: 50%; right: -125px; bottom: -146px; pointer-events: none; }
.orbit-two { width: 355px; height: 355px; right: -93px; bottom: -114px; }
.orbit-one::before, .orbit-two::after { content: ""; position: absolute; width: 10px; height: 10px; background: #e6d8ff; border-radius: 50%; box-shadow: 0 0 20px #c8b5f7; }
.orbit-one::before { right: 96px; top: 22px; }
.orbit-two::after { left: 1px; top: 125px; }
.hero-tile { justify-self: start; width: min(100%, 350px); margin-left: clamp(0px, 2vw, 29px); padding: 23px 24px 19px; border: 1px solid #c7b7f470; border-radius: 19px; background: #f6f1ff; box-shadow: 13px 14px 0 #a98ee13d, 0 16px 35px #190e37ad; transform: rotate(-3deg); }
.tile-kicker { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 750; color: var(--accent-dark); }
.tile-kicker span { width: 7px; height: 7px; border-radius: 50%; background: #8c62df; }
.hero-date { display: flex; align-items: center; gap: 10px; margin-top: 6px; color: var(--accent-dark); font: 780 clamp(41px, 5vw, 67px)/1 var(--display); letter-spacing: -.07em; }
.hero-date i { width: 22px; height: 2px; border-radius: 2px; background: #9e81de; }
.hero-date small { margin: 10px 0 0 2px; font: 800 14px/1 var(--font); letter-spacing: .08em; }
.hero-tile h2 { margin-top: 6px; font: 750 25px/1.1 var(--display); letter-spacing: -.04em; }
.hero-tile > p:not(.tile-kicker) { margin: 5px 0 13px; color: var(--muted); font-size: 13px; }
.hero-tile-link { padding: 0; border: 0; background: transparent; color: var(--accent-dark); font-size: 12px; font-weight: 800; }
.hero-tile-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.client-context { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 11px 24px; margin-bottom: 15px; padding: 11px 15px; background: #eee8fb; border: 1px solid #e4d8f8; border-radius: 13px; }
.client-context > div { display: grid; align-content: start; gap: 2px; }
.client-context span { color: var(--accent-dark); font-weight: 750; font-size: 10px; letter-spacing: .025em; }
.client-context strong { font-weight: 750; font-size: 13px; line-height: 1.3; }
.client-context p { grid-column: 1 / -1; padding-top: 7px; border-top: 1px solid #dfd2f7; color: var(--accent-dark); font-size: 12px; }

.roadmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.quarter-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 8px; min-height: 78px; padding: 12px 15px; text-align: left; background: white; border: 1px solid var(--line); border-radius: 13px; }
.quarter-card span { grid-column: 1; color: var(--accent-dark); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.quarter-card strong { grid-column: 1; font-weight: 750; font-size: 14px; }
.quarter-card i { grid-column: 2; grid-row: 1 / span 2; font-style: normal; color: var(--accent); }
.quarter-card:hover { background: var(--soft); border-color: #ccb9ec; }

.section { padding-top: 73px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-heading h2 { margin-top: 6px; font: 730 clamp(35px, 5vw, 57px)/.99 var(--display); letter-spacing: -.055em; }
.section-heading > p { max-width: 340px; color: var(--muted); font-size: 14px; }
.calendar-board, .budget-board, .decision-board { background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.calendar-board { padding: 20px; }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding-bottom: 17px; }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 4px; border-radius: 12px; background: #f1edf7; }
.segmented button { color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 8px; padding: 6px 12px; font-size: 13px; font-weight: 750; min-height: 36px; }
.segmented button[aria-pressed="true"] { background: white; border-color: #e6dfef; color: var(--accent-dark); box-shadow: 0 1px 2px #39247513; }
.segmented button:hover { color: var(--accent-dark); }
.calendar-inner { display: grid; grid-template-columns: .83fr 1.17fr; gap: 15px; align-items: start; }
.event-list { display: grid; gap: 8px; }
.event-row { display: grid; width: 100%; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; background: #fff; border: 1px solid var(--line); border-radius: 11px; text-align: left; min-height: 59px; }
.event-row:hover { border-color: #bea9e7; }
.event-row[aria-pressed="true"] { background: #f3edff; border-color: #ba9fef; }
.event-row-date { display: grid; text-align: center; justify-items: center; align-content: center; min-height: 39px; border-radius: 7px; background: #f3effa; color: var(--accent-dark); line-height: 1.05; }
.event-row[aria-pressed="true"] .event-row-date { background: #e8dcfc; }
.event-row-date strong { font: 750 21px/1 var(--display); letter-spacing: -.04em; }
.event-row-date span { font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.event-row-name { font-size: 14px; font-weight: 750; line-height: 1.25; overflow-wrap: anywhere; }
.event-row-arrow { color: var(--accent); }
.event-detail { background: #f7f3fe; border: 1px solid #ede3fb; border-radius: 15px; min-width: 0; padding: clamp(17px, 3vw, 29px); }
.event-tag { color: var(--accent-dark); font-weight: 750; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.event-detail h3 { margin: 3px 0 2px; font: 730 clamp(26px, 3.3vw, 41px)/1.08 var(--display); letter-spacing: -.045em; }
.event-date { font-size: 13px; color: var(--muted); }
.event-copy { margin-top: 16px; display: grid; gap: 4px; }
.event-copy h4 { font-size: 13px; }
.event-copy p { color: var(--muted); font-size: 13px; margin-bottom: 7px; }
.event-deadline { display: flex; align-items: stretch; gap: 0; margin: 11px 0; background: white; border: 1px solid #e6d9f9; border-radius: 11px; }
.event-deadline > * { display: grid; align-content: start; gap: 3px; flex: 1; min-width: 0; padding: 8px 12px; font-size: 11px; font-weight: 750; color: var(--muted); }
.event-deadline > * + * { border-left: 1px solid #e6d9f9; }
.event-deadline select { min-height: 31px; max-width: 110px; padding: 3px 5px; font-size: 12px; }
.event-deadline output { padding-top: 3px; color: var(--ink); font: 750 17px/1.3 var(--display); }
.source-link { display: inline-flex; gap: 6px; align-items: center; color: var(--accent-dark); font-size: 12px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.calendar-note { margin-top: 14px; font-size: 12px; color: var(--muted); }
.empty-events { padding: 13px 0; grid-column: 1 / -1; color: var(--muted); font-size: 13px; }

.budget-board { display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; }
.budget-settings { min-width: 0; padding: clamp(19px, 3vw, 31px); background: #f0eafa; border-right: 1px solid #e6daf7; }
.budget-label { display: block; font-size: 13px; font-weight: 750; }
.amount-control { display: flex; align-items: center; gap: 8px; margin: 7px 0 16px; background: white; border: 1px solid #ded2ee; border-radius: 12px; padding: 6px 12px; max-width: 290px; }
.amount-control span { color: var(--accent-dark); font-weight: 750; font-size: 19px; }
.amount-control input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 730 clamp(27px, 5vw, 40px)/1.15 var(--display); letter-spacing: -.04em; }
#budget-slider { width: 100%; margin: 2px 0; accent-color: var(--accent); cursor: pointer; }
.slider-range { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; font-weight: 700; }
.preset-group { border: 0; padding: 0; margin: 21px 0 0; }
.preset-group legend { text-transform: none; font-size: 13px; font-weight: 750; margin-bottom: 8px; }
#presets { display: flex; gap: 6px; flex-wrap: wrap; }
.preset { padding: 6px 8px; background: white; border: 1px solid #dcd0ec; border-radius: 8px; font-size: 11px; font-weight: 750; min-height: 34px; }
.preset[aria-pressed="true"] { background: var(--accent); color: white; border-color: var(--accent); }
.preset:hover:not([aria-pressed="true"]) { background: #e6dbfb; }
.budget-output { padding: clamp(18px, 3vw, 30px); min-width: 0; }
.allocation-bar { display: flex; height: 11px; gap: 2px; overflow: hidden; border-radius: 12px; margin-bottom: 11px; background: #f0eafa; }
.allocation-bar span, .allocation-name i { background: var(--series-color); }
.allocation-list { display: grid; }
.allocation-row { min-height: 44px; display: grid; grid-template-columns: minmax(0, 1fr) 77px minmax(82px, auto); align-items: center; gap: 9px; padding: 3px 0; border-bottom: 1px solid var(--line); }
.allocation-name { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--ink); font-size: 13px; font-weight: 700; }
.allocation-name i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.allocation-control { display: flex; align-items: center; justify-content: start; gap: 2px; color: var(--muted); font-size: 12px; }
.allocation-control input { width: 54px; border: 1px solid #e2d8ef; border-radius: 6px; padding: 4px; background: #fbf9ff; color: var(--ink); }
.allocation-value { justify-self: end; color: var(--ink); font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.budget-feedback { min-height: 20px; margin-top: 7px; color: var(--muted); font-size: 12px; font-weight: 650; }
.budget-feedback[data-error="true"] { color: #a1344a; }
.budget-note { color: var(--muted); font-size: 12px; }

.plan-strip { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 15px; margin-bottom: 12px; background: #ede5fc; border: 1px solid #e4d8f8; border-radius: 12px; }
.plan-strip > div { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 9px; }
.plan-strip span { font-size: 11px; color: var(--accent-dark); font-weight: 750; }
.plan-strip strong { font-size: 14px; }
.plan-strip output { color: var(--accent-dark); font-size: 12px; font-weight: 750; white-space: nowrap; }
.months { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.month-card { min-width: 0; padding: 16px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.month-card > p { color: var(--accent-dark); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.month-card h3 { margin: 3px 0 10px; font: 740 23px/1.05 var(--display); letter-spacing: -.035em; }
.task { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; min-height: 40px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.45; }
.task input { flex: none; margin: 2px 0 0; width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.task:has(input:checked) { color: var(--accent-dark); }
.decision-board { margin-top: 14px; padding: clamp(17px, 3vw, 26px); }
.decision-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.decision-heading h3 { font: 730 26px/1.1 var(--display); letter-spacing: -.04em; }
.decision-heading p { color: var(--muted); font-size: 12px; margin-top: 3px; }
.decision-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.decision-fields label { display: grid; align-content: end; gap: 5px; font-size: 12px; font-weight: 750; }
.decision-fields input, .decision-fields textarea { min-width: 0; width: 100%; border: 1px solid #e2d8ef; border-radius: 8px; padding: 9px 10px; background: #fbfaff; color: var(--ink); font-size: 13px; font-weight: 500; }
.decision-fields input::placeholder, .decision-fields textarea::placeholder { color: #716580; opacity: 1; }
.decision-fields textarea { resize: vertical; }
.decision-notes { grid-column: 1 / -1; }

.guide-section { padding-bottom: 72px; }
.guide-list { display: grid; gap: 8px; }
.guide-list details { border: 1px solid var(--line); border-radius: 12px; background: white; padding: 0 16px; }
.guide-list summary { cursor: pointer; padding: 13px 0; font-size: 14px; font-weight: 750; }
.guide-list details > p { max-width: 730px; padding-bottom: 12px; color: var(--muted); font-size: 13px; }
.guide-list details > a { margin-bottom: 12px; }
.guide-list dl { display: grid; gap: 9px; margin: 0 0 13px; }
.guide-list dt { font-size: 13px; font-weight: 750; }
.guide-list dd { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.guide-list .macro-list { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 660px; gap: 8px; }
.macro-list div { padding: 8px; background: var(--soft); border-radius: 7px; }
.footer { border-top: 1px solid var(--line); background: #f1ebf8; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 13px; min-height: 74px; }
.footer-inner > span { color: var(--muted); font-size: 12px; }
.site-credit { color: var(--muted); font-size: 12px; white-space: nowrap; }
.site-credit strong { font: 770 16px/1 var(--display); letter-spacing: -.04em; }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 54px); }
  .profile-control > span { position: absolute; clip: rect(0, 0, 0, 0); width: 1px; height: 1px; overflow: hidden; }
  .hero { gap: 32px; padding-top: 52px; }
  .hero-art { min-height: 303px; }
  .hero-tile { margin-left: 0; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .topbar-inner { display: grid; grid-template-columns: 1fr auto; gap: 7px 10px; padding-top: 10px; padding-bottom: 4px; }
  .topbar nav { justify-content: space-between; grid-row: 2; grid-column: 1 / -1; gap: 9px; }
  .topbar nav a { padding: 5px 0; font-size: 12px; }
  .site-name { font-size: 16px; }
  .profile-control select { min-height: 35px; width: clamp(120px, 37vw, 180px); padding-block: 4px; font-size: 12px; }
  .present-button { min-height: 35px; padding-inline: 7px; font-size: 11px; }
  .hero { grid-template-columns: 1fr; gap: 17px; padding-top: 29px; padding-bottom: 19px; }
  .hero-content { padding: 2px 0; }
  .hero h1 { max-width: 510px; margin-block: 11px 13px; font-size: clamp(43px, 10vw, 60px); }
  .hero-actions { margin-top: 18px; gap: 12px; }
  .hero-art { min-height: 216px; padding: 18px 22px; border-radius: 17px; }
  .hero-tile { width: min(100%, 310px); padding: 13px 15px; }
  .hero-date { font-size: 43px; }
  .hero-tile h2 { margin-top: 3px; font-size: 22px; }
  .hero-tile > p:not(.tile-kicker) { margin-bottom: 5px; }
  .client-context { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 9px 10px; gap: 8px; margin-bottom: 9px; }
  .client-context > div:first-child { grid-column: 1 / -1; }
  .client-context strong { font-size: 12px; }
  .roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .quarter-card { min-height: 62px; padding: 8px; }
  .quarter-card strong { font-size: 12px; line-height: 1.2; }
  .section { padding-top: 45px; }
  .section-heading { align-items: start; flex-direction: column; gap: 7px; margin-bottom: 14px; }
  .section-heading > p { max-width: 410px; }
  .calendar-board { padding: 11px; border-radius: 15px; }
  .calendar-toolbar { flex-wrap: wrap; align-items: start; padding-bottom: 10px; gap: 8px; }
  .segmented { gap: 2px; }
  .segmented button { padding-inline: 7px; min-height: 34px; font-size: 12px; }
  .filter-control select { min-height: 31px; padding-block: 3px; }
  .calendar-inner { grid-template-columns: 1fr; gap: 8px; }
  .event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .event-row { grid-template-columns: 37px minmax(0, 1fr); gap: 5px; padding: 5px; min-height: 51px; }
  .event-row-date { min-height: 35px; }
  .event-row-date strong { font-size: 16px; }
  .event-row-date span { font-size: 8px; }
  .event-row-name { font-size: 11px; }
  .event-row-arrow { display: none; }
  .event-detail { padding: 12px; }
  .budget-board { grid-template-columns: 1fr; border-radius: 15px; }
  .budget-settings { border-right: 0; border-bottom: 1px solid #e6daf7; }
  .months { grid-template-columns: 1fr; gap: 8px; }
  .month-card { padding: 12px; }
  .plan-strip { padding: 8px; }
  .plan-strip strong { font-size: 13px; }
  .plan-strip output { font-size: 11px; }
  .decision-fields { grid-template-columns: 1fr; }
  .decision-heading { align-items: flex-start; }
  .decision-heading h3 { font-size: 22px; }
  .decision-heading .button { min-height: 38px; gap: 5px; padding: 6px 8px; font-size: 11px; }
  .guide-section { padding-bottom: 43px; }
  .guide-list .macro-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner > span { display: none; }
}

@media (max-width: 500px) {
  .site-name-full { display: none; }
  .site-name-short { display: inline; }
}

body, #shared-plan { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
.topbar nav { gap: clamp(5px, 1.1vw, 14px); }
.topbar nav a { padding: 6px 8px; border-radius: 7px; }
.topbar nav a[aria-current="page"] { background: var(--soft); color: var(--accent-dark); }
.copy-link-button { min-height: 39px; padding: 6px 9px; background: var(--accent); border: 1px solid var(--accent); border-radius: 9px; color: white; font-weight: 750; font-size: 12px; white-space: nowrap; }
.copy-link-button:hover:not(:disabled) { background: var(--accent-dark); }
.copy-link-button:disabled { opacity: .57; cursor: wait; }
.presentation-mode .copy-link-button { display: none; }
.page-context { padding-top: 26px; color: var(--accent-dark); font-size: 12px; font-weight: 750; }
main > section[data-page] { padding-top: 19px; padding-bottom: 0; }
.page-steps { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-block: 23px 39px; }
.page-steps #next-page { margin-left: auto; }
.page-steps #previous-page { padding-block: 6px; }
.link-dialog { width: min(540px, calc(100% - 30px)); padding: 16px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); }
.link-dialog::backdrop { background: #20183065; }
.link-dialog label { display: grid; gap: 6px; font-weight: 750; }
.link-dialog input { min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.link-dialog button { margin-top: 10px; padding: 5px 9px; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; }

@media (max-width: 1120px) {
  .topbar-inner { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding-block: 8px 4px; }
  .topbar nav { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; justify-content: flex-start; }
}

@media (max-width: 720px) {
  .topbar nav { gap: 2px; }
  .topbar nav a { font-size: 11px; padding: 5px 5px; }
  .copy-link-button { min-height: 35px; padding-inline: 6px; font-size: 11px; }
  .page-context { padding-top: 14px; }
  main > section[data-page] { padding-top: 13px; }
  .page-steps { padding-block: 17px 26px; }
  .page-steps .button { min-height: 38px; padding: 6px 8px; font-size: 11px; }
  .page-steps .text-link { font-size: 11px; }
}

@media (max-width: 545px) {
  .topbar-inner:has(.topbar-actions) .topbar-actions { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: 5px; }
  .topbar-inner:has(.topbar-actions) nav { grid-row: 3; }
  .presentation-mode .topbar-inner:has(.topbar-actions) .topbar-actions { grid-column: 2; grid-row: 1; }
  .presentation-mode .topbar-inner:has(.topbar-actions) nav { grid-row: 2; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.plan-access { max-width: 670px; margin: min(16vh, 125px) auto 48px; padding: 34px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.plan-access h1 { margin: 8px 0 10px; font: 740 clamp(32px, 6vw, 53px)/1.02 var(--display); letter-spacing: -.05em; }
.plan-access #plan-access-message { color: var(--muted); }
.plan-access .site-credit { margin-top: 22px; }
