/* MaxShot site — shared styles.
   Palette follows the app's "ocean" vibe (Theme/Vibe.swift): accent 0B6E8A in
   light, 5CC8EC in dark, so the site and the app read as one thing. */

:root {
  --accent:      #0b6e8a;
  --accent-soft: #e8f2f6;
  --bg:          #fbfcfd;
  --surface:     #ffffff;
  --text:        #15242b;
  --text-dim:    #566a73;
  --rule:        #dfe6ea;
  --radius:      14px;
  --measure:     36rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent:      #5cc8ec;
    --accent-soft: #102a35;
    --bg:          #0c1418;
    --surface:     #141f25;
    --text:        #eaf1f4;
    --text-dim:    #9bafb9;
    --rule:        #24333b;
  }
}

:root[data-theme="dark"] {
  --accent:      #5cc8ec;
  --accent-soft: #102a35;
  --bg:          #0c1418;
  --surface:     #141f25;
  --text:        #eaf1f4;
  --text-dim:    #9bafb9;
  --rule:        #24333b;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0 16px;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 0 4rem; }

/* Header ------------------------------------------------------------------ */

header { padding: 3.5rem 0 2rem; }

.mark {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -.015em;
  color: var(--text);
  text-decoration: none;
}

.mark svg { display: block; }

.tagline {
  margin: 1.75rem 0 0;
  font-size: 1.9rem;
  line-height: 1.25;
  font-weight: 640;
  letter-spacing: -.025em;
}

.standfirst {
  margin: 1rem 0 0;
  font-size: 1.12rem;
  color: var(--text-dim);
}

/* Type -------------------------------------------------------------------- */

h2 {
  margin: 2.75rem 0 .75rem;
  font-size: 1.22rem;
  font-weight: 640;
  letter-spacing: -.015em;
}

h3 {
  margin: 1.75rem 0 .4rem;
  font-size: 1rem;
  font-weight: 640;
}

p { margin: 0 0 1rem; }

a { color: var(--accent); text-underline-offset: 2px; }

strong { font-weight: 640; }

ul { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin: 0 0 .5rem; }

.dim { color: var(--text-dim); }

.small { font-size: .93rem; }

/* Feature list ------------------------------------------------------------ */

.features { list-style: none; margin: 1.5rem 0 0; padding: 0; }

.features li {
  margin: 0 0 .9rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.features b { display: block; font-weight: 640; margin-bottom: .15rem; }
.features span { color: var(--text-dim); font-size: .97rem; }

/* Callout ----------------------------------------------------------------- */

.note {
  margin: 2rem 0;
  padding: 1.1rem 1.25rem;
  background: var(--accent-soft);
  border-radius: var(--radius);
  font-size: .97rem;
}

.note p:last-child { margin-bottom: 0; }

/* Footer ------------------------------------------------------------------ */

footer {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--text-dim);
  font-size: .92rem;
}

footer a { margin-right: 1.25rem; display: inline-block; }

/* Policy page ------------------------------------------------------------- */

.updated { color: var(--text-dim); font-size: .95rem; margin-top: .35rem; }

.back {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: .95rem;
  text-decoration: none;
}

.back:hover { text-decoration: underline; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: .95rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: .7rem .8rem;
  border-bottom: 1px solid var(--rule);
}

th { font-weight: 640; }

@media (max-width: 30rem) {
  .tagline { font-size: 1.6rem; }
  table, thead, tbody, th, td, tr { display: block; }
  thead { display: none; }
  td { border: 0; padding: .15rem 0; }
  tr {
    display: block;
    padding: .85rem 0;
    border-bottom: 1px solid var(--rule);
  }
  td:first-child { font-weight: 640; }
}
