/* FerbyTech, LLC - policy pages (privacy, mobile terms) */

:root {
  --teal-deep: #0e3f35;
  --teal-deeper: #0a2e27;
  --emerald: #147457;
  --emerald-soft: #e3f4ee;
  --mint: #8bd4a2;
  --ink: #17231f;
  --muted: #5c6b66;
  --line: #dde5e2;
  --bg: #f6f8f7;
  --card: #fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: var(--emerald);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 7px;
  background: #fff;
  color: var(--teal-deep);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgb(4 31 25 / 24%);
  transform: translateY(calc(-100% - 24px));
}

.skip-link:focus {
  color: var(--teal-deep);
  transform: translateY(0);
}

a:focus-visible {
  outline: 3px solid var(--teal-deep);
  outline-offset: 3px;
}

.site-header {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-deeper));
  border-bottom: 4px solid var(--emerald);
}

.site-header .wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  display: block;
  background: #fff;
  border-radius: 50%;
}

.brand:hover,
.brand:focus-visible {
  color: #fff;
  text-shadow: 0 0 18px rgb(139 212 162 / 42%);
}

.brand:hover img,
.brand:focus-visible img {
  box-shadow:
    0 0 0 3px rgb(139 212 162 / 28%),
    0 0 20px rgb(139 212 162 / 38%);
}

.brand:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--mint);
}

.brand span {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-header nav a {
  color: var(--mint);
  text-decoration: none;
  font-weight: 600;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: #fff;
}

.site-header nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.page-head {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 24px 8px;
}

.page-head h1 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 1.15;
  color: var(--teal-deep);
}

.page-head .accent {
  width: 64px;
  height: 4px;
  background: var(--emerald);
  border-radius: 2px;
  margin-bottom: 18px;
}

.effective {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-size: 0.85rem;
}

.content {
  max-width: 880px;
  margin: 0 auto;
  padding: 28px 24px 72px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 8px 30px rgb(14 63 53 / 6%);
}

.card > p:first-child {
  margin-top: 0;
}

h2 {
  margin: 2.2em 0 0.5em;
  font-size: 1.28rem;
  color: var(--teal-deep);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--emerald-soft);
}

h2:first-of-type {
  margin-top: 0.6em;
}

h3 {
  margin: 1.6em 0 0.4em;
  font-size: 1.05rem;
  color: var(--teal-deep);
}

ul {
  padding-left: 1.3em;
}

li {
  margin-bottom: 0.4em;
}

.callout {
  margin: 1.4em 0;
  padding: 18px 20px;
  border: 1.5px solid var(--emerald);
  border-left-width: 6px;
  border-radius: 10px;
  background: var(--emerald-soft);
}

.callout p {
  margin: 0;
}

.callout strong {
  color: var(--teal-deep);
}

.kbd-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0.6em 0 1em;
}

.kbd {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.contact-block {
  margin-top: 1em;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}

.contact-block p {
  margin: 0.2em 0;
}

.site-footer {
  background: var(--teal-deep);
  color: #d7e7e1;
  font-size: 0.9rem;
}

.site-footer .wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--mint);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer nav a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

@media (width <= 720px) {
  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .site-header nav {
    gap: 10px 16px;
  }

  .site-footer .wrap {
    flex-direction: column;
    text-align: center;
  }

  .site-footer nav {
    justify-content: center;
  }
}
