/* PoloPilot — implemented from "PoloPilot Home Gold.dc.html" (Claude Design) */

:root {
  --bg: #D4AF37;
  --ink: #0B0A08;
  --ink-hover: #3A2F0E;
  --panel: #0B0A08;
  --panel-tile: #141210;
  --panel-border: #2A2820;
  --text: #F2F0EA;
  --text-body: #B8B4A8;
  --text-muted: #9A968A;
  --gold: #D4AF37;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  font-family: 'Instrument Sans', -apple-system, 'Helvetica Neue', sans-serif;
  color: var(--ink);
  background-image:
    linear-gradient(rgba(11, 10, 8, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 10, 8, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-hover); }
::selection { background: var(--ink); color: var(--gold); }

.page {
  width: 100%;
  max-width: 1100px;
  position: relative;
}

/* Handwritten annotations */
.annotation {
  font-family: 'Caveat', cursive;
  position: absolute;
  line-height: 1.2;
  font-weight: 600;
}

/* Nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 48px;
}

.wordmark {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.18em;
  border: 2px solid rgba(11, 10, 8, 0.35);
  border-radius: 999px;
  padding: 8px 18px;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { color: rgba(11, 10, 8, 0.6); }
.nav-links a:hover { color: var(--ink-hover); }
.nav-links a.active { color: var(--ink); }

/* Hero */
.hero {
  padding: 80px 48px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  position: relative;
}

.annotation-hero-top {
  top: 10px;
  right: 160px;
  font-size: 21px;
  color: rgba(11, 10, 8, 0.75);
  transform: rotate(4deg);
  text-align: right;
}

.annotation-hero-left {
  bottom: 150px;
  left: 40px;
  font-size: 22px;
  color: var(--ink);
  transform: rotate(-5deg);
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5.5vw, 54px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  max-width: 760px;
  text-wrap: pretty;
}

.underlined {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 500;
  position: relative;
}

.underlined svg {
  position: absolute;
  left: -4px;
  bottom: -12px;
  width: 110%;
  height: 14px;
}

.hero-sub {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(11, 10, 8, 0.65);
  max-width: 560px;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 999px;
}

.btn-primary {
  background: var(--ink);
  color: var(--gold);
  font-weight: 600;
}
.btn-primary:hover { background: #1B1710; color: var(--gold); }

.btn-outline {
  border: 1px solid rgba(11, 10, 8, 0.4);
  color: var(--ink);
  font-weight: 500;
}
.btn-outline:hover { color: var(--ink); border-color: rgba(11, 10, 8, 0.65); }

/* HomePilot showcase */
.showcase {
  margin: 0 48px 56px;
  background: var(--panel);
  border-radius: 20px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 44px;
  align-items: start;
  position: relative;
  box-shadow: 0 30px 80px rgba(11, 10, 8, 0.25);
  color: var(--text);
}

.annotation-showcase {
  top: -38px;
  right: 310px;
  font-size: 22px;
  color: var(--ink);
  transform: rotate(-3deg);
}

.showcase-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.app-icon {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  flex: none;
}

.app-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.app-name {
  font-size: 26px;
  font-weight: 600;
}

.badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: #241E0E;
  border-radius: 999px;
  padding: 5px 11px;
}

.app-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.app-description {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-body);
  text-wrap: pretty;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.feature {
  background: var(--panel-tile);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-body);
}

.feature strong { color: var(--text); }

.feature-private { position: relative; }

.annotation-promise {
  bottom: -24px;
  left: 14px;
  font-size: 19px;
  color: rgba(212, 175, 55, 0.85);
  transform: rotate(-2deg);
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  border: 1px solid #3A382F;
  border-radius: 10px;
  padding: 9px 18px 9px 14px;
  width: max-content;
}

.app-store-badge svg { width: 26px; height: 26px; fill: #fff; }

.app-store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.app-store-badge-text .eyebrow-small {
  font-size: 10px;
  color: var(--text-body);
}

.app-store-badge-text .store-name {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

.app-store-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.app-store-links--spaced {
  margin-top: 36px;
  margin-bottom: 28px;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-body);
}

.legal-links a { color: var(--text-body); }
.legal-links a:hover { color: var(--gold); }

.legal-links a + a { border-left: 1px solid var(--panel-border); padding-left: 10px; }

/* Phone mockup */
.phone {
  width: 300px;
  box-sizing: border-box;
  background: #050504;
  border: 2px solid rgba(212, 175, 55, 0.55);
  border-radius: 42px;
  padding: 10px;
  box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.12), 0 24px 60px rgba(0, 0, 0, 0.6);
  transform: rotate(1.5deg);
}

.phone-screen {
  position: relative;
  border-radius: 33px;
  overflow: hidden;
  background: var(--panel);
}

.phone-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 26px;
  background: #050504;
  border-radius: 999px;
}

/* The crew */
.crew {
  padding: 0 48px 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-heading .eyebrow {
  margin: 0;
  color: var(--ink);
}

.rule {
  flex: 1;
  height: 1px;
  background: rgba(11, 10, 8, 0.25);
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.crew-card {
  border: 1.5px solid rgba(11, 10, 8, 0.35);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crew-card-waiting { border-color: rgba(11, 10, 8, 0.2); }

.crew-name {
  font-size: 16px;
  font-weight: 700;
}

.crew-card-waiting .crew-name { color: rgba(11, 10, 8, 0.75); }

.crew-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.crew-role-active { color: var(--ink); }
.crew-card-waiting .crew-role { color: rgba(11, 10, 8, 0.5); }

.crew-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(11, 10, 8, 0.65);
}

.crew-card-waiting p { color: rgba(11, 10, 8, 0.55); }

/* Subpages (Privacy Policy, Support) */
.page--narrow { max-width: 860px; }

.subpage {
  padding: 56px 48px 96px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.subpage--contact { gap: 44px; }

.page-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.annotation-page {
  top: -8px;
  right: 0;
  font-size: 21px;
  color: rgba(11, 10, 8, 0.75);
  transform: rotate(3deg);
  text-align: right;
}

.page-header h1 {
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.page-meta {
  margin: 0;
  font-size: 14px;
  color: rgba(11, 10, 8, 0.55);
}

.page-lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(11, 10, 8, 0.65);
  max-width: 520px;
  text-wrap: pretty;
}

.callout {
  background: var(--panel);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 20px 50px rgba(11, 10, 8, 0.25);
}

.callout .eyebrow { color: var(--gold); }

.callout > p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  text-wrap: pretty;
}

.callout--contact {
  padding: 32px 28px;
  gap: 8px;
}

.contact-email {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  color: var(--text);
}
.contact-email:hover { color: var(--gold); }

.contact-note {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.content-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-section h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.content-section p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(11, 10, 8, 0.7);
  text-wrap: pretty;
}

.content-section ul {
  margin: 0;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(11, 10, 8, 0.7);
}

.content-section strong {
  color: var(--ink);
  font-weight: 600;
}

.content-section a,
.faq-item a {
  font-weight: 600;
  text-decoration: underline;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.faq-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.faq-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(11, 10, 8, 0.7);
  text-wrap: pretty;
}

/* Footer */
.footer {
  padding: 30px 48px 40px;
  border-top: 1px solid rgba(11, 10, 8, 0.25);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(11, 10, 8, 0.6);
}

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

.footer a { color: rgba(11, 10, 8, 0.6); }
.footer a:hover { color: var(--ink-hover); }

/* Responsive */
@media (max-width: 960px) {
  .annotation-hero-top,
  .annotation-hero-left,
  .annotation-showcase { display: none; }

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

  .phone {
    margin: 0 auto;
  }

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

@media (max-width: 640px) {
  .annotation-page { display: none; }
  .subpage { padding: 40px 24px 64px; }
  .page-header h1 { font-size: 32px; }
  .contact-email { font-size: 20px; }

  .nav { padding: 20px 24px; }
  .hero { padding: 56px 24px 48px; }
  .showcase { margin: 0 24px 48px; padding: 28px 22px; }
  .crew { padding: 0 24px 48px; }
  .footer { padding: 24px 24px 32px; flex-direction: column; }

  .feature-grid { grid-template-columns: 1fr; }
  .annotation-promise { display: none; }

  .phone {
    width: 260px;
  }
}
