/* ScreenRecorder web pages — colors and fonts match the iOS app (light theme). */

@font-face { font-family: "Euclid Circular B"; src: url("/fonts/EuclidCircularB-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Euclid Circular B"; src: url("/fonts/EuclidCircularB-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Euclid Circular B"; src: url("/fonts/EuclidCircularB-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Otterco Display"; src: url("/fonts/OttercoDisplay-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Otterco Display"; src: url("/fonts/OttercoDisplay-SemiBold.otf") format("opentype"); font-weight: 600; font-display: swap; }

:root {
  --bg: #F7F7F7;
  --card: #FFFFFF;
  --text: #191919;
  --muted: #828387;
  --subtle: #8A9398;
  --line: #EEF0F2;
  --accent: #FF3B63;
  --accent-2: #EE4D68;
  --success: #34C759;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Euclid Circular B", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; font-weight: 500; }
a:hover { text-decoration: underline; }

header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 247, 247, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 820px; margin: 0 auto; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: "Otterco Display", sans-serif; font-weight: 600; font-size: 20px; color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand .logo { width: 32px; height: 32px; border-radius: 8px; display: block; }
.links { display: flex; gap: 6px; flex-wrap: wrap; }
.links a {
  color: var(--muted); padding: 6px 12px; border-radius: 999px; font-size: 14px;
}
.links a:hover { text-decoration: none; color: var(--text); }
.links a.active { background: var(--text); color: #fff; }

main { max-width: 820px; margin: 0 auto; padding: 40px 16px 64px; }

h1 {
  font-family: "Otterco Display", sans-serif; font-weight: 600;
  font-size: clamp(32px, 6vw, 44px); line-height: 1.1; margin: 0 0 8px;
}
.updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.lead { color: var(--subtle); font-size: 18px; margin: 0 0 32px; }

.card {
  background: var(--card); border-radius: 20px; padding: 24px;
  margin-bottom: 16px; border: 1px solid var(--line);
}
.card h2 {
  font-family: "Otterco Display", sans-serif; font-weight: 600;
  font-size: 22px; margin: 0 0 10px;
}
.card h3 { font-weight: 600; font-size: 16px; margin: 18px 0 6px; }
.card p, .card li { color: #3A3B3F; }
.card ul { padding-left: 20px; margin: 8px 0; }
.card li { margin: 4px 0; }

.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 14px 24px; border-radius: 14px; font-weight: 600;
}
.btn:hover { background: var(--accent-2); text-decoration: none; }

details { border-top: 1px solid var(--line); padding: 14px 0; }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 8px 0 0; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .inner { max-width: 820px; margin: 0 auto; padding: 24px 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
footer a { color: var(--muted); }
