/* OnlyReal marketing site — shared styles
   Design tokens from Revised Sept 2 / README.md */

:root {
  --navy: #1C3A5F;
  --navy-hover: #2B5A8F;
  --text: #111418;
  --text-secondary: #5B7391;
  --muted-on-navy: #8FA1B6;
  --border: #E6E9EE;
  --border-strong: #D5DAE1;
  --bg-light: #F7F8FA;
  --bg-lighter: #F2F4F7;
  --cream: #F8F3E8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Figtree", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.label {
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Announcement bar ---------- */
/* Sits above the header, deliberately NOT navy, so the first-app launch
   date reads as its own announcement rather than blending into the
   general "both apps in closed beta" messaging further down the page. */

.announcement-bar {
  display: block;
  background: var(--cream);
  color: var(--navy);
  text-align: center;
  padding: 12px 20px;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .01em;
}

.announcement-bar:hover { background: #F2EBDA; }

.announcement-bar strong { font-weight: 700; }

.announcement-bar .arrow {
  display: inline-block;
  margin-left: 6px;
  transition: transform .15s;
}

.announcement-bar:hover .arrow { transform: translateX(3px); }

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

header.site-header {
  background: var(--navy);
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 20px;
}

.header-inner .logo img { height: 24px; }

nav.site-nav {
  display: flex;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255,255,255,.72);
}

nav.site-nav a:hover { color: #fff; }

.btn {
  display: inline-block;
  font-size: 15.5px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}

.btn-solid-light {
  background: #fff;
  color: var(--navy);
}

.btn-solid-light:hover { background: #eef1f5; }

.btn-outline-on-navy {
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  background: transparent;
}

.btn-outline-on-navy:hover { border-color: #fff; }

/* ---------- Hero ---------- */

.hero {
  background: var(--navy);
  color: #fff;
  padding: 56px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 22px;
}

.eyebrow.on-light { color: var(--text-secondary); }

h1.hero-headline {
  margin: 0;
  font-size: clamp(40px, 6.5vw, 76px);
  line-height: .98;
  letter-spacing: -.03em;
  font-weight: 800;
}

.hero-body {
  margin: 24px 0 0;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
}

.hero-body strong { color: #fff; font-weight: 700; }

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.6);
}

/* ---------- Carousel ---------- */

.carousel-eyebrow {
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 12px;
}

.carousel-card {
  background: #fff;
  border-radius: 22px;
  padding: 16px 16px 18px;
  box-shadow: 0 24px 60px rgba(15,30,50,.22);
}

.carousel-track-wrap { overflow: hidden; border-radius: 16px; }

.carousel-track {
  display: flex;
  align-items: stretch;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}

.carousel-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
}

/* Photo tray: neutral background, image shown whole (contain), rounded
   corners on the tray itself rather than baked into the source image —
   avoids any color accent painted into the picture. */
.photo-frame {
  position: relative;
  height: 460px;
  border-radius: 14px;
  background: var(--bg-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.photo-frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Small circular brand mark, bottom-right of the tray — a watermark, not
   a border treatment, so it reads as provenance without coloring the frame.
   Selector is deliberately `.photo-frame img.photo-watermark`: it must
   out-specificity `.photo-frame img` above, or the watermark inherits that
   rule's width:auto/height:auto and balloons to fill the tray. */
.photo-frame img.photo-watermark {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  max-width: 34px;
  max-height: 34px;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(15,30,50,.35);
}

.carousel-caption {
  padding: 13px 4px 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
}

.carousel-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
  flex-wrap: wrap;
}

/* Tabs sit inside the white card body (below the photo tray), not on the
   navy hero background, so they need light-context colors, not
   translucent-white-on-navy. */
.carousel-tabs button {
  border: none;
  background: var(--bg-lighter);
  color: var(--text-secondary);
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .04em;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.carousel-tabs button.active { background: var(--navy); color: #fff; }

/* Pagination dots — position in the sequence, independent of the labeled tabs. */
.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.carousel-dots button.active {
  background: var(--navy);
  transform: scale(1.25);
}

.hero-strip {
  background: var(--bg-light);
  color: var(--navy);
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px 20px;
}

/* ---------- Pillars ---------- */

.section { padding: 84px 0; }
.section.bg-light { background: var(--bg-light); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 14px 0 16px;
}

.section-head p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px;
}

.pillar-card.navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.pillar-num {
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.pillar-card.navy .pillar-num { color: var(--muted-on-navy); }

.pillar-card h3 {
  font-size: 18px;
  margin: 0 0 10px;
  letter-spacing: -.01em;
}

.pillar-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

.pillar-card.navy p { color: rgba(255,255,255,.78); }

/* ---------- Inside the app ---------- */

.inside-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.inside-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.inside-card img { width: 100%; }

.inside-card-body { padding: 22px 24px 26px; }

.inside-card-body h3 {
  font-size: 17px;
  margin: 0 0 8px;
}

.inside-card-body p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

/* ---------- Founder ---------- */

.section.bg-cream { background: var(--cream); }

.founder-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: center;
}

.founder-grid img {
  border-radius: 18px;
  width: 100%;
}

.founder-quote {
  font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0 0 20px;
}

.founder-attribution {
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 26px;
}

.founder-support {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 16px 0 0;
  max-width: 480px;
}

.btn-navy-outline {
  display: inline-block;
  border: 1px solid var(--border-strong);
  color: var(--navy);
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: 999px;
}

.btn-navy-outline:hover { border-color: var(--navy); }

/* ---------- Closing CTA ---------- */

.closing {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 88px 24px;
}

.closing h2 {
  font-size: clamp(30px, 4.5vw, 44px);
  margin: 0 0 16px;
  letter-spacing: -.02em;
}

.closing p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.8);
}

.closing .hero-buttons { justify-content: center; margin-top: 32px; }

.closing .caption {
  margin-top: 26px;
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.5);
}

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

footer.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 56px 0 36px;
}

footer.site-footer .logo { display: inline-block; }
footer.site-footer .logo img { height: 22px; margin-bottom: 16px; }

footer.site-footer .tagline {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.6);
}

/* Single centered column: logo + tagline, then the link row beneath it —
   not a two-column space-between layout, which left the tagline stranded
   off to one side with nothing balancing it on a wide screen. */
.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  font-size: 14px;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
}

/* ---------- Download page ---------- */

.download-hero {
  background: var(--navy);
  color: #fff;
  padding: 64px 24px 56px;
  text-align: center;
}

.download-hero h1 {
  font-size: clamp(30px, 4.5vw, 42px);
  margin: 14px 0 14px;
  letter-spacing: -.02em;
}

.download-hero p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
}

.download-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 56px 0 16px;
}

.download-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
}

.download-card img.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 20px;
}

.download-card h2 {
  font-size: 21px;
  margin: 0 0 10px;
  letter-spacing: -.01em;
}

.badge {
  display: inline-block;
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--bg-lighter);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}

.download-card .desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 18px;
}

.download-card ul {
  margin: 0 0 26px;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 600;
}

.store-btn:hover { border-color: var(--navy); }

.download-footnote {
  text-align: center;
  max-width: 640px;
  margin: 24px auto 0;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- 404 ---------- */

.error-page {
  background: var(--navy);
  color: #fff;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.error-page h1 {
  font-size: clamp(52px, 10vw, 96px);
  margin: 0;
  font-weight: 800;
}

.error-page p {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  max-width: 420px;
  margin: 12px 0 28px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .carousel-card { max-width: 420px; margin: 0 auto; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .inside-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; text-align: center; }
  .founder-grid img { max-width: 220px; margin: 0 auto; }
  .founder-support { margin-left: auto; margin-right: auto; }
  .download-columns { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  nav.site-nav { display: none; }
  .pillar-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; }
}
