/* NoobCam website. One shared stylesheet. No external requests.
   Nunito is bundled locally: SIL Open Font License 1.1. */

@font-face {
  font-family: "Nunito";
  src: url(assets/nunito-latin.woff2) format("woff2");
  font-weight: 600 900;
  font-display: swap;
}

/* Tokens */

:root {
  --cream: #F0E8D8;
  --blue: #1B3350;
  --red: #F03A2A;
  --ready: #5FD068;

  --ground: var(--cream);
  --text: var(--blue);
  --hi: #FFFBF2;
  --lo: #CDBFA6;
  --band-bg: var(--blue);
  --band-text: var(--cream);
  --bubble-bg: var(--blue);
  --bubble-text: var(--cream);

  --text-35: rgba(27, 51, 80, 0.35);
  --line: rgba(27, 51, 80, 0.16);
  --stripe-a: rgba(27, 51, 80, 0.05);
  --stripe-b: rgba(27, 51, 80, 0.1);
  /* A normal drop shadow, so the tip lifts off the picture in day and night. */
  --tip-shadow: 0 6px 18px rgba(0, 0, 0, 0.33);

  --raise: 6px 6px 14px var(--lo), -6px -6px 14px var(--hi);
  --press: inset 4px 4px 9px var(--lo), inset -4px -4px 9px var(--hi);
  --raise-sm: 3px 3px 7px var(--lo), -3px -3px 7px var(--hi);
  --press-sm: inset 2px 2px 5px var(--lo), inset -2px -2px 5px var(--hi);

  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: var(--blue);
    --text: var(--cream);
    --hi: #27466C;
    --lo: #0F1E31;
    --band-bg: var(--cream);
    --band-text: var(--blue);
    --bubble-bg: var(--cream);
    --bubble-text: var(--blue);
    --text-35: rgba(240, 232, 216, 0.35);
    --line: rgba(240, 232, 216, 0.22);
    --stripe-a: rgba(240, 232, 216, 0.04);
    --stripe-b: rgba(240, 232, 216, 0.09);
  }
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.6;
}
::selection { background: var(--text); color: var(--ground); }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 3px; }
h1, h2, h3 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
p { margin: 0 0 1rem; text-wrap: pretty; }
ul, ol { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: 0.3rem; }
:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; border-radius: 8px; }
.band :focus-visible, .site-footer :focus-visible { outline-color: var(--band-text); }

/* Layout and soft shapes */

.wrap { width: min(100% - 2rem, 1080px); margin-inline: auto; }
.raised { background: var(--ground); box-shadow: var(--raise); }
.pressed { background: var(--ground); box-shadow: var(--press); }
.skip-link {
  position: absolute;
  top: -120px;
  left: 1rem;
  z-index: 10;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 14px 14px;
  background: var(--band-bg);
  color: var(--band-text);
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.7rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--ground);
  box-shadow: var(--raise);
  color: var(--text);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.button:hover { text-decoration: none; }
.button:active { box-shadow: var(--press); }
.button-primary { background: var(--red); box-shadow: none; color: #fff; font-size: 1.2rem; }
.button-primary:active { box-shadow: none; transform: translateY(1px); }
.button-pending { cursor: default; }
@media (prefers-reduced-motion: no-preference) {
  .button { transition: box-shadow 120ms ease, transform 120ms ease; }
}

/* Header */

.site-header { padding-block: 1rem; }
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand-icon { display: block; width: 30px; height: 30px; border-radius: 22%; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: var(--ground);
  box-shadow: var(--raise);
}

.site-nav a {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; }
.site-nav a[aria-current="page"] { box-shadow: var(--press); font-weight: 900; }

/* Hero */

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
  padding-block: clamp(1.5rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem);
}
.hero-copy { min-width: 0; }
.hero h1 { margin-bottom: 1.1rem; font-size: clamp(2.35rem, 5.5vw, 3.9rem); }
.lead { max-width: 34rem; font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; line-height: 1.45; }
.hero .lead { margin-bottom: 0.7rem; }
.hero-note { max-width: 32rem; opacity: 0.85; }
.hero-cta { margin: 1.9rem 0 0.85rem; }
.hero-meta { margin: 0; font-size: 0.9rem; opacity: 0.8; }
.hero-media { justify-self: end; }

/* Phone mockup */

.phone {
  display: flex;
  flex-direction: column;
  width: 240px;
  max-width: 100%;
  margin: 0;
  aspect-ratio: 260 / 540;
  overflow: hidden;
  border: 6px solid var(--text);
  border-radius: 40px;
  background: var(--ground);
}

.phone-picture {
  position: relative;
  display: grid;
  flex: 0 0 75%;
  place-items: center;
  padding: 1rem 0.75rem;
}

.phone-picture, .dock-thumb, .photo-slot {
  background-color: var(--ground);
  background-image: repeating-linear-gradient(135deg, var(--stripe-a) 0 12px, var(--stripe-b) 12px 24px);
}

.photo-note {
  align-self: end;
  max-width: 8rem;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0.8;
  text-align: center;
}
.level-line { position: absolute; top: 50%; right: 10%; left: 10%; height: 2px; background: rgba(255, 255, 255, 0.85); }
.tip-pill {
  position: absolute;
  top: 14px;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 1.5rem);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--ground);
  box-shadow: var(--tip-shadow);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  transform: translateX(-50%);
}

.phone-dock {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  gap: 0.5rem;
  padding: 0.7rem 0.55rem 0.9rem;
  background: var(--ground);
}
.chips { display: flex; justify-content: space-between; gap: 3px; }
.chip {
  padding: 0.2rem 0.32rem;
  border-radius: 999px;
  background: var(--ground);
  box-shadow: var(--raise-sm);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.chip.is-on { box-shadow: var(--press-sm); font-weight: 900; }
.chip.is-rare { opacity: 0.7; }
.dock-row { display: flex; align-items: center; justify-content: space-between; gap: 0.45rem; padding-inline: 0.15rem; }
.dock-thumb { width: 34px; height: 34px; border-radius: 10px; box-shadow: var(--raise-sm); }
.shutter {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 4px dashed var(--text-35);
  border-radius: 50%;
  background: var(--ground);
  box-shadow: var(--raise);
}
.shutter.is-ready { border-style: solid; border-color: var(--ready); }
.shutter-dot { width: 58%; aspect-ratio: 1; border-radius: 50%; background: var(--red); }
.dock-flip {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ground);
  box-shadow: var(--raise-sm);
  font-size: 17px;
  line-height: 1;
}

/* The conversation */

.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section-head { max-width: 44rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head h2 { margin-bottom: 0.7rem; font-size: clamp(1.85rem, 4vw, 2.7rem); }
.section-head > p:last-child { max-width: 38rem; margin: 0; font-size: 1.08rem; opacity: 0.85; }
.beats { display: grid; gap: 72px; margin: 0; padding: 0; list-style: none; }
.beat { display: flex; align-items: center; gap: 48px; width: 100%; max-width: 820px; margin-inline: auto; }
.beat:nth-child(even) { flex-direction: row-reverse; }
.beat-talk { flex: 1 1 0; min-width: 0; }
.beat-talk h3 { margin-bottom: 1rem; font-size: clamp(1.35rem, 2.5vw, 1.7rem); }
.bubble {
  width: fit-content;
  max-width: min(100%, 30rem);
  margin: 0;
  padding: 0.9rem 1.15rem;
  border-radius: 22px 22px 22px 6px;
  background: var(--ground);
  box-shadow: var(--raise);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.bubble-visitor {
  margin-left: auto;
  border-radius: 22px 22px 6px 22px;
  background: var(--bubble-bg);
  box-shadow: none;
  color: var(--bubble-text);
}
.beat-media { flex: 0 0 auto; }
.beat-caption { margin: 1.1rem 0 0; font-size: 0.95rem; line-height: 1.5; opacity: 0.85; }

/* Before and after wells */

.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 200px)); gap: 1.5rem; }
.well { display: flex; flex-direction: column; gap: 0.6rem; margin: 0; padding: 10px; border-radius: 28px; }
.photo-slot { display: grid; place-items: center; aspect-ratio: 3 / 4; padding: 0.4rem; border-radius: 18px; }
.photo-slot span { font-size: 0.72rem; font-weight: 700; line-height: 1.3; opacity: 0.8; text-align: center; }
.tag {
  align-self: flex-start;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.tag-raised { background: var(--ground); box-shadow: var(--raise-sm); }
.tag-after { background: var(--red); color: #fff; }

/* Feature cards */

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.card { padding: 1.4rem 1.5rem; border-radius: 22px; }
.card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.card p { margin: 0; font-size: 0.98rem; opacity: 0.85; }

/* Privacy band: the one inverted block */

.band {
  padding: clamp(1.75rem, 5vw, 3.25rem);
  border-radius: 32px;
  background: var(--band-bg);
  color: var(--band-text);
}
.band h2 { max-width: 34rem; margin-bottom: 1.1rem; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.band p { max-width: 40rem; }
.band p:last-child { margin-bottom: 0; }
.band a { font-weight: 900; }

/* Pricing */

.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.price-card { display: flex; flex-direction: column; padding: 1.5rem 1.35rem; border-radius: 22px; }
.price-card h3 { margin-bottom: 0.4rem; font-size: 1.1rem; }
.badge {
  align-self: flex-start;
  margin: 0 0 0.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--band-bg);
  color: var(--band-text);
  font-size: 0.72rem;
  font-weight: 900;
}
.price { margin: 0.4rem 0 0; font-variant-numeric: tabular-nums; }
.price-amount { font-size: 2.3rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.price-per { margin-left: 0.15rem; font-size: 0.9rem; font-weight: 700; opacity: 0.8; }
.price-term { margin: 0.4rem 0 1.1rem; font-size: 0.9rem; font-weight: 700; opacity: 0.85; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin-bottom: 0.5rem; padding-left: 1.4rem; font-size: 0.95rem; line-height: 1.45; }
.check-list li::before { content: "✓"; position: absolute; left: 0; font-weight: 900; }
.pro-details { margin-top: 1.5rem; padding: 1.5rem; border-radius: 22px; }
.pro-details h3 { margin-bottom: 0.9rem; font-size: 1.15rem; }
.pro-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pro-list li { position: relative; margin: 0; padding-left: 1.3rem; opacity: 0.85; }
.pro-list li::before { content: "—"; position: absolute; left: 0; font-weight: 900; }
.fine-print { max-width: 52rem; margin: 1.4rem 0 0; font-size: 0.84rem; line-height: 1.5; opacity: 0.8; }

/* Questions band */

.questions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 28px;
}
.questions h2 { margin-bottom: 0.5rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.questions p { max-width: 34rem; margin: 0; opacity: 0.85; }

/* Inner pages */

.page { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.page-wrap { max-width: 70ch; }
.page-head { margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.page-head h1 { margin-bottom: 0.9rem; font-size: clamp(2.2rem, 5vw, 3.2rem); }
.page-head .lead { margin-bottom: 1rem; font-size: 1.1rem; font-weight: 700; opacity: 0.9; }
.updated { margin: 0; font-size: 0.85rem; opacity: 0.8; }
.prose-section { margin-bottom: clamp(2rem, 4vw, 3rem); }
.prose-section h2 { margin-bottom: 0.9rem; font-size: clamp(1.5rem, 3vw, 1.95rem); }
.prose-section h3 { margin: 1.8rem 0 0.6rem; font-size: 1.2rem; }
.prose-section p { opacity: 0.9; }
.prose-section a { font-weight: 800; }

/* Event table */

.table-wrap {
  overflow-x: auto;
  margin: 1.4rem 0;
  padding: 8px;
  border-radius: 18px;
  background: var(--ground);
  box-shadow: var(--press);
}
.event-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 0.92rem; line-height: 1.5; }
.event-table th, .event-table td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.event-table th { font-size: 0.78rem; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }
.event-table tr:last-child td { border-bottom: 0; }
.event-table td:first-child { white-space: nowrap; }
.event-table code { padding: 0.08rem 0.35rem; border-radius: 6px; background: var(--stripe-b); font-family: var(--mono); font-size: 0.86em; }

/* FAQ */

.faq { display: grid; gap: 0.85rem; margin-top: 0.5rem; }
.faq details { border-radius: 20px; background: var(--ground); box-shadow: var(--raise); }
.faq summary {
  position: relative;
  padding: 1.05rem 2.9rem 1.05rem 1.2rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1.15rem;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 1.2rem 1.1rem; }
.faq-answer p { margin: 0 0 0.7rem; opacity: 0.9; }
.faq-answer p:last-child { margin-bottom: 0; }
.contact-card { margin-top: 2.6rem; padding: 1.6rem; border-radius: 24px; }
.contact-card h2 { margin-bottom: 0.8rem; font-size: 1.5rem; }
.contact-card p:last-child { margin-bottom: 0; }
.small { font-size: 0.85rem; opacity: 0.8; }

/* Fact list */

.fact-list { margin: 0; }
.fact-list > div {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.fact-list dt { font-weight: 900; }
.fact-list dd { margin: 0; opacity: 0.9; }

/* Footer */

.site-footer { padding-block: 2.5rem 1.5rem; border-top: 1px solid var(--line); font-size: 0.9rem; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}
.footer-brand { margin: 0 0 0.35rem; font-size: 1.05rem; font-weight: 900; letter-spacing: -0.02em; }
.footer-brand span { display: block; margin-top: 0.15rem; font-size: 0.78rem; font-weight: 700; opacity: 0.75; }
.footer-note { max-width: 26rem; margin: 0; opacity: 0.85; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.footer-nav a { font-weight: 700; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.copyright { margin: 1.75rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.78rem; opacity: 0.8; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Small screens */

@media (max-width: 900px) {
  .feature-grid, .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { display: none; }
  .beats { gap: 48px; }
  .beat, .beat:nth-child(even) { flex-direction: column; align-items: stretch; gap: 1.5rem; }
  .beat-media { align-self: center; }
  .phone { width: min(100%, 260px); margin-inline: auto; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .header-inner { gap: 0.7rem 1rem; }
  .site-nav { justify-content: space-between; }
  .site-nav a { padding: 0.4rem 0.5rem; font-size: 0.86rem; }
  .feature-grid, .pricing-grid, .pro-list { grid-template-columns: 1fr; }
  .fact-list > div { grid-template-columns: 1fr; gap: 0.15rem; }
  .questions .button { width: 100%; }
}

/* More contrast: soft shapes get a hard edge */

@media (prefers-contrast: more) {
  .raised,
  .pressed,
  .button,
  .site-nav,
  .site-nav a[aria-current="page"],
  .well,
  .faq details,
  .card,
  .price-card,
  .pro-details,
  .questions,
  .contact-card {
    outline: 1px solid var(--text);
  }
}
