/*
 * Homepage. The app UI is deliberately utilitarian; this page is the one place
 * that gets to be composed — brand type, a real hero, and screenshots shown big
 * enough to read.
 */

@import url("/fonts/fonts.css");

.home {
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.home h1,
.home h2,
.home h3,
.home .display {
  font-family: Sora, -apple-system, sans-serif;
}

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

/* --------------------------------- nav ---------------------------------- */

.home-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 0;
}

.home-nav .links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14.5px;
}

.home-nav .links a {
  color: var(--muted);
  text-decoration: none;
}

.home-nav .links a:hover {
  color: var(--text);
}

/* --------------------------------- hero --------------------------------- */

.hero {
  position: relative;
  padding: 74px 0 0;
}

/* Only the glow needs clipping; the phone deliberately hangs past the sheet. */
.hero::before {
  z-index: -1;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  width: 1100px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(103, 39, 138, 0.55), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 5.2vw, 62px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 12px;
  max-width: 30em;
}

.hero .cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.btn-lg {
  font-size: 16.5px;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 12px;
}

.hero .fineprint {
  font-size: 13.5px;
  color: var(--muted);
}

/* The scene: the printed sign, tilted just enough to read as an object. */
.scene {
  position: relative;
}

.scene .sign-shot {
  width: 100%;
  border-radius: 10px;
  display: block;
  box-shadow:
    0 34px 70px -34px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: rotate(-1.6deg);
}

/* ----------------------------- inner pages ------------------------------ */

.page-head {
  padding: 64px 0 0;
  max-width: 40em;
}

.page-head h1 {
  font-size: clamp(32px, 4.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 16px;
}

/* support: email and social side by side */

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 20px;
  padding-top: 48px !important;
}

.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
}

.contact-card h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.contact-card p {
  margin-bottom: 18px;
}

.socials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-2);
  text-decoration: none;
  color: var(--text);
  transition:
    border-color 0.15s ease,
    transform 0.15s ease;
}

.social:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.social-icon {
  width: 22px;
  height: 22px;
  fill: var(--accent);
  margin-bottom: 8px;
}

.social-name {
  font-weight: 700;
  font-size: 15px;
}

.social-handle {
  font-size: 12.5px;
  color: var(--muted);
}

/* support: the FAQ */

.faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px 36px;
  margin-top: 30px;
}

.faq-item h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin: 0 0 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: Sora, sans-serif;
}

.faq-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* privacy: the policy cards */

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding-top: 48px !important;
}

.policy {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

.policy-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 12px;
}

.policy h2 {
  font-size: 19px;
  margin-bottom: 10px;
}

.policy p,
.policy li {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.policy ul {
  margin: 0 0 14px;
  padding-left: 18px;
  display: grid;
  gap: 7px;
}

.policy strong {
  color: var(--text);
  font-weight: 600;
}

.policy .keep {
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  margin: 14px 0;
}

@media (max-width: 860px) {
  .contact-row {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------- try it -------------------------------- */

.try {
  padding-top: 76px !important;
}

.try-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 34px 38px;
  border-radius: 20px;
  border: 1px solid rgba(164, 206, 44, 0.3);
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(164, 206, 44, 0.12), transparent 60%),
    var(--panel);
}

.try-inner h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin-bottom: 10px;
}

.try-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.try-actions button {
  width: 100%;
}

.try-actions .fineprint {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 860px) {
  .try-inner {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }
}

/* -------------------------------- sections ------------------------------- */

.home section {
  padding: 90px 0 0;
}

.home .eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.home h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 14px;
}

.home .lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 34em;
  margin: 0;
}

/* steps */

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 34px;
}

.steps-row .step-title {
  font-size: 17px;
  font-weight: 700;
  margin: 12px 0 6px;
  font-family: Sora, sans-serif;
}

.steps-row p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  font-family: Sora, sans-serif;
}

/* alternating feature rows */

.showcase {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-top: 34px;
}

.showcase.flip .copy {
  order: 2;
}

.showcase .shot {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.9);
}

.showcase .shot.plain {
  border-color: transparent;
}

.showcase .phone-shot {
  width: 260px;
  margin: 0 auto;
  display: block;
  border-radius: 30px;
  border: 7px solid #14111c;
  outline: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

.showcase ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.showcase li {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}

.showcase li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}

.showcase li strong {
  color: var(--text);
  font-weight: 600;
}

/* small feature grid */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 34px;
  margin-top: 34px;
}

.grid-3 h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 7px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.grid-3 p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* use cases */

.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 34px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.cases li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  padding-left: 26px;
  position: relative;
}

.cases li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.cases strong {
  color: var(--text);
  font-weight: 650;
}

/* closing band */

.band {
  margin-top: 90px;
  padding: 48px;
  border-radius: 22px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(139, 63, 179, 0.5), transparent 60%),
    var(--panel);
  border: 1px solid var(--line);
  text-align: center;
}

.band h2 {
  margin-bottom: 10px;
}

.band .lede {
  margin: 0 auto;
}

.band .cta-row {
  justify-content: center;
  margin-top: 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* footer */

.home footer {
  margin-top: 70px;
  padding: 26px 0 60px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--muted);
}

.home footer .links {
  display: flex;
  gap: 20px;
}

.home footer a {
  color: var(--muted);
  text-decoration: none;
}

.home footer a:hover {
  color: var(--text);
}

/* app panels sitting on the marketing page */

.home .app-panel {
  margin-top: 34px;
}

@media (max-width: 860px) {
  .hero-inner,
  .showcase,
  .steps-row,
  .grid-3,
  .cases {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 40px;
  }

  .showcase.flip .copy {
    order: 0;
  }

  .home section {
    padding-top: 66px;
  }

  .band {
    padding: 32px 22px;
  }
}

@media (max-width: 560px) {
  /* Stop the brand and the links fighting over one line. */
  .home-nav {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .home-nav .wordmark {
    font-size: 16px;
    white-space: nowrap;
  }

  .home-nav .links {
    gap: 16px;
    font-size: 13.5px;
  }

  .home-nav .links a[href="/privacy"] {
    display: none; /* still in the footer */
  }

  .hero {
    padding-top: 44px;
  }

  .hero .sub {
    font-size: 16.5px;
  }
}
