:root {
  --brand: #0f766e;
  --brand-dark: #115e59;
  --text: #172033;
  --muted: #5b6475;
  --border: #d9e0e8;
  --bg-soft: #f4f8f8;
  --bg-alt: #f8fbfb;
  --white: #ffffff;
  --danger: #c62828;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brand);
}

.logo:hover {
  text-decoration: none;
}

.nav nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav nav a {
  color: var(--text);
  font-weight: 600;
}

.nav nav a[aria-current="page"] {
  color: var(--brand);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #eef8f7 0%, #ffffff 100%);
  padding: 68px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.1;
  margin: 0 0 14px;
}

.eyebrow {
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.hero-text {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background: var(--brand-dark);
  text-decoration: none;
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--white);
}

.btn-secondary:hover {
  text-decoration: none;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.hero-list {
  padding-left: 20px;
  margin: 0;
}

.hero-list li {
  margin-bottom: 10px;
}

.trust-note-home {
  margin-top: 16px;
  color: var(--muted);
}

/* Shared Sections */
.tool-hero {
  background: linear-gradient(180deg, #eef8f7 0%, #ffffff 100%);
  padding: 64px 0 34px;
  text-align: center;
}

.tool-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 14px;
}

.tool-section,
.content-section,
.faq-section,
.related-tools {
  padding: 34px 0 64px;
}

.alt-section {
  background: var(--bg-alt);
}

.content-narrow {
  max-width: 820px;
}

.content-section h2,
.faq-section h2,
.related-tools h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.7rem;
}

.content-section p,
.faq-section p,
.section-text {
  color: var(--muted);
}

.section-text {
  margin-top: -4px;
  margin-bottom: 22px;
}

/* Tool/Form Cards */
.tool-card,
.blog-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.tool-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tool-form label {
  font-weight: 700;
}

.tool-form input,
.tool-form select,
.tool-form button,
.tool-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 1rem;
  font-family: inherit;
}

.tool-form input:focus,
.tool-form select:focus,
.tool-form textarea:focus {
  outline: 2px solid rgba(15, 118, 110, 0.18);
  border-color: var(--brand);
}

.status-box {
  margin-top: 18px;
  min-height: 24px;
  color: var(--muted);
}

.error-message {
  color: var(--danger);
  font-weight: 600;
}

.field-help {
  color: var(--muted);
  margin-top: -6px;
  margin-bottom: 4px;
}

.trust-note {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-left: 4px solid var(--brand);
  border-radius: 10px;
}

/* Lists */
.feature-list {
  padding-left: 20px;
}

.feature-list li {
  margin-bottom: 10px;
}

/* FAQ */
.faq-item {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.faq-item h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

/* Grids/Cards */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.tool-box {
  display: block;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  color: var(--text);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-box:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.tool-box-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.tool-box-text {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.95rem;
}

/* Blog */
.blog-card {
  margin-bottom: 18px;
}

.blog-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.blog-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 10px;
}

/* Legal */
.legal-page h2 {
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #e5e7eb;
  padding: 34px 0 18px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
}

.site-footer a {
  display: block;
  color: #d1d5db;
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    align-items: flex-start;
  }

  .nav nav {
    gap: 12px;
  }

  .tool-card,
  .blog-card {
    padding: 20px;
  }

  .tool-hero,
  .hero {
    padding: 48px 0 24px;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }
}