/* Apptive Labs — shared styles for privacy policy / terms pages (matches assets/site.css) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root, [data-theme="dark"] {
  --bg: #070b18;
  --fg: #f4f6fb;
  --body: #b9c0d0;
  --dim: #8f98ad;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .24);
  --hover: rgba(255, 255, 255, .04);
  --orange: #f9744b;
  --grad: linear-gradient(90deg, #f9744b, #0bbdd3);
  --display: 'Archivo', 'Space Grotesk', system-ui, sans-serif;
  --sans: 'Space Grotesk', system-ui, sans-serif;
}
[data-theme="light"] {
  --bg: #f6f7f9;
  --fg: #0a1020;
  --body: #3b4254;
  --dim: #5d6478;
  --line: rgba(10, 16, 32, .1);
  --line-2: rgba(10, 16, 32, .26);
  --hover: rgba(10, 16, 32, .035);
  --orange: #e0592f;
  --grad: linear-gradient(90deg, #e0592f, #0894a7);
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--sans);
  font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .4s, color .4s;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.mono { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.dim { color: var(--dim); }

/* header */
.site-head {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 48px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-head > .mono.hide-m { display: none; }
.site-head a { text-decoration: none; }
.logo img { height: 34px; width: auto; }
.logo .l-dark { display: none; }
[data-theme="light"] .logo .l-light { display: none; }
[data-theme="light"] .logo .l-dark { display: block; }
.head-right { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.head-right a, .theme-btn {
  background: none; border: 1px solid var(--line-2); color: var(--fg);
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 6px; cursor: pointer; transition: border-color .2s;
}
.head-right a:hover, .theme-btn:hover { border-color: var(--fg); }

/* content */
.container { max-width: 760px; margin: 0 auto; padding: 14vh 24px 16vh; }
.page-label { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); margin-bottom: 28px; }
.page-label::before { content: ''; width: 18px; height: 2px; background: var(--grad); }
h1 {
  font-family: var(--display); font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  letter-spacing: -.01em; line-height: .95;
  margin-bottom: 18px; color: var(--fg);
}
.app-header { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; }
.app-header h1 { margin-bottom: 6px; }
.app-header p { margin: 0; font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.hero-card-icon img { width: 72px; height: 72px; border-radius: 17px; }
.updated {
  font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--dim) !important;
  padding-bottom: 28px; margin-bottom: 48px !important;
  border-bottom: 1px solid var(--line);
}
h2 {
  font-family: var(--display); font-weight: 700; font-stretch: 112%; text-transform: uppercase;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: -.005em; line-height: 1.15;
  margin: 56px 0 14px; padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--fg);
  scroll-margin-top: 90px;
}
h3 { font-weight: 500; font-size: 1.1rem; letter-spacing: -.01em; margin: 28px 0 8px; color: var(--fg); }
p { color: var(--body); margin-bottom: 16px; }
ul, ol { color: var(--body); padding-left: 1.2rem; margin-bottom: 16px; }
li { margin-bottom: 8px; }
li::marker { color: var(--dim); }
strong { color: var(--fg); font-weight: 500; }
.container a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--dim); }
.container a:hover { text-decoration-color: var(--fg); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; }

.app-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 16px; }
.container .app-pill {
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  text-decoration: none; border: 1px solid var(--line-2); border-radius: 6px; padding: 10px 16px; color: var(--fg);
}
.container .app-pill:hover { border-color: var(--fg); }

.highlight-box { border: 1px solid var(--line); background: var(--hover); padding: 18px 20px; margin-bottom: 16px; border-radius: 12px; }
.highlight-box p { margin: 0; }

table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 14px; color: var(--body); }
th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); font-weight: 400; }

/* footer */
.site-foot {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 24px;
  padding: 36px 48px 40px; border-top: 1px solid var(--line);
  font-family: var(--sans); font-size: 14px; letter-spacing: 0; text-transform: none;
}
.site-foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; color: var(--fg); }
.site-foot li { margin: 0; }
.site-foot a { text-decoration: none; }
.site-foot a { color: var(--dim); }
.site-foot a:hover { color: var(--fg); }

@media (max-width: 860px) {
  .site-head, .site-foot { padding-left: 20px; padding-right: 20px; }
  .site-foot { grid-template-columns: 1fr 1fr; }
  .hide-m { display: none; }
  .container { padding: 10vh 20px 12vh; }
  .app-header { gap: 16px; }
  .hero-card-icon img { width: 56px; height: 56px; border-radius: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
.updated + h2 { border-top: 0; padding-top: 0; margin-top: 0; }

.aurora { display: none; }
