/* PlanDesk site design (Nov 2026): graphite header and hero, white sections, Archivo, orange buttons, red only for redlines.
   Restyles the class names every PlanDesk page already uses (header.site, .hero, .btn, .card, .doc ...). */
@font-face { font-family: "Archivo"; src: url(/plandesk/fonts/archivo-latin-wdth-normal.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
:root {
  --graphite: #15181c; --graphite-2: #1d2127; --night: #0f1114; --line-dk: rgba(255,255,255,.09);
  --ink: #14171b; --muted: #5a636d; --rule: #e2e5e8; --paper: #ffffff; --card: #ffffff; --mist: #f2f4f5; --panel: #f2f4f5;
  --pm: #f2a33a; --pm-hi: #f6b456; --pm-ink: #1a1205; --red: #d9372b; --on-dark: #e9ecef; --on-dark-2: #a7afb8; --accent: #b86e12;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; --serif: var(--sans);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); font-stretch: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--pm); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }

/* type */
h1 { font: 760 clamp(38px, 5.6vw, 80px)/.98 var(--sans); font-stretch: 114%; letter-spacing: -.03em; margin: 0 0 22px; max-width: 14ch; }
h2 { font: 720 clamp(28px, 3.3vw, 46px)/1.04 var(--sans); font-stretch: 110%; letter-spacing: -.025em; margin: 0 0 16px; }
h3 { font: 700 19px/1.3 var(--sans); font-stretch: 106%; letter-spacing: -.01em; margin: 0 0 8px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 46ch; margin: 0; }
.eyebrow { font: 600 15px/1.3 var(--sans); color: var(--accent); margin: 0 0 16px; letter-spacing: 0; text-transform: none; }

/* header */
header.site { position: sticky; top: 0; z-index: 20; background: var(--graphite); color: var(--on-dark); border-bottom: 1px solid var(--line-dk); }
header.site .wrap { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--on-dark); text-decoration: none; font: 700 19px/1 var(--sans); font-stretch: 112%; letter-spacing: -.01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
nav.top { display: flex; align-items: center; gap: 24px; margin-left: auto; }
nav.top a { color: var(--on-dark-2); text-decoration: none; font-size: 15px; }
nav.top a:hover, nav.top a[aria-current] { color: #fff; }
nav.top a.navcta { background: var(--pm); color: var(--pm-ink); padding: 9px 16px; border-radius: 9px; font-weight: 600; }
nav.top a.navcta:hover { background: var(--pm-hi); color: var(--pm-ink); }
.notice { display: block; background: var(--night); color: var(--on-dark-2); text-align: center; font-size: 14px; padding: 9px 16px; text-decoration: none; }
.notice b { color: var(--on-dark); font-weight: 600; } .notice span { text-decoration: underline; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent; background: var(--ink); color: #fff;
  font: 600 16px/1 var(--sans); font-stretch: 104%; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s; }
.btn.pmb { background: var(--pm); color: var(--pm-ink); } .btn.pmb:hover { background: var(--pm-hi); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule); } .btn.ghost:hover { border-color: #b9c0c7; }
.hero .btn.ghost, .dark .btn.ghost { color: var(--on-dark); border-color: rgba(255,255,255,.22); }
.hero .btn.ghost:hover, .dark .btn.ghost:hover { border-color: rgba(255,255,255,.5); }
.btn.sm { min-height: 38px; padding: 0 15px; font-size: 14px; }

/* dark hero band (every page's first block) */
.hero { background: var(--graphite); color: var(--on-dark); padding: clamp(52px, 7vw, 96px) 0 clamp(52px, 7vw, 88px); border: 0; }
.hero h1 { color: #fff; } .hero .lede { color: var(--on-dark-2); } .hero .eyebrow { color: var(--pm); }
.hero a:not(.btn) { color: var(--on-dark); } .hero .meta, .hero .soonnote { color: #8a939d; }
.hero figure, .hero .shot { margin-bottom: 0; }

/* sections and blocks */
section { padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--rule); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 26px; }
.card p { margin: 0; color: var(--muted); }
.pm { display: flex; gap: 20px; align-items: center; } .pm img { width: 76px; height: 76px; border-radius: 17px; flex: none; }
ul.feat { list-style: none; padding: 0; margin: 0; } ul.feat li { padding: 12px 0; border-top: 1px solid var(--rule); } ul.feat li:first-child { border-top: 0; } ul.feat b { display: block; }
.soon { color: var(--muted); font-weight: 500; font-size: .9em; white-space: nowrap; }

/* text pages (support, privacy, terms, windows) */
.doc { max-width: 760px; padding: 64px 0; }
.doc h1 { font-size: clamp(34px, 4.4vw, 54px); }
.doc h2 { font-size: clamp(22px, 2.2vw, 28px); margin-top: 44px; }
.doc p, .doc li { color: var(--ink); } .doc .meta { color: var(--muted); font-size: 15px; }
.doc ol li, .doc ul li { margin: 8px 0; }

/* footer */
footer { background: var(--night); color: #7e8792; font-size: 14px; padding: 30px 0 44px; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
footer a { color: #a7afb8; text-decoration: none; } footer a:hover { color: #fff; }

/* home page */
.shot { position: relative; width: min(1320px, 100% - 40px); margin: 64px auto 0; border-radius: 14px 14px 0 0; overflow: hidden; border: 1px solid var(--line-dk); border-bottom: 0;
  box-shadow: 0 -30px 120px -40px rgba(242,163,58,.18), 0 40px 120px -30px rgba(0,0,0,.9); }
.shot img { display: block; width: 100%; }
.shot svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.shot svg.m { display: none; }
.cloud { fill: none; stroke: var(--red); stroke-width: 4.5; stroke-linejoin: round; stroke-dasharray: 2200; stroke-dashoffset: 2200; animation: draw 1.9s cubic-bezier(.55,.1,.3,1) .7s forwards; }
.callout { opacity: 0; animation: show .45s ease-out 2.6s forwards; }
.callout rect { fill: #fff; stroke: var(--red); stroke-width: 2.4; } .callout line { stroke: var(--red); stroke-width: 2.4; }
.callout text { fill: var(--red); font: 500 19px var(--sans); }
@keyframes draw { to { stroke-dashoffset: 0; } } @keyframes show { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cloud { animation: none; stroke-dashoffset: 0; } .callout { animation: none; opacity: 1; } }
.home .hero { padding-bottom: 0; overflow: hidden; }
.home .hero h1 { font-size: clamp(42px, 6.6vw, 96px); max-width: 11.5ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.terms { font-size: 14px; color: #7e8792; margin: 14px 0 0; }
.proof p { margin: 0; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.4; font-stretch: 104%; max-width: 40ch; }
.proof { padding: 34px 0; } .proof p span { color: var(--muted); }
.row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.row.flip { grid-template-columns: 7fr 5fr; } .row.flip .copy { order: 2; }
.copy p { margin: 0; color: var(--muted); max-width: 44ch; }
.copy ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.copy li { padding-left: 26px; position: relative; } .copy li::before { content: ""; position: absolute; left: 0; top: .66em; width: 12px; height: 2px; background: var(--pm); }
.media { border-radius: 12px; overflow: hidden; border: 1px solid var(--rule); background: var(--graphite); box-shadow: 0 30px 80px -40px rgba(20,23,27,.45); }
.media img { display: block; width: 100%; } .media.tall { max-width: 380px; justify-self: center; } .media.flat { background: #fff; }
.devices { background: var(--mist); }
.devices h2 { max-width: 18ch; }
.plats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; margin-top: 40px; }
.plat { background: #fff; padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 6px; }
.plat h3 { margin: 0; font-size: 22px; } .plat p { margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.plat .st { font-size: 14px; font-weight: 600; color: #2f7d4a; } .plat .st.soon { color: var(--muted); }
.plat .btn { margin-top: auto; align-self: flex-start; }
.pricegrid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 28px; align-items: end; }
.amt { font: 760 clamp(44px, 5vw, 68px)/1 var(--sans); font-stretch: 112%; letter-spacing: -.03em; }
.amt small { font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.per { color: var(--muted); margin-top: 8px; font-size: 16px; }
.note { color: var(--muted); max-width: 52ch; margin: 28px 0 0; }
.dark { background: var(--graphite); color: var(--on-dark); border: 0; } .dark h2 { color: #fff; max-width: 16ch; } .dark p { color: var(--on-dark-2); margin: 0; max-width: 46ch; }

/* tips sign-up block above the footer */
.pdsign { background: var(--mist); }

/* launch switch (plandesk/launch.js): before / after the App Store release */
html:not(.aslive) .as-live { display: none !important; } html.aslive .as-soon { display: none !important; }

@media (max-width: 900px) {
  .row, .row.flip, .grid2 { grid-template-columns: 1fr; } .row.flip .copy { order: 0; }
  .grid3, .plats { grid-template-columns: 1fr; }
  .pricegrid { grid-template-columns: 1fr 1fr; } .pricegrid > :first-child { grid-column: 1 / -1; }
  .shot { margin-top: 44px; }
}
@media (max-width: 760px) {
  header.site .wrap { flex-wrap: wrap; height: auto; padding: 12px 0 10px; row-gap: 8px; position: relative; }
  nav.top { width: 100%; margin-left: 0; gap: 13px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  nav.top::-webkit-scrollbar { display: none; }
  nav.top a { font-size: 14px; padding: 4px 0; }
  nav.top a.navcta { position: absolute; top: 10px; right: 0; padding: 7px 13px; }
}
@media (max-width: 700px) {
  .shot svg.d { display: none; } .shot svg.m { display: block; }
  .shot { border-radius: 12px; border-bottom: 1px solid var(--line-dk); margin-bottom: 44px; }
}
@media (max-width: 520px) { .ctas .btn { width: 100%; } .pricegrid { grid-template-columns: 1fr; } }
footer .fl { display: flex; flex-wrap: wrap; gap: 6px 18px; }
/* cards that sit inside the dark hero (pricing) */
.hero .card { background: var(--graphite-2); border-color: var(--line-dk); color: var(--on-dark); }
.hero .card p, .hero .card span { color: var(--on-dark-2) !important; }
.hero .card b { color: #fff; font-family: var(--sans); font-weight: 760; font-stretch: 112%; letter-spacing: -.02em; }

/* App Store review (Nov 26, 2026) */
.review { padding: clamp(40px, 5vw, 64px) 0; background: var(--mist); }
.review figure { margin: 0; max-width: 46ch; }
.review .stars { color: var(--pm); font-size: 22px; letter-spacing: 3px; line-height: 1; margin-bottom: 14px; }
.review blockquote { margin: 0; font: 600 clamp(21px, 2.2vw, 28px)/1.35 var(--sans); font-stretch: 104%; letter-spacing: -.01em; }
.review figcaption { margin-top: 14px; color: var(--muted); font-size: 15px; }
