/* ProPost's public website: Home, Features and Pricing. Same look as the app: aubergine and lime, Plus Jakarta
   Sans, the two-dot wordmark. These pages are read, so they scroll; the app itself never does. */
:root {
  --aub: #2d1a29; --aub-2: #3d2838; --lime: #e7ff56; --page: #faf8f9; --line: #e8e0e5; --muted: #655661;
  --soft: #f3edf1; --tint: #fbfde9; --on-dark: #d9cbd4;
  --shadow: 0 30px 80px -30px rgba(45, 26, 41, .45), 0 2px 6px rgba(45, 26, 41, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--aub); font: 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; box-shadow: 0 0 0 1.5px var(--aub); border-radius: 8px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 30; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--aub); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 8px 28px; min-height: 68px; flex-wrap: wrap; }
.mark { font-weight: 800; font-size: 24px; letter-spacing: -0.04em; display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; }
.mark i { display: inline-block; width: .62em; height: .62em; border-radius: 50%; margin: 0 .03em; transform: translateY(.05em); }
.nav { display: flex; align-items: center; gap: 4px 26px; flex-wrap: wrap; }
.nav a { font-weight: 600; text-decoration: none; padding: 10px 0; color: var(--on-dark); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--lime); }
.menu-btn { display: none; background: none; border: 1.5px solid #5a4353; color: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 700; cursor: pointer; }
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-top: 1px solid var(--aub-2); }
  .nav a.b { margin-top: 12px; border-top: 0; }
}

/* buttons */
.b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; white-space: nowrap; cursor: pointer; transition: background .15s, transform .15s; }
.b:active { transform: translateY(1px); }
.b.lime { background: var(--lime); color: var(--aub); }
.b.lime:hover { background: #dcf53a; }
.b.dark { background: var(--aub); color: var(--lime); }
.b.dark:hover { background: #432a3d; }
.b.line { border-color: var(--aub); background: #fff; color: var(--aub); }
.b.line:hover { background: var(--soft); }
.b.ghost { border-color: #6d5565; color: #fff; }
.b.ghost:hover { background: var(--aub-2); }
.b.s { min-height: 42px; padding: 0 18px; font-size: 15px; }
.nav a.b { color: var(--aub); padding: 0 18px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* hero */
.hero { background: var(--aub); color: #fff; padding-top: 64px; overflow: hidden; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.hero h1 { font-size: clamp(38px, 6.2vw, 72px); font-weight: 800; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--on-dark); max-width: 40em; }
.hero .fine { color: var(--on-dark); font-size: 15px; }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow); background: #fff; }
.hero .shot { margin-top: 26px; width: 100%; max-width: 1080px; border-bottom: 0; border-radius: 16px 16px 0 0; box-shadow: 0 -20px 80px -20px rgba(231, 255, 86, .22); }
.hero.small { padding: 56px 0; }
.hero.small h1 { font-size: clamp(34px, 5vw, 56px); max-width: 20ch; }

/* sections */
section.block { padding: clamp(56px, 8vw, 96px) 0; }
section.soft { background: var(--page); }
section.dark { background: var(--aub); color: #fff; }
.head { max-width: 720px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
h2 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 800; }
.head p, .sub { color: var(--muted); font-size: 18px; }
section.dark .head p { color: var(--on-dark); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
section.dark .kicker { color: var(--lime); }
.nets { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 22px 0; }
.nets span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 14px; background: #fff; }
.nets b { align-self: center; margin-right: 6px; font-size: 14px; color: var(--muted); font-weight: 600; }

/* a feature with its screenshot */
.feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(28px, 5vw, 64px); align-items: center; }
.feat + .feat { margin-top: clamp(56px, 8vw, 96px); }
.feat h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 10px 0 12px; }
.feat p { color: var(--muted); font-size: 17px; }
.feat ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.feat li { padding-left: 30px; position: relative; }
.feat li::before { content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); box-shadow: inset 0 0 0 1.5px var(--aub); }
.feat li::after { content: ""; position: absolute; left: 6px; top: .5em; width: 6px; height: 9px; border: solid var(--aub); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.feat .shot { border-color: var(--line); }
/* A closer look at one corner of a screenshot, so the same picture is not shown twice at the same size. */
.shot.zoom { aspect-ratio: 16 / 10; }
.shot.zoom img { width: 168%; max-width: none; }
@media (min-width: 900px) { .feat.flip .txt { order: 2; } }

/* small feature tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.tile h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.tile p { color: var(--muted); font-size: 15.5px; }
.tile .n { width: 34px; height: 34px; border-radius: 10px; background: var(--lime); display: grid; place-items: center; font-weight: 800; }
section.dark .tile { background: var(--aub-2); border-color: #55404e; }
section.dark .tile p { color: var(--on-dark); }

/* how a post is counted */
.count { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; font-weight: 700; }
.count .pill { border: 1.5px solid currentColor; border-radius: 999px; padding: 10px 20px; }
.count .stack { display: grid; gap: 8px; }
.count .stack span { background: var(--lime); color: var(--aub); border-radius: 8px; padding: 6px 16px; font-size: 15px; }
.count .big { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em; color: var(--lime); }
.count .arrow { font-size: 24px; opacity: .7; }

/* calculator */
.calc { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(20px, 4vw, 48px); box-shadow: 0 10px 40px -24px rgba(45, 26, 41, .35); }
.calc label { font-weight: 700; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc label output { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.calc input[type="range"] { width: 100%; accent-color: var(--aub); height: 32px; margin: 4px 0 18px; }
.calc .hint { color: var(--muted); font-size: 14px; }
.calc .res { display: grid; gap: 12px; align-content: start; }
.calc .box { border-radius: 14px; padding: 18px; }
.calc .ours { background: var(--aub); color: #fff; }
.calc .ours b { color: var(--lime); }
.calc .theirs { background: var(--page); border: 1px solid var(--line); }
.calc .box small { display: block; font-size: 14px; opacity: .85; }
.calc .box b { display: block; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc .save { font-weight: 700; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.plan.best { border: 2px solid var(--aub); padding: 23px; box-shadow: 0 16px 40px -24px rgba(45, 26, 41, .5); }
.plan h3 { font-size: 19px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 8px; letter-spacing: -0.01em; }
.tag { font-size: 12px; font-weight: 700; background: var(--lime); border-radius: 6px; padding: 3px 8px; letter-spacing: 0; white-space: nowrap; }
.price { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .note { color: var(--muted); font-size: 14px; min-height: 1.6em; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; flex: 1; }
.plan li b { font-weight: 700; }
.tablebox { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 640px; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
thead th { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
td:not(:first-child), th:not(:first-child) { text-align: center; font-variant-numeric: tabular-nums; }

/* honest list, questions, closing band, footer */
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(28px, 5vw, 64px); }
.plain { padding-left: 22px; display: grid; gap: 12px; margin: 18px 0 0; }
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { font-weight: 700; cursor: pointer; font-size: 17px; }
details p { color: var(--muted); margin-top: 8px; }
.band { background: var(--lime); border-radius: 24px; padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.band h2 { max-width: 16ch; }
footer { background: var(--aub); color: #fff; padding: 48px 0 28px; }
footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px; }
footer h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 10px; font-weight: 700; }
footer a { display: block; text-decoration: none; padding: 5px 0; color: #fff; }
footer a:hover { text-decoration: underline; }
footer .about { color: var(--on-dark); font-size: 15px; max-width: 30ch; margin-top: 10px; }
footer .legal { border-top: 1px solid var(--aub-2); margin-top: 32px; padding-top: 18px; color: var(--on-dark); font-size: 14px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .b { transition: none; } }
