/* OutingBuddy website. Layout adapted from passtower.com, in the app's green. */
/* passtower.com: the app's wine and gold colours */
:root {
  --bg: #faf6ee;
  --surface: #ffffff;
  --ink: #2c1810;
  --ink-muted: #6e5a45;
  --wine: #6b1d2a;
  --wine-light: #8b2e3d;
  --gold: #c6973f;
  --border: rgba(198, 151, 63, 0.35);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--wine); }
a:hover { color: var(--wine-light); }

header {
  background: var(--wine);
  color: #fff;
}
header .bar {
  max-width: 880px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  margin-right: auto;
}
header .brand img { width: 36px; height: 36px; border-radius: 8px; }
header nav a {
  color: #fff;
  opacity: 0.85;
  text-decoration: none;
  margin-left: 16px;
  font-size: 15px;
}
header nav a:hover, header nav a[aria-current] { opacity: 1; text-decoration: underline; }

main {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

h1 { color: var(--wine); font-size: 32px; line-height: 1.25; margin: 0 0 12px; }
h2 { color: var(--wine); font-size: 22px; margin: 36px 0 8px; }
h3 { font-size: 18px; margin: 20px 0 4px; }
.lead { font-size: 19px; color: var(--ink-muted); margin-top: 0; }
.updated { color: var(--ink-muted); font-size: 15px; }

.hero {
  text-align: center;
  padding: 24px 0 8px;
}
.hero img { width: 112px; height: 112px; border-radius: 24px; }
.hero h1 { font-size: 38px; margin-top: 12px; }

.button {
  display: inline-block;
  background: var(--wine);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
}
.button:hover { background: var(--wine-light); color: #fff; }

/* Post-quantum line under the hero's lead */
.pq { margin: 0 0 20px; }
.pq a {
  display: inline-block;
  max-width: 100%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--wine);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 14px;
}
.pq a:hover { border-color: var(--gold); }
#quantum-safe { scroll-margin-top: 16px; }
.soon { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.soon-badge {
  display: inline-block;
  border: 2px solid var(--gold);
  background: #f6ead2;
  color: var(--wine);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 10px;
}

/* Three true points under the hero */
.trust {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.trust li { display: flex; align-items: center; gap: 6px; }
.trust svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* Numbered steps: sharing, emergency access */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}
.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}
.steps h3 { color: var(--wine); margin: 0 0 4px; }
.steps p { margin: 0; color: var(--ink-muted); }
.steps-note { color: var(--ink-muted); font-size: 15px; margin-top: 12px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}
.card h3 { color: var(--wine); margin-top: 0; }
.card p { margin: 0; color: var(--ink-muted); }
.card p + p { margin-top: 8px; }

.note {
  background: #f6ead2;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 18px;
}

table { border-collapse: collapse; width: 100%; background: var(--surface); }
th, td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; font-size: 15px; }
th { background: #f6ead2; }
.table-wrap { overflow-x: auto; }

footer {
  border-top: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: 14px;
}
footer .bar {
  max-width: 880px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
footer a { color: var(--ink-muted); }
footer .copy { margin-left: auto; }

@media (max-width: 560px) {
  h1, .hero h1 { font-size: 28px; }
  header nav a { margin: 0 14px 0 0; }
  header nav { width: 100%; }
}

:root {
  --bg: #f1f7f3;
  --ink: #10241a;
  --ink-muted: #3f5a4b;
  --wine: #1e7a4c;
  --wine-light: #2ca772;
  --gold: #2563eb;
  --border: rgba(30, 122, 76, 0.25);
}
.note { background: #e3f1e8; border-color: rgba(30, 122, 76, 0.45); }
th { background: #d4e9db; }

/* Plans: Free / Pro / Pro Plus */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plans th, .plans td { vertical-align: middle; }
.plans thead th { text-align: center; font-size: 16px; color: var(--wine); white-space: nowrap; }
.plans thead th:first-child { background: var(--surface); border-top-color: transparent; border-left-color: transparent; }
.plans .price { display: block; color: var(--ink-muted); font-size: 14px; font-weight: 600; }
.plans tbody th { font-weight: 500; background: var(--surface); }
.plans td { text-align: center; width: 18%; }
.plans td.yes { color: var(--wine); }
.plans td.yes svg { width: 22px; height: 22px; display: block; margin: 0 auto; }
.plans td.no { color: var(--ink-muted); }
.plans td.text { font-size: 14px; font-weight: 600; }
.table-note { color: var(--ink-muted); font-size: 14px; margin-top: 8px; }
@media (max-width: 560px) {
  .plans th, .plans td { padding: 8px 6px; font-size: 14px; }
  .plans thead th { font-size: 14px; }
  .plans td { width: 20%; }
}

/* Screenshots: four phone screens per row (two on phones) */
.shots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 16px;
  margin: 12px auto 0;
  max-width: 780px;
}
.shots figure {
  flex: 0 1 calc(25% - 12px);
  max-width: 180px;
  margin: 0;
}
.shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(16, 36, 26, 0.12);
  background: var(--surface);
}
.shots figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-muted);
  text-align: center;
}
@media (max-width: 560px) {
  .shots figure { flex-basis: calc(50% - 8px); }
}
