/* Liveeing — Modern minimalist blue theme */
:root {
  color-scheme: light;
  font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pl-primary: #1e293b;
  --pl-primary-dark: #0f172a;
  --pl-secondary: #2563eb;
  --pl-accent: #3b82f6;
  --pl-muted: #64748b;
  --pl-bg: #f8fafc;
  --pl-surface: #ffffff;
  --pl-border: rgba(37, 99, 235, 0.1);
  --pl-shadow: 0 20px 42px rgba(37, 99, 235, 0.08);
  --pl-radius-lg: 16px;
  --pl-radius: 12px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--pl-bg);
  color: var(--pl-primary);
  line-height: 1.65;
}

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

a {
  color: var(--pl-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--pl-accent);
  text-decoration: underline;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #1e40af;
  box-shadow: 0 4px 20px rgba(30, 64, 175, 0.15);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 60px;
  height: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  margin-left: auto;
}

.site-nav {
  background: linear-gradient(180deg, #1e40af 0%, #1e3a8a 100%);
  display: block;
}

.site-nav__row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 18px;
}

.site-nav__row--primary {
  justify-content: space-between;
}

.site-nav__row--sub {
  justify-content: right;
  gap: 36px;
  font-size: 0.55rem;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-nav__menu {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.site-nav__menu a {
  font-size: 0.75rem;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.92);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--pl-accent);
  transition: width 0.22s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  width: 100%;
}

main {
  flex: 1 0 auto;
}

section {
  padding: clamp(30px, 5vw, 30px) 0;
}

.hero {
  padding: clamp(40px, 5vw, 60px) 0 clamp(30px, 5vw, 30px);
}

.hero__inner {
  background: var(--pl-surface);
  border-radius: var(--pl-radius-lg);
  border: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: var(--pl-shadow);
  padding: clamp(40px, 5vw, 40px);
  display: grid;
  gap: 24px;
  max-width: 100%;
  margin: 0 auto;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--pl-secondary);
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  line-height: 1.05;
}

.hero h2 {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--pl-muted);
}

.hero p {
  margin: 0;
  font-size: 1.08rem;
  color: #40505c;
}

.section-card {
  background: var(--pl-surface);
  border-radius: var(--pl-radius-lg);
  border: 1px solid var(--pl-border);
  box-shadow: var(--pl-shadow);
  padding: clamp(40px, 6vw, 68px);
  display: grid;
  gap: 30px;
}

.section-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.offer-card {
  --card-accent: var(--pl-accent);
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 246, 255, 0.92) 100%);
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.06);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.offer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 4px;
  border-radius: 999px;
  background: var(--card-accent);
}

.offer-card:hover,
.offer-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.2);
}

.offers-grid article:nth-child(2) {
  --card-accent: #8b5cf6;
}

.offers-grid article:nth-child(3) {
  --card-accent: #ec4899;
}

.offers-grid article:nth-child(4) {
  --card-accent: #06b6d4;
}

.offers-grid article:nth-child(5) {
  --card-accent: #10b981;
}

.offer-card__header {
  display: flex;
      justify-content: center;
      align-items: center;
      gap: 24px;
      flex-direction: column;
}

.offer-card__brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.offer-card__brand img {
  width: 88px;
  height: auto;
}

.offer-card__brand strong {
  display: block;
  font-size: 1.26rem;
  color: var(--pl-primary);
  letter-spacing: -0.01em;
}

.offer-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pl-secondary);
}

.offer-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  font-weight: 600;
  color: var(--pl-secondary);
  font-size: 0.9rem;
}

.offer-card__badge img {
  width: 28px;
  height: 28px;
}

.offer-card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--pl-muted);
  line-height: 1.6;
  list-style: none;
}

.offer-card ul li {
  position: relative;
  padding-left: 26px;
}

.offer-card ul li::before {
  content: "";
  position: absolute;
  inset: 8px auto auto 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--card-accent);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.offer-card__cta {
  display: flex;
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  color: #ffffff;
  font-weight: 600;
  background: linear-gradient(135deg, var(--pl-secondary) 0%, #1e40af 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
  text-decoration: none;
}

.reviews-grid {
  display: grid;
  gap: 24px;
}

.review-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.06);
  padding: 24px;
}

.review-card h3 {
  margin-top: 0;
  font-size: 1.32rem;
}

.feed-layout {
  padding: clamp(50px, 7vw, 84px) 0;
}

.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.feed-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.feed-refresh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: var(--pl-secondary);
  background: rgba(37, 99, 235, 0.08);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.feed-refresh:hover {
  background: rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.feed-status {
  font-size: 0.95rem;
  color: var(--pl-muted);
}

.feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.feed-item {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.06);
  padding: 24px;
  display: grid;
  gap: 16px;
}

.feed-item.has-thumb {
  grid-template-columns: 152px 1fr;
  align-items: center;
  gap: 20px;
}

.feed-item__thumb {
  width: 100%;
  height: 100%;
  max-height: 220px;
  border-radius: 14px;
  object-fit: cover;
}

.feed-item.has-thumb .feed-item__thumb {
  height: 140px;
  border-radius: 12px;
}

.feed-item__meta {
  font-size: 0.85rem;
  color: var(--pl-muted);
}

.feed-item__title {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--pl-primary);
}

.feed-item__title a {
  color: inherit;
  text-decoration: none;
}

.feed-item__title a:hover {
  text-decoration: underline;
}

.feed-item__excerpt {
  margin: 0;
  color: var(--pl-muted);
}

.feed-empty {
  background: #ffffff;
  border-radius: 12px;
  border: 1px dashed rgba(37, 99, 235, 0.2);
  padding: 32px;
  text-align: center;
  color: var(--pl-muted);
}

.site-footer {
  background: #1e293b;
  color: rgba(255, 255, 255, 0.82);
  padding: 64px 0 32px;
  margin-top: auto;
  border-top: 2px solid var(--pl-secondary);
}

.footer-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.footer-menu {
  flex: 0 0 30%;
  background: rgba(30, 64, 175, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 24px;
}

.footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.footer-menu a {
  display: block;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateX(4px);
  text-decoration: none;
}

.footer-menu a[aria-current="page"] {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.5);
  color: #ffffff;
}

.footer-content {
  flex: 1 1 70%;
  display: grid;
  gap: 36px;
}

.foot-logo,
.footer-certifications {
  display: flex;
  gap: 18px;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.foot-logo a,
.footer-certifications a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.foot-logo a:hover,
.foot-logo a:focus-visible,
.footer-certifications a:hover,
.footer-certifications a:focus-visible {
  transform: translateY(-2px);
  background: rgba(59, 130, 246, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.foot-logo img,
.footer-certifications img {
  height: 36px;
  width: auto;
  filter: saturate(1.05);
}

.footer__grid {
  display: grid;
  gap: 30px;
}

.footer__grid h3 {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.68);
}

.footer__grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer__meta {
  margin-top: 36px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.page-hero__inner {
  background: var(--pl-surface);
  border-radius: var(--pl-radius-lg);
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: var(--pl-shadow);
  padding: clamp(38px, 5vw, 68px);
  display: grid;
  gap: 16px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 3.1rem);
}

.page-hero h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  color: var(--pl-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.1);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pl-secondary);
}

.rich-text {
  background: var(--pl-surface);
  border-radius: var(--pl-radius-lg);
  border: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: var(--pl-shadow);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  gap: 18px;
}

.rich-text h2,
.rich-text h3 {
  margin: 16px 0 8px;
  color: var(--pl-primary);
}

.rich-text ul,
.rich-text ol {
  margin: 0;
  padding-left: 24px;
  display: grid;
  gap: 8px;
  color: var(--pl-muted);
}

.media-block {
  display: grid;
  gap: 24px;
}

.media-block img {
  width: 100%;
  border-radius: var(--pl-radius-lg);
  box-shadow: var(--pl-shadow);
}

.form-card {
  background: var(--pl-surface);
  border-radius: var(--pl-radius-lg);
  border: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: var(--pl-shadow);
  padding: clamp(34px, 5vw, 64px);
  display: grid;
  gap: 24px;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--pl-primary);
}

.form-grid label.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  border-color: var(--pl-secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--pl-radius-lg);
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: var(--pl-shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: var(--pl-radius-lg);
  overflow: hidden;
}

thead {
  background: rgba(37, 99, 235, 0.08);
  color: var(--pl-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

th,
td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  color: var(--pl-muted);
}

th {
  font-weight: 700;
  color: var(--pl-primary);
}

.two-column {
  display: grid;
  gap: 28px;
}

.card-muted {
  background: #ffffff;
  border-radius: var(--pl-radius-lg);
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: var(--pl-shadow);
  padding: 24px;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .footer-layout {
    flex-direction: column;
  }

  .footer-menu,
  .footer-content {
    width: 100%;
  }

  .site-nav__row--primary {
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-nav__menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-left: 0;
    gap: 16px;
    padding-top: 12px;
  }

  .site-nav__menu.is-open {
    display: flex;
  }

  .site-nav__row--sub {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 24px;
  }

  .site-nav__row--sub.is-open {
    display: flex;
  }
}

@media (max-width: 720px) {
  .hero__inner,
  .section-card,
  .offer-card,
  .review-card,
  .form-card,
  .rich-text {
    padding: 24px;
  }

  .offer-card__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .offer-card__brand {
    grid-template-columns: 1fr;
    justify-items: flex-start;
  }

  .feed-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feed-item.has-thumb {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .feed-item__thumb {
    width: 100%;
    height: 180px;
  }

  .media-block img {
    border-radius: 16px;
  }

  .foot-logo {
    justify-content: center;
    gap: 14px;
  }

  .foot-logo img {
    height: 30px;
  }
}


