/* The company pages (/privacy, /terms, /contact, /chatgpt-app-development; server/company-pages.js),
   in the homepage's type and palette (styles.css, resources.css). */
.company-hero { max-width: 860px; }
.company-hero .resource-intro + .resource-intro { margin-top: 12px; }
.company-actions { margin-top: 26px; }
.company-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.company-tags li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 600; }
.company-note { max-width: 680px; margin-bottom: 0; }
.company-note p { color: #48454e; }

.company-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: 22px; }
.company-sequence { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.company-sequence h2 { margin-top: 10px; font: 560 24px/1.25 var(--heading); letter-spacing: -.02em; }
.company-sequence > p:not(.resource-kicker) { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.company-sequence ol { margin: 20px 0 0; padding: 0; list-style: none; }
.company-sequence li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.company-sequence li span, .company-step-number { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: var(--lavender-soft); color: var(--accent-dark); font-size: 11px; font-weight: 700; }

.company-section { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); padding-block: clamp(30px, 4vw, 46px); border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.company-section-intro h2 { font: 570 clamp(23px, 2.4vw, 29px)/1.28 var(--heading); letter-spacing: -.025em; }
.company-section-intro .resource-kicker + h2 { margin-top: 10px; }
.company-section-body { min-width: 0; max-width: 720px; }
.company-section-body > * + * { margin-top: 16px; }
.company-section-body p { color: #48454e; font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
.company-section-body > h3 { margin-top: 24px; font: 650 15px/1.5 var(--body); color: var(--ink); }
.company-section-body > h3:first-child { margin-top: 0; }
.company-section-body > h3 + * { margin-top: 12px; }
.company-section-body a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }

.company-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 26px; padding: 0; list-style: none; }
.company-list li { position: relative; padding-left: 26px; color: #48454e; font-size: 14px; line-height: 1.65; }
.company-list li::before { content: ''; position: absolute; left: 2px; top: .42em; width: 10px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.company-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.company-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.company-card h3 { font: 560 19px/1.3 var(--heading); letter-spacing: -.015em; }
.company-section-body .company-card p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.7; }

.company-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.company-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.company-steps h3 { font: 560 18px/1.35 var(--heading); letter-spacing: -.01em; }
.company-section-body .company-steps p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.7; }

.company-faq details { border-bottom: 1px solid var(--line); }
.company-faq details:first-child { border-top: 1px solid var(--line); }
.company-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none; font-size: 15px; font-weight: 650; }
.company-faq summary::-webkit-details-marker { display: none; }
.company-faq summary::after { content: '+'; flex: 0 0 auto; color: var(--accent-dark); font-size: 22px; font-weight: 400; line-height: 1; }
.company-faq details[open] summary::after { content: '−'; }
.company-faq summary:hover { color: var(--accent-dark); }
.company-section-body .company-faq p { padding-bottom: 18px; }
.company-closing, .company-other { margin-top: 12px; }

.company-booking { margin-bottom: 8px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.company-booking-bar, .company-booking-fallback { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; padding: 13px 20px; font-size: 13px; }
.company-booking-bar { border-bottom: 1px solid var(--line); font-weight: 650; }
.company-booking-bar span { display: inline-flex; align-items: center; gap: 8px; }
.company-booking-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.company-booking-bar small { color: var(--muted); font-size: 12px; font-weight: 400; }
.company-calendar { min-height: 560px; }
.company-calendar[data-cal-state='ready'] { min-height: 0; }
.company-calendar-status { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 560px; padding: 24px; color: var(--muted); font-size: 14px; text-align: center; }
.company-calendar-status span { width: 16px; height: 16px; flex: 0 0 16px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: company-spin .9s linear infinite; }
.company-booking-fallback { border-top: 1px solid var(--line); color: var(--muted); }
.company-booking-fallback a { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; color: var(--accent-dark); font-weight: 650; }
.company-booking-fallback a:hover { text-decoration: underline; text-underline-offset: 3px; }
.company-other a { color: var(--accent-dark); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
@keyframes company-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .company-hero-grid, .company-section { grid-template-columns: minmax(0, 1fr); }
  .company-section { gap: 16px; }
  .company-hero-grid { gap: 8px; }
}
@media (max-width: 620px) {
  .company-list { grid-template-columns: minmax(0, 1fr); }
  .company-sequence { padding: 22px; }
  .company-steps li { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .company-section-body p { font-size: 14px; }
  .company-calendar, .company-calendar-status { min-height: 420px; }
  .company-booking-bar, .company-booking-fallback { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { .company-calendar-status span { animation: none; } }

/* Tables and links in product pages (pricing, comparisons). The first column names each row. */
.company-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.company-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.company-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.company-table th, .company-table td { padding: 12px 16px; border-top: 1px solid var(--line); color: #48454e; line-height: 1.6; text-align: left; vertical-align: top; }
.company-table thead th { border-top: 0; color: var(--ink); font: 600 14px/1.4 var(--body); background: var(--lavender-soft); }
.company-table tbody th[scope="row"] { color: var(--ink); font-weight: 600; width: 28%; }
.company-section-body .company-link { margin-top: 12px; }
.company-section-body .company-link + .company-link { margin-top: 6px; }
.company-link a { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-dark); font-weight: 650; text-decoration: none; }
.company-link a:hover { text-decoration: underline; text-underline-offset: 3px; }
