/*
 * CampOffice website: the pricing, "Talk to us" and sign-up pages, and the quotes section.
 * Builds on site.css (same tokens). Hand-written, no build step.
 */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.topnav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; }

.page-head { padding: 2.5rem 0 1.5rem; }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 1rem; }
.page-lede { font-size: 1.2rem; color: var(--muted); max-width: 38em; margin: 0; }
.page-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0; }
.site a.btn-line-dark { border-color: var(--pine); }

/* plans */
.plans { padding: 1.5rem 0 4rem; }
.plans .offer { border: 2px solid #dde5dc; border-top-width: 8px; border-top-color: var(--lake-soft); }
.plans .offer-full { border-top-color: var(--sun); }
.plans-grid { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { background: var(--paper); border: 2px solid #dde5dc; border-radius: 1.25rem; padding: 1.75rem; }
.plan-main { border-color: var(--pine); box-shadow: 0 10px 30px rgba(20, 42, 30, 0.08); }
.plan h2 { margin: 0 0 0.5rem; font-size: 1.6rem; }
.plan-price { margin: 0; font-size: 1.1rem; }
.plan-price strong { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: 2.4rem; color: var(--pine); }
.plan-price span { display: block; color: var(--muted); }
.plan-for { color: var(--muted); margin: 0.5rem 0 1rem; }
.plan ul { margin: 0; padding-left: 1.1rem; }
.plan li { margin: 0.35rem 0; }
.processor { margin: 1.75rem 0 0; padding: 1rem 1.25rem; border-left: 4px solid var(--sun); background: var(--paper); border-radius: 0 0.75rem 0.75rem 0; max-width: 46rem; }

/* usage prices */
.usage { background: var(--pine); color: #e4ece6; padding: 4rem 0; }
.usage .section-h { color: var(--paper); }
.usage-grid { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .usage-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; } }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 0.6rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); text-align: left; vertical-align: top; }
.price-table th { font-weight: 400; padding-right: 1rem; }
.price-table td { text-align: right; font-weight: 700; color: var(--sun); }
.price-table .rate-note { display: block; margin-top: 0.2rem; font-size: 0.85rem; color: rgba(228, 236, 230, 0.75); }

/* worked example */
.example { padding: 4rem 0 1rem; }
.example-table { width: 100%; max-width: 50rem; border-collapse: collapse; background: var(--paper); border-radius: 1rem; overflow: hidden; }
.example-table th, .example-table td { padding: 0.7rem 1rem; text-align: left; border-bottom: 1px solid #e6ece5; vertical-align: top; }
.example-table thead th { font-size: 0.9rem; color: var(--muted); }
.example-table td:last-child, .example-table th:last-child { text-align: right; white-space: nowrap; }
.example-table tfoot th, .example-table tfoot td { font-weight: 700; border-bottom: 0; background: #eef3ec; }
@media (max-width: 35rem) {
    .example-table thead { display: none; }
    .example-table tr { display: grid; grid-template-columns: 1fr auto; }
    .example-table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; padding-top: 0; color: var(--muted); font-size: 0.95rem; }
}

/* quotes, only when the studio has real ones */
.quotes { padding: 3.5rem 0; }
.quotes-grid { display: grid; gap: 1.25rem; }
@media (min-width: 52rem) { .quotes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quote { margin: 0; background: var(--paper); border-radius: 1rem; padding: 1.5rem; }
.quote blockquote { margin: 0 0 0.75rem; font-size: 1.1rem; }
.quote figcaption { color: var(--muted); font-weight: 700; }

/* forms */
.form-section { padding: 1rem 0 4.5rem; }
.form-wrap { max-width: 40rem; }
.site-form { display: grid; gap: 1.1rem; background: var(--paper); border-radius: 1.25rem; padding: 1.5rem; }
.field { display: grid; gap: 0.35rem; margin: 0; border: 0; padding: 0; }
.field label, .field legend { font-weight: 700; }
.field input:not([type="radio"]):not([type="checkbox"]), .field textarea {
    width: 100%; font: inherit; padding: 0.7rem 0.8rem; border: 2px solid #cfd9cf; border-radius: 0.6rem; background: #fff; color: var(--ink);
}
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--lake-soft); outline-offset: 1px; border-color: var(--lake); }
.choice { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400 !important; }
.choice input { margin-top: 0.35rem; width: 1.15rem; height: 1.15rem; flex: none; }
.consent span { font-size: 0.95rem; color: var(--muted); }
.field-help { margin: 0; font-size: 0.92rem; color: var(--muted); }
.field-error { margin: 0; font-size: 0.95rem; color: #a3261c; font-weight: 700; }
.site-form button.btn { justify-self: start; cursor: pointer; font: inherit; font-weight: 700; background: var(--sun); color: var(--pine-deep); border: 2px solid var(--sun); box-shadow: inset 0 -3px 0 rgba(20, 42, 30, 0.18); }
.site-form button.btn:hover { background: #f5cd6b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { background: #e8f2ea; border-left: 4px solid var(--pine); border-radius: 0 0.75rem 0.75rem 0; padding: 0.9rem 1.2rem; margin: 0 0 1.25rem; }
.notice p { margin: 0.25rem 0; }
.notice-error { background: #fbeceb; border-left-color: #a3261c; }
.plans-grid--one { max-width: 40rem; }
@media (min-width: 52rem) { .plans-grid--one { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------ feature pages, real screens, menu and footer */

/* A real screen of the app: a plain frame, nothing drawn on top. */
.shot { margin: 0; border-radius: 0.9rem; overflow: hidden; background: var(--paper); border: 1px solid #d5dfd6; box-shadow: 0 18px 40px -22px rgba(20, 42, 30, 0.45); }
.shot img { display: block; width: 100%; height: auto; }
.shot-phone { max-width: 19rem; margin-inline: auto; border-radius: 1.6rem; border: 6px solid var(--pine-deep); }
.shot-note { margin: 0.6rem 0 0; font-size: 0.9rem; color: var(--muted); }
.helps-intro .shot { margin-top: 2rem; }
.site a.more { display: inline-block; margin-top: 0.35rem; font-weight: 700; }

/* "The real office" on the home page */
.tour { background: var(--birch); padding: 4.5rem 0; }
.tour-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; }
@media (min-width: 44rem) { .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 44rem) { .tour-grid { gap: 2.5rem 2rem; align-items: start; } }
.tour-item { display: grid; gap: 0.8rem; }
.tour-item .shot-phone { max-width: 12rem; }
.site .tour-item a { text-decoration: none; color: var(--ink); }
.tour-item a strong { display: block; color: var(--pine); font-size: 1.15rem; }
.tour-item a:hover strong { text-decoration: underline; }
.tour-item a span { color: var(--muted); }
.tour-all { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2.25rem 0 0; }

/* where this page sits */
.crumbs ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; font-size: 0.92rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: #9fb0a5; }
.site .crumbs a { color: var(--muted); }

/* a feature page */
.feature-head { padding-bottom: 3rem; }
.feature-head-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 60rem) {
    .feature-head-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3.5rem; }
    .feature-head-phone .feature-head-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); }
}
.feature-head h1 { max-width: 18ch; }
.feature-body { background: var(--paper); }
.feature-row { padding: 3.5rem 0; border-top: 1px solid #e6ece5; }
.feature-row:first-child { border-top: 0; }
.feature-row-grid { display: grid; gap: 2rem; align-items: center; }
.feature-copy { max-width: 40rem; }
@media (min-width: 60rem) {
    .feature-row-shot .feature-row-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 4rem; }
    .feature-row-shot:nth-child(even) .feature-copy { order: 2; }
}
.feature-copy h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.15; margin: 0 0 0.75rem; }
.feature-copy p { margin: 0 0 1rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.45em; width: 0.75rem; height: 0.42rem; border-left: 3px solid #4f7d55; border-bottom: 3px solid #4f7d55; transform: rotate(-45deg); }
.faq-more { margin: 1.5rem 0 0; font-weight: 700; }

/* the features page's cards */
.feature-cards-wrap { background: var(--paper); padding: 3.5rem 0; }
.feature-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem 2rem; }
@media (min-width: 52rem) { .feature-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature-card { display: grid; gap: 1rem; align-content: start; }
.feature-card .shot-phone { max-width: 11rem; margin-inline: 0; }
.feature-card h2 { margin: 0; font-size: 1.5rem; }
.site .feature-card h2 a { color: var(--pine); text-decoration: none; }
.site .feature-card h2 a:hover { text-decoration: underline; }
.feature-card-h { margin: 0.2rem 0 0.4rem; font-weight: 700; }
.feature-card-copy p:last-child { margin: 0; color: var(--muted); }
.kinds { padding: 4rem 0; }

/* related pages */
.related { padding: 3.5rem 0; background: var(--birch); }
.related-h { font-size: 1.5rem; margin: 0 0 1.25rem; }
.related-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 52rem) { .related-list { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); } }
.site .related-list a { display: block; height: 100%; background: var(--paper); border-radius: 1rem; padding: 1.25rem 1.4rem; text-decoration: none; color: var(--ink); border: 2px solid transparent; }
.site .related-list a:hover { border-color: var(--lake-soft); }
.related-list strong { display: block; color: var(--pine); font-size: 1.15rem; margin-bottom: 0.25rem; }
.related-list span { color: var(--muted); }

/* the ask at the end of a page */
.cta { background: var(--sun); color: var(--pine-deep); padding: 4rem 0; }
.cta .section-lede { color: var(--pine-deep); margin-bottom: 0; }
.cta-row { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 60rem) { .cta-row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.site .cta .btn-line { border-color: var(--pine-deep); }
.site a.cta-price { color: var(--pine-deep); font-weight: 700; }

/* the menu on a phone: the links fold into this (site.css hides them below 64rem) */
.masthead { position: relative; }
.phone-menu summary { cursor: pointer; list-style: none; font-weight: 700; padding: 0.45rem 0.9rem; border: 2px solid var(--pine); border-radius: 999px; color: var(--pine); }
.phone-menu summary::-webkit-details-marker { display: none; }
.phone-menu ul { list-style: none; margin: 0; padding: 0.75rem 1.25rem 1rem; position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: var(--paper); box-shadow: 0 14px 28px -16px rgba(20, 42, 30, 0.5); display: grid; gap: 0.15rem; }
.site .phone-menu a { display: block; padding: 0.55rem 0; color: var(--ink); text-decoration: none; font-weight: 700; }
.site .phone-menu .phone-menu-sub a { padding-left: 1rem; font-weight: 400; }
@media (min-width: 64rem) { .phone-menu { display: none; } }
.masthead-row .brand span, .site .topnav a.topnav-contact, .phone-menu summary { white-space: nowrap; }
@media (max-width: 63.99rem) { .masthead-row .topnav { margin-left: auto; } }
/* On a phone: the name and Menu only ("Talk to us" is in the menu). */
@media (max-width: 39.99rem) { .masthead-row .topnav { display: none; } }
@media (max-width: 22rem) { .masthead-row .brand { font-size: 1.15rem; } }
.shot a { display: block; }

/* footer */
.foot-cols { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 52rem) { .foot-cols { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } }
.foot-about { margin: 0.6rem 0 0; max-width: 22rem; }
.site .foot .foot-nav { display: grid; gap: 0.45rem; align-content: start; }
.foot-h { margin: 0 0 0.25rem; font-weight: 700; color: var(--paper); }
.foot .foot-row { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1.25rem; }
