:root {
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-bg: #f5f5f7;
  --color-surface: #ffffff;
  --color-text: #1d1d1f;
  --color-text-secondary: #6e6e73;
  --color-accent: #0071e3;
  --color-accent-hover: #0060c7;
  --color-border: #d2d2d7;
  --color-footer-bg: #f0f0f2;
  --color-footer-text: #86868b;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --max-width: 1000px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.3;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Header */
.header {
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}
.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.3px;
  color: var(--color-text);
  text-decoration: none;
}
.logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.header__notice {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  background: rgba(0,0,0,0.03);
  padding: 6px 12px;
  border-radius: 20px;
}
.nav__list {
  display: flex;
  list-style: none;
  gap: 28px;
}
.nav__list a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.2s;
}
.nav__list a:hover {
  color: var(--color-accent);
  text-decoration: none;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* Main */
.main {
  flex: 1;
  padding: 72px 0 80px;
}

/* Article */
.article {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  margin-bottom: 64px;
  box-shadow: var(--shadow-md);
}
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.article__title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 36px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.article__hero {
  margin-bottom: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.article__hero img,
.article__inline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article__caption,
.article__inline-image figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-style: italic;
}
.article__content h2 {
  font-size: 1.8rem;
  margin: 48px 0 16px;
  font-weight: 650;
}
.article__content p {
  margin-bottom: 18px;
  font-size: 1.08rem;
  color: #333;
}
.article__content ul {
  margin: 20px 0 24px 24px;
  list-style: disc;
}
.article__content li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.article__pullquote {
  border-left: 4px solid var(--color-accent);
  padding: 20px 28px;
  margin: 40px 0;
  background: #f9f9fb;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-text-secondary);
}
.article__inline-image {
  margin: 36px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

/* Section Intro */
.section-intro {
  margin-bottom: 32px;
}
.section-intro__overline {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-accent);
  margin-bottom: 8px;
  font-weight: 600;
}
.section-intro__title {
  font-size: 2rem;
  font-weight: 650;
}

/* Features */
.features {
  margin-bottom: 64px;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.feature-card__icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(0,113,227,0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card__icon {
  font-size: 1.6rem;
  color: var(--color-accent);
}
.feature-card__title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.feature-card__text {
  font-size: 0.98rem;
  color: var(--color-text-secondary);
}

/* FAQ + Subscribe */
.faq-subscribe {
  margin-bottom: 64px;
}
.faq-subscribe__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.faq__item {
  border-bottom: 1px solid var(--color-border);
}
.faq__question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 0;
  font-size: 1.05rem;
  font-weight: 550;
  cursor: pointer;
  color: var(--color-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-primary);
}
.faq__question::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  transition: transform 0.25s;
  color: var(--color-text-secondary);
}
.faq__item.active .faq__question::after {
  transform: rotate(180deg);
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq__item.active .faq__answer {
  max-height: 200px;
}
.faq__answer p {
  padding: 0 0 16px 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}
.subscribe-block {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.subscribe-block__text {
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}
.form__label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--color-text);
}
.form__input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 1rem;
  margin-bottom: 18px;
  background: var(--color-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form__input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0,113,227,0.12);
}
.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 22px;
  cursor: pointer;
}
.form__checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
  margin-top: 2px;
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  font-family: var(--font-primary);
}
.btn--primary {
  background: var(--color-accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 6px 18px rgba(0,113,227,0.28);
}

/* Footer */
.footer {
  background: var(--color-footer-bg);
  margin-top: auto;
  padding: 64px 0 40px;
  font-size: 0.95rem;
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-text);
  text-decoration: none;
}
.footer__logo-link img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.footer__tagline {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  max-width: 260px;
}
.footer__socials {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}
.footer__socials a {
  color: var(--color-text-secondary);
  font-size: 1.3rem;
  transition: color 0.2s;
}
.footer__socials a:hover {
  color: var(--color-accent);
}
.footer__heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}
.footer__links ul {
  list-style: none;
}
.footer__links li {
  margin-bottom: 10px;
}
.footer__links a {
  color: var(--color-text);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer__links a:hover {
  color: var(--color-accent);
  text-decoration: none;
}
.footer__info p {
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}
.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 32px;
}
.footer__disclaimer {
  color: #999;
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 700px;
}
.footer__copy {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
}

/* Thanks page */
.thanks {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.thanks__content {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  box-shadow: var(--shadow-md);
  max-width: 540px;
  width: 100%;
}
.thanks__logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 28px;
  border-radius: 50%;
}
.thanks__title {
  font-size: 2rem;
  margin-bottom: 20px;
}
.thanks__text {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

/* Legal content pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
}
.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 24px;
}
.legal-content h2 {
  font-size: 1.6rem;
  margin: 40px 0 16px;
}
.legal-content h3 {
  font-size: 1.3rem;
  margin: 28px 0 12px;
}
.legal-content p,
.legal-content li {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 14px;
}
.legal-content ul {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .header__container {
    flex-wrap: wrap;
  }
  .nav__list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
    padding: 20px 24px;
    gap: 14px;
  }
  .nav__list.active {
    display: flex;
  }
  .nav__toggle {
    display: flex;
  }
  .header__notice {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
  .article {
    padding: 32px 24px;
  }
  .features__grid {
    grid-template-columns: 1fr;
  }
  .faq-subscribe__grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .thanks__content {
    padding: 40px 24px;
  }
}