/* Area `home`: homepage, /faq, /why-us, /about, /newark, /contact, /pricing, /cancel-subscription (termify.io's text). */

/* Homepage hero: the eight "Generate …" cards sit right under the call to action. */
.home-hero .dhero__inner { padding-bottom: clamp(2rem, 4vw, 3rem); }
.home-hero h1 { max-width: 16ch; }
.home-hero .lede { max-width: 46rem; }
.home-docs { grid-template-columns: repeat(4, 1fr); text-align: left; }
.home-docs .doc { gap: .35rem; }
@media (max-width: 1000px) { .home-docs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .home-docs { grid-template-columns: 1fr; } }

/* Two cards side by side (Privacy Policy / Terms of Service; why-us pair). */
.home-why, .home-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: stretch; }
.home-why__card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow); }
.home-why__card h2 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); font-weight: 800; margin: .75rem 0 1rem; }
.home-why__card p + p { margin-top: .85rem; }
.home-why__card .section__more { margin-top: 1.25rem; }
.home-why__icon--coral { background: var(--coral-50) !important; color: var(--coral) !important; }
.home-checks { display: grid; gap: .65rem; margin-top: 1.25rem; }
.home-checks li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.home-checks .who__check { margin-top: .05rem; }
@media (max-width: 860px) { .home-why, .home-pair { grid-template-columns: 1fr; } }

.home-center { justify-content: center; margin-top: 1.5rem; }
.section__head--center p + p { margin-top: .75rem; }
.home-biz { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .home-biz { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .home-biz { grid-template-columns: 1fr; } }
.home-benefits { max-width: 62rem; margin-inline: auto; }

/* Feature with a second paragraph, or an H2 in place of the usual H3. */
.home-feature__body p + p { margin-top: .6rem; }
.home-feature__h { font-size: 1.1875rem; align-self: center; }

/* Why us: stats. */
.home-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; text-align: center; }
.home-stats h2 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; color: var(--blue); line-height: 1.1; margin-bottom: .4rem; }
.home-stats p { max-width: 18rem; margin-inline: auto; }
@media (max-width: 700px) { .home-stats { grid-template-columns: 1fr; gap: 2rem; } }

/* About. */
.home-prose h2 { margin-top: 0; }

/* Newark. */
.home-newark__cancel { margin-top: 1.25rem; font-weight: 600; color: var(--ink); }
.home-newark__cancel + .hero__actions { margin-top: 1rem; }

/* FAQ: termify.io's "One-time payments" sub-heading inside the billing answer. */
.faq .home-faq__sub { font-size: 1rem; margin: 0 0 .4rem; color: var(--ink); }

/* Email us / Support pair. */
.home-support { display: grid; grid-template-columns: repeat(2, minmax(0, 22rem)); justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); text-align: center; }
.home-support__item { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.home-support__item h2 { font-size: 1.25rem; margin-top: .25rem; }
.home-support__link { font-weight: 700; }
@media (max-width: 640px) { .home-support { grid-template-columns: 1fr; } }

/* Contact and Cancel Subscription forms (one column, termify.io's tabs). */
.home-contact-wrap.contact { display: block; max-width: 44rem; }
.home-tabs { display: flex; gap: .4rem; justify-content: center; margin-bottom: 1.25rem; }
.home-tabs a { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--slate); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.home-tabs a:hover { border-color: var(--mist); color: var(--ink); }
.home-tabs a[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.home-req { color: var(--coral); }
.field > label .home-req, .field legend .home-req { opacity: 1; margin-left: .1rem; }
.home-contact input[type=text]::placeholder, .home-contact input[type=email]::placeholder, .home-contact textarea::placeholder { color: var(--muted); opacity: .75; }
.home-note { font-size: .875rem; color: var(--muted); }

/* Pricing: termify.io's two plans. */
.home-plans { grid-template-columns: repeat(2, minmax(0, 24rem)); justify-content: center; }
.home-plans .plan { padding-top: 2.25rem; }
@media (max-width: 900px) { .plans.home-plans { grid-template-columns: 1fr; } .plans.home-plans > .plan:first-child { order: 0; } }
.home-hero + .section { padding-top: clamp(1.5rem, 4vw, 3rem); }
/* Hero: less space under the menu, picture a little bigger and centred on the text; gap before the document cards */
main > .home-hero:first-child { padding-top: calc(clamp(2rem, 4.5vw, 3.75rem) + var(--header-h)); }
.home-hero .sc-hero { grid-template-columns: 1fr 1.08fr; }
.home-hero .sc-hero .scene { max-width: 40rem; }
.home-hero .home-docs { margin-top: clamp(2rem, 4vw, 3rem); }
/* "Why you need…": two alternating rows, text beside a picture */
.home-whyrows .sc-split + .sc-split { margin-top: clamp(3rem, 7vw, 5.5rem); }
.home-whyrows h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -.02em; margin: .9rem 0 1rem; }
.home-whyrows p + p { margin-top: .85rem; }
.home-whyrows .home-checks { margin-top: 1.25rem; }
@media (max-width: 900px) { .home-whyrows .sc-split__text { text-align: left; } }
@media (max-width: 900px) {
  .home-hero .sc-hero { grid-template-columns: 1fr; }
  .home-hero .sc-hero .scene { max-width: 26rem; }
}
/* Phones: the 8 document cards as compact rows (icon beside the text) */
@media (max-width: 640px) {
  .home-hero .home-docs { gap: .6rem; }
  .home-hero .home-docs .doc { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: start; padding: .95rem 1rem; }
  .home-hero .home-docs .doc__icon { grid-row: span 2; margin: 0; }
  .home-hero .home-docs .doc h3 { margin: 0 0 .15rem; font-size: 1rem; }
  .home-hero .home-docs .doc p { margin: 0; font-size: .875rem; }
}
/* Contact form on phones (owner, 2026-11-14): the subjects as one tidy full-width list with a radio dot instead of
   ragged pills, the red asterisk on Subject too (a legend rule greyed it), and a full-width Send button. */
.home-contact .field legend .home-req { color: var(--coral); }
@media (max-width: 560px) {
  .home-contact .choices { display: grid; gap: .5rem; }
  .home-contact .choice span { display: flex; width: 100%; gap: .7rem; padding: .8rem 1rem; border-radius: 12px; font-size: .9375rem; color: var(--ink); }
  .home-contact .choice input[type=radio] + span::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1.5px solid var(--mist); background: var(--white); transition: all .15s; }
  .home-contact .choice input[type=radio]:checked + span::before { border-color: var(--blue); box-shadow: inset 0 0 0 .22rem var(--white); background: var(--blue); }
  .home-contact form > .btn { width: 100%; justify-content: center; }
}
