/* Gainforce — showcase site. Same palette as the two apps: beige carries
   navigation, orange carries actions. */
:root {
  --bg: #141414;
  --surface-1: #2a2a2a;
  --surface-2: #1a1a1a;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f5f4;
  --muted: #a8a29e;
  --beige: #d4a574;
  --orange: #f97316;
  --orange-600: #ea580c;
  --teal: #2dd4bf;
  --radius: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(20, 20, 20, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--beige);
}
.top-in { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { font-weight: 900; font-size: 20px; letter-spacing: -0.02em; }
.brand span { color: var(--beige); }
.top-nav { display: flex; gap: 22px; margin-left: 12px; font-size: 14px; color: var(--muted); }
.top-nav a:hover, .link:hover { color: var(--beige); }
.top-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.link { font-size: 14px; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: 9999px;
  background: var(--orange); color: #fff;
  font-weight: 700; font-size: 15px;
  transition: background 0.15s;
}
.btn:hover { background: var(--orange-600); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--beige); color: var(--beige); background: transparent; }
:focus-visible { outline: 2px solid var(--beige); outline-offset: 3px; }

.eyebrow {
  color: var(--beige);
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 12px;
}

/* Hero */
.hero { padding: 72px 0 64px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; font-weight: 900; letter-spacing: -0.03em; }
h1 em { font-style: normal; color: var(--beige); }
.lead { margin-top: 22px; font-size: 18px; color: var(--muted); max-width: 34em; }
.actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Phone mock — an illustration of the client's feed, not a screenshot */
.phone {
  justify-self: center;
  width: 300px; padding: 14px 14px 10px;
  background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 6px #0c0c0c;
  display: grid; gap: 10px;
}
.phone-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 6px 10px; border-bottom: 1px solid var(--beige); font-size: 14px;
}
.phone-head .dot, .phone-head .bell { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--beige); }
.phone-head .bell { border-radius: 6px 6px 9px 9px; }
.card { background: var(--surface-1); border-radius: 16px; padding: 14px; display: grid; gap: 6px; font-size: 13px; }
.card p { color: var(--muted); line-height: 1.45; }
.card strong { font-size: 15px; }
.card.pinned { border: 1px solid rgba(212, 165, 116, 0.45); }
.from, .tag { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--beige); }
.tag { color: var(--muted); }
.pill { justify-self: start; margin-top: 4px; padding: 8px 14px; border-radius: 9999px; background: var(--orange); color: #fff; font-weight: 700; font-size: 12px; }
.bar { height: 8px; border-radius: 9999px; background: #3a3a3a; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--teal); border-radius: inherit; }
.card.row { grid-template-columns: 1fr auto; align-items: center; }
.card.row div { display: grid; gap: 4px; }
.check { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--teal); }
.tabs { display: flex; justify-content: space-around; padding: 10px 0 4px; border-top: 1px solid var(--beige); margin-top: 2px; }
.tabs i { width: 22px; height: 4px; border-radius: 4px; background: #4a4a4a; }
.tabs i.on { background: var(--beige); }

/* Band */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.three div { display: grid; gap: 2px; }
.three strong { font-size: 16px; }
.three span { color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding: 84px 0; }
.section.alt { background: var(--surface-2); }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; max-width: 20em; }
.sub { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 40em; }
h3 { font-size: 18px; line-height: 1.3; font-weight: 700; }

.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps li { background: var(--surface-1); border-radius: var(--radius); padding: 22px 18px; display: grid; gap: 10px; align-content: start; }
.steps p, .grid p { color: var(--muted); font-size: 15px; }
.n {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--beige); color: var(--beige);
  font-weight: 800; font-size: 15px;
}

.grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid article { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }

.price, .eleves { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.price-list, .ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.price-list li { background: var(--surface-1); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 4px; border-left: 3px solid var(--beige); }
.price-list span { color: var(--muted); font-size: 15px; }
.ticks li { position: relative; padding: 14px 16px 14px 46px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; font-size: 15px; }
.ticks li::before {
  content: ''; position: absolute; left: 18px; top: 19px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

.final { text-align: center; }
.final h2, .final .sub { margin-left: auto; margin-right: auto; }
.final .actions { justify-content: center; }

/* Footer */
.foot { border-top: 1px solid var(--beige); padding: 28px 0; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a:hover { color: var(--beige); }
.foot small { margin-left: auto; font-size: 13px; }

@media (max-width: 960px) {
  .top-nav { display: none; }
  .hero { padding: 44px 0 48px; }
  .hero-in, .price, .eleves { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .top-cta .link { display: none; }
  .three, .steps, .grid { grid-template-columns: 1fr; }
  .phone { width: 100%; max-width: 300px; }
  .foot small { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
