/* World Graph Landing Page
   FT Design Palette */

:root {
  --wg-bg: #FFF1E5;
  --wg-oxford: #0F5499;
  --wg-teal: #0D7680;
  --wg-claret: #990F3D;
  --wg-mandarin: #FF8833;
  --wg-candy: #FF7FAA;
  --wg-text: #333333;
  --wg-text-secondary: #666666;
  --wg-text-tertiary: #999999;
  --wg-border: #CCCCCC;
  --wg-card-bg: #FFFFFF;
}

/* ── Landing page body ── */
#world-graph-landing {
  background: #fff;
}

/* ── Hero ── */
.wg-hero {
  padding: 140px 0 40px;
}

.wg-hero-grid {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.wg-hero-text {
  flex: 1 1 55%;
}

.wg-hero-image {
  flex: 1 1 45%;
}

.wg-hero-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  cursor: pointer;
}

.wg-headline {
  font-family: 'Lato', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--wg-text);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.wg-subheadline {
  font-size: 1.15rem;
  color: var(--wg-text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 480px;
}

.wg-hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.wg-cta-primary {
  background: var(--wg-oxford) !important;
  color: #fff !important;
  border: none !important;
  padding: 0.75rem 2rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s;
}

.wg-cta-primary:hover {
  background: #0a3d73 !important;
  color: #fff !important;
}

.wg-cta-secondary {
  color: var(--wg-oxford);
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid var(--wg-oxford);
  padding-bottom: 2px;
}

.wg-cta-secondary:hover {
  color: #0a3d73;
  border-color: #0a3d73;
}

/* ── Section Titles ── */
.wg-section-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--wg-text);
  margin-bottom: 2rem;
  display: inline-block;
  border-bottom: 3px solid var(--wg-text);
  padding-bottom: 0.35rem;
  line-height: 1.25;
}

/* ── Showcase ── */
.wg-showcase {
  padding: 20px 0 30px;
}

.wg-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.wg-showcase-card {
  background: var(--wg-card-bg);
  border: 1px solid var(--wg-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.wg-showcase-card img {
  width: 100%;
  display: block;
  cursor: pointer;
}

.wg-showcase-caption {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--wg-text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* ── How It Works ── */
.wg-how {
  padding: 60px 0 20px;
}

.wg-step {
  padding: 1.5rem;
  background: var(--wg-card-bg);
  border-radius: 8px;
  border-top: 3px solid var(--wg-claret);
  height: 100%;
}

.wg-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--wg-claret);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.wg-step-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--wg-text);
  margin-bottom: 0.5rem;
  border: none;
}

.wg-step p {
  font-size: 0.92rem;
  color: var(--wg-text-secondary);
  line-height: 1.6;
}

/* ── Credibility ── */
.wg-credibility {
  padding: 20px 0 40px;
  text-align: center;
}

.wg-credibility-text {
  font-size: 0.95rem;
  color: var(--wg-text-secondary);
  margin-bottom: 0.75rem;
}

.wg-credibility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.wg-credibility-links a {
  color: var(--wg-oxford);
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.wg-credibility-links a:hover {
  border-bottom-color: var(--wg-oxford);
}

.wg-credibility-sep {
  color: var(--wg-text-tertiary);
  font-size: 0.8rem;
}

/* ── Signup Form ── */
.wg-signup {
  padding: 30px 0 50px;
}

.wg-signup-inner {
  max-width: 480px;
  margin: 0 auto;
  background: var(--wg-card-bg);
  border: 1px solid var(--wg-border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: center;
}

.wg-signup-inner .wg-section-title {
  font-size: 1.3rem;
}

.wg-signup-sub {
  font-size: 0.95rem;
  color: var(--wg-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.wg-form .field {
  margin-bottom: 0.75rem;
}

.wg-input {
  width: 100%;
  padding: 0.65rem 0.75rem !important;
  font-size: 0.95rem !important;
  border: 1px solid var(--wg-border) !important;
  border-radius: 4px;
  height: auto !important;
}

.wg-input:focus {
  border-color: var(--wg-oxford) !important;
  box-shadow: 0 0 0 2px rgba(15,84,153,0.1) !important;
}

.wg-select {
  width: 100%;
}

.wg-select select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  border: 1px solid var(--wg-border);
  border-radius: 4px;
  background: #fff;
  color: var(--wg-text);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
  height: auto;
}

.wg-select select:focus {
  border-color: var(--wg-oxford);
  box-shadow: 0 0 0 2px rgba(15,84,153,0.1);
}

.wg-select::after,
.wg-select.select::after {
  display: none !important;
}

.wg-submit {
  width: 100%;
  background: var(--wg-oxford) !important;
  color: #fff !important;
  border: none !important;
  padding: 0.75rem 2rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  cursor: pointer;
  transition: background 0.2s;
}

.wg-submit:hover {
  background: #0a3d73 !important;
}

.wg-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.wg-fine {
  font-size: 0.8rem;
  color: var(--wg-text-tertiary);
  margin-top: 0.5rem;
}

/* ── Thank You State ── */
.wg-thanks {
  text-align: center;
  padding: 1rem 0;
}

.wg-thanks .wg-cta-primary {
  margin: 1rem auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
  height: auto !important;
}

.wg-thanks-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--wg-text);
  margin-bottom: 0.5rem;
}

.wg-thanks p {
  font-size: 0.95rem;
  color: var(--wg-text-secondary);
  line-height: 1.5;
}

.wg-thanks a {
  color: var(--wg-oxford);
}

.wg-share-prompt {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.wg-share-link {
  font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .wg-hero {
    padding: 120px 0 50px;
  }

  .wg-hero-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .wg-hero-text {
    flex: 1 1 100%;
  }

  .wg-hero-image {
    flex: 1 1 100%;
  }

  .wg-headline {
    font-size: 1.8rem;
  }

  .wg-subheadline {
    max-width: none;
  }

  .wg-showcase-grid {
    grid-template-columns: 1fr;
  }

  .wg-signup-inner {
    padding: 2rem 1.25rem;
  }

  .wg-credibility-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .wg-credibility-sep {
    display: none;
  }
}
