/* The public site at the bare domain (templates/public/site_base.html, home.html, signin.html).
   Navy, sand and brass; Newsreader for headings, Figtree for everything else (static/fonts). */
:root {
  --navy: #14263B;
  --navy-deep: #0E1B2B;
  --sand: #EFE8DC;
  --line: #DED6C8;
  --paper: #FFFFFF;
  --ink: #1C2733;
  --ink-soft: #33404F;
  --muted: #56657A;
  --brass: #8C651F;
  --brass-dark: #74521A;
  --gold: #D8B35C;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site {
  margin: 0; background: var(--paper); color: var(--ink); line-height: 1.5;
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased;
}
.site a:not(.btn) { color: var(--navy); }
.site a:not(.btn):hover { color: var(--brass); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
h1, h2, .wordmark, .foot-mark, .price-figure, .signin-title {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif; font-weight: 500; letter-spacing: -0.01em;
  color: var(--navy); font-optical-sizing: auto;
}
.skip { position: absolute; left: -9999px; top: 8px; padding: 8px 12px; background: #fff; color: var(--navy); z-index: 50; }
.skip:focus { left: 8px; }

/* The thin band and the header */
.band { background: var(--navy); color: #D9E0E8; font-size: 13px; }
.band-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.top { position: relative; border-bottom: 1px solid var(--line); background: var(--paper); }
.top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.wordmark { font-size: 28px; font-weight: 600; text-decoration: none; }
.top-nav { display: flex; gap: 26px; }
.top-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.top-nav a:hover { color: var(--brass); }
.top-actions { display: flex; align-items: center; gap: 18px; }
.text-link { font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  border-radius: 6px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-accent { background: var(--brass); color: #fff; }
.btn-accent:hover { background: var(--brass-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: rgba(20, 38, 59, .06); color: var(--navy); }
.btn-lg { min-height: 50px; padding: 0 24px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn:focus-visible, .tour-langs button:focus-visible, .top-nav a:focus-visible { outline: 3px solid rgba(140, 101, 31, .5); outline-offset: 2px; }

/* The sign-in box under the header's button */
details.signin { position: relative; }
details.signin > summary { list-style: none; }
details.signin > summary::-webkit-details-marker { display: none; }
.signin-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: 360px; padding: 22px; z-index: 20;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px rgba(20, 38, 59, .18);
}
.signin-title { margin: 0 0 12px; font-size: 22px; }
.signin-panel label, .find-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.signin-panel input, .find-form input {
  width: 100%; height: 46px; padding: 0 14px; margin-bottom: 12px; border: 1px solid #9AA3AE; border-radius: 6px;
  font: inherit; font-size: 16px; color: var(--ink); background: #fff;
}
.signin-panel input:focus, .find-form input:focus { outline: 3px solid rgba(140, 101, 31, .35); outline-offset: 1px; border-color: var(--brass); }
.signin-or { margin: 12px 0; font-size: 13px; color: var(--muted); text-align: center; }
.signin-note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Hero */
.hero { background: var(--sand); padding: 80px 0 72px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
h1 { margin: 0; font-size: 62px; line-height: 1.02; }
.lead { margin: 24px 0 0; font-size: 19px; line-height: 1.55; color: var(--ink-soft); }
.lead-sm { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-soft); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.fine { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.hero-stage { position: relative; height: 520px; }
.frame-desk {
  position: absolute; left: 0; top: 0; right: 60px; height: 430px; overflow: hidden; background: #fff;
  border-radius: 10px; border: 1px solid #C9BFAE; box-shadow: 0 30px 60px rgba(20, 38, 59, .18);
}
.frame-phone {
  position: absolute; right: 0; bottom: 0; width: 200px; height: 400px; overflow: hidden; background: var(--navy);
  border-radius: 30px; border: 7px solid var(--navy); box-shadow: 0 30px 60px rgba(20, 38, 59, .28);
}
.frame-desk img, .frame-phone img, .card-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Three jobs */
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.jobs { padding: 84px 0 72px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 28px; }
.job { border-top: 2px solid var(--navy); padding-top: 20px; }
.job h2 { margin: 0; font-size: 30px; }
.job p { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

/* The screens */
.screens { background: var(--sand); padding: 72px 0 80px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 40px; }
.section-head p { margin: 0; font-size: 15px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.card-shot { height: 150px; border-bottom: 1px solid var(--line); overflow: hidden; }
.card-body { padding: 16px 18px 18px; }
.card h3 { margin: 0; font-size: 17px; font-weight: 700; color: var(--navy); }
.card p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* The six minutes */
.tour { padding: 88px 0; }
.tour-inner { max-width: 900px; text-align: center; }
.tour h2 { margin: 0; font-size: 40px; }
.tour .lead-sm { margin: 14px auto 0; max-width: 600px; }
.tour-langs { display: inline-flex; margin-top: 28px; border: 1px solid var(--navy); border-radius: 6px; overflow: hidden; }
.tour-langs button {
  min-height: 40px; padding: 0 18px; border: 0; background: #fff; color: var(--navy); cursor: pointer;
  font: inherit; font-weight: 600; font-size: 14px;
}
.tour-langs button + button { border-left: 1px solid var(--navy); }
.tour-langs button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.tour-video {
  display: block; width: 100%; height: auto; margin-top: 18px; background: #0B1420;
  border-radius: 10px; border: 1px solid #C9BFAE; box-shadow: 0 30px 60px rgba(20, 38, 59, .2);
}

/* Pricing */
.pricing { background: var(--navy); color: #fff; padding: 88px 0; }
.pricing-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }
.pricing .eyebrow { color: var(--gold); }
.pricing h2 { margin: 16px 0 0; font-size: 44px; line-height: 1.05; color: #fff; }
.pricing .lead-sm { color: #C5CFDB; margin-top: 20px; }
.price-card { background: #fff; color: var(--ink); border-radius: 10px; padding: 32px; }
.price { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price + .price { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.price-name { font-weight: 700; color: var(--navy); font-size: 16px; min-width: 130px; }
.price-figure { font-size: 44px; line-height: 1; }
.price-unit { font-size: 15px; font-weight: 600; color: var(--muted); }
.price-card ul { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--ink-soft); }
.price-card .btn { margin-top: 26px; }
.price-card .fine { text-align: center; margin-top: 12px; }

/* Footer */
.foot { background: var(--navy-deep); color: #C5CFDB; padding: 32px 0; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot-mark { margin: 0; font-size: 22px; color: #fff; }
.foot-line { margin: 4px 0 0; font-size: 13px; }
.foot-nav { display: flex; gap: 22px; font-size: 14px; flex-wrap: wrap; }
.site .foot-nav a { color: #C5CFDB; text-decoration: none; }
.site .foot-nav a:hover { color: #fff; }

/* The sign-in page of its own */
.find { background: var(--sand); padding: 72px 0 96px; min-height: 60vh; }
.find-inner { max-width: 560px; }
.find h1 { font-size: 44px; }
.find .lead-sm { margin-top: 14px; }
.find-form { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; }
.find-form label, .find-form input { align-self: stretch; }
.find-error { margin: 20px 0 0; padding: 12px 14px; border-radius: 6px; background: #FBEAEA; color: #7A2E2E; border: 1px solid #E8B4B4; font-size: 15px; }
.find-found { margin: 24px 0 0; font-weight: 600; }
.find-choices { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.find-choices .btn { justify-content: space-between; white-space: normal; text-align: left; gap: 12px; }
.find-choices .btn span { font-weight: 400; opacity: .85; font-size: 14px; }
.find-last { margin: 20px 0 0; font-size: 15px; }

@media (max-width: 900px) {
  .wrap { padding: 0 16px; }
  .top-nav, .band-inner span:last-child { display: none; }
  .top-inner { min-height: 64px; }
  .wordmark { font-size: 24px; }
  .hero { padding: 48px 0; }
  .hero-inner, .cols-3, .cards, .pricing-inner { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  h1 { font-size: 42px; }
  .hero-stage { height: 300px; }
  .frame-desk { right: 0; height: 300px; }
  .frame-phone { display: none; }
  .signin-panel { position: fixed; left: 16px; right: 16px; top: 116px; width: auto; }
  .section-head h2, .tour h2, .pricing h2, .find h1 { font-size: 32px; }
  .tour, .pricing, .jobs, .screens { padding: 56px 0; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
