/* ============================================================
   SafeIsland CY — shared styles for legal pages
   (Terms of Use, Privacy Policy, Disclaimer, Delete Account).
   Same dark, brand-led theme as the main page; typography tuned
   for long-form reading.
   ============================================================ */

:root {
  /* Brand accents */
  --orange:        #FF6A2C;
  --orange-deep:   #F5471E;
  --purple:        #B98DBE;

  /* Dark surfaces */
  --bg:        #161314;
  --bg-2:      #1E1A1C;
  --card:      #262023;
  --card-2:    #2E282B;
  --border:    #3A3236;
  --border-2:  #4A4044;

  /* Ink on dark */
  --text:      #F1E9EE;
  --text-2:    #CDC3C9;
  --muted:     #9A8F96;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--purple); }
a:hover { color: var(--orange); }

/* ---- Brand lockup ---- */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 36px; display: block; }
.brand .name { font-weight: 700; font-size: 17px; color: #fff; letter-spacing: -.01em; }

/* ---- Header (dark band with orange glow) ---- */
.site-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid #000;
  background:
    radial-gradient(130% 160% at 82% -40%, rgba(255,106,44,.20), transparent 60%),
    linear-gradient(180deg, #221c1d, var(--bg));
}
.site-head .home { font-size: 13px; font-weight: 600; color: var(--orange); text-decoration: none; }
.site-head .home:hover { text-decoration: underline; }

/* ---- Document column ---- */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 22px 64px; }

.doc-head { margin-bottom: 8px; }
.eyebrow {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); font-weight: 700; margin-bottom: 10px;
}
.doc h1 { font-size: 34px; line-height: 1.15; color: #fff; margin-bottom: 10px; }
.updated { color: var(--muted); font-size: 13px; margin-bottom: 26px; }

.lead {
  font-size: 15px; color: var(--text-2);
  border-left: 3px solid var(--orange);
  background: var(--bg-2);
  padding: 14px 16px; border-radius: 0 8px 8px 0; margin-bottom: 8px;
}

.doc section { padding: 22px 0; border-top: 1px solid var(--border); }
.doc h2 {
  font-size: 16px; color: #fff; letter-spacing: .01em;
  text-transform: uppercase; margin-bottom: 14px;
}
.doc h3 { font-size: 15px; color: var(--text); margin: 18px 0 8px; }
.doc p  { color: var(--text-2); margin-bottom: 12px; }
.doc p:last-child { margin-bottom: 0; }

.doc ul { list-style: none; margin: 4px 0 14px; }
.doc li {
  position: relative; padding-left: 20px; margin-bottom: 8px; color: var(--text-2);
}
.doc li::before {
  content: ""; position: absolute; left: 4px; top: 10px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--purple);
}
.doc ul.lettered li, .doc ul.plain li { padding-left: 0; }
.doc ul.lettered li::before, .doc ul.plain li::before { display: none; }
.doc ul.lettered li { margin-bottom: 10px; }

/* ---- Emergency call-out (Section 3) ---- */
.callout {
  background: var(--card); border: 2px solid var(--orange); border-radius: 10px;
  padding: 14px 16px; margin: 6px 0 14px;
}
.callout ul { margin: 0; }
.callout li { padding-left: 0; font-size: 15px; }
.callout li::before { display: none; }
.callout li + li { margin-top: 6px; }
.callout .dial { color: var(--orange); font-weight: 800; }

/* ---- Closing accept note ---- */
.accept {
  margin-top: 26px; padding: 18px 16px; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--text-2); font-size: 14px;
}

/* ---- Footer (dark band) ---- */
footer {
  background:
    radial-gradient(120% 160% at 50% -40%, rgba(255,106,44,.14), transparent 60%),
    linear-gradient(180deg, #201a1b, #171314);
  border-top: 1px solid #000;
  padding: 28px 22px;
}
.foot-inner { max-width: 760px; margin: 0 auto; }
.foot-reminder { color: var(--muted); font-size: 13px; margin: 12px 0; }
.footlinks { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; margin: 10px 0; }
.footlinks a { color: #d7cdd3; text-decoration: underline; }
.footlinks a:hover { color: var(--orange); }
.copy { color: var(--muted); font-size: 12px; }

@media (min-width: 700px) {
  .site-head { padding: 22px 40px; }
  .doc { padding: 56px 24px 80px; }
  .doc h1 { font-size: 42px; }
  footer { padding: 40px 24px; }
}
