@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --charcoal:     #111827;
  --charcoal-mid: #1F2937;
  --slate:        #374151;
  --slate-mid:    #4B5563;
  --muted:        #6B7280;

  --coral:        #0D9488;
  --coral-dark:   #0F766E;
  --coral-pale:   #F0FDFA;
  --coral-border: #99F6E4;

  --blue:         #1D4ED8;
  --blue-pale:    #EFF6FF;
  --blue-border:  #BFDBFE;

  --bg:           #FFFFFF;
  --bg-alt:       #F9FAFB;
  --bg-light:     #F3F4F6;

  --border:       #E5E7EB;
  --border-mid:   #D1D5DB;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --max-w: 1100px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--charcoal);
  line-height: 1.65;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }
details > summary { cursor: pointer; }

.site-header {
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 2rem;
}
.site-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.site-logo:hover { text-decoration: none; color: var(--coral); }
.site-nav ul { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-mid);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius);
  transition: background 0.12s, color 0.12s;
  display: block;
}
.site-nav a:hover {
  text-decoration: none;
  background: var(--bg-alt);
  color: var(--charcoal);
}

.hero {
  background: var(--charcoal);
  color: #fff;
  padding: 5rem 1.5rem 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,78,216,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  background: rgba(13,148,136,0.15);
  border: 1px solid rgba(13,148,136,0.3);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 700px;
  margin-bottom: 1.2rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--coral);
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero-stats {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 0;
}
.stat { display: flex; flex-direction: column; padding: 0 2.5rem 0 0; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-label {
  font-size: 0.67rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 0.3rem;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255,255,255,0.15);
  margin: 0 2.5rem 0 0;
  flex-shrink: 0;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.hero-link:hover {
  text-decoration: none;
  border-color: var(--coral);
  color: #fff;
  background: rgba(13,148,136,0.2);
}
.hero-link-primary {
  color: #fff;
  background: var(--coral);
  border-color: var(--coral);
}
.hero-link-primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: #fff;
}

.content-wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 1.5rem 4rem;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.section-sub {
  font-size: 0.95rem;
  color: var(--slate-mid);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.framework-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.framework-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.framework-card:hover {
  border-color: var(--coral-border);
  box-shadow: 0 4px 16px rgba(17,24,39,0.06);
}
.framework-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.framework-card-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius);
  white-space: nowrap;
}
.framework-card-badge.current, .framework-badge.current {
  background: var(--coral-pale);
  color: var(--coral);
  border: 1px solid var(--coral-border);
}
.framework-card-badge.new, .framework-badge.new {
  background: var(--blue-pale);
  color: var(--blue);
  border: 1px solid var(--blue-border);
}
.framework-card-badge.us, .framework-badge.us {
  background: #F0FDF4;
  color: #15803D;
  border: 1px solid #BBF7D0;
}
.framework-card-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}
.framework-card-desc {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.framework-card-summary {
  font-size: 0.85rem;
  color: var(--slate-mid);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.framework-card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--coral);
}
.framework-card-link:hover { text-decoration: underline; }

.framework-section {
  margin-bottom: 4rem;
  scroll-margin-top: 76px;
}
.framework-section-header {
  margin-bottom: 1.5rem;
}
.framework-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.framework-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.framework-fullname {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.framework-badge {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius);
  white-space: nowrap;
}
.framework-summary {
  font-size: 0.9rem;
  color: var(--slate-mid);
  max-width: 740px;
  line-height: 1.7;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.product-card:hover {
  border-color: var(--border-mid);
  box-shadow: 0 4px 16px rgba(17,24,39,0.06);
}
.product-card-body {
  flex: 1;
  padding: 1.5rem 1.5rem 0.75rem;
  display: flex;
  flex-direction: column;
}
.product-card-footer {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.product-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}
.product-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.format-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  padding: 0.1rem 0.42rem;
  border-radius: var(--radius);
  border: 1px solid;
  white-space: nowrap;
  text-transform: uppercase;
}
.format-docx {
  color: var(--blue);
  border-color: var(--blue-border);
  background: var(--blue-pale);
}
.format-xlsx {
  color: #15803D;
  border-color: #BBF7D0;
  background: #F0FDF4;
}
.product-desc {
  font-size: 0.86rem;
  color: var(--slate-mid);
  line-height: 1.68;
  margin-bottom: 0.6rem;
  flex: 1;
}

.includes-toggle summary {
  font-size: 0.76rem;
  color: var(--blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  user-select: none;
  outline: none;
  list-style: none;
}
.includes-toggle summary::-webkit-details-marker { display: none; }
.includes-toggle summary::before {
  content: '▸';
  font-size: 0.6rem;
  transition: transform 0.15s;
}
.includes-toggle details[open] summary::before { transform: rotate(90deg); }
.includes-list {
  margin-top: 0.5rem;
  padding: 0.6rem 0.8rem;
  background: var(--blue-pale);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.includes-list li {
  font-size: 0.79rem;
  color: var(--slate);
  padding: 0.15rem 0;
}
.includes-list li::before {
  content: '✓ ';
  color: var(--blue);
  font-weight: 700;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--charcoal);
  white-space: nowrap;
  letter-spacing: -0.03em;
}
.btn-buy {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: var(--coral);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  transition: background 0.13s;
  white-space: nowrap;
  text-align: center;
  letter-spacing: 0.01em;
}
.btn-buy:hover {
  background: var(--coral-dark);
}
.vat-note {
  font-size: 0.65rem;
  color: var(--muted);
}
.buy-form { width: 100%; }

.faq-section {
  margin-bottom: 3rem;
  scroll-margin-top: 76px;
}
.faq-section .section-title {
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  padding: 1rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.1rem;
  color: var(--coral);
  flex-shrink: 0;
  font-weight: 400;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  font-size: 0.88rem;
  color: var(--slate-mid);
  padding: 0 0 1rem;
  line-height: 1.72;
  max-width: 650px;
}

.contact-section {
  padding: 1.5rem 1.75rem;
  background: var(--coral-pale);
  border: 1.5px solid var(--coral-border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.contact-section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.contact-section p { font-size: 0.88rem; color: var(--slate); line-height: 1.65; }
.contact-section a { color: var(--coral-dark); font-weight: 600; }

.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.5);
  padding: 2.5rem 1.5rem;
  border-top: 3px solid var(--coral);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.footer-logo {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}
.footer-tagline {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-legal p {
  font-size: 0.72rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.28);
  margin-bottom: 0.4rem;
}

@media (max-width: 900px) {
  .framework-cards { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero { padding: 3rem 1rem 2.5rem; }
  .hero h1 { font-size: 1.8rem; }
  .stat-divider { display: none; }
  .stat { padding-right: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-link { text-align: center; }
  .framework-cards { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .site-nav a { padding: 0.4rem 0.55rem; font-size: 0.78rem; }
}
@media (max-width: 480px) {
  .site-nav { display: none; }
}