/* Plankmate public site. Brand: navy #0B2A3F, amber #F5A524. No external fonts or scripts. */
:root {
  --navy: #0b2a3f;
  --navy-2: #123a55;
  --amber: #f5a524;
  --amber-dark: #e08e0b;
  --ink: #12202b;
  --muted: #5b6b78;
  --line: #dde4ea;
  --soft: #f4f7fa;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(11, 42, 63, 0.18);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); line-height: 1.6; background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.15; color: var(--navy); margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--navy); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand img { height: 30px; width: auto; }
nav { display: flex; align-items: center; gap: 4px; }
nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; }
nav a:not(.btn):hover, nav a[aria-current='page'] { background: var(--soft); color: var(--navy); }
nav a { white-space: nowrap; }
/* Six links and three buttons: tighten the spacing on mid-sized screens so the menu stays on one line. */
@media (min-width: 901px) and (max-width: 1240px) { nav a:not(.btn) { padding: 8px 7px; font-size: 0.94rem; } .btn.small { padding: 7px 10px; margin-left: 2px; font-size: 0.88rem; } .bar-row { gap: 10px; } }
.menu { display: none; border: 1px solid var(--line); background: var(--white); border-radius: 8px; padding: 8px 14px; font: inherit; font-weight: 600; color: var(--navy); }

/* Buttons */
.btn { display: inline-block; border-radius: 10px; padding: 10px 18px; font-weight: 650; text-decoration: none; background: var(--navy); color: var(--white); border: 2px solid var(--navy); transition: transform 0.12s, background 0.12s; }
.btn:hover { transform: translateY(-1px); background: var(--navy-2); border-color: var(--navy-2); }
.btn.small { padding: 7px 14px; font-size: 0.92rem; margin-left: 6px; }
.btn.big { padding: 14px 26px; font-size: 1.05rem; }
.btn.amber { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.btn.amber:hover { background: var(--amber-dark); border-color: var(--amber-dark); }
.btn.ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.ghost:hover { background: var(--soft); }
.btn.light { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn.ghost-light { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.btn.ghost-light:hover { background: rgba(255, 255, 255, 0.12); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Hero */
.hero { padding: 72px 0 56px; background: radial-gradient(1100px 500px at 80% -10%, #fff3d6 0%, transparent 60%), var(--white); }
.hero .eyebrow, .eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; color: var(--amber-dark); margin-bottom: 10px; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 46em; }
.hero-shot { margin-top: 44px; }
.hero.page { padding: 56px 0 24px; }

/* Screenshots */
.browser { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line); }
.browser .bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--soft); border-bottom: 1px solid var(--line); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #c8d2db; }
.browser img { width: 100%; }
.phone { margin: 0 auto; width: min(270px, 100%); border: 9px solid var(--navy); border-radius: 36px; overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.phone img { width: 100%; }

/* Sections */
.band { padding: 72px 0; }
.band.alt { background: var(--soft); }
.band h2, .roles h2 { text-align: center; }
.sub { text-align: center; color: var(--muted); max-width: 44em; margin: 0 auto 36px; font-size: 1.1rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { display: block; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; color: var(--ink); transition: box-shadow 0.15s, transform 0.15s; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }
.card .more { color: var(--navy-2); font-weight: 650; }
.card .more::after { content: ' \2192'; }
.card.plain { background: var(--white); }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 0; }
.chips li { padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 550; }
.chips li.on { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Features */
.feature { padding: 64px 0; }
.feature:nth-of-type(even) { background: var(--soft); }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.feature.flip .split { grid-template-columns: 1.25fr 1fr; }
.feature.flip .copy { order: 2; }
.hero.page .split { grid-template-columns: 1fr 1.2fr; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='%230B2A3F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Role tabs */
.roles { padding: 72px 0; background: var(--soft); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.tabs button { font: inherit; font-weight: 650; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; }
.tabs button[aria-selected='true'] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.panel[hidden] { display: none; }
.no-js .panel[hidden] { display: block; }
.no-js .tabs { display: none; }
.panel + .panel { margin-top: 40px; }
.panel .split { background: var(--white); padding: 36px; border-radius: var(--radius); border: 1px solid var(--line); }

/* Call to action */
.cta { background: var(--navy); color: var(--white); text-align: center; padding: 72px 0; }
.cta h2 { color: var(--white); }
.cta p { color: #c8d6e0; max-width: 40em; margin-inline: auto; }
.cta .actions { justify-content: center; }

/* Footer */
footer { background: #07202f; color: #c8d6e0; padding: 48px 0 24px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer img { height: 30px; width: auto; margin-bottom: 8px; }
footer h3 { color: var(--white); font-size: 1rem; }
footer a { display: block; color: #c8d6e0; text-decoration: none; padding: 3px 0; }
footer a:hover { color: var(--amber); }
footer .muted { color: #8fa4b3; }
.legal { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.9rem; color: #8fa4b3; }

/* Pilot sign-up */
.pilot-hero { padding-bottom: 40px; }
.pilot-band { background: var(--soft); padding: 48px 0 80px; }
.pilot-layout { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
.pilot-side { position: sticky; top: 96px; }
.pilot-side h2 { text-align: left; font-size: 1.35rem; margin-bottom: 20px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 22px 52px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; display: grid; place-items: center; }
.steps li:not(:last-child)::after { content: ''; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--line); }
.steps strong { display: block; color: var(--navy); }
.steps span { color: var(--muted); }
.aside-note { color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 4px; }
.pilot-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 36px; }
.pilot fieldset { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.pilot legend { font-size: 1.2rem; font-weight: 700; color: var(--navy); padding: 0; margin: 0 0 20px; float: left; width: 100%; line-height: 30px; }
.pilot legend + * { clear: both; }
.pilot .num { display: inline-block; vertical-align: top; width: 30px; height: 30px; margin-right: 12px; border-radius: 50%; background: var(--amber); color: var(--navy); font-size: 0.95rem; line-height: 30px; text-align: center; }
.pilot .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.pilot fieldset > .field { margin-bottom: 18px; }
.pilot .field { display: flex; flex-direction: column; gap: 10px; }
.pilot .field > * { margin: 0; }
.pilot textarea, .pilot select, .pilot input { display: block; }
.pilot label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.pilot label span { color: #b3261e; }
.pilot input, .pilot select, .pilot textarea { font: inherit; padding: 11px 13px; border: 1px solid #b9c5cf; border-radius: 10px; background: var(--white); color: var(--ink); width: 100%; transition: border-color 0.12s, box-shadow 0.12s; }
.pilot input::placeholder, .pilot textarea::placeholder { color: #8a99a6; }
.pilot input:hover, .pilot select:hover, .pilot textarea:hover { border-color: var(--navy-2); }
.pilot input:focus, .pilot select:focus, .pilot textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.35); }
.pilot [aria-invalid="true"] { border-color: #b3261e; background: #fff7f6; }
.pilot textarea { resize: vertical; min-height: 170px; width: 100%; }
.pilot .trap { display: none !important; }
.submit-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; }
.submit-row .btn { cursor: pointer; font: inherit; font-weight: 700; }
.submit-row .btn:disabled { opacity: 0.6; cursor: wait; }
.submit-row p { margin: 0; flex: 1 1 220px; }
.muted.small { color: var(--muted); font-size: 0.88rem; }
#pilot-status { font-weight: 600; margin: 0 0 12px; }
#pilot-status:empty { display: none; }
#pilot-status.error { color: #b3261e; }
.pilot-done { text-align: center; padding: 40px 10px; }
.pilot-done h2 { text-align: center; }
.pilot-done .check { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='%230B2A3F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/36px no-repeat; }
@media (max-width: 900px) {
  .pilot-layout { grid-template-columns: 1fr; gap: 28px; }
  .pilot-side { position: static; }
  .pilot-card { padding: 22px 18px; }
  .pilot .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .split, .feature.flip .split, .hero.page .split { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .copy { order: 0; }
  .foot { grid-template-columns: 1fr; }
  .panel .split { padding: 20px; }
  .menu { display: block; }
  nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 18px; }
  nav.open { display: flex; }
  .btn.small { margin: 6px 0 0; text-align: center; }
  .hero { padding-top: 44px; }
}
/* With six links the full menu needs about 1040px; below that it folds into the Menu button. */
@media (max-width: 1040px) {
  .menu { display: block; }
  nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 18px; }
  nav.open { display: flex; }
  .btn.small { margin: 6px 0 0; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .card { transition: none; } }

/* Long pages of text (the privacy policy). */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; font-size: 1.35rem; }
.prose ul { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }

/* Demo videos. */
.demos { display: grid; gap: 40px; }
.demo { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.demo video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #0b2a3f; box-shadow: var(--shadow); border: 1px solid var(--line); }
.demo h2 { text-align: left; margin-bottom: 4px; }
.demo .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; }
.more { text-align: center; color: var(--muted); margin-top: 40px; }
.actions.center { justify-content: center; }
@media (max-width: 800px) { .demo { grid-template-columns: 1fr; gap: 18px; } }
