/* AppointTrade — single stylesheet. No external assets. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  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;
}

:root {
  --navy: #0e1c2f;
  --navy-deep: #08131f;
  --ink: #1a2836;
  --slate: #3e5164;
  --muted: #5e6d7c;
  --line: #e5dfd4;
  --paper: #f4f1ea;
  --white: #ffffff;
  --orange: #ff5c1a;
  --orange-hover: #ff7a3c;
  --orange-ink: #b83a08;
  --orange-deep: #e04a12;
  --shadow: 0 18px 40px rgba(14, 28, 47, 0.1);
  --wrap: 1120px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
dl,
dd,
blockquote {
  margin: 0;
}

h1,
h2 {
  text-wrap: balance;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-160%);
  z-index: 80;
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  padding: 0.65rem 0.9rem;
  border-radius: 4px;
}

.skip:focus {
  transform: none;
}

main:focus,
main:focus-visible {
  outline: none;
}

[id] {
  scroll-margin-top: 8.25rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--orange-ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--orange);
}

.section {
  padding: 3.5rem 0;
}

h2 {
  max-width: 16em;
  font-size: clamp(1.85rem, 1.15rem + 2.2vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.032em;
  font-weight: 750;
  color: var(--navy);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border: 0;
  border-radius: 4px;
  background: var(--orange);
  color: var(--navy);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.011em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--orange-hover);
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.btn-compact {
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  font-size: 0.95rem;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--navy);
}

.btn-ghost:hover {
  background: rgba(14, 28, 47, 0.05);
}

.btn-ghost:focus-visible {
  outline-color: var(--orange);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy);
  color: #fff;
  border-top: 3px solid var(--orange);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  min-height: 4.25rem;
  padding-block: 0.75rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1;
}

.mark {
  width: 36px;
  height: 36px;
  display: block;
  flex: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.9rem;
  order: 3;
  width: 100%;
  padding-bottom: 0.15rem;
}

.site-nav a {
  flex: none;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  padding-block: 0.35rem;
}

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

.header-cta {
  order: 2;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 36rem;
  padding: 2.75rem 0 4.75rem;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  max-width: none;
  object-fit: cover;
  object-position: 32% 42%;
}

.hero-shade {
  background: linear-gradient(
    180deg,
    rgba(8, 16, 28, 0.78) 0%,
    rgba(8, 16, 28, 0.62) 42%,
    rgba(8, 16, 28, 0.84) 100%
  );
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--wrap), calc(100% - 2rem));
}

.hero h1 {
  max-width: 14em;
  font-size: clamp(2.15rem, 1.05rem + 4.5vw, 4.15rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.lede {
  max-width: 38rem;
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.075rem;
  line-height: 1.55;
  text-wrap: pretty;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem 1.25rem;
  margin-top: 1.6rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 48px;
  color: #fff;
  font-weight: 700;
  text-underline-offset: 0.22em;
}

.text-link:hover {
  color: var(--orange-hover);
}

.icon-arrow {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
}

/* Facts */

.facts {
  position: relative;
  z-index: 2;
  margin-top: -2.1rem;
}

.facts-grid {
  display: grid;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.facts-grid > div {
  padding: 1.2rem 1.25rem 1.3rem;
}

.facts-grid > div + div {
  border-top: 1px solid var(--line);
}

.facts-grid dt {
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.facts-grid dt::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.5rem;
  background: var(--orange);
  transform: translateY(-0.08em);
}

.facts-grid dd {
  margin: 0.35rem 0 0;
  color: var(--slate);
  font-size: 0.98rem;
}

/* Problem */

.statement {
  max-width: 40rem;
  padding-left: 1rem;
  border-left: 3px solid var(--orange);
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
  text-wrap: pretty;
}

.split {
  display: grid;
  gap: 1.35rem;
}

/* Steps */

.steps {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
  padding: 1.4rem 1.3rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: 10px;
}

.step-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.step-num {
  color: var(--orange-deep);
  font-size: 2.35rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.icon-well {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #fff1eb;
  color: #c2410c;
  flex: none;
}

.icon {
  width: 22px;
  height: 22px;
}

.step h3 {
  font-size: 1.28rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--navy);
}

.step p {
  color: var(--slate);
}

/* Who */

.band {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  color: #fff;
  padding: 3.5rem 0;
}

.band h2 {
  color: #fff;
}

.band-copy {
  max-width: 38rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.125rem;
  text-wrap: pretty;
}

.who-grid {
  display: grid;
  gap: 1.75rem;
}

.meet-card {
  align-self: end;
  padding: 1.35rem 1.35rem 1.15rem;
  background: var(--white);
  color: var(--ink);
  border-radius: 10px;
}

.meet-label {
  margin-bottom: 0.75rem;
  color: var(--orange-ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.meet-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.meet-card li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.meet-card li:first-child {
  border-top: 0;
  padding-top: 0.15rem;
}

.check {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 4px;
  background: #fff1eb;
  color: #c2410c;
  flex: none;
}

.check svg {
  width: 0.95rem;
  height: 0.95rem;
}

/* Pricing */

.price-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.price-card,
.pilot {
  padding: 1.5rem 1.35rem;
  border-radius: 10px;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 1.15rem;
  line-height: 1.5;
}

.lock {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-weight: 750;
  letter-spacing: -0.015em;
}

.pilot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--navy);
  color: #fff;
}

.pilot .eyebrow {
  margin: 0;
}

.pilot-title {
  font-size: clamp(1.45rem, 1.1rem + 1vw, 1.85rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* FAQ */

.faq-list {
  max-width: 46rem;
  margin-top: 1.75rem;
  padding: 0.25rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.faq {
  border-bottom: 1px solid var(--line);
}

.faq:last-child {
  border-bottom: 0;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0.95rem 0;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--navy);
}

.faq[open] summary h3 {
  color: var(--orange-ink);
}

.plus {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--orange-deep);
  flex: none;
  transition: transform 0.15s ease;
}

.faq[open] .plus {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 2rem 1.15rem 0;
  color: var(--slate);
  max-width: 42rem;
}

/* Closing */

.close {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  color: #fff;
  padding: 4.5rem 0;
}

.close h2 {
  color: #fff;
  max-width: 12em;
}

.close-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: #d5dde5;
  border-top: 3px solid var(--orange);
  padding: 2.75rem 0 1.5rem;
}

.footer-top {
  display: grid;
  gap: 1.75rem;
}

.footer-blurb {
  max-width: 24rem;
  margin-top: 0.85rem;
  color: #a8b4c0;
  font-size: 0.98rem;
}

.footer-label {
  margin-bottom: 0.55rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.footer-nav a {
  color: #d5dde5;
  text-decoration: none;
  padding-block: 0.2rem;
}

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

.site-footer address {
  font-style: normal;
  display: grid;
  gap: 0.35rem;
}

.email-link {
  color: var(--orange);
  font-weight: 700;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.email-link:hover {
  color: var(--orange-hover);
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a8b4c0;
  font-size: 0.92rem;
}

/* 404 */

.page-404 {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.page-404 main {
  flex: 1;
}

.missing {
  display: grid;
  align-items: center;
  padding: 4rem 0 5rem;
}

.missing h1 {
  max-width: 12em;
  font-size: clamp(2.1rem, 1.2rem + 3vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.05;
  color: var(--navy);
}

.missing-copy {
  max-width: 32rem;
  margin-top: 1rem;
  color: var(--slate);
  font-size: 1.125rem;
}

.missing-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

/* Wider layouts */

@media (min-width: 640px) {
  .hero-actions,
  .missing-actions {
    flex-direction: row;
    align-items: center;
  }

  .wrap,
  .hero-copy {
    width: min(var(--wrap), calc(100% - 3rem));
  }
}

@media (min-width: 720px) {
  .facts-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .facts-grid > div + div {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

@media (min-width: 880px) {
  .header-inner {
    flex-wrap: nowrap;
    padding-block: 0;
  }

  .site-nav {
    order: 0;
    width: auto;
    flex-wrap: nowrap;
    gap: 1.15rem;
    padding-bottom: 0;
  }

  .header-cta {
    order: 0;
  }

  .hero {
    min-height: calc(100svh - 4.5rem);
    align-items: center;
    padding: 4.5rem 0 7rem;
  }

  .hero-shade {
    background: linear-gradient(
      90deg,
      rgba(8, 16, 28, 0.9) 0%,
      rgba(8, 16, 28, 0.68) 40%,
      rgba(8, 16, 28, 0.22) 72%,
      rgba(8, 16, 28, 0.28) 100%
    );
  }

  .lede {
    font-size: 1.2rem;
  }

  .facts {
    margin-top: -3.25rem;
  }

  .section,
  .band {
    padding: 5rem 0;
  }

  .close {
    padding: 5.25rem 0;
  }

  .split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 4rem;
    align-items: start;
  }

  .statement {
    font-size: 1.4rem;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }

  .who-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
    gap: 3rem;
    align-items: end;
  }

  .price-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.75fr);
    gap: 1.15rem;
    align-items: stretch;
  }

  .pilot {
    justify-content: center;
    padding: 2rem 1.6rem;
  }

  .close-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .footer-top {
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 420px) {
  .logo {
    gap: 0.45rem;
    font-size: 1rem;
  }

  .mark {
    width: 32px;
    height: 32px;
  }

  .btn-compact {
    padding-inline: 0.7rem;
    font-size: 0.9rem;
  }

  .site-nav {
    gap: 0.15rem 0.7rem;
  }

  .site-nav a {
    font-size: 0.9rem;
  }
}

@media (hover: hover) {
  .step {
    transition: transform 0.18s ease, border-color 0.18s ease;
  }

  .step:hover {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .btn:active,
  .step:hover {
    transform: none;
  }
}

::selection {
  background: var(--orange);
  color: var(--navy);
}
