/* ===================================================================
   Angat — Common Stylesheet
   Based on Angat Design System v1.2
   =================================================================== */

:root {
  /* Brand palette */
  --brand-900: #0E1A32;
  --brand-700: #1E3A5F;
  --brand-500: #2D5A8C;
  --brand-50:  #E8EDF4;

  /* Accent */
  --accent-600: #2563EB;
  --accent-500: #3B82F6;
  --accent-50:  #DBEAFE;

  /* Semantic */
  --green-600: #16A34A; --green-100: #DCFCE7; --green-700: #15803D;
  --yellow-600: #CA8A04; --yellow-100: #FEF9C3; --yellow-700: #A16207;
  --red-600: #DC2626; --red-100: #FEE2E2; --red-700: #B91C1C;

  /* Gray scale */
  --gray-900: #111827; --gray-700: #374151; --gray-600: #4B5563;
  --gray-500: #6B7280; --gray-400: #9CA3AF; --gray-300: #D1D5DB;
  --gray-200: #E5E7EB; --gray-100: #F3F4F6; --gray-50: #F9FAFB;

  /* Spacing scale (4px base) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;

  /* Radius */
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 24px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(14, 26, 50, 0.06);
  --shadow-md: 0 4px 12px rgba(14, 26, 50, 0.08);
  --shadow-lg: 0 12px 32px rgba(14, 26, 50, 0.12);

  /* Layout */
  --max-w: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-900);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ===================================================================
   Header
   =================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  max-width: var(--max-w);
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand-900);
  letter-spacing: -0.01em;
}

.site-logo__mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--accent-500) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.site-nav a {
  color: var(--gray-700);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--brand-900);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--brand-900);
  color: #fff;
}

.btn--primary:hover {
  background: var(--brand-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--brand-900);
  border-color: var(--gray-300);
}

.btn--outline:hover {
  border-color: var(--brand-900);
  background: var(--gray-50);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: 1rem;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--gray-700);
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .menu-toggle { display: block; }
  .site-nav--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: var(--space-4) var(--space-6);
    gap: var(--space-4);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }
}

/* ===================================================================
   Hero
   =================================================================== */

.hero {
  position: relative;
  padding: var(--space-24) 0 var(--space-20);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--brand-50) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 26, 50, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 26, 50, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 60% 40% at 50% 30%, #000 0%, transparent 80%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand-700);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 3px var(--green-100);
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--brand-900);
  margin-bottom: var(--space-6);
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--accent-600) 0%, var(--brand-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================================================================
   Section base
   =================================================================== */

.section {
  padding: var(--space-20) 0;
}

.section--alt {
  background: var(--gray-50);
}

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-12);
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-600);
  margin-bottom: var(--space-3);
}

.section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-900);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.section__lead {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===================================================================
   Features grid
   =================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.feature-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: var(--accent-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-50);
  color: var(--brand-700);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-5);
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--brand-900);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ===================================================================
   Pricing (Contact)
   =================================================================== */

.pricing-cta {
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-8);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.pricing-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 40%),
                    radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.2) 0%, transparent 40%);
  pointer-events: none;
}

.pricing-cta__inner {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.pricing-cta h2 {
  color: #fff;
  margin-bottom: var(--space-4);
}

.pricing-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.pricing-cta .btn--primary {
  background: #fff;
  color: var(--brand-900);
}

.pricing-cta .btn--primary:hover {
  background: var(--brand-50);
}

.pricing-includes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-12);
  text-align: left;
}

.pricing-include-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
}

.pricing-include-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent-500);
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}

/* ===================================================================
   FAQ
   =================================================================== */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.15s ease;
}

.faq-item[open] {
  border-color: var(--accent-500);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '';
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--gray-500);
  border-bottom: 2px solid var(--gray-500);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item__body {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ===================================================================
   About / Company
   =================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: stretch;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
}

.about-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--brand-900);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--gray-200);
}

.about-table {
  width: 100%;
  border-collapse: collapse;
}

.about-table th,
.about-table td {
  padding: var(--space-3) 0;
  text-align: left;
  font-size: 0.9375rem;
  vertical-align: top;
  border-bottom: 1px solid var(--gray-100);
}

.about-table tr:last-child th,
.about-table tr:last-child td {
  border-bottom: none;
}

.about-table th {
  width: 38%;
  font-weight: 500;
  color: var(--gray-500);
}

.about-table td {
  color: var(--gray-900);
}

/* ===================================================================
   Contact
   =================================================================== */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}

.contact-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}

.contact-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-50);
  color: var(--accent-600);
  display: grid;
  place-items: center;
  margin: 0 auto var(--space-4);
}

.contact-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card h3 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  margin-bottom: var(--space-2);
}

.contact-card p {
  font-size: 1rem;
  color: var(--brand-900);
  font-weight: 500;
  line-height: 1.6;
}

.contact-card a {
  color: var(--accent-600);
  font-weight: 500;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* ===================================================================
   Payment badges
   =================================================================== */

.payment-strip {
  margin-top: var(--space-10);
  padding: var(--space-6);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  text-align: center;
}

.payment-strip__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: var(--space-4);
}

.payment-strip__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.payment-badge {
  padding: var(--space-2) var(--space-4);
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}

/* ===================================================================
   Footer
   =================================================================== */

.site-footer {
  background: var(--brand-900);
  color: var(--gray-300);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

.footer-brand {
  max-width: 360px;
}

.footer-brand .site-logo {
  color: #fff;
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===================================================================
   Legal pages (terms, privacy, refund, AUP)
   =================================================================== */

.legal-page {
  padding: var(--space-16) 0 var(--space-20);
  background: #fff;
}

.legal-page__container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.legal-page__header {
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--gray-200);
}

.legal-page__header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--brand-900);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
  line-height: 1.2;
}

.legal-page__meta {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.legal-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--brand-900);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--brand-900);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-content p {
  color: var(--gray-700);
  margin-bottom: var(--space-4);
  line-height: 1.75;
  font-size: 0.9375rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.legal-content li {
  color: var(--gray-700);
  margin-bottom: var(--space-2);
  line-height: 1.7;
  font-size: 0.9375rem;
}

.legal-content strong {
  color: var(--brand-900);
  font-weight: 600;
}

.legal-content a {
  color: var(--accent-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--brand-700);
}

.legal-toc {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-12);
}

.legal-toc h2 {
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500) !important;
  margin: 0 0 var(--space-3) 0 !important;
}

.legal-toc ol {
  padding-left: var(--space-5);
  margin: 0;
}

.legal-toc a {
  color: var(--brand-700);
  text-decoration: none;
  font-size: 0.9375rem;
}

.legal-toc a:hover {
  color: var(--accent-600);
  text-decoration: underline;
}

/* ===================================================================
   Logo image (added with logo integration)
   =================================================================== */
.site-logo__img {
  height: 32px;
  width: auto;
  display: block;
}
.site-footer .site-logo__img {
  height: 28px;
  /* On dark footer, invert the dark navy logo to white */
  filter: brightness(0) invert(1);
}

/* ===================================================================
   Language switcher (EN / JA)
   =================================================================== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-right: var(--space-2);
}
.lang-switch > a,
.lang-switch > span {
  padding: 6px 10px;
  line-height: 1;
  text-decoration: none;
  color: var(--gray-600);
  background: #fff;
  transition: background 0.15s, color 0.15s;
}
.lang-switch > a:hover {
  background: var(--brand-50);
  color: var(--brand-900);
}
.lang-switch > [aria-current="true"] {
  background: var(--brand-900);
  color: #fff;
  cursor: default;
}
@media (max-width: 768px) {
  .lang-switch {
    margin: var(--space-2) 0;
  }
}


/* ===================================================================
   Nav button color overrides
   .site-nav a was overriding .btn--primary / .btn--outline color due to
   higher specificity (one class + one element vs one class). Bump.
   =================================================================== */
.site-nav a.btn--primary { color: #fff; }
.site-nav a.btn--primary:hover { color: #fff; }
.site-nav a.btn--outline { color: var(--brand-900); }

/* ===================================================================
   Payment strip note (added when switching to invoice-only)
   =================================================================== */
.payment-strip__note {
  margin-top: var(--space-4);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--gray-600);
  text-align: center;
}

/* ===================================================================
   Brand LP — Product grid
   =================================================================== */
.feature-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1080px;
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.product-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--brand-900);
  margin: 0;
}

.product-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--gray-100);
  font-size: 0.8125rem;
  font-weight: 500;
}

.product-card__status {
  color: var(--gray-500);
  letter-spacing: 0.02em;
}

.product-card__status--live {
  color: var(--green-700);
  background: var(--green-100);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.75rem;
}

.product-card__cta {
  color: var(--accent-600);
  font-weight: 600;
}

.product-card--linked:hover {
  border-color: var(--accent-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.product-card--linked:hover .product-card__cta {
  text-decoration: underline;
}

/* Footer "coming soon" item — same styling as link but disabled look */
.footer-soon {
  color: var(--gray-500);
  cursor: default;
}

/* ===================================================================
   Brand LP — 4-pillar grid (2x2 on wide, 1col on mobile)
   =================================================================== */
.feature-grid--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .feature-grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   Compare table (Angat vs typical stack)
   =================================================================== */
.compare-table-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.compare-table thead th {
  background: var(--gray-50);
  color: var(--brand-900);
  font-weight: 600;
  padding: var(--space-4) var(--space-5);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9375rem;
}

.compare-table thead th:first-child {
  width: 18%;
}

.compare-table__sub {
  display: block;
  margin-top: 4px;
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.compare-table__angat {
  background: var(--brand-900) !important;
  color: #fff !important;
}

.compare-table tbody th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--brand-900);
  padding: var(--space-4) var(--space-5);
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--gray-200);
  width: 18%;
}

.compare-table tbody td {
  padding: var(--space-4) var(--space-5);
  vertical-align: top;
  color: var(--gray-700);
  border-top: 1px solid var(--gray-200);
}

.compare-table tbody td.compare-table__angat-cell {
  background: rgba(37, 99, 235, 0.04);
  color: var(--brand-900);
  font-weight: 500;
}

.compare-table__footnote {
  margin-top: var(--space-4);
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .compare-table {
    font-size: 0.875rem;
  }
  .compare-table thead th,
  .compare-table tbody th,
  .compare-table tbody td {
    padding: var(--space-3) var(--space-3);
  }
}

/* ===================================================================
   Hero — full-bleed background image with text overlay
   Place the hero image at assets/img/hero.jpg (any 16:9, ~2000px wide).
   If the image is missing, the dark navy background gracefully takes over.
   =================================================================== */
.hero--cover {
  position: relative;
  background-color: var(--brand-900);
  /* Lighter, more uniform overlay so the image stays visible.
     Added a bottom-vignette so CTA area stays readable. */
  background-image:
    linear-gradient(180deg, rgba(14, 26, 50, 0.30) 0%, rgba(14, 26, 50, 0.40) 60%, rgba(14, 26, 50, 0.55) 100%),
    url('../img/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero--cover .hero__inner {
  max-width: 760px;
}

.hero--cover h1 {
  color: #fff;
}

.hero--cover h1,
.hero--cover .hero__lead {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero--cover h1 .accent {
  /* Override the navy-gradient text-fill that .hero h1 .accent applies */
  background: none;
  -webkit-background-clip: initial;
          background-clip: initial;
  -webkit-text-fill-color: #FBBF24;
  color: #FBBF24;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7), 0 0 1px rgba(0, 0, 0, 0.3);
}

.hero--cover .hero__lead {
  color: rgba(255, 255, 255, 0.88);
}

.hero--cover .btn--primary {
  background: var(--accent-600);
}
.hero--cover .btn--primary:hover {
  background: var(--accent-500);
}

.hero--cover .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
}
.hero--cover .btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}


/* ===================================================================
   Footer "Operated by Easycom" block
   =================================================================== */
.footer-operated-by {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.footer-operated-by__label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.footer-operated-by__logo {
  height: 26px;
  width: auto;
  display: block;
  opacity: 0.9;
}


/* ===================================================================
   Compare table — round the corner cells so the table corners render
   rounded (cells with backgrounds don't inherit table border-radius).
   =================================================================== */
.compare-table thead tr th:first-child {
  border-top-left-radius: var(--radius-lg);
}
.compare-table thead tr th:last-child {
  border-top-right-radius: var(--radius-lg);
}
.compare-table tbody tr:last-child th:first-child {
  border-bottom-left-radius: var(--radius-lg);
}
.compare-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: var(--radius-lg);
}


/* ===================================================================
   About card — brand logo at the bottom (visual balance + identity)
   =================================================================== */
.about-card__brand-logo {
  margin: var(--space-2) 0 var(--space-5);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.about-card__brand-logo img {
  height: 36px;
  width: auto;
  display: block;
  opacity: 0.95;
}

/* ===================================================================
   Product label next to brand logo (HR pages)
   =================================================================== */
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.site-logo__product {
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-50);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  line-height: 1;
}

/* Product eyebrow tag inside the HR hero */
.hero__product-tag {
  display: inline-block;
  margin-bottom: var(--space-5);
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero:not(.hero--cover) .hero__product-tag {
  /* Light hero fallback */
  background: var(--brand-50);
  color: var(--brand-700);
  border-color: var(--brand-100, #cfdbef);
  backdrop-filter: none;
}


/* HR product hero — uses its own background image */
.hero--cover.hero--cover-hr {
  background-image:
    linear-gradient(180deg, rgba(14, 26, 50, 0.30) 0%, rgba(14, 26, 50, 0.40) 60%, rgba(14, 26, 50, 0.55) 100%),
    url('../img/hero_hr.jpg');
}

/* ===================================================================
   Product-page back-to-brand link in nav
   =================================================================== */
.site-nav__suite {
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  color: var(--gray-500) !important;
  padding-right: var(--space-4);
  border-right: 1px solid var(--gray-200);
  margin-right: var(--space-2);
}
.site-nav__suite:hover {
  color: var(--brand-900) !important;
}
@media (max-width: 768px) {
  .site-nav__suite {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
  }
}
