/* Rank Watchtower marketing site: The Control Room */

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --ink: #15231C;
  --ink-2: #2B3A33;
  --muted: #4C5C54;
  --muted-2: #5E6E66;
  --line: #DCE4DF;
  --line-2: #E3EAE6;
  --soft: #F5F8F6;
  --accent: #26694A;
  --accent-hover: #1D5139;
  --accent-soft: #E6F1EB;
  --accent-ink: #175A3C;
  --up: #1E7F4F;
  --down: #B3361B;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --radius: 12px;
  --gutter: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); margin: 0; color: var(--ink); }
h2 { font-size: 34px; line-height: 1.15; font-weight: 700; letter-spacing: -0.8px; }
h3 { font-size: 17px; line-height: 1.3; font-weight: 600; }
p { margin: 0; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid #3B82C4; outline-offset: 2px; border-radius: 4px; }
.ico { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 860px; }
section { padding: 80px 0 0; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: #FFFFFF; color: var(--ink); border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 9px; font-family: var(--body); font-size: 15px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; }
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-hover); color: #FFFFFF; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 0 30px; font-size: 16px; }

/* Header: stays on screen, so the button is always one click away */
.top { position: sticky; top: 0; z-index: 20; background: var(--ink); color: #FFFFFF; }
.top-in { max-width: 1280px; margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; color: #FFFFFF; text-decoration: none; margin-right: auto; }
.brand:hover { color: #FFFFFF; }
.mark { width: 48px; height: 48px; flex-shrink: 0; }
.mark-placeholder { display: inline-flex; align-items: center; justify-content: center; border: 1.5px dashed #6B8077; border-radius: 9px; font-family: var(--display); font-size: 9px; letter-spacing: 0.6px; color: #A9B8B0; }
.wordmark { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.3px; }
.top-nav { display: flex; align-items: center; gap: 6px; }
.nl { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: #C6D3CC; font-size: 14px; text-decoration: none; border-radius: 7px; }
.nl:hover { color: #FFFFFF; }
.top-nav .btn { margin-left: 8px; }

.banner { background: var(--accent-soft); color: var(--accent-ink); border-bottom: 1px solid #CFE3D7; }
.banner p { max-width: 1280px; margin: 0 auto; padding: 11px var(--gutter); font-size: 14.5px; text-align: center; }
.banner a { color: var(--accent-ink); font-weight: 600; }

/* Hero */
.hero { padding-top: 72px; text-align: center; }
.hero h1 { max-width: 820px; margin: 0 auto 18px; font-size: 54px; line-height: 1.07; font-weight: 700; letter-spacing: -1.5px; }
.lede { max-width: 640px; margin: 0 auto 30px; font-size: 18px; color: var(--muted); }
.hero-note { margin-top: 14px; font-size: 14.5px; color: var(--muted-2); }
.musts { list-style: none; padding: 0; margin: 14px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ink-2); }
.musts li { display: inline-flex; align-items: center; gap: 8px; }
.musts .ico { width: 17px; height: 17px; color: var(--accent); }

/* App screen illustration */
.shot-wrap { padding-top: 48px; }
.shot { margin: 0; }
.shot-frame { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 18px 44px rgba(21, 35, 28, 0.09); }
.shot-bar { display: flex; align-items: center; gap: 9px; padding: 11px 18px; background: var(--ink); }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.d1 { background: #E0655C; } .d2 { background: #E6B84F; } .d3 { background: #5FCB93; }
.shot-url { margin-left: 10px; font-size: 12px; color: #9FB0A8; }
.shot-body { display: flex; min-height: 440px; background: var(--soft); }
.shot-nav { width: 210px; flex-shrink: 0; background: #FFFFFF; border-right: 1px solid var(--line-2); padding: 18px 12px; }
.shot-kicker { font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: #6F8078; padding-bottom: 6px; }
.shot-nav .shot-kicker { padding: 0 10px 8px; }
.shot-nav-item { padding: 8px 10px; border-radius: 7px; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.shot-nav-item.on { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.shot-main { flex-grow: 1; min-width: 0; padding: 22px 24px; }
.shot-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.shot-tile { padding: 14px 16px; background: #FFFFFF; border: 1px solid var(--line-2); border-radius: 10px; }
.shot-num { font-family: var(--display); font-size: 26px; font-weight: 700; }
.shot-table { background: #FFFFFF; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.shot-row { display: flex; align-items: center; padding: 12px 16px; border-bottom: 1px solid #EEF3F0; font-size: 13px; }
.shot-row:last-child { border-bottom: 0; }
.shot-row.head { background: #FAFCFB; font-size: 10px; letter-spacing: 1.1px; text-transform: uppercase; color: #6F8078; padding: 10px 16px; }
.c-term { flex-grow: 1; min-width: 0; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-row.head .c-term { color: #6F8078; }
.c-rank { width: 56px; text-align: center; }
.c-move { width: 60px; text-align: right; font-size: 12px; font-weight: 600; }
.c-move.up { color: var(--up); } .c-move.down { color: var(--down); }
.shot-row.head .c-move { color: #6F8078; font-weight: 400; font-size: 10px; }
.c-vol { width: 80px; text-align: right; font-size: 12px; color: var(--muted-2); }
.chip { display: inline-block; min-width: 28px; padding: 2px 7px; border-radius: 5px; font-size: 12px; font-weight: 600; background: #EDF2EF; color: #41514A; }
.chip.good { background: #DCF0E5; color: var(--accent-ink); }
.shot figcaption { margin-top: 12px; font-size: 13.5px; color: var(--muted-2); text-align: center; }

/* Ads */
.ads-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ads h2 { margin-bottom: 16px; }
.ads-copy > p { font-size: 17px; color: var(--muted); }
.ticks, .includes { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li, .includes li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.ticks .ico, .includes .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.serp { margin: 0; }
.serp-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #FFFFFF; }
.serp-head { padding: 12px 18px; background: var(--soft); border-bottom: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
.serp-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid #EEF3F0; font-size: 14px; }
.serp-row:last-child { border-bottom: 0; }
.serp-pos { font-family: var(--display); font-weight: 700; }
.serp-row.ad { background: #FBF7EE; }
.serp-row.ad .serp-pos { font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: #7A5A12; }
.serp-row.you { background: var(--accent-soft); }
.serp-row.you .serp-pos, .serp-row.you .serp-name { color: var(--accent-ink); font-weight: 700; }
.serp-note { font-size: 12.5px; color: var(--muted-2); text-align: right; }
.serp-row.ad .serp-note { color: #7A5A12; }
.serp-row.you .serp-note { color: var(--accent-ink); }

/* Checks */
.checks h2, .features h2, .start h2, .pricing h2 { margin-bottom: 28px; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.check { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.check .ico { width: 26px; height: 26px; color: var(--accent); margin-bottom: 14px; }
.check h3 { margin-bottom: 8px; }
.check p, .card p { font-size: 14.5px; color: var(--muted); }

/* Features */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { padding: 26px; background: var(--soft); border-radius: var(--radius); }
.card h3 { margin-bottom: 8px; }

/* Pricing */
.price-box { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 44px; align-items: center; padding: 40px 44px; border: 2px solid var(--ink); border-radius: 14px; }
.price { display: flex; flex-direction: column; }
.price-num { font-family: var(--display); font-size: 50px; font-weight: 700; letter-spacing: -1.5px; line-height: 1; }
.price-per { margin-top: 6px; font-size: 15px; color: var(--muted); }
.price-trial { margin-top: 12px; font-size: 13.5px; color: var(--accent-ink); font-weight: 600; }
.includes { margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }

/* Starting */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 26px 24px 24px; background: var(--soft); border-radius: var(--radius); }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-bottom: 14px; border-radius: 50%; background: var(--ink); color: #FFFFFF; font-family: var(--display); font-weight: 700; font-size: 14px; }
.steps h3 { margin-bottom: 6px; }
.steps p { font-size: 14.5px; color: var(--muted); }

/* FAQ */
.faq h2 { margin-bottom: 18px; }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none; font-family: var(--display); font-size: 17px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex-shrink: 0; font-family: var(--body); font-size: 22px; font-weight: 400; color: var(--accent); }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 18px; color: var(--muted); max-width: 720px; }

/* Contact */
.contact { padding-bottom: 0; }
.contact-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding-top: 48px; padding-bottom: 56px; background: var(--soft); border-radius: 16px; margin: 0 var(--gutter); max-width: calc(1280px - 2 * var(--gutter)); }
@media (min-width: 1281px) { .contact-in { margin: 0 auto; } }
.contact h2 { margin-bottom: 14px; font-size: 30px; }
.contact-copy p { color: var(--muted); }
.enquiry { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.opt { font-weight: 400; color: var(--muted-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; font-size: 15px; color: var(--ink); background: #FFFFFF; border: 1px solid #A9B8B0; border-radius: 8px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: 3px solid rgba(38, 105, 74, 0.25); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--down); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { font-size: 14.5px; color: var(--ink-2); }
.form-status.err { color: var(--down); }

/* Footer */
.foot { margin-top: 64px; border-top: 1px solid var(--line-2); }
.foot-in { display: flex; align-items: center; gap: 20px; padding-top: 18px; padding-bottom: 18px; font-size: 13.5px; color: var(--muted-2); }
.foot-in nav { margin-left: auto; display: flex; gap: 4px; }
.foot-in nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; }

/* Tablet */
@media (max-width: 1020px) {
  :root { --gutter: 32px; }
  .hero h1 { font-size: 44px; }
  .ads-in, .contact-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .three, .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-box { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .shot-nav { display: none; }
}

/* Phone */
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  section { padding-top: 60px; }
  h2 { font-size: 27px; }
  .top-in { gap: 8px; }
  .nl { display: none; }
  .nl.nl-keep { display: inline-flex; padding: 0 8px; }
  .wordmark { font-size: 17px; }
  .mark { width: 38px; height: 38px; }
  .top-nav .btn { margin-left: 2px; padding: 0 14px; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: 34px; letter-spacing: -0.8px; }
  .lede { font-size: 16.5px; }
  .hero .btn-lg { width: 100%; }
  .musts { flex-direction: column; align-items: center; }
  .shot-body { min-height: 0; }
  .shot-main { padding: 14px; }
  .shot-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shot-num { font-size: 22px; }
  .c-vol { display: none; }
  .three, .grid, .includes, .field-row { grid-template-columns: minmax(0, 1fr); }
  .serp-row { grid-template-columns: 80px minmax(0, 1fr); }
  .serp-note { grid-column: 2; text-align: left; }
  .serp-note:empty { display: none; }
  .price-box { padding: 28px 22px; }
  .price-box .btn { width: 100%; }
  .contact-in { padding: 32px 20px; border-radius: 12px; }
  .foot-in { flex-direction: column; align-items: flex-start; gap: 4px; }
  .foot-in nav { margin-left: -10px; }
}
