/* t8: Compliance-Oriented — warnings, risk emphasis, deadlines, formal tone */

/* Header */
.comp-header {
  background: var(--bg);
  border-bottom: 1px solid #ddd;
  padding: 0.65rem 1.5rem;
}
.comp-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.comp-logo {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
}
.comp-nav {
  display: flex;
  gap: 1.2rem;
  flex: 1;
}
.comp-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
}
.comp-nav a:hover { color: var(--primary); }
.comp-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--bg);
  padding: 0.55rem 1.3rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}
.comp-btn:hover { opacity: 0.9; }
.comp-btn-lg { padding: 0.8rem 2rem; font-size: 1.1rem; }

/* Alert banner */
.alert-banner {
  background: #fff3cd;
  border-bottom: 2px solid #ffc107;
  padding: 0.65rem 1.5rem;
}
.alert-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: #664d03;
}
.alert-banner-inner strong {
  color: #856404;
}

/* Hero — serious, formal */
.comp-hero {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  padding: 3.5rem 1.5rem;
}
.comp-hero-inner { max-width: 700px; margin: 0 auto; }
.comp-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
.comp-hero-sub {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}
.comp-hero-tagline {
  opacity: 0.7;
  margin-bottom: 1.5rem;
}
.comp-hero .comp-btn {
  background: var(--accent);
  color: var(--ink);
}

/* Risk cards */
.risk-section {
  padding: 3rem 1.5rem;
}
.risk-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.risk-inner h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 2rem;
}
.risk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.risk-card {
  padding: 1.25rem;
  border-radius: 6px;
}
.risk-card.warning {
  background: #fff8e1;
  border-left: 4px solid #ffa000;
}
.risk-card.danger {
  background: #fce4ec;
  border-left: 4px solid #e53935;
}
.risk-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.risk-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.5;
}

/* Deadline section */
.deadline-section {
  background: color-mix(in srgb, var(--ink) 3%, var(--bg));
  padding: 3rem 1.5rem;
}
.deadline-inner {
  max-width: 750px;
  margin: 0 auto;
}
.deadline-inner h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.deadline-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.deadline-marker {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffa000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.deadline-text strong {
  display: block;
  margin-bottom: 0.2rem;
}
.deadline-text p {
  margin: 0;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Content */
.content-section { padding: 2rem 1.5rem; }
.content-inner { max-width: 800px; margin: 0 auto; line-height: 1.7; }

/* Regulatory reference */
.regulatory-section {
  padding: 2.5rem 1.5rem;
}
.regulatory-inner {
  max-width: 750px;
  margin: 0 auto;
}
.regulatory-inner h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.reg-box {
  background: color-mix(in srgb, var(--primary) 5%, var(--bg));
  border: 1px solid #ddd;
  border-left: 4px solid var(--primary);
  border-radius: 4px;
  padding: 1.25rem;
}
.reg-box p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

/* Pricing */
.comp-pricing {
  padding: 3rem 1.5rem;
  background: color-mix(in srgb, var(--primary) 4%, var(--bg));
  text-align: center;
}
.comp-pricing-inner { max-width: 450px; margin: 0 auto; }
.comp-pricing-inner h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.comp-pricing-card {
  background: var(--bg);
  border: 2px solid var(--primary);
  border-radius: 8px;
  overflow: hidden;
}
.cpc-header {
  background: var(--primary);
  color: var(--bg);
  padding: 1.25rem;
}
.cpc-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}
.cpc-price {
  font-size: 2.5rem;
  font-weight: 900;
}
.cpc-price small { font-size: 0.9rem; font-weight: 400; }
.cpc-features {
  list-style: none;
  padding: 1.25rem;
  margin: 0;
  text-align: left;
}
.cpc-features li {
  padding: 0.35rem 0;
  border-bottom: 1px solid #eee;
}
.cpc-features li::before {
  content: "\2713 ";
  color: var(--primary);
  font-weight: 700;
}
.comp-pricing-card .comp-btn {
  margin: 0 1.25rem 1.25rem;
  width: calc(100% - 2.5rem);
}

/* Contact */
.comp-contact { padding: 3rem 1.5rem; }
.comp-contact-inner { max-width: 900px; margin: 0 auto; }
.comp-contact-inner h2 { text-align: center; margin-bottom: 2rem; }
.comp-contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
}
.cf-field { margin-bottom: 0.85rem; }
.cf-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
}
.cf-field input,
.cf-field textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
}
.comp-contact-info h3 { margin-bottom: 0.75rem; }
.comp-contact-info p { margin: 0.3rem 0; }

/* Footer */
.comp-footer {
  background: var(--ink);
  color: var(--bg);
  padding: 2rem 1.5rem;
}
.comp-footer-inner { max-width: 1100px; margin: 0 auto; }
.comp-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.comp-footer-nav a { color: var(--bg); text-decoration: none; opacity: 0.8; }
.comp-footer-nav a:hover { opacity: 1; }
.comp-footer-details { opacity: 0.75; margin-bottom: 1rem; }
.comp-footer-details p { margin: 0.15rem 0; }
.comp-footer-disclaimer { font-size: 0.8rem; opacity: 0.6; }
.comp-footer-copy { font-size: 0.8rem; opacity: 0.5; margin-top: 0.3rem; }

/* Responsive */
@media (max-width: 768px) {
  .comp-nav { display: none; }
  .risk-grid { grid-template-columns: 1fr; }
  .comp-contact-grid { grid-template-columns: 1fr; }
}

/* Checkout page */
.checkout-wrap { padding: var(--space-xl) 0; }
.checkout-container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--space-md); display: grid; grid-template-columns: 1fr 380px; gap: var(--space-xl); align-items: start; }
.checkout-main h1 { margin-bottom: var(--space-sm); }
.checkout-steps { display: flex; gap: var(--space-md); margin-bottom: var(--space-lg); padding-bottom: var(--space-md); border-bottom: 1px solid #e5e5e5; }
.checkout-steps .step { color: #999; font-size: 0.9rem; }
.checkout-steps .step.active { color: var(--primary, #333); font-weight: 600; }
.checkout-form h2 { font-size: 1.1rem; margin-bottom: var(--space-md); }
.checkout-form .form-group { margin-bottom: var(--space-md); }
.checkout-form input, .checkout-form select { width: 100%; padding: 0.75rem 1rem; border: 1px solid #ddd; border-radius: var(--radius, 6px); font-size: 1rem; font-family: inherit; }
.checkout-form input:focus, .checkout-form select:focus { outline: none; border-color: var(--primary, #333); box-shadow: 0 0 0 2px rgba(0,0,0,0.05); }
.checkout-submit { width: 100%; padding: 1rem; background: var(--primary, #333); color: #fff; border: none; border-radius: var(--radius, 6px); font-size: 1.1rem; font-weight: 600; cursor: pointer; margin-top: var(--space-sm); }
.checkout-submit:hover { opacity: 0.9; }
.checkout-secure { text-align: center; font-size: 0.85rem; color: #666; margin-top: var(--space-sm); }
.checkout-success { padding: var(--space-lg); background: #f0fdf4; border: 1px solid #86efac; border-radius: var(--radius, 6px); }
.checkout-success h2 { color: #166534; }
.order-summary { background: #fafafa; border: 1px solid #e5e5e5; border-radius: var(--radius, 6px); padding: var(--space-lg); position: sticky; top: var(--space-lg); }
.order-summary h3 { margin-bottom: var(--space-md); }
.order-item { display: flex; justify-content: space-between; padding: var(--space-sm) 0; margin-bottom: var(--space-sm); border-bottom: 1px solid #e5e5e5; }
.order-price { font-weight: 700; font-size: 1.1rem; }
.order-includes { list-style: none; padding: var(--space-sm) 0; }
.order-includes li { padding: 4px 0; font-size: 0.9rem; }
.order-includes li::before { content: "✓ "; color: #16a34a; font-weight: 700; }
.order-total { display: flex; justify-content: space-between; padding-top: var(--space-md); border-top: 1px solid #e5e5e5; margin-top: var(--space-sm); }
.total-price { font-size: 1.3rem; font-weight: 700; color: var(--primary, #333); }
.order-note { font-size: 0.8rem; color: #888; margin-top: var(--space-sm); }
.form-success { padding: var(--space-lg); background: #f0fdf4; border: 1px solid #86efac; border-radius: var(--radius, 6px); text-align: center; }
.form-success h3 { color: #166534; margin-bottom: var(--space-sm); }
@media (max-width: 768px) {
  .checkout-container { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
