:root {
  --text: #111;
  --muted: #333;
  --accent: #3e5f87;
  --accent-dark: #2f4a6b;
  --gold: #b0962f;
  --light: #f8f8f8;
  --line: #ddd;
}

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

body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  color: var(--text);
  line-height: 1.5;
  background: #fff;
}

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

a { color: var(--accent); }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #fff; padding: 8px 12px; z-index: 100;
}
.skip-link:focus { left: 10px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Header */
.site-header { background: #fff; position: relative; z-index: 50; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 90px;
}
.logo img { width: 118px; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 4px; padding: 8px 10px; cursor: pointer; font: inherit;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; }
.main-nav { margin-right: 115px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: 8px; }
.main-nav li { position: relative; }
.main-nav a, .main-nav .drop-btn {
  display: flex; align-items: center; gap: 10px;
  font-family: "Inter", Arial, sans-serif; font-size: 16px; font-weight: 500;
  color: var(--text); text-decoration: none;
  padding: 12px 20px; background: none; border: 0; cursor: pointer;
}
.main-nav a:hover, .main-nav .drop-btn:hover { color: var(--accent); }
.caret {
  width: 0; height: 0; border-left: 5px solid transparent;
  border-right: 5px solid transparent; border-top: 6px solid currentColor;
}
.sub-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 190px;
  background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.12); border-radius: 4px;
  padding: 6px 0 !important;
}
.sub-menu a { font-weight: 400; padding: 10px 20px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.open .sub-menu { display: block; }

/* Buttons */
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  text-decoration: none; padding: 9px 24px; border-radius: 5px;
  font-size: 18px; transition: background .2s;
}
.btn:hover, .btn:focus { background: var(--accent-dark); color: #fff; }
.btn-slab { font-family: "Roboto Slab", serif; font-size: 15px; border-radius: 0; padding: 7px 15px; }

/* Home */
.hero { background: var(--light); padding: 60px 0 64px; text-align: center; }
.hero h1 { font-size: 48px; font-weight: 700; margin: 0 0 40px; line-height: 1.2; }
.hero p { font-size: 23px; line-height: 1.05; margin: 0 auto 44px; max-width: 820px; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.showcase { padding: 40px 0 30px; }
.showcase img { margin: 0 auto; width: 720px; }

/* Page intro */
.page-intro { padding: 10px 0 40px; }
.page-intro h1 { font-size: 48px; margin: 0 0 14px; line-height: 1.2; }
.page-intro p { font-size: 20px; margin: 0; }

/* Video grid */
.video-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  padding: 24px 10px 40px; list-style: none; margin: 0;
}
.video-card a { color: var(--text); text-decoration: none; display: block; }
.video-thumb { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #eee; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; inset: 0; margin: auto; width: 96px; height: 96px;
  border: 4px solid rgba(255,255,255,.9); border-radius: 50%;
  background: rgba(0,0,0,.08);
}
.play::after {
  content: ""; position: absolute; left: 38px; top: 26px;
  border-left: 26px solid rgba(255,255,255,.9);
  border-top: 18px solid transparent; border-bottom: 18px solid transparent;
}
.video-card a:hover .play { background: rgba(62,95,135,.55); }
.video-card h2 { font-size: 16px; font-weight: 500; line-height: 1; margin: 20px 0 0; }
.video-card a:hover h2 { color: var(--accent); }

/* Pricing */
.pricing-intro { padding: 10px 0 10px; }
.pricing-intro h1 { font-size: 24px; margin: 18px 0 14px; }
.pricing-intro p { margin: 0 0 10px; }
.table-wrap { overflow-x: auto; padding: 0 70px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: center; color: #333; min-width: 640px; }
.price-table th, .price-table td { border: 1px solid var(--line); padding: 14px 10px; }
.price-table thead th { font-size: 20px; color: var(--text); font-weight: 500; padding: 18px; }
.price-table .blank { border: 0; }
.price-table td.price { font-family: "Roboto Slab", serif; color: #333; padding: 14px 10px 18px; }
.price-table .amount { font-family: "Roboto", sans-serif; font-size: 28px; font-weight: 500; }
.price-table .cur { font-size: 15px; vertical-align: super; }
.price-table tbody tr:nth-child(odd) { background: #f5f5f5; }
.price-table tbody th { font-weight: 400; }
.price-table tfoot td { padding: 10px; }
.why { padding: 40px 0 10px; }
.why h2 { font-size: 28px; margin: 0 0 12px; }
.why p { font-size: 20px; line-height: 1.05; margin: 0; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; padding: 40px 0; }
.feature .text { padding: 0 30px; }
.feature.img-left .media { order: -1; }
.feature.img-left .text { padding: 0; }
.feature h3 { font-size: 28px; font-weight: 500; margin: 0 0 22px; line-height: 1.2; }
.feature p { font-size: 20px; line-height: 1; margin: 0; }
.feature img { margin: 0 auto; }
.cta-row { text-align: center; padding: 20px 0; }
.cta-row .btn { font-size: 22px; }
.subscribe { background: var(--light); padding: 40px 30px; margin: 40px 0 30px; text-align: center; }
.subscribe h2 { font-size: 28px; margin: 0 0 12px; }
.subscribe ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: 18px; }
.subscribe .hero-buttons { margin-top: 10px; }

/* Footer */
.site-footer { padding: 30px 0 20px; font-family: "Roboto Slab", serif; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 20px; text-align: center; }
.footer-brand img { width: 256px; margin: 0 auto 0 0; }
.social { display: flex; gap: 14px; margin: 18px 0 0 90px; }
.social a { color: var(--accent); display: inline-flex; }
.social svg { width: 30px; height: 30px; fill: currentColor; }
.site-footer h2 { font-family: "Roboto", sans-serif; font-size: 28px; font-weight: 500; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { color: var(--text); text-decoration: none; display: inline-block; padding: 6px 0; font-size: 16px; }
.site-footer li a:hover { color: var(--accent); }
.copyright { text-align: center; margin: 22px 0 0; font-size: 16px; }

/* Responsive */
@media (max-width: 1024px) {
  .main-nav { margin-right: 0; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .table-wrap { padding: 0; }
}

@media (max-width: 767px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 90px; left: 0; right: 0;
    background: #fff; box-shadow: 0 8px 16px rgba(0,0,0,.1);
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; gap: 0; padding: 10px 0; }
  .sub-menu { position: static; box-shadow: none; padding-left: 16px !important; }
  .hero h1, .page-intro h1 { font-size: 34px; }
  .hero p { font-size: 19px; line-height: 1.3; }
  .video-grid { grid-template-columns: 1fr; gap: 30px; padding: 10px 0 30px; }
  .feature { grid-template-columns: 1fr; padding: 24px 0; }
  .feature .text { padding: 0; }
  .feature.img-left .media { order: 0; }
  .feature p, .why p { line-height: 1.3; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand img { margin: 0 auto; }
  .social { justify-content: center; margin-left: 0; }
}
