:root {
  --bg-color: #fbf5f3;
  --surface-color: #fff1eb;
  --text-main: #2a2c2e;
  --text-muted: #595b5e;
  --accent: #d95e39;
  --radius-lg: 24px;
  --spacing-sm: clamp(0.5rem, 1.5vw, 1rem);
  --spacing-md: clamp(1rem, 3vw, 2rem);
  --spacing-lg: clamp(2rem, 5vw, 4rem);
  --font-stack:
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  margin: 0;
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-stack);
}

/* Header Styles */
.site-header {
  background-color: var(--surface-color);
  padding: var(--spacing-md);
  position: relative;
}
.header-top-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}
.burger-btn {
  background: var(--bg-color);
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(42, 44, 46, 0.05);
  color: var(--text-main);
  display: none;
}
.burger-btn svg {
  width: 24px;
  height: 24px;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--spacing-lg);
}
.main-nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--accent);
}
.header-logo {
  text-align: center;
}

.logo-link svg {
  width: 30px;
  height: 30px;
}
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
  color: var(--text-main);
  font-size: 18px;
}
.logo-link svg {
  width: 30px;
  height: 30px;
}
.logo-text {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Mobile Header */
@media (max-width: 768px) {
  .burger-btn {
    display: block;
  }
  .main-nav {
    display: none;
    width: 100%;
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(42, 44, 46, 0.1);
  }
  .main-nav.is-open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .header-top-nav {
    flex-direction: column;
  }
}

/* Footer Styles */
.site-footer {
  background-color: var(--surface-color);
  padding: var(--spacing-lg) var(--spacing-md);

  font-family: var(--font-stack);
  color: var(--text-main);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}
.footer-col {
  background: var(--bg-color);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(42, 44, 46, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.footer-col h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--text-main);
  font-weight: 700;
}
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-brand {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}
.footer-tagline {
  color: var(--text-muted);
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.contact-address {
  font-style: normal;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.legal-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-bottom {
  text-align: center;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
/* footer extras */
.footer__extras {
  margin-top: 16px;
}
.footer__extrasInner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer__social {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-social {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
}
.footer-social__icon {
  display: block;
}
.footer__poemWrap {
  max-width: 520px;
}
.footer-poem {
  opacity: 0.9;
  font-size: 0.95em;
  line-height: 1.35;
}
/* --- injected by logo step --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  width: 28px;
  height: 28px;
  display: inline-block;
  flex: 0 0 auto;
}
.brand-logo * {
  vector-effect: non-scaling-stroke;
}
/* --- /injected by logo step --- */
.bg-soft-tint {
  background-color: #F5F7FA;
}
.bg-peach-accent {
  background-color: #f97316;
  color: #ffffff;
}

/* ============================================
   TERMS & CONDITIONS COMPONENT STYLES
   IdleFun - Clean / Relaxed Theme
   ============================================ */

/* Card Wrapper */
.card-wrapper {
  background: #ffffff;
  max-width: 900px;
  margin: 0 auto;
}

.card-lg {
  padding: 48px;
}

/* Flat Shadow */
.flat {
  box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.flat:hover {
  box-shadow: 12px 12px 0px 0px rgba(0, 0, 0, 0.1);
}

/* Shadow Flat Utility */
.shadow-flat {
  box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 0.08);
}

/* Typography */
.card-wrapper h1 {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  color: #1e293b;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.card-wrapper h1 + p em {
  font-size: 0.85rem;
  color: #64748b;
  display: inline-block;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
  font-style: normal;
}

.card-wrapper h2 {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: #0f172a;
  margin-top: 32px;
  margin-bottom: 16px;
  padding-left: 0;
  border-left: none;
  position: relative;
}

.card-wrapper h2:first-of-type {
  margin-top: 0;
}

.card-wrapper p {
  font-size: 1rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 16px;
}

.card-wrapper p:last-child {
  margin-bottom: 0;
}

/* Lists */
.card-wrapper ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px 0;
}

.card-wrapper ul li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.card-wrapper ul li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-size: 0.9rem;
}

/* Links */
.accent-links {
  color: #3b82f6;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

.accent-links:hover {
  color: #2563eb;
  border-bottom-color: #3b82f6;
}

/* Contact List Styles */
.card-wrapper ul:last-of-type li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.card-wrapper ul:last-of-type li strong {
  color: #0f172a;
  font-weight: 600;
  min-width: 130px;
}

.card-wrapper ul:last-of-type li a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-wrapper ul:last-of-type li a:hover {
  color: #1e40af;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .card-lg {
    padding: 32px 24px;
  }
  
  .card-wrapper h1 {
    font-size: 1.8rem;
  }
  
  .card-wrapper h2 {
    font-size: 1.3rem;
  }
  
  .card-wrapper p,
  .card-wrapper ul li {
    font-size: 0.9rem;
  }
  
  .card-wrapper ul:last-of-type li {
    flex-direction: column;
    gap: 4px;
  }
  
  .card-wrapper ul:last-of-type li strong {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .card-lg {
    padding: 24px 20px;
  }
  
  .card-wrapper h1 {
    font-size: 1.5rem;
  }
  
  .card-wrapper h2 {
    font-size: 1.2rem;
    margin-top: 24px;
  }
  
  .card-wrapper ul li {
    padding-left: 20px;
  }
  
  .flat {
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.08);
  }
}