/* Shared styles for index.html, pt.html and es.html */

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

:root {
  --bg: #121212;
  --surface: #1C1C1C;
  --border: #2E2E2E;
  --border-strong: #3A3A3A;
  --text: #F5F2EC;
  --text-2: #CFCAC0;
  --text-3: #A8A399;
  --accent: #F08A3C;
  --accent-text: #F59A52;
  --accent-deep: #A84E05;
  --cream: #F5F2EC;
  --paper: #FAFAF7;
  --sand: #F3F0EA;
  --line: #E8E4DC;
  --ink: #1A1A1A;
  --ink-2: #4A4A4A;
  --ink-3: #5C5C5C;
  --display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --body: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent-text); }
a:hover { color: #FFB47A; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--accent); color: var(--ink);
  padding: 8px 16px; font-weight: 600; z-index: 1000; text-decoration: none;
}
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 16px 26px;
  font: 600 17px/1 var(--body);
  border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-google { background: #FFFFFF; color: var(--ink); }
.btn-google:hover { background: #F0EDE6; color: var(--ink); }
.btn-ghost { color: var(--text); border: 1px solid #444444; }
.btn-ghost:hover { color: var(--text); border-color: #777777; }
.btn-accent { background: var(--accent); color: var(--bg); font-weight: 700; }
.btn-accent:hover { background: #F5A060; color: var(--bg); }
.btn-ink-outline { color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ink-outline:hover { background: var(--ink); color: #FFFFFF; }
.btn-sm { min-height: 44px; padding: 11px 20px; font-size: 15px; }
.btn svg { flex: none; }

/* Header */
.site-header { position: relative; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 24px var(--display); }
.logo:hover { color: var(--text); }
.logo img { width: 36px; height: 36px; border-radius: 50%; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.site-nav a { color: var(--text-2); text-decoration: none; }
.site-nav a:hover { color: var(--text); }
.site-nav .nav-signin { color: var(--text); font-weight: 600; border: 1px solid var(--border-strong); padding: 11px 18px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--border-strong); border-radius: 12px; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 12px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .site-nav .nav-signin { justify-content: center; margin-top: 4px; }
}

/* Hero */
.hero { padding: 64px 0 40px; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text-2); border: 1px solid #333333; padding: 8px 14px; border-radius: 999px; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(44px, 7vw, 88px); line-height: 0.98; letter-spacing: -0.03em; max-width: 1000px; }
.hero-sub { font-size: clamp(18px, 2vw, 20px); line-height: 1.55; color: var(--text-2); max-width: 640px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-note { font-size: 14px; color: var(--text-3); }

/* Product mockup */
.mockup-section { padding: 24px 0 96px; }
.mockup-frame { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 12px; box-shadow: 0 40px 120px rgba(232, 131, 58, 0.10); }
.mockup { background: var(--paper); color: var(--ink); border-radius: 16px; overflow: hidden; display: flex; flex-wrap: wrap; }
.mockup-side { flex: 1 1 300px; min-width: 0; background: var(--sand); padding: 28px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--line); }
.mockup-main { flex: 2 1 420px; min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.eyebrow { font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; }
.mockup-title { font: 700 22px/1.2 var(--display); }
.phase-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.phase { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; color: var(--ink-3); }
.phase-num { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #BDB6AA; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.phase.is-current { background: #FFFFFF; border: 1.5px solid var(--accent-deep); color: var(--ink); font-weight: 600; }
.phase.is-current .phase-num { background: var(--accent-deep); border-color: var(--accent-deep); color: #FFFFFF; }
.mockup-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.mockup-head h3 { font-size: clamp(20px, 2.2vw, 26px); }
.badge { font-size: 13px; font-weight: 600; color: #7A3904; background: #FBEFE4; padding: 6px 10px; border-radius: 999px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.card .eyebrow { letter-spacing: 0.06em; }
.card strong { font-weight: 600; }
.card small { font-size: 14px; color: var(--ink-3); }
.card.is-deliverable { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.card.is-deliverable .eyebrow { color: var(--accent-text); }
.chat { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: #FFFBF7; font-size: 14px; }
.chat-q { align-self: flex-end; background: var(--ink); color: #FFFFFF; padding: 10px 14px; border-radius: 14px 14px 4px 14px; max-width: 80%; }
.chat-a { display: flex; gap: 10px; align-items: flex-start; }
.chat-a img { flex: none; width: 28px; height: 28px; border-radius: 50%; }
.chat-a p { line-height: 1.55; background: #FFFFFF; border: 1px solid var(--line); padding: 10px 14px; border-radius: 14px 14px 14px 4px; }

@media (max-width: 760px) { .mockup-side { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Problem */
.problem { background: var(--cream); color: var(--ink); }
.problem .container { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 48px; }
.problem h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; max-width: 820px; }
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.problem-item { border-top: 3px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.problem-item h3 { font-size: 22px; line-height: 1.2; }
.problem-item p { color: var(--ink-2); font-size: 17px; }

/* Comparison */
.compare { padding: 104px 0; }
.compare h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.06; max-width: 700px; margin-bottom: 40px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 18px; }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; }
.compare thead th { color: var(--text-3); font-size: 14px; font-weight: 500; }
.compare thead th.is-bindi { color: var(--bg); background: var(--accent); font-weight: 700; }
.compare tbody tr { border-top: 1px solid var(--border); }
.compare tbody th { font-weight: 500; color: var(--text-2); }
.compare tbody td { color: var(--text-3); }
.compare tbody td.is-bindi { color: var(--text); font-weight: 600; background: #1F1A15; }

/* Founder */
.founder { padding: 0 0 104px; }
.founder-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.founder-quote { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.founder-quote .eyebrow { color: var(--accent-text); font-size: 13px; letter-spacing: 0.1em; }
.founder-quote blockquote { font: 700 clamp(32px, 4vw, 52px)/1.05 var(--display); letter-spacing: -0.02em; }
.founder-body { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.founder-body p { color: var(--text-2); font-size: 19px; line-height: 1.65; }
.founder-sign { display: flex; gap: 14px; align-items: center; }
.founder-avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--bg); font: 700 18px var(--display); display: inline-flex; align-items: center; justify-content: center; }
.founder-sign strong { display: block; font-size: 17px; }
.founder-sign a { font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }

/* Pricing */
.pricing { background: var(--cream); color: var(--ink); }
.pricing .container { max-width: 1088px; padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 40px; align-items: center; text-align: center; }
.pricing h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.06; }
.price-grid { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; text-align: left; }
.price-card { background: #FFFFFF; border: 1px solid #E0DAD0; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.price-card h3 { font-size: 20px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price { font: 700 48px/1 var(--display); }
.price small { font: 500 15px var(--body); color: var(--ink-3); }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); }
.price-card li { padding-left: 26px; position: relative; }
.price-card li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); color: var(--accent-deep); }
.price-card .btn { margin-top: auto; min-height: 48px; padding: 14px; }
.price-card.is-featured { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.price-card.is-featured .price small, .price-card.is-featured ul { color: var(--text-2); }
.price-card.is-featured li::before { color: var(--accent); }
.tag { font: 700 12px var(--body); letter-spacing: 0.04em; color: var(--bg); background: var(--accent); padding: 5px 10px; border-radius: 999px; }

/* Final CTA */
.final { padding: 120px 0; text-align: center; }
.final .container { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final h2 { font-size: clamp(36px, 5.6vw, 72px); line-height: 1; letter-spacing: -0.03em; max-width: 900px; }
.final p { font-size: 14px; color: var(--text-3); }

/* Footer */
.site-footer { border-top: 1px solid #2A2A2A; }
.footer-inner { padding-top: 28px; padding-bottom: 110px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--text-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--text-3); }
.footer-links a:hover { color: var(--text); }

/* Sticky CTA bar: shown once the hero buttons scroll out of view */
.sticky-cta {
  position: fixed; left: 50%; bottom: 16px; z-index: 60;
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  width: max-content; max-width: calc(100% - 32px);
  background: rgba(28, 28, 28, 0.94); border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 8px 8px 8px 22px; display: flex; align-items: center; gap: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sticky-cta.visible { transform: translate(-50%, 0); opacity: 1; }
.sticky-cta span { font-size: 15px; font-weight: 500; }
@media (max-width: 480px) { .sticky-cta span { font-size: 14px; } }

/* ---------- For Teams page ---------- */
.logo-tag { font: 600 13px var(--body); color: var(--text-2); border: 1px solid var(--border-strong); padding: 4px 8px; border-radius: 6px; }
.site-nav .nav-cta { color: var(--bg); background: var(--accent); font-weight: 700; padding: 11px 18px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.site-nav .nav-cta:hover { color: var(--bg); background: #F5A060; }
.btn-white { background: #FFFFFF; color: var(--ink); }
.btn-white:hover { background: #F0EDE6; color: var(--ink); }

/* Dashboard mockup */
.dash-main { flex: 2 1 560px; min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.dash-side { flex: 1 1 300px; min-width: 0; background: var(--sand); padding: 28px; display: flex; flex-direction: column; gap: 16px; border-left: 1px solid var(--line); }
.dash-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.dash-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.dash-table th { text-align: left; padding: 12px 16px; font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; background: var(--sand); }
.dash-table td { padding: 14px 16px; border-top: 1px solid var(--line); }
.dash-table td:first-child { font-weight: 600; }
.dash-table td:nth-child(2) { color: var(--ink-2); }
.progress { display: flex; align-items: center; gap: 10px; }
.progress-bar { flex: 1; min-width: 120px; height: 8px; background: #EFEAE1; border-radius: 999px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: var(--accent-deep); }
.progress small { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.gap-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.gap-list li { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.dash-note { margin-top: auto; background: var(--ink); color: #FFFFFF; border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.5; }
@media (max-width: 760px) { .dash-side { border-left: 0; border-top: 1px solid var(--line); } }

/* Stats */
.stats { padding: 0 0 96px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.stat { padding: 28px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 0 -1px -1px 0; }
.stat strong { font: 700 48px/1.1 var(--display); color: var(--accent); }
.stat span { color: var(--text-2); }

/* Steps (dark cards) */
.steps-dark { padding: 104px 0; }
.steps-dark h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.06; max-width: 700px; margin-bottom: 40px; }
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.step-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.step-card .step-num { font: 700 40px/1 var(--display); color: var(--accent); }
.step-card h3 { font-size: 22px; }
.step-card p { color: var(--text-2); }

/* What employees get */
.perks { padding: 0 0 104px; }
.perks-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.perks-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.perks-copy .eyebrow { color: var(--accent-text); font-size: 13px; letter-spacing: 0.1em; }
.perks-copy h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.06; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; color: var(--text-2); font-size: 17px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { flex: none; margin-top: 3px; }
.perks-demo { flex: 1 1 380px; min-width: 0; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.perks-phase { border: 1.5px solid var(--accent-deep); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #FFFBF7; font-size: 14px; color: var(--ink-2); }
.perks-phase strong { font-size: 16px; color: var(--ink); }
.perks-phase b { color: var(--ink); }

/* Teams pricing */
.team-pricing { background: var(--cream); color: var(--ink); }
.team-pricing .container { max-width: 1088px; padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.team-pricing-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.team-pricing-copy h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.06; }
.team-pricing-copy p { color: var(--ink-2); font-size: 18px; }
.team-price-card { flex: 1 1 420px; min-width: 0; background: var(--ink); color: #FFFFFF; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.team-price-card h3 { font-size: 20px; display: flex; justify-content: space-between; align-items: center; }
.team-price-card .price small { color: var(--text-2); }
.team-price-card ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; color: var(--text-2); font-size: 15px; }
.team-price-card li { padding-left: 24px; position: relative; }
.team-price-card li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.team-price-card .btn { margin-top: 8px; min-height: 48px; padding: 14px; }

/* Founder strip */
.founder-strip { padding: 104px 0 0; }
.founder-strip figure { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; border-bottom: 1px solid var(--border); padding-bottom: 56px; }
.founder-strip blockquote { flex: 1 1 480px; font: 500 clamp(24px, 2.8vw, 34px)/1.25 var(--display); }
.final-sub { font-size: 18px !important; color: var(--text-2) !important; max-width: 560px; }
