/* Saleto Mail — Privacy & Terms page theme */
:root {
  color-scheme: light;
  --saleto-navy: #06043a;
  --saleto-teal: #235a55;
  --saleto-teal-hover: #1c4b47;
  --saleto-teal-deep: #1e4845;
  --saleto-teal-soft: #e8f2f0;
  --saleto-mint: #d7efe9;
  --saleto-sky: #e8f4fb;
  --saleto-canvas: #eef3f2;
  --saleto-surface: #ffffff;
  --saleto-text: #1a2430;
  --saleto-text-secondary: #3b4754;
  --saleto-text-muted: #6b7785;
  --saleto-border: #d5e3df;
  --saleto-shadow: 0 18px 48px rgba(6, 4, 58, 0.08);
  --saleto-radius: 18px;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  color: var(--saleto-text);
  background: var(--saleto-canvas);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 90% 55% at 0% -10%, rgba(35, 90, 85, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 5%, rgba(6, 4, 58, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(215, 239, 233, 0.9), transparent 55%),
    linear-gradient(180deg, #f4f8f7 0%, #e8efed 48%, #eef3f2 100%);
}

.page {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.5rem 1.15rem 3.5rem;
}

.hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.35rem;
  padding: 1.65rem 1.5rem 1.4rem;
  border-radius: var(--saleto-radius);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(145deg, var(--saleto-navy) 0%, #0f3d3a 42%, var(--saleto-teal) 100%);
  box-shadow: var(--saleto-shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -12% -40% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 239, 233, 0.35), transparent 68%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -30% auto auto -8%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 244, 251, 0.22), transparent 70%);
  pointer-events: none;
}

.brand-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  margin-bottom: 0.55rem;
}

.brand-mark {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(4, 28, 36, 0.28);
}

.brand {
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand-accent {
  color: #9fe8d8;
  font-weight: 700;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
}

.tagline {
  position: relative;
  z-index: 1;
  margin: 0 0 1.1rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
}

.hero nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}

.hero nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 650;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.hero nav a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.jump-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
}

.jump-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.35rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--saleto-border);
  background: var(--saleto-surface);
  color: var(--saleto-teal-deep);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(6, 4, 58, 0.03);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.jump-bar a:hover {
  background: var(--saleto-teal-soft);
  border-color: #b7d4ce;
  color: var(--saleto-teal);
}

.jump-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--saleto-teal);
}

.jump-bar a[href="#privacy"] .jump-dot {
  background: #0369a1;
}

.doc-shell {
  background: var(--saleto-surface);
  border: 1px solid rgba(35, 90, 85, 0.12);
  border-radius: var(--saleto-radius);
  box-shadow: var(--saleto-shadow);
  padding: 1.5rem 1.4rem 1.75rem;
}

.intro {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background:
    linear-gradient(135deg, var(--saleto-teal-soft), #f3faf8 55%, var(--saleto-sky));
  border: 1px solid rgba(35, 90, 85, 0.12);
}

.intro .meta {
  margin: 0 0 0.55rem;
  color: var(--saleto-teal-deep);
  font-weight: 700;
}

.intro p {
  margin: 0;
  color: var(--saleto-text-secondary);
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 2.25rem 0 1.35rem;
}

.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 2px;
  border-radius: 999px;
}

.section-divider--terms::before,
.section-divider--terms::after {
  background: linear-gradient(90deg, transparent, #235a55, transparent);
}

.section-divider--privacy::before,
.section-divider--privacy::after {
  background: linear-gradient(90deg, transparent, #0369a1, transparent);
}

.section-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-chip--terms {
  color: #fff;
  background: linear-gradient(135deg, var(--saleto-teal), var(--saleto-teal-deep));
}

.section-chip--privacy {
  color: #fff;
  background: linear-gradient(135deg, #0369a1, #0c4a6e);
}

h1 {
  font-size: clamp(1.55rem, 3.5vw, 1.9rem);
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
  color: var(--saleto-navy);
}

h1#terms {
  color: var(--saleto-teal-deep);
}

h1#privacy {
  color: #0c4a6e;
}

h2 {
  font-size: 1.08rem;
  margin: 1.65rem 0 0.55rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--saleto-mint);
  color: var(--saleto-teal-deep);
}

.privacy-block h2 {
  border-bottom-color: #d7ebf7;
  color: #0c4a6e;
}

h3 {
  font-size: 1rem;
  margin: 1.1rem 0 0.4rem;
  color: var(--saleto-text);
}

p,
li {
  font-size: 0.98rem;
  color: var(--saleto-text-secondary);
}

p {
  margin: 0 0 0.9rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

li {
  margin: 0.3rem 0;
}

li::marker {
  color: var(--saleto-teal);
}

.privacy-block li::marker {
  color: #0369a1;
}

.meta {
  color: var(--saleto-text-muted);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

a {
  color: var(--saleto-teal);
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--saleto-teal-hover);
}

.contact-card {
  margin: 1rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fbfa, #eef6f4);
  border: 1px solid var(--saleto-border);
}

.contact-card p {
  margin: 0;
  color: var(--saleto-text);
}

footer {
  margin-top: 2rem;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--saleto-navy), var(--saleto-teal-deep));
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  text-align: center;
}

footer p {
  margin: 0;
  color: inherit;
}

footer a {
  color: #9fe8d8;
  font-weight: 700;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .page {
    padding: 1rem 0.85rem 2.5rem;
  }

  .hero,
  .doc-shell {
    padding-left: 1.05rem;
    padding-right: 1.05rem;
  }

  .doc-shell {
    border-radius: 14px;
  }
}
