/* Fitro — shared stylesheet
   ---------------------------------------------------------------------- */

:root {
  --navy: #01386A;
  --navy-dark: #012349;
  --green: #86AB0C;
  --green-hover: #6E8A0A;
  --text: #1A1F2E;
  --muted: #6E7480;
  --border: #E4E7EC;
  --bg-soft: #F7F9FC;
  --white: #FFFFFF;
  --shadow: 0 2px 8px rgba(1, 56, 106, 0.06);
  --shadow-lg: 0 10px 30px rgba(1, 56, 106, 0.10);
  --radius: 12px;
  --radius-lg: 20px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  font-size: 16px;
}

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

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ─────────────────────────────────────────────────────────── */

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ─────────────────────────────────────────────────────────── */

header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 700;
  font-size: 20px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}

nav a:hover { color: var(--navy); text-decoration: none; }

nav a.active { color: var(--navy); }

/* ── Hero ───────────────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: var(--green);
  opacity: 0.08;
  border-radius: 50%;
  filter: blur(60px);
}

.hero-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  border-radius: 20px;
  background: var(--white);
  padding: 8px;
  box-shadow: var(--shadow-lg);
}

.hero h1 {
  font-size: 48px;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero .tagline {
  font-size: 20px;
  opacity: 0.9;
  margin: 0 0 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero .cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ────────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

/* ── Feature grid ───────────────────────────────────────────────────── */

.features {
  padding: 80px 0;
  background: var(--bg-soft);
}

.features h2 {
  text-align: center;
  font-size: 36px;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.features .subhead {
  text-align: center;
  color: var(--muted);
  margin: 0 0 56px;
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ── CTA band ───────────────────────────────────────────────────────── */

.cta-band {
  padding: 72px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: 32px;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-band p {
  color: var(--muted);
  margin: 0 0 32px;
  font-size: 17px;
}

/* ── Article (privacy / delete pages) ───────────────────────────────── */

.article {
  padding: 56px 0 96px;
}

.article h1 {
  font-size: 40px;
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.article .meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 40px;
}

.article h2 {
  font-size: 24px;
  margin: 40px 0 12px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.article h3 {
  font-size: 18px;
  margin: 28px 0 8px;
  font-weight: 700;
  color: var(--text);
}

.article p, .article li {
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

.article ul, .article ol {
  padding-left: 24px;
  margin: 12px 0 16px;
}

.article li { margin-bottom: 6px; }

.article strong { font-weight: 700; color: var(--text); }

.article a { color: var(--navy); font-weight: 500; text-decoration: underline; }

.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.article th {
  background: var(--bg-soft);
  text-align: left;
  padding: 12px 14px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}

.article td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

.article tr:last-child td { border-bottom: none; }

.callout {
  background: var(--bg-soft);
  border-left: 4px solid var(--green);
  padding: 20px 24px;
  border-radius: var(--radius);
  margin: 24px 0;
}

.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

/* ── Steps list ─────────────────────────────────────────────────────── */

.steps { counter-reset: step; list-style: none; padding: 0; }

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  padding-bottom: 24px;
  min-height: 48px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 44px;
  bottom: 4px;
  width: 2px;
  background: var(--border);
}

/* ── Footer ─────────────────────────────────────────────────────────── */

footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 32px;
  margin-top: 96px;
}

footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

footer .brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

footer .brand-block img { width: 36px; height: 36px; border-radius: 8px; }
footer .brand-block .name { font-weight: 700; color: var(--white); font-size: 18px; }
footer .brand-block .subline { font-size: 13px; opacity: 0.7; margin-top: 2px; }

footer .links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 14px; }
footer a:hover { color: var(--green); text-decoration: none; }

footer .divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 32px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
  grid-column: 1 / -1;
}

/* ── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 720px) {
  .hero { padding: 60px 0 72px; }
  .hero h1 { font-size: 34px; }
  .hero .tagline { font-size: 17px; }
  .features { padding: 56px 0; }
  .features h2 { font-size: 28px; }
  .cta-band h2 { font-size: 26px; }
  .article h1 { font-size: 30px; }
  .article h2 { font-size: 20px; }
  nav { gap: 16px; }
  nav a { font-size: 14px; }
  footer .container { grid-template-columns: 1fr; gap: 24px; }
  footer .links { align-items: flex-start; }
  header .brand { font-size: 18px; }
  .article table { font-size: 14px; display: block; overflow-x: auto; }
}

@media (max-width: 480px) {
  nav { display: none; }
  .hero h1 { font-size: 28px; }
  .hero-icon { width: 72px; height: 72px; }
}
