/* RealRTK marketing site — plain CSS, no build step, no web fonts.
   Brand: charcoal #1F2326 + flagging orange #FF6A13.
   Green, amber, red and violet are the app's fix-status / demo colours and are
   never used here as brand or decoration. */

:root {
  --ink: #1f2326; /* brand charcoal */
  --ink-900: #14171a;

  --paper: #f7f4ef;
  --paper-2: #ece7de;
  --card: #fffdfa;

  --orange: #ff6a13;
  --orange-deep: #d9500a;
  --orange-ink: #b8430a; /* small text on light paper, 4.8:1 */

  --text: var(--ink);
  --text-2: #5d6469;
  --line: rgba(31, 35, 38, 0.13);
  --line-strong: rgba(31, 35, 38, 0.24);

  --shadow-sm: 0 1px 2px rgba(20, 23, 26, 0.05), 0 6px 16px -10px rgba(20, 23, 26, 0.25);
  --shadow-lg: 0 30px 60px -28px rgba(0, 0, 0, 0.75), 0 2px 8px rgba(0, 0, 0, 0.25);

  --r-sm: 10px;
  --r-lg: 22px;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 800;
}

p {
  margin: 0;
}

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

a {
  color: inherit;
}

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

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(18px, 5vw, 34px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  background: var(--orange);
  color: var(--ink-900);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip:focus {
  top: 12px;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink-900);
  font: inherit;
  font-weight: 750;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, background-color 0.14s ease, border-color 0.14s ease;
}

.btn:hover {
  background: #ff7d2e;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 15px;
}

.btn--lg {
  padding: 15px 26px;
  font-size: 17px;
}

.btn--full {
  width: 100%;
}

.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
  opacity: 0.9;
}

.btn--ghost:hover {
  background: rgba(255, 106, 19, 0.12);
  border-color: var(--orange);
  color: var(--orange);
  opacity: 1;
}

/* ── Header ──────────────────────────────────────────────────────────── */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(31, 35, 38, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top__in {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  margin-right: auto;
}

.brand__mark {
  border-radius: 9px;
  flex: none;
}

.wordmark {
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.wordmark__rtk {
  color: var(--orange);
}

.wordmark--sm {
  font-size: 18px;
}

.top__nav {
  display: none;
  gap: 22px;
}

.top__link {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.top__link:hover {
  color: #fff;
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(620px 400px at 86% 2%, rgba(255, 106, 19, 0.1), transparent 70%),
    radial-gradient(520px 400px at 2% 98%, rgba(255, 106, 19, 0.05), transparent 72%),
    var(--ink);
  padding-block: clamp(26px, 5vw, 54px) clamp(48px, 8vw, 96px);
}

.hero__in {
  display: grid;
  gap: clamp(34px, 6vw, 56px);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 19, 0.22);
}

.hero__h1 {
  font-size: clamp(40px, 11vw, 88px);
  margin-block: 18px 0;
  letter-spacing: -0.04em;
}

.hero .dot {
  color: var(--orange);
}

.hero__lead {
  margin-top: 18px;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.35;
  font-weight: 600;
  color: #fff;
  max-width: 26ch;
  letter-spacing: -0.01em;
}

.hero__note {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 42ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero__fine {
  margin-top: 18px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
}

.hero__art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.art__cap {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  max-width: 34ch;
}

/* Phone frames ---------------------------------------------------------- */
.phone {
  position: relative;
  padding: 9px;
  border-radius: 36px;
  background: #0e1214;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-lg);
}

.phone img {
  border-radius: 27px;
  width: 100%;
}

.phone--front {
  width: min(320px, 76vw);
}

.phone--front::after {
  /* soft brand glow under the hero phone */
  content: "";
  position: absolute;
  inset: 12% -14% -6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 106, 19, 0.34), transparent 72%);
  filter: blur(14px);
}

/* ── Section furniture ───────────────────────────────────────────────── */
.section {
  padding-block: clamp(58px, 8.5vw, 104px);
}

.paper {
  background: var(--paper);
}

.paper-2 {
  background: var(--paper-2);
}

.dark {
  background: var(--ink);
  color: #fff;
}

.head {
  max-width: 44rem;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.head h2 {
  max-width: 22ch;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: 14px;
}

.dark .eyebrow,
.paper-2 .eyebrow {
  color: var(--orange-ink);
}

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

h2 {
  font-size: clamp(30px, 5vw, 48px);
}

.head .tag {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-2);
  background: rgba(31, 35, 38, 0.05);
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  padding: 9px 14px;
  display: block;
  max-width: max-content;
}

/* ── Tiles ───────────────────────────────────────────────────────────── */
.grid {
  display: grid;
  gap: clamp(10px, 1.6vw, 18px);
}

.tiles {
  grid-template-columns: 1fr;
}

.tile {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: start;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.tile__icon {
  grid-row: 1 / span 2;
  grid-column: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 106, 19, 0.12);
  color: var(--orange-deep);
}

.tile__icon svg {
  width: 26px;
  height: 26px;
}

.tile h3 {
  grid-column: 2;
  font-size: 17.5px;
  letter-spacing: -0.01em;
  padding-top: 1px;
}

.tile p {
  grid-column: 2;
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--text-2);
}

/* ── Proof (map screenshot) ──────────────────────────────────────────── */
.proof {
  margin-top: clamp(30px, 4vw, 48px);
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(22px, 3.4vw, 40px);
  background: var(--ink);
  color: #fff;
  border-radius: clamp(20px, 3vw, 30px);
}

.proof__art {
  display: flex;
  justify-content: center;
}

.phone--small {
  width: min(250px, 66vw);
  padding: 7px;
  border-radius: 28px;
}

.phone--small img {
  border-radius: 21px;
}

.proof__copy h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  max-width: 24ch;
}

.proof__copy .eyebrow {
  color: var(--orange);
  margin-bottom: 12px;
}

.ticks {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.ticks li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--orange);
  border-bottom: 2.5px solid var(--orange);
  transform: rotate(-45deg);
}

/* ── Compare ─────────────────────────────────────────────────────────── */
.cols {
  display: grid;
  gap: 14px;
}

.col {
  padding: 24px 22px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

.col--us {
  border-color: rgba(255, 106, 19, 0.55);
  background: rgba(255, 106, 19, 0.09);
  box-shadow: 0 0 0 1px rgba(255, 106, 19, 0.18);
}

.col__tag {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.col__tag--us {
  color: var(--orange);
}

.col__big {
  margin-top: 14px;
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.col__sub {
  margin-top: 6px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
}

.col__list {
  margin-top: 20px;
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.col__list li {
  font-size: 14.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

/* ── Pricing ─────────────────────────────────────────────────────────── */
.prices {
  display: grid;
  gap: 14px;
  align-items: stretch;
}

.price {
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.price--us {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 24px 50px -30px rgba(20, 23, 26, 0.85);
}

.price__badge {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink-900);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.price__name {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-2);
}

.price--us .price__name {
  color: var(--orange);
}

.price__amt {
  margin-top: 12px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price__small {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.6);
}

.price__per {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-2);
}

.price--us .price__per {
  color: rgba(255, 255, 255, 0.6);
}

.price__list {
  margin-block: 20px 24px;
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.price--us .price__list {
  border-color: rgba(255, 255, 255, 0.14);
}

.price__list li {
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--text-2);
}

.price--us .price__list li {
  color: rgba(255, 255, 255, 0.82);
}

.price .btn {
  margin-top: auto;
}

/* ── Beta ────────────────────────────────────────────────────────────── */
.beta {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
}

.beta__sub {
  margin-top: 16px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 40ch;
}

.signup {
  display: grid;
  gap: 10px;
}

.signup input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-size: 16px;
}

.signup input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.signup input:focus {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.signup input[aria-invalid="true"] {
  border-color: rgba(255, 106, 19, 0.8);
}

.signup .btn {
  min-height: 54px;
}

.signup__msg {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  min-height: 0;
}

.signup__msg:not(:empty) {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.beta__alt {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
}

.beta__alt a {
  color: var(--orange);
  font-weight: 700;
  text-underline-offset: 3px;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.foot {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.6);
  padding-block: 36px 42px;
}

.foot__in {
  display: grid;
  gap: 16px;
}

.foot__brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.foot__brand img {
  border-radius: 7px;
}

.foot__legal {
  font-size: 14px;
  line-height: 1.55;
  max-width: 62ch;
}

.foot__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.52);
}

/* ── Wider screens ───────────────────────────────────────────────────── */
@media (min-width: 560px) {
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile {
    display: block;
    padding: 20px;
  }

  .tile__icon {
    margin-bottom: 16px;
  }

  .tile h3 {
    padding-top: 0;
  }

  .tile p {
    margin-top: 6px;
  }

  .prices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .signup {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .signup__msg {
    grid-column: 1 / -1;
  }
}

@media (min-width: 880px) {
  .top__nav {
    display: flex;
  }

  .hero__in {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    gap: 52px;
  }

  .hero__cta {
    margin-top: 32px;
  }

  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .proof {
    grid-template-columns: 268px minmax(0, 1fr);
  }

  .cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .col {
    display: flex;
    flex-direction: column;
    padding: 28px 26px;
  }

  .col__list {
    margin-top: auto;
    padding-top: 20px;
  }

  .beta {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }

  .signup {
    grid-template-columns: minmax(0, 1fr);
  }

  .signup .btn {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .price {
    padding: 30px 26px 26px;
  }

  .foot__in {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
  }

  .foot__legal {
    max-width: none;
  }
}

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

  .btn {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}
