/* Owee Pricing page (pricing.html + pricing.js).
   Matches the v4 website theme (index.css / pass.css): matte charcoal (#1B1B1A),
   terracotta primary CTA (#EC7B55), sage checks (#93CFA2), Source Serif 4 + Geist.
   Self-hosted fonts only. */

@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-700-latin-ext.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-wght-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --night: #1B1B1A;
  --panel: #252524;
  --raise: #302F2D;
  --ink: #D8D5CF;
  --ink-hi: #F5F2EC;
  --sub: #8E8C86;
  --sub-hi: #B5B2AB;
  --line: rgba(255, 255, 255, 0.09);
  --line-hi: rgba(255, 255, 255, 0.16);
  --accent: #EC7B55;
  --accent-hi: #F58E6A;
  --accent-ink: #191614;
  --accent-soft: rgba(236, 123, 85, 0.14);
  --paid: #93CFA2;
  --paid-soft: rgba(147, 207, 162, 0.14);
  --im: #0A84FF;
  --im-soft: rgba(10, 132, 255, 0.15);
  --display: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --body: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --edge: max(20px, env(safe-area-inset-left, 0px));
}

@media (min-width: 980px) {
  :root {
    --edge: max(64px, calc((100vw - 1200px) / 2));
  }
}

* { box-sizing: border-box; }
html { background: var(--night); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  background: var(--night);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
}
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  z-index: 50;
}
.skip:focus { left: 16px; top: 12px; }

/* Top bar */
.bar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: max(var(--edge), env(safe-area-inset-left, 0px));
  padding-right: max(var(--edge), env(safe-area-inset-right, 0px));
  border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5625rem;
  letter-spacing: -0.03em;
  color: var(--ink-hi);
  text-decoration: none;
}
.bar-r {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lnk {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--sub-hi);
  border-radius: 10px;
  text-decoration: none;
  transition: color 0.16s ease;
}
.lnk[aria-current="page"] { color: var(--ink-hi); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  transition: transform 0.16s var(--ease), background-color 0.18s ease;
}
.btn:active { transform: scale(0.97); }
.btn-s {
  min-height: 40px;
  padding: 6px 16px;
  font-size: 0.9375rem;
}
@media (hover: hover) and (pointer: fine) {
  .lnk:hover { color: var(--ink-hi); }
  .btn:hover { background: var(--accent-hi); }
}
@media (max-width: 480px) {
  .bar .lnk-hide-sm { display: none; }
}

/* Main container */
main {
  flex: 1;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) 20px clamp(44px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Header + billing toggle */
.top-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.top-head h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink-hi);
}
.seg {
  display: inline-flex;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}
.seg button {
  border: 0;
  background: transparent;
  color: var(--sub-hi);
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.seg button.on {
  background: var(--raise);
  color: var(--ink-hi);
}
.save-chip {
  background: var(--paid-soft);
  color: var(--paid);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

/* Section headers */
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.sec-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sec-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sub-hi);
}
.surface-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.surface-pill.both {
  background: var(--im-soft);
  color: #5AC8FA;
}
.surface-pill.app {
  background: var(--panel);
  color: var(--sub-hi);
  border: 1px solid var(--line);
}

/* Group size picker */
.size-picker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--sub);
}
.size-btns {
  display: inline-flex;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 2px;
  gap: 2px;
}
.size-btns button {
  border: 0;
  background: transparent;
  color: var(--sub-hi);
  font-size: 0.8125rem;
  font-weight: 600;
  min-width: 30px;
  min-height: 28px;
  padding: 2px 8px;
  border-radius: 7px;
  transition: background-color 0.14s ease, color 0.14s ease;
}
.size-btns button.on {
  background: var(--raise);
  color: var(--ink-hi);
}

/* Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.solo-wrap {
  width: calc((100% - 16px) / 2);
  margin: 0 auto;
}
@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
  .solo-wrap { width: 100%; }
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card.featured {
  border-color: rgba(236, 123, 85, 0.55);
  box-shadow: 0 0 0 1px rgba(236, 123, 85, 0.16);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card h2 {
  font-family: var(--display);
  font-size: 1.4375rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink-hi);
}
.rec-chip {
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.once-chip {
  background: var(--raise);
  color: var(--sub-hi);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.price-strike {
  font-size: 1rem;
  color: var(--sub);
  text-decoration: line-through;
  opacity: 0.75;
}
.price-main {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink-hi);
}
.price-unit {
  font-size: 0.875rem;
  color: var(--sub);
  font-weight: 500;
}
.price-meta {
  font-size: 0.8125rem;
  color: var(--sub);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.save-inline {
  color: var(--paid);
  font-weight: 600;
}
.each-line {
  font-size: 0.8125rem;
  color: var(--sub);
  margin-top: 2px;
}
.each-line strong {
  color: var(--paid);
  font-weight: 600;
}

.feats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.90625rem;
  flex: 1;
}
.feats li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.ck {
  color: var(--paid);
  font-weight: 700;
  flex: none;
}
.no {
  color: var(--sub);
  font-weight: 700;
  flex: none;
}
.muted-item { color: var(--sub); }

.cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 2px;
}
.btn-card {
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  font-size: 0.9375rem;
}
.btn-secondary {
  background: var(--raise);
  color: var(--ink-hi);
  border: 1px solid var(--line-hi);
}
@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover {
    background: #3A3937;
    border-color: rgba(255, 255, 255, 0.26);
  }
}
.reassure {
  text-align: center;
  font-size: 0.75rem;
  color: var(--sub);
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}
.faq h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-hi);
  margin-bottom: 4px;
}
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
}
.faq summary {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-hi);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.125rem;
  color: var(--sub);
  font-weight: 400;
  flex: none;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin-top: 10px;
  font-size: 0.90625rem;
  color: var(--sub-hi);
  line-height: 1.55;
}
.faq details strong { color: var(--ink-hi); }

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 28px max(var(--edge), env(safe-area-inset-right, 0px)) max(28px, env(safe-area-inset-bottom, 0px)) max(var(--edge), env(safe-area-inset-left, 0px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  font-size: 0.875rem;
  color: var(--sub);
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.foot nav a {
  text-decoration: none;
  transition: color 0.16s ease;
}
@media (hover: hover) and (pointer: fine) {
  .foot nav a:hover { color: var(--ink-hi); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
