:root {
  --bg: #f3f5f9;
  --paper: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #d9e2ef;
  --brand: #ea580c;
  --brand-dark: #c2410c;
  --brand-soft: #fff0e8;
  --accent: #0c4a6e;
  --ok: #0f766e;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at 92% -15%, #ffe7d8 0%, rgba(255, 231, 216, 0) 38%),
    linear-gradient(180deg, #f8fafc 0%, #edf2f9 100%);
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  line-height: 1.2;
}

p {
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 1rem 0 1.4rem;
}

.section--lift {
  margin-top: -3rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(12, 19, 36, 0.82);
  border-bottom: 1px solid rgba(226, 232, 240, 0.14);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff;
}

.brand__badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(145deg, #fb923c, #ea580c);
}

.brand__text {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.main-nav a {
  color: #e2e8f0;
  font-weight: 500;
}

.main-nav a:hover {
  color: #ffffff;
}

.header-cta {
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  padding: 0.5rem 0.95rem;
  font-weight: 700;
}

.mobile-menu-btn {
  display: none;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  font-weight: 700;
}

.mobile-menu {
  display: none;
  padding: 0.5rem 4vw 0.8rem;
  background: rgba(2, 6, 23, 0.95);
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.mobile-menu a {
  display: block;
  color: #e2e8f0;
  padding: 0.55rem 0;
  font-weight: 600;
}

.mobile-menu.is-open {
  display: block;
}

.hero {
  position: relative;
  background: linear-gradient(125deg, #0f172a 0%, #0f2a50 60%, #0c4a6e 100%);
  color: #ffffff;
  padding: 4rem 0 5.5rem;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.1rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #fed7aa;
}

h1 {
  font: 700 clamp(2rem, 4.5vw, 3.3rem) "Newsreader", serif;
  margin-bottom: 0.85rem;
}

.subtitle {
  max-width: 640px;
  color: #dce7ff;
  font-size: clamp(1rem, 2vw, 1.14rem);
}

.hero__actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 0.78rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.15);
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-ghost {
  background: #eff6ff;
  color: #1e3a8a;
}

.hero__stats {
  margin-top: 1.15rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero__stats article {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  min-width: 120px;
}

.hero__stats strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
}

.hero__stats span {
  font-size: 0.9rem;
  color: #dce7ff;
}

.hero-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  border-radius: var(--radius);
  border: 1px solid #e6edf8;
  box-shadow: var(--shadow);
  padding: 1rem;
  overflow: hidden;
}

.hero-card h2 {
  margin-bottom: 0.7rem;
}

.hero-card p {
  margin-bottom: 0.65rem;
}

.hero-card img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1.12);
  transform-origin: center;
}

.hero-card__note {
  margin-bottom: 0;
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  background: #fff;
  border: 1px solid #dbe5f1;
  border-radius: var(--radius);
  padding: 0.8rem;
  box-shadow: var(--shadow);
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, #fff7f1 0%, #fff 100%);
  border: 1px solid #ffe0cd;
  border-radius: 12px;
  font-weight: 600;
  color: #7c2d12;
  padding: 0.55rem;
}

.layout-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.card__head p {
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.converter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field span {
  font-weight: 600;
  font-size: 0.92rem;
}

input,
select,
button {
  font: inherit;
}

input,
select {
  border: 1px solid #cfd9e8;
  border-radius: 12px;
  padding: 0.72rem 0.78rem;
  background: #ffffff;
}

input:focus,
select:focus {
  outline: 2px solid #ffd5bc;
  border-color: #ffc4a1;
}

.actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.7rem;
}

.result {
  margin-top: 1rem;
  border: 1px dashed #b7c5da;
  border-radius: 14px;
  padding: 0.95rem;
  background: #fbfdff;
}

.result__label {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.result__value {
  margin: 0.2rem 0 0;
  font-size: clamp(1.2rem, 2.4vw, 1.85rem);
  color: var(--ok);
  font-weight: 800;
}

.note {
  margin-bottom: 0;
  color: var(--muted);
}

.side-info h2 {
  margin-bottom: 0.65rem;
}

.bullet-list {
  margin: 0;
  padding-left: 1.1rem;
}

.bullet-list li {
  margin-bottom: 0.45rem;
}

.pill-row {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill-row span {
  font-size: 0.85rem;
  border: 1px solid #c8d8ef;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  background: var(--brand-soft);
}

.section-head p {
  color: var(--muted);
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.65rem 0.5rem;
}

th {
  color: #1e3a8a;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #d4deec;
  border-radius: var(--radius);
  padding: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.45rem;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.guide-card {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid #d4deec;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  border-color: #b8cce6;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.guide-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #eef5ff;
}

.guide-card__body {
  padding: 1rem;
}

.guide-card__body h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.guide-card__body p {
  margin: 0;
  color: var(--muted);
}

.faq-card details {
  border: 1px solid #d8e3f2;
  border-radius: 12px;
  padding: 0.72rem 0.84rem;
  margin-bottom: 0.62rem;
}

.faq-card summary {
  cursor: pointer;
  font-weight: 700;
}

.cta-band {
  border-radius: var(--radius);
  border: 1px solid #f6c7a5;
  background: linear-gradient(145deg, #fff2e8 0%, #fffaf6 100%);
  box-shadow: var(--shadow);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.cta-band h2 {
  margin-bottom: 0.5rem;
}

.cta-band p {
  margin-bottom: 0;
  color: #7c2d12;
}



.site-footer {
  margin-top: 1.5rem;
  background: #081120;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Keep footer readable even if page scripts fail before reveal toggles. */
.site-footer .reveal {
  opacity: 1;
  transform: none;
}

.footer-grid {
  padding: 2rem 0 1.2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1rem;
}

.site-footer h3,
.site-footer h4 {
  color: #ffffff;
}

.site-footer section p {
  color: #94a3b8;
  margin-bottom: 0;
}

.site-footer section a {
  display: block;
  color: #cbd5e1;
  margin-bottom: 0.36rem;
}

.site-footer section a:hover {
  color: #ffffff;
}

.footer-story {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  padding: 1.6rem 0;
}

.footer-story p {
  margin: 0 0 1rem;
  color: #b8c4d9;
  line-height: 1.85;
}

.footer-story p:last-child {
  margin-bottom: 0;
}

.footer-legal {
  padding: 1rem 0 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-legal p {
  margin: 0;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
}

.footer-legal-links a {
  color: #e2e8f0;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.is-hidden {
  display: none;
}

@media (max-width: 980px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero__content,
  .layout-2,
  .feature-grid,
  .guide-grid,
  .footer-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 3.3rem 0 5rem;
  }

  .section--lift {
    margin-top: -2rem;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .topbar {
    min-height: 64px;
  }

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

  .actions {
    flex-direction: column;
  }

  .btn,
  .actions .btn {
    width: 100%;
  }

  h1 {
    font-size: clamp(1.8rem, 9vw, 2.35rem);
  }

  .hero__stats article {
    flex: 1 1 calc(50% - 0.75rem);
  }

  .card {
    padding: 1rem;
  }
}








