/* Coupon Saving Guide — Official Website (1 Media Connect LLC) */
:root {
  --bg: #f6f8f4;
  --surface: #ffffff;
  --logo-surface: #fcfdfc;
  --surface-tint: #f0f6ed;
  --border: #dfe6dc;
  --border-strong: #c9d5c6;

  --ink: #132c2b;
  --ink-soft: #4c5d5a;
  --ink-muted: #657673;

  --emerald-1: #28805b;
  --emerald-2: #196744;
  --emerald-3: #125738;
  --emerald-soft: #e3f3e8;
  --emerald-text: #146d44;

  --navy-1: #1a354b;
  --navy-2: #142e42;
  --navy-border: rgba(142, 172, 210, 0.45);
  --navy-text: #f8faf9;
  --navy-muted: #d3e3f8;

  --accent-blue: #2354cb;
  --gold: #ffc21b;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 14px rgba(19, 44, 43, 0.06);
  --shadow-md: 0 12px 30px rgba(19, 44, 43, 0.10);
  --max-width: 1080px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--emerald-2);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--emerald-3);
}

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

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

.container--narrow {
  max-width: 820px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 10px 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.header-logo-pair {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 5px 12px;
  border-radius: 14px;
  background: var(--logo-surface);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(19, 44, 43, 0.05);
}

.header-media-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  overflow: hidden;
}

.header-media-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.header-logo-divider {
  width: 1px;
  height: 30px;
  background: #c9ced6;
  flex-shrink: 0;
}

.brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.brand-sub {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  border-left: 1px solid var(--border-strong);
  padding-left: 12px;
}

.brand-sub strong {
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink);
}

.brand-sub span {
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.site-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--emerald-soft);
  color: var(--emerald-text);
}

.site-nav a.nav-cta {
  background: linear-gradient(135deg, var(--emerald-1), var(--emerald-3));
  color: #ffffff;
  margin-left: 4px;
}

.site-nav a.nav-cta:hover {
  filter: brightness(1.06);
  color: #ffffff;
}

/* Hero */
.hero {
  padding: 64px 0 56px;
  background:
    radial-gradient(circle at 12% 10%, rgba(40, 128, 91, 0.12), transparent 44%),
    radial-gradient(circle at 88% 18%, rgba(35, 84, 203, 0.08), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: var(--emerald-text);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-1);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--emerald-1), var(--emerald-2) 55%, var(--emerald-3));
  color: #ffffff;
  border-color: #4d916b;
  box-shadow: 0 6px 16px rgba(18, 87, 56, 0.22);
}

.btn--primary:hover {
  color: #ffffff;
  filter: brightness(1.04);
}

.btn--secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  color: var(--emerald-3);
  border-color: var(--emerald-1);
}

.btn--gold {
  background: linear-gradient(180deg, #ffd85c 0%, #ffc21b 55%, #f0aa00 100%);
  color: #2b1900;
  border-color: #ffe799;
  box-shadow: 0 8px 20px rgba(255, 194, 27, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn--gold:hover {
  color: #2b1900;
  filter: brightness(1.04);
  box-shadow: 0 10px 24px rgba(255, 194, 27, 0.44);
}

.btn--light {
  background: linear-gradient(180deg, #ffffff 0%, #e6f0ff 100%);
  color: #0e2e5c;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.btn--light:hover {
  color: #0b48d6;
  filter: brightness(1.02);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--emerald-soft);
  color: var(--emerald-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Hero visual card */
.brand-showcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.showcase-app-logo {
  width: min(280px, 82%);
  margin: 4px auto 22px;
  object-fit: contain;
}

.showcase-meta {
  display: grid;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.showcase-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}

.showcase-row span {
  color: var(--ink-muted);
}

.showcase-row strong {
  color: var(--ink);
  text-align: right;
}

.combined-logo-card {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  gap: 18px;
  background: var(--logo-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 22px;
  box-shadow: 0 8px 22px rgba(19, 44, 43, 0.08);
}

.combined-logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  overflow: hidden;
}

.combined-logo-slot img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.combined-logo-slot--media img {
  max-height: 112px;
  transform: scale(1.12);
}

.combined-logo-divider {
  width: 1px;
  height: 54px;
  background: #c9ced6;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section--alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* Feature grid */
.section--how {
  background: linear-gradient(180deg, var(--bg) 0%, #f3f8f4 100%);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--emerald-soft);
  border: 1px solid #c3e4cf;
  color: var(--emerald-text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcf9 100%);
  border: 1.5px solid #d5e5da;
  border-radius: 22px;
  padding: 28px 26px 24px;
  box-shadow: 0 8px 22px rgba(19, 44, 43, 0.06);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: #9ad0b4;
  box-shadow: 0 14px 30px rgba(18, 87, 56, 0.11);
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.feature-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: linear-gradient(135deg, var(--emerald-1), var(--emerald-3));
  box-shadow: 0 6px 14px rgba(18, 87, 56, 0.22);
}

.feature-step-label {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: var(--emerald-text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  flex: 1;
}

.feature-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e1ece5;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--emerald-text);
}

/* Category chips (colors match CSG app theming/csg.ts) */
.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(19, 44, 43, 0.14);
}

.cat-chip--food { background: #c92f24; }
.cat-chip--shops { background: #0b7046; }
.cat-chip--care { background: #2354cb; }
.cat-chip--stays { background: #7628b5; }
.cat-chip--home { background: #087b78; }
.cat-chip--auto { background: #a35b13; }
.cat-chip--entertainment { background: #ad2874; }

/* Partner band (light emerald spotlight matching the rest of the website theme) */
.section--partner {
  padding: 72px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #eaf5ee 50%, var(--bg) 100%);
}

.partner-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 10%, rgba(40, 128, 91, 0.14), transparent 42%),
    radial-gradient(circle at 8% 92%, rgba(25, 103, 68, 0.10), transparent 45%),
    linear-gradient(135deg, #ffffff 0%, #f3faf5 55%, #e6f4eb 100%);
  color: var(--ink);
  border: 2px solid #9ad0b4;
  border-radius: 26px;
  padding: 48px 44px;
  box-shadow:
    0 20px 44px rgba(18, 87, 56, 0.14),
    0 4px 12px rgba(18, 87, 56, 0.07);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 36px;
  align-items: center;
}

.partner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--emerald-1), var(--emerald-3));
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(18, 87, 56, 0.22);
}

.partner-eyebrow-star {
  font-size: 0.88rem;
  line-height: 1;
}

.partner-band h2 {
  color: var(--ink);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.partner-band p {
  color: var(--ink-soft);
  font-size: 1.06rem;
  margin-bottom: 26px;
  max-width: 50ch;
}

.partner-band p strong {
  color: var(--ink);
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.partner-panel {
  background: #ffffff;
  border: 1.5px solid #cde4d5;
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: 0 10px 24px rgba(18, 87, 56, 0.09);
}

.partner-panel h3 {
  color: var(--emerald-text);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.partner-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  display: grid;
  gap: 12px;
}

.partner-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.partner-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald-soft);
  border: 1px solid #9fd4b6;
  color: var(--emerald-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Company & Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: start;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.detail-list {
  margin: 0;
  display: grid;
  gap: 14px;
}

.detail-item {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.96rem;
}

.detail-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-item dt {
  color: var(--ink-muted);
  font-weight: 600;
}

.detail-item dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  word-break: break-word;
}

.company-card-stack {
  display: grid;
  gap: 18px;
}

.company-note {
  background: var(--surface-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.company-note strong {
  color: var(--ink);
}

/* Privacy Policy Page */
.page-banner {
  background: linear-gradient(135deg, var(--navy-1), var(--navy-2));
  color: var(--navy-text);
  padding: 52px 0 46px;
}

.page-banner h1 {
  color: #ffffff;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.page-banner p {
  color: var(--navy-muted);
  max-width: 62ch;
  font-size: 1.02rem;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 18px;
  font-size: 0.88rem;
  color: #e4eeff;
}

.policy-summary {
  background: var(--emerald-soft);
  border: 1px solid #bddfc9;
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 28px;
}

.policy-summary h2 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--emerald-text);
  margin-bottom: 10px;
}

.policy-summary ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.96rem;
}

.policy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  box-shadow: var(--shadow-sm);
}

.policy-section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.policy-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.policy-section h2 {
  font-size: 1.24rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.policy-section p + p,
.policy-section p + ul,
.policy-section ul + p {
  margin-top: 12px;
}

.policy-section ul {
  margin: 0;
  padding-left: 22px;
  color: var(--ink-soft);
  display: grid;
  gap: 8px;
}

.policy-section p {
  color: var(--ink-soft);
}

.policy-section strong {
  color: var(--ink);
}

.detail-list--spaced {
  margin-top: 14px;
}

.policy-logos {
  margin-top: 28px;
}

/* Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 34px 0 42px;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.footer-legal strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--emerald-2);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid,
  .partner-band,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .partner-band {
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }

  .brand-sub {
    display: none;
  }

  .header-logo-pair {
    padding: 4px 10px;
    gap: 10px;
  }

  .header-media-slot {
    height: 34px;
  }

  .header-media-logo {
    height: 46px;
  }

  .brand-logo {
    height: 30px;
  }

  .hero {
    padding: 42px 0 40px;
  }

  .section {
    padding: 46px 0;
  }

  .detail-item {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .policy-card {
    padding: 24px 20px;
  }

  .combined-logo-card {
    padding: 14px 16px;
    gap: 12px;
  }

  .combined-logo-slot {
    height: 60px;
  }
}
