/* The pricing page. Builds on styles.css. */

/* Welcome */
.ch-hero { position: relative; overflow: hidden; padding: 72px 0 150px; text-align: center; }
.ch-sky { position: absolute; inset: 0; pointer-events: none; }
.ch-sun { position: absolute; top: -280px; right: -240px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in oklab, #fbe7c3 90%, #fff), color-mix(in oklab, #f6d9a8 35%, transparent) 45%, transparent); }
.ch-cloud--a { top: 70px; left: 7%; width: 110px; } .ch-cloud--b { top: 150px; right: 10%; width: 76px; opacity: 0.85; }
.ch-cloud--c { top: 60px; right: 8%; width: 96px; opacity: 0.9; }
.ch-far--a { top: 110px; left: 22%; width: 20px; } .ch-far--b { top: 122px; left: 24.5%; width: 14px; }
.ch-hills { position: absolute; left: 0; bottom: 0; width: 100%; height: 110px; max-width: none; }
.ch-hills .h1 { fill: var(--hill-back); } .ch-hills .h2 { fill: var(--hill-front); }
.ch-hero__inner { position: relative; z-index: 1; }
.ch-invite { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 5px 14px; border-radius: 999px; background: color-mix(in oklab, #f6d9a8 45%, #fff);
  color: #6b4300; font-weight: 700; font-size: 0.9375rem; box-shadow: 0 0 0 1px color-mix(in oklab, #e8b86a 40%, transparent); }
.ch-hero h1 { margin: 0 auto 14px; max-width: 22ch; font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
.ch-hero .lead { margin: 0 auto 22px; max-width: 56ch; }
.ch-pill { display: inline-block; margin: 0; padding: 8px 16px; border-radius: 999px; background: color-mix(in oklab, var(--surface) 92%, transparent); border: 1px solid var(--border); font-weight: 700; color: var(--brand-text); box-shadow: 0 8px 18px -14px color-mix(in oklab, var(--brand) 45%, transparent); }

/* Shared heads */
.ch-head { text-align: center; margin-bottom: 28px; }
.ch-head h2 { margin: 0 auto 10px; max-width: 26ch; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.2; text-wrap: balance; }
.ch-head .lead { margin: 0 auto; max-width: 62ch; }

/* Plans: one question, then the cards */
.ch-plans { padding: 72px 0 64px; background: linear-gradient(to bottom, var(--hill-front), var(--page) 120px); }
.ch-ask { margin: 0 auto 30px; padding: 0; border: 0; text-align: center; }
.ch-ask legend { margin: 0 auto 12px; font-weight: 700; font-size: 1.125rem; }
.ch-chips { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
  box-shadow: 0 12px 26px -22px color-mix(in oklab, var(--brand) 55%, transparent); }
.ch-chips label { position: relative; cursor: pointer; }
.ch-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ch-chips span { display: inline-block; padding: 9px 18px; border-radius: 999px; font-weight: 700; color: var(--brand-text); transition: background-color 0.25s ease, color 0.25s ease; }
.ch-chips label:hover span { background: var(--brand-lighter); }
.ch-chips input:checked + span { background: var(--brand); color: #fff; }
.ch-chips input:focus-visible + span { outline: 3px solid var(--brand-text); outline-offset: 2px; }

/* Plan cards */
.ch-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.ch-card { position: relative; display: flex; flex-direction: column; padding: 24px 20px 20px; border-radius: 22px; background: var(--surface); border: 1.5px solid var(--border);
  box-shadow: 0 14px 30px -26px color-mix(in oklab, var(--brand) 55%, transparent); transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease; }
.ch-card.is-reco { border-color: var(--brand); transform: translateY(-6px); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 12%, transparent), 0 24px 40px -26px color-mix(in oklab, var(--brand) 65%, transparent); }
.ch-card.is-reco::before { display: none; content: ""; position: absolute; left: 50%; top: -13px; translate: -50% 0; padding: 3px 12px; border-radius: 999px; background: var(--brand); color: #fff;
  font-size: 0.75rem; font-weight: 800; white-space: nowrap; }
.ch-ribbon { align-self: flex-start; min-height: 22px; margin: 0 0 8px; padding: 2px 10px; border-radius: 999px; background: color-mix(in oklab, #f6d9a8 55%, #fff); color: #6b4300; font-size: 0.75rem; font-weight: 800; }
.ch-card h3 { margin: 0 0 2px; font-size: 1.25rem; }
.ch-card__for { margin: 0 0 14px; color: var(--muted); font-size: 0.9375rem; min-height: 2.8em; }
.ch-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.ch-price__main { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.ch-price__quote { font-size: 1.875rem; }
.ch-price__per { color: var(--muted); font-weight: 600; }
.ch-ribbon--blank { background: none; padding: 0; }
.ch-price__sub { display: flex; align-items: center; gap: 8px; min-height: 24px; margin: 6px 0 0; color: var(--muted); font-size: 0.9375rem; }
.ch-price__sub s { text-decoration-thickness: 1.5px; }
.ch-tag { padding: 1px 8px; border-radius: 999px; background: color-mix(in oklab, #f6d9a8 55%, #fff); color: #6b4300; font-size: 0.75rem; font-weight: 800; }

.ch-price__month { margin: 4px 0 16px; color: var(--brand-text); font-weight: 600; font-size: 0.9375rem; }
.ch-facts { list-style: none; margin: 0 0 12px; padding: 14px 0 0; border-top: 1px solid var(--border); display: grid; gap: 7px; }
.ch-facts--plain { padding-top: 0; border-top: 0; margin-bottom: 14px; }
.ch-facts--plain li { color: var(--muted); }
.ch-facts li { position: relative; padding-left: 24px; font-size: 0.9375rem; }
.ch-facts li::before { content: "✓"; position: absolute; left: 2px; color: #1f5c39; font-weight: 800; }
.ch-onb { margin: 0 0 16px; padding: 8px 10px; border-radius: 10px; background: var(--brand-lighter); font-size: 0.875rem; font-weight: 600; color: var(--brand-text); }
.ch-onb s { color: var(--muted); font-weight: 400; margin-left: 4px; }
.ch-pick { margin-top: auto; min-height: 44px; border-radius: 12px; border: 1.5px solid color-mix(in oklab, var(--brand) 40%, var(--surface)); background: var(--surface);
  color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease; }
.ch-pick:hover, .ch-card.is-reco .ch-pick { background: var(--brand); color: #fff; border-color: var(--brand); }
.ch-note { margin: 22px auto 0; max-width: 64ch; text-align: center; color: var(--muted); font-size: 0.9375rem; }

/* Charter partnership */
.ch-charter { padding: 24px 0 72px; }
.ch-charter__card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; padding: 32px; border-radius: 28px;
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in oklab, #f6d9a8 55%, #fff), #fff 60%); border: 1px solid color-mix(in oklab, #e8b86a 35%, var(--border));
  box-shadow: 0 30px 60px -40px color-mix(in oklab, #b0803a 60%, transparent); }
.ch-charter__intro img { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 10px; }
.ch-charter__intro h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.2; }
.ch-charter__intro p:last-child { margin: 0; color: var(--muted); }
.ch-charter__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ch-charter__cols h3 { margin: 0 0 10px; font-size: 1.125rem; }
.ch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ch-list li { position: relative; padding-left: 28px; }
.ch-list li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: color-mix(in oklab, var(--sage) 16%, #fff); color: #1f5c39; font-size: 0.75rem; font-weight: 800; }
.ch-list--ask li::before { content: "♡"; background: color-mix(in oklab, #f6d9a8 50%, #fff); color: #6b4300; }

/* Value calculator */
.ch-value { padding: 72px 0; background: linear-gradient(to bottom, var(--page), color-mix(in oklab, var(--sky) 45%, var(--page))); }
.ch-calc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px; align-items: center; max-width: 980px; margin: 0 auto; padding: 28px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: 0 20px 40px -32px color-mix(in oklab, var(--brand) 55%, transparent); }
.ch-slider--big output { font-size: 3rem; line-height: 1; }
.ch-result__label { margin: 0 0 4px; color: var(--muted); font-weight: 600; }
.ch-result__big { margin: 0 0 16px; font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: #1d3a28; font-variant-numeric: tabular-nums; }
.ch-result__x { margin: 0; font-weight: 700; color: var(--brand-text); }
.ch-fine { margin: 14px auto 0; text-align: center; color: var(--muted); font-size: 0.875rem; }

/* Why IntakeBird */
.ch-why { padding: 72px 0; }
.ch-why__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ch-why__grid li { padding: 20px 18px; border-radius: 20px; border: 1px solid var(--border);
  background: linear-gradient(to bottom, color-mix(in oklab, var(--sky) 45%, #fff) 0, #fff 80px); }
.ch-ico { position: relative; display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 12px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(to bottom, color-mix(in oklab, var(--sky) 90%, var(--brand-light)), color-mix(in oklab, var(--sky) 40%, #fff));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--brand) 10%, transparent); }
.ch-ico::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -10px; height: 20px; border-radius: 50% 50% 0 0; background: var(--hill-front); }
.ch-ico svg { position: relative; z-index: 1; width: 22px; height: 22px; margin-top: -4px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ch-why__grid h3 { margin: 0 0 4px; font-size: 1.0625rem; }
.ch-why__grid p { margin: 0; color: var(--muted); font-size: 0.9375rem; }

/* Request a call */
.ch-call { position: relative; overflow: hidden; padding: 80px 0 150px;
  background: linear-gradient(to bottom, var(--page), var(--sky-mid) 40%, var(--sky-top)); }
.ch-call__sky { position: absolute; inset: 0; pointer-events: none; }
.ch-call__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 580px); gap: 48px; align-items: start; }
.ch-call__intro h2 { margin: 0 0 10px; font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.ch-call__intro .lead { margin-bottom: 18px; }
.ch-form .cform__privacy { font-size: 1rem; }
.ch-form input::placeholder { color: color-mix(in oklab, var(--muted) 70%, #fff); }
.ch-foot { padding-top: 28px; }
.ch-foot .foot__crisis { margin-top: 0; }

/* Tablets and phones */
@media (max-width: 1020px) {
  .ch-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .ch-why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .ch-charter__card, .ch-calc, .ch-call__grid { grid-template-columns: minmax(0, 1fr); }
  .ch-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ch-hero { padding: 48px 0 120px; }
  .ch-cloud--b, .ch-far { display: none; }
  .ch-cards { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ch-card.is-reco { transform: none; }
  .ch-chips { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 20px; } .ch-chips span { display: block; padding: 10px 8px; text-align: center; }
  .ch-charter__card { padding: 22px 18px; } .ch-charter__cols { grid-template-columns: minmax(0, 1fr); }
  .ch-calc { padding: 20px 16px; }
  .ch-why__grid { grid-template-columns: minmax(0, 1fr); }
  .charter .nav__signin--bar { display: none; } .charter .nav__actions { display: flex; }
}
@media (prefers-reduced-motion: reduce) { .ch-card { transition: none; } }

/* ---------- A little life on the pricing page ---------- */
/* Welcome: slow sun rays */
.ch-rays { position: absolute; top: -620px; right: -620px; width: 1400px; height: 1400px; border-radius: 50%; opacity: 0.5;
  background: repeating-conic-gradient(from 0deg, color-mix(in oklab, #fbe7c3 70%, transparent) 0deg 4deg, transparent 4deg 14deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 8%, rgba(0, 0, 0, 0.45) 35%, transparent 68%); mask-image: radial-gradient(closest-side, #000 8%, rgba(0, 0, 0, 0.45) 35%, transparent 68%);
  animation: ch-rays 180s linear infinite; }
@keyframes ch-rays { to { rotate: 360deg; } }

/* After sending: a little bird flies off with the letter */
.ch-sent-bird { position: absolute; left: 50%; top: 40px; width: 40px; height: 20px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; animation: ch-away 2.4s ease-in forwards; }
@keyframes ch-away { 0% { transform: translate(-50%, 0); opacity: 1; } 100% { transform: translate(260px, -160px) scale(0.5); opacity: 0; } }

@media (max-width: 560px) { .ch-rays { display: none; } }
@media (prefers-reduced-motion: reduce) { .ch-rays, .ch-sent-bird { animation: none !important; } .ch-sent-bird { display: none; } }

/* Without the monthly line, keep the gap above the facts */
.ch-price__sub { margin-bottom: 16px; }
.ch-card--org .ch-price__sub--org { visibility: visible; color: var(--muted); font-size: 0.9375rem; }
.ch-note b { color: var(--ink, inherit); }
.top.is-scrolled { background: #fff; border-bottom-color: color-mix(in oklab, var(--brand) 10%, transparent); box-shadow: 0 6px 18px -14px color-mix(in oklab, var(--brand) 45%, transparent); }
.ch-fair { color: var(--muted); font-size: 0.875rem; }

/* Plans: setup table, features in every plan, and the five promises */
.ch-note--small { margin-top: 6px; font-size: 0.875rem; }
.ch-setup, .ch-features { margin-top: 40px; }
.ch-setup h3, .ch-features h3 { margin: 0 0 6px; font-size: 1.375rem; color: var(--brand-text); text-align: center; }
.ch-muted { margin: 0 0 18px; color: var(--muted); text-align: center; }
.ch-tablewrap { margin-top: 14px; overflow-x: auto; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.ch-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.9375rem; }
.ch-table th, .ch-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.ch-table thead th { color: var(--brand-text); font-weight: 800; background: var(--brand-lighter); }
.ch-table tbody th { width: 150px; color: var(--muted); font-weight: 700; }
.ch-table tr:last-child th, .ch-table tr:last-child td { border-bottom: 0; }
.ch-features__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ch-features__grid > div { padding: 18px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.ch-features__grid h4 { margin: 0 0 10px; color: var(--brand-text); }
.ch-features__grid .ch-facts { padding-top: 0; border-top: 0; margin: 0; }
.ch-promises { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; }
.ch-promises li { display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.ch-promise__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; }
.ch-promises h3 { margin: 0 0 6px; font-size: 1.0625rem; color: var(--brand-text); line-height: 1.3; }
.ch-promises p { margin: 0 0 8px; font-size: 0.9375rem; line-height: 1.5; }
.ch-worry { color: var(--muted); font-style: italic; font-size: 0.875rem !important; }
.ch-ask-return { display: flex; align-items: center; gap: 14px; max-width: 760px; margin: 22px auto 0; padding: 16px 20px; border-radius: 18px; background: var(--brand-lighter); }
.ch-ask-return img { flex: none; border-radius: 12px; }
.ch-ask-return p { margin: 0; }
@media (max-width: 1020px) { .ch-promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ch-features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ch-promises, .ch-features__grid { grid-template-columns: minmax(0, 1fr); } }

/* Pricing page: additions to the website's own styles. One light look, like the site. */
.pr-hero .ch-cloud--a{top:20px;left:40%}
.pr-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.charter .wrap{padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.charter .top{top:env(safe-area-inset-top,0px)}
.pr-hero{text-align:left;padding:56px 0 170px}
.pr-hero .ch-hero__inner{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:48px;align-items:center}
.pr-hero h1{margin:0 0 14px}.pr-hero .lead{margin:0 0 20px}
.pr-find{display:grid;gap:14px;padding:24px;border-radius:24px;background:var(--surface);border:1px solid var(--border);box-shadow:0 24px 44px -30px color-mix(in oklab,var(--brand) 60%,transparent);min-width:0}
.pr-find label{font-weight:700;font-size:1.125rem}
.pr-ctl{display:flex;gap:16px;align-items:center}
.pr-ctl input[type=number]{width:5.5rem;padding:6px 10px;font:inherit;font-size:1.5rem;font-weight:700;border:1.5px solid var(--border);border-radius:12px;color:var(--brand-text);background:#fff}
.pr-ctl input[type=range]{flex:1;min-width:0;accent-color:var(--brand)}
.pr-res{border-top:1px solid var(--border);padding-top:14px;display:grid;gap:4px}.pr-res p{margin:0}
.pr-res__p{display:flex;flex-wrap:wrap;gap:2px 10px;align-items:baseline}.pr-res__p strong{font-size:2.5rem;line-height:1.1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.pr-res__p s{color:var(--muted);font-size:1.25rem}
.pr-res__s{font-weight:700;color:var(--sage)}.pr-res__n{color:var(--muted);font-size:.875rem}
.pr-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.pr-cards .ch-card__for{min-height:1.5em}
.pr-renew{margin:0;font-weight:700;color:var(--brand-text)}.pr-cards .ch-price__sub{margin-bottom:8px}.pr-month{margin:2px 0 16px;color:var(--muted);font-size:.875rem}
.pr-sec{padding:64px 0 0}.pr-sec--end{padding-bottom:72px}
.pr-cmp{min-width:900px}.pr-cmp tbody th{width:auto;min-width:150px;position:sticky;left:0;background:var(--surface)}
.ch-table td s{color:var(--muted)}
.pr-feat tbody th{width:auto;color:var(--text)}.pr-feat th small{display:block;font-weight:400;color:var(--muted);font-size:.875rem}
.pr-feat .grp th{background:color-mix(in oklab,var(--sky) 60%,#fff);color:var(--brand-text);font-weight:800;font-size:1.0625rem}
.pr-feat thead th:not(:first-child),.pr-feat .y{text-align:center;width:6.6rem}.pr-feat .y{vertical-align:middle;color:var(--sage)}.pr-feat .y::before{content:"✓";font-weight:800}
.pr-faq{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0}.pr-faq>div{padding:18px 20px;border:1px solid var(--border);border-radius:18px;background:var(--surface)}.pr-faq dt{font-weight:700;color:var(--brand-text);margin-bottom:6px}.pr-faq dd{margin:0}.pr-early{margin:22px 0 0;text-align:center;color:var(--muted)}
.pr-ways{font-weight:700;color:var(--brand-text);line-height:1.9;user-select:all}
@media(max-width:1020px){.pr-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.pr-hero .ch-hero__inner{grid-template-columns:minmax(0,1fr);gap:28px}.pr-faq{grid-template-columns:minmax(0,1fr)}}
@media(max-width:720px){.pr-feat thead,.pr-feat .y{display:none}.ch-table.pr-feat{min-width:0}}
@media(max-width:560px){.pr-cards{grid-template-columns:minmax(0,1fr)}.pr-hero{padding:36px 0 140px}.pr-hero .ch-cloud--a{display:none}}
