/* For partners: the partner page. Same blocks as the home page — lilac
   hero, charcoal for the promises, white cards on paper — with pricing and
   a form. */

.section { padding: clamp(80px, 11vw, 132px) 0; }
.section-head { display: grid; gap: 16px; margin-bottom: 52px; }
.section-head .lede { max-width: 48ch; }

/* ---------------------------------------------------------------- Hero */
.p-hero { position: relative; overflow: hidden; background: var(--lilac); color: var(--on-lilac); }
.p-hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding: 72px 0 100px; min-height: min(780px, 88vh); }
.p-hero-copy { display: grid; gap: 24px; justify-items: start; }
.p-hero .display { color: var(--ink); font-size: clamp(50px, 6vw, 88px); }
.p-hero .lede { color: var(--on-lilac); opacity: 0.86; max-width: 34ch; }
.p-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.p-note { margin: 0; font-size: 14px; font-weight: 600; opacity: 0.7; }

/* Plans landing on three kinds of partner: the cards people see in the app. */
.p-art { position: relative; height: 540px; }
.p-rings { position: absolute; inset: 0; pointer-events: none; }
.p-rings span { position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; border: 1.5px solid rgba(36, 26, 61, 0.13); }
.p-rings span:nth-child(1) { width: 360px; height: 360px; }
.p-rings span:nth-child(2) { width: 560px; height: 560px; }
.p-rings span:nth-child(3) { width: 780px; height: 780px; }

/* A loose diagonal cascade: each card overlaps the next only at a corner,
   so all three titles stay readable. */
.pcard {
  position: absolute; width: 44%; max-width: 250px;
  border-radius: 26px; background: #fff; box-shadow: var(--shadow); overflow: hidden;
}
.pc-left { left: 2%; top: 5%; rotate: -7deg; }
.pc-front { left: 42%; top: 29%; width: 54%; max-width: 300px; rotate: -2deg; z-index: 1; }
.pc-right { left: 10%; top: 61%; rotate: 6deg; }
.pcard-cover { height: 126px; background: linear-gradient(135deg, var(--a), var(--b)); display: grid; place-items: center; position: relative; }
.pcard-cover .icon { width: 56px; height: 56px; color: var(--charcoal); opacity: 0.85; }
.pcard-body em { display: block; margin-bottom: 4px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3, #8a8790); }
.pcard-tag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); color: var(--ink); font-size: 12px; font-weight: 750; }
.pcard-tag-dark { background: var(--charcoal); color: #fff; }
.pcard-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--lilac); }
.pcard-body { padding: 16px 18px 18px; display: grid; gap: 2px; }
.pcard-body b { font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.pcard-body small { color: var(--ink-2); font-size: 14px; }
.pcard-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.pcard-people { display: flex; }
.pcard-people span { width: 32px; height: 32px; border-radius: 50%; border: 3px solid #fff; }
.pcard-people span + span { margin-left: -10px; }
.pcard-row strong { font-size: 14px; color: var(--ink); }

.chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-radius: 999px; background: #fff; color: var(--ink);
  font-weight: 750; font-size: 15px; box-shadow: var(--shadow); white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.chip .icon { width: 18px; height: 18px; }
.chip-dark { background: var(--charcoal); color: #fff; }
.chip-dark .icon { color: var(--lilac); }
.c1 { top: 7%; right: 2%; }
.c2 { bottom: 4%; right: 0; animation-delay: -2s; }
.c3 { top: 45%; left: 0; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-9px); } }

@media (max-width: 960px) {
  .p-hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; }
  .p-art { height: 460px; }
}
@media (max-width: 520px) {
  .p-art { height: 500px; }
  .pcard { width: 52%; border-radius: 22px; }
  .pc-left { left: 0; top: 7%; }
  .pc-front { width: 60%; left: 40%; top: 32%; }
  .pc-right { left: 3%; top: 66%; }
  .pcard-cover { height: 96px; }
  .pcard-cover .icon { width: 44px; height: 44px; }
  .pcard-body { padding: 13px 15px 15px; }
  .pcard-body b { font-size: 18px; }
  .pcard-body small { font-size: 13px; }
  .chip { font-size: 14px; padding: 9px 14px; }
  .c1 { right: 0; top: 0; } .c2 { right: 0; bottom: 0; } .c3 { left: 0; top: 43%; }
}

/* ---------------------------------------------------------------- Who */
.p-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.p-cats li { display: grid; align-content: start; gap: 4px; padding: 24px 22px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); }
.p-cats b { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
.p-cats li > span:last-child { color: var(--ink-2); font-size: 15px; }
.p-cat-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--tint); color: var(--charcoal); margin-bottom: 12px; }
.p-cat-icon .icon { width: 23px; height: 23px; }
@media (max-width: 960px) { .p-cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .p-cats { gap: 10px; }
  .p-cats li { padding: 18px 16px; }
  .p-cats b { font-size: 16px; }
  .p-cats li > span:last-child { font-size: 14px; line-height: 1.4; }
  .p-cat-icon { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 8px; }
  .p-cat-icon .icon { width: 20px; height: 20px; }
}

/* ---------------------------------------------------------------- Steps */
.p-how { background: var(--card); }
.p-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.p-step { display: grid; align-content: start; gap: 10px; padding: 28px 24px 30px; border-radius: var(--radius); background: var(--tint, var(--card)); }
.p-step p { margin: 0; color: #2b2a31; }
.p-step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.65); font-weight: 900; color: var(--ink); margin-bottom: 8px; }
@media (max-width: 1000px) { .p-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .p-steps { grid-template-columns: 1fr; gap: 12px; }
  .p-step { grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 4px; padding: 20px; }
  .p-step-num { grid-row: span 2; align-self: start; margin: 0; width: 40px; height: 40px; }
  .p-step .h3 { font-size: 21px; align-self: center; }
}

/* ---------------------------------------------------------------- Why */
.p-why { background: var(--charcoal); color: #fff; }
.p-why .h2 { color: #fff; }
.p-why .lede { color: rgba(255, 255, 255, 0.7); }

/* Offers look like the line on a couple's pass. */
.p-offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.offer {
  position: relative; display: grid; align-content: start; gap: 4px; padding: 22px 26px; border-radius: var(--radius-sm);
  background: var(--lilac); color: var(--on-lilac);
  -webkit-mask: radial-gradient(circle 11px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 11px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 11px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 11px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
}
.offer:nth-child(3n + 2) { background: var(--peach); }
.offer:nth-child(3n) { background: var(--sage); }
.offer span { font-size: 13px; font-weight: 700; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.06em; }
.offer b { font-size: clamp(22px, 2.4vw, 28px); font-weight: 850; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); }
.p-perks { list-style: none; margin: 40px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.12); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p-perks li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; color: rgba(255, 255, 255, 0.72); }
.p-perks b { color: #fff; }
.p-perks .icon { width: 24px; height: 24px; color: var(--lilac); margin-top: 1px; }
@media (max-width: 860px) {
  .p-offers { grid-template-columns: 1fr 1fr; }
  .p-perks { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 520px) {
  .p-offers { gap: 10px; }
  .offer { padding: 16px 18px; }
  .offer span { font-size: 11px; }
  .offer b { font-size: 19px; }
}

/* ---------------------------------------------------------------- Pricing */
.p-pricing { background: var(--paper); }
.p-price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.price {
  display: grid; align-content: start; gap: 18px; padding: 36px 32px; border-radius: var(--radius-lg);
  background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line);
}
.price-lilac { background: var(--lilac-soft); box-shadow: inset 0 0 0 1.5px var(--lilac); }
.price-label { font-weight: 750; color: var(--ink-2); }
.price-amount { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-amount b { font-size: clamp(44px, 5.4vw, 64px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.price-amount span { color: var(--ink-2); font-weight: 650; }
.price p { margin: 0; color: var(--ink-2); }
.price .ticks { margin: 0; }
.p-price-foot { margin: 22px 0 0; color: var(--ink-3); font-size: 15px; max-width: 70ch; }
.ticks { list-style: none; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 36px; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--lilac); color: var(--on-lilac); display: grid; place-items: center; font-size: 13px; font-weight: 900; }
.ticks b { color: var(--ink); }
@media (max-width: 860px) { .p-price-grid { grid-template-columns: 1fr; } }

/* A worked example under the prices. */
.example { margin-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 22px 26px; border-radius: var(--radius); background: var(--charcoal); color: #fff; }
.example .icon { width: 28px; height: 28px; color: var(--lilac); }
.example p { margin: 0; color: rgba(255, 255, 255, 0.82); }
.example b { color: #fff; }

/* ---------------------------------------------------------------- Split */
.p-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 960px) { .p-split { grid-template-columns: 1fr; gap: 36px; } }

/* ---------------------------------------------------------------- Form */
.p-apply { background: var(--lilac); color: var(--on-lilac); }
.p-apply .h2 { color: var(--ink); }
.p-apply-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.p-apply-copy { display: grid; gap: 20px; position: sticky; top: 100px; }
.p-apply-copy .lede { color: var(--on-lilac); opacity: 0.86; }
@media (max-width: 960px) { .p-apply-grid { grid-template-columns: 1fr; gap: 32px; } .p-apply-copy { position: static; } }

.form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); color: var(--ink); }
.form[hidden] { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-size: 15px; font-weight: 700; color: var(--ink); padding: 0; }
.field .opt { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 15px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field textarea { min-height: 112px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2355545c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field select:invalid { color: var(--ink-3); }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lilac-deep); background: #fff; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #c2413b; }
.field fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 650; font-size: 15px; cursor: pointer; }
.choice input:checked + span { background: var(--charcoal); color: #fff; box-shadow: none; }
.choice input:focus-visible + span { outline: 3px solid var(--lilac-deep); outline-offset: 2px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--charcoal); }
.form-error { margin: 0; color: #c2413b; font-weight: 650; font-size: 15px; }
.form .btn { width: 100%; }
.form-small { margin: 0; font-size: 13px; color: var(--ink-3); text-align: center; }

.sent { display: none; gap: 14px; justify-items: start; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); color: var(--ink); }
.sent.on { display: grid; }
.sent-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--lilac); color: var(--on-lilac); font-size: 24px; font-weight: 900; }
.sent p { margin: 0; color: var(--ink-2); }
.sent a { color: var(--lilac-deep); font-weight: 700; }

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-sm); }
.faq details[open] { border-color: var(--lilac); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 750; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2.5px solid var(--ink-2); border-bottom: 2.5px solid var(--ink-2); transform: translateY(-3px) rotate(45deg); transition: transform 0.2s ease; }
.faq details[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details > p { margin: 0 22px 20px; color: var(--ink-2); }

/* ---------------------------------------------------------------- Reveal */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .chip { animation: none; }
  .faq summary::after { transition: none; }
}
