/* Fyucha Hub website. Forest green and gold from the app, on a cool white. */

:root {
  --forest: #1f4d3d;
  --deep: #0f2b21;
  --deeper: #091c15;
  --gold: #c9902d;
  --gold-light: #e3b458;
  --gold-tint: #f6e9ce;
  --mist: #eef3ef;
  --white: #ffffff;
  --ink: #14201b;
  --ink-soft: #4a5a52;
  --line: #d8e1db;

  --display: "Bricolage Grotesque", "IBM Plex Sans", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; letter-spacing: -0.025em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold-light); color: var(--deeper); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.sprite { position: absolute; width: 0; height: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--gold-light); color: var(--deeper); }
.btn-gold:hover { background: #efc671; }
.btn-line { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.btn-line:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn-forest { background: var(--forest); color: var(--white); }
.btn-forest:hover { background: var(--deep); }
.btn-ghost { border-color: var(--forest); color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: var(--white); }

/* ---- Header ---- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(9, 28, 21, 0.92); backdrop-filter: blur(10px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 20px; }
.logo img { height: 30px; width: auto; }
.top .back { min-height: 42px; padding: 0 20px; font-size: 0.95rem; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 0.97rem; }
.nav a:not(.btn):hover { color: var(--white); }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 0.95rem; }
.menu { display: none; background: none; border: 0; color: var(--white); width: 44px; height: 44px; cursor: pointer; }
.menu span, .menu span::before, .menu span::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; border-radius: 2px; content: ""; }
.menu span::before { position: absolute; top: -7px; }
.menu span::after { position: absolute; top: 7px; }

@media (max-width: 860px) {
  .menu { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px; background: var(--deeper); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav .btn { margin-top: 16px; }
}

/* ---- Hero ---- */
.hero { background: radial-gradient(1200px 600px at 85% 20%, #1c5240 0%, transparent 60%), var(--deep); color: var(--white); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(48px, 9vw, 120px); }
.hero h1 { font-size: clamp(2.8rem, 7.2vw, 5.8rem); font-weight: 800; line-height: 0.96; letter-spacing: -0.035em; max-width: 13ch; text-wrap: balance; }
.hero .lead { margin-top: 28px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255, 255, 255, 0.82); max-width: 34em; }
.hero .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero .note { margin-top: 22px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.6); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { max-width: 14ch; }
}

/* The mock interview inside the phone */
.phone-stage { display: flex; justify-content: center; }
.phone {
  width: min(310px, 82vw); aspect-ratio: 310 / 640; border-radius: 46px; padding: 11px;
  background: linear-gradient(160deg, #26332d, #0b130f); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.55), 0 0 0 1.5px rgba(255, 255, 255, 0.12) inset;
  position: relative;
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 86px; height: 24px; background: #070d0a; border-radius: 14px; transform: translateX(-50%); z-index: 3; }
.screen { height: 100%; border-radius: 36px; overflow: hidden; background: linear-gradient(180deg, #0c261c 0%, #123a2c 100%); display: flex; flex-direction: column; position: relative; }
.kesho { display: grid; place-items: center; padding: 54px 0 12px; position: relative; }
.kesho .face { width: 96px; height: 96px; position: relative; z-index: 1; }
.kesho::before { content: ""; position: absolute; width: 130px; height: 130px; border-radius: 50%; top: 40px; background: radial-gradient(circle, rgba(227, 180, 88, 0.45), transparent 68%); animation: breathe 3.4s ease-in-out infinite; }
.kesho .state { margin-top: 6px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.7); }
.wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 22px; margin-top: 8px; }
.wave i { width: 3px; border-radius: 3px; background: var(--gold-light); height: 5px; animation: talk 1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: -0.3s; }
.wave i:nth-child(3n) { animation-delay: -0.6s; }
.wave i:nth-child(5n) { animation-delay: -0.15s; }
.chat { flex: 1; padding: 6px 14px 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; }
.bubble { max-width: 86%; padding: 9px 13px; border-radius: 16px; font-size: 0.8rem; line-height: 1.4; }
.bubble.k { background: rgba(255, 255, 255, 0.94); color: var(--ink); border-bottom-left-radius: 5px; align-self: flex-start; }
.bubble.s { background: var(--gold-light); color: var(--deeper); border-bottom-right-radius: 5px; align-self: flex-end; }
.bubble[hidden] { display: none; }
.score { margin-top: 2px; background: var(--white); color: var(--ink); border-radius: 16px; padding: 12px 14px; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.score[hidden] { display: none; }
.score b { font-family: var(--display); font-size: 1.9rem; color: var(--forest); line-height: 1; }
.score b small { font-size: 0.7rem; color: var(--ink-soft); font-weight: 500; }
.score span { font-size: 0.76rem; line-height: 1.35; color: var(--ink-soft); }
@keyframes breathe { 0%, 100% { transform: scale(0.94); opacity: 0.7; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes talk { 0%, 100% { height: 5px; } 50% { height: 20px; } }
.phone.quiet .wave i { animation: none; height: 5px; }

/* ---- Sections ---- */
section { scroll-margin-top: 80px; }
.band { padding-block: clamp(64px, 9vw, 120px); }
.band.mist { background: var(--mist); }
.band.dark { background: var(--deep); color: var(--white); }
.section-head { max-width: 760px; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 750; }
.section-head p { margin-top: 18px; font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }
.dark .section-head p { color: rgba(255, 255, 255, 0.75); }

/* Facts */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 26px 24px 26px 0; font-weight: 500; color: var(--ink); border-right: 1px solid var(--line); margin-right: 24px; }
.facts li:last-child { border: 0; margin: 0; }
.facts li span { display: block; color: var(--ink-soft); font-weight: 400; font-size: 0.95rem; margin-top: 2px; }
@media (max-width: 860px) {
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { border: 0; margin: 0; padding: 18px 12px 18px 0; }
}

/* The sequence: train, place, support */
.steps { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 56px); position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; border-top: 2px dashed var(--gold); opacity: 0.55; }
.step { position: relative; padding-top: 52px; }
.step::before { content: ""; position: absolute; top: 5px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px var(--mist); }
.step h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 750; }
.step p { margin-top: 12px; color: var(--ink-soft); max-width: 28em; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
  .step { padding-top: 0; padding-left: 44px; }
  .step::before { top: 8px; }
}

/* The app: a bento of different-sized tiles */
.bento { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; }
.tile h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 750; text-wrap: balance; }
.tile p { margin-top: 10px; max-width: 30em; }
.tile.place { grid-column: span 4; min-height: 420px; color: var(--white); background: linear-gradient(180deg, rgba(9, 28, 21, 0) 15%, rgba(9, 28, 21, 0.92) 85%), url("placement.jpg") center 22% / cover; }
.tile.place p { color: rgba(255, 255, 255, 0.86); }
.chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px); font-size: 0.9rem; font-weight: 500; }
.tile.kesho-tile { grid-column: span 2; background: var(--deep); color: var(--white); min-height: 420px; }
.tile.kesho-tile .face { width: 76px; height: 76px; margin-bottom: auto; flex: none; }
.tile.kesho-tile p { color: rgba(255, 255, 255, 0.78); }
.tile.skills { grid-column: span 2; background: var(--mist); }
.tile.schol { grid-column: span 2; background: var(--gold-tint); }
.tile.verify { grid-column: span 2; background: var(--forest); color: var(--white); }
.tile.skills p, .tile.schol p { color: var(--ink-soft); }
.tile.schol p { color: #5f4a1f; }
.tile.verify p { color: rgba(255, 255, 255, 0.82); }
.tile .glyph { margin-bottom: auto; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(15, 43, 33, 0.08); flex: none; }
.tile.verify .glyph { background: rgba(255, 255, 255, 0.14); }
.tile .glyph svg { width: 24px; height: 24px; }
@media (max-width: 960px) {
  .tile.place { grid-column: span 6; min-height: 380px; }
  .tile.kesho-tile, .tile.skills, .tile.schol, .tile.verify { grid-column: span 3; }
}
@media (max-width: 640px) {
  .tile.kesho-tile, .tile.skills, .tile.schol, .tile.verify { grid-column: span 6; min-height: 260px; }
}

/* Employers */
.employers .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.spots { margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.spots li { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.spots strong { font-family: var(--display); font-size: 1.25rem; font-weight: 700; }
.spots span { color: var(--gold-light); font-weight: 600; text-align: right; }
.spots small { grid-column: 1 / -1; color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.promises { margin-top: 26px; display: grid; gap: 12px; }
.promises li { padding-left: 30px; position: relative; color: rgba(255, 255, 255, 0.86); }
.promises li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 8px; border-left: 2.5px solid var(--gold-light); border-bottom: 2.5px solid var(--gold-light); transform: rotate(-45deg); }
.employers .photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); }
.employers .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.employers .btn { margin-top: 32px; }
@media (max-width: 900px) {
  .employers .wrap { grid-template-columns: 1fr; }
  .employers .photo { aspect-ratio: 4 / 3; order: -1; }
}

/* Prices */
.prices { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.price h3 { font-size: 1.35rem; font-weight: 750; }
.price .amount { font-family: var(--display); font-size: 2.3rem; font-weight: 800; color: var(--forest); letter-spacing: -0.03em; line-height: 1.05; }
.price .amount small { font-family: var(--body); font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.price p { color: var(--ink-soft); font-size: 1rem; }
.price.free { background: var(--forest); border-color: var(--forest); color: var(--white); }
.price.free .amount, .price.free p { color: var(--white); }
.price.free p { opacity: 0.85; }
.fineprint { margin-top: 22px; color: var(--ink-soft); font-size: 0.95rem; max-width: 52em; }
@media (max-width: 860px) { .prices { grid-template-columns: 1fr; } }

/* FAQ */
.faq { margin-top: clamp(24px, 4vw, 44px); max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--forest); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-soft); max-width: 40em; }

/* Join */
.join { background: var(--gold-light); color: var(--deeper); }
.join .wrap { padding-block: clamp(56px, 8vw, 100px); display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 32px; align-items: center; }
.join h2 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; max-width: 14ch; }
.join p { margin-top: 14px; font-size: 1.15rem; max-width: 30em; }
.join .actions { display: flex; flex-direction: column; gap: 12px; }
.join .btn-forest { background: var(--deeper); }
.join .btn-forest:hover { background: var(--forest); }
.join .btn-ghost { border-color: var(--deeper); color: var(--deeper); }
.join .btn-ghost:hover { background: var(--deeper); color: var(--white); }
@media (max-width: 860px) { .join .wrap { grid-template-columns: 1fr; } }

/* Footer */
.foot { background: var(--deeper); color: rgba(255, 255, 255, 0.75); padding-block: 56px 36px; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot img { height: 30px; width: auto; }
.foot p { margin-top: 14px; max-width: 26em; font-size: 0.97rem; }
.foot h4 { margin: 0 0 12px; color: var(--white); font: 600 1rem var(--body); }
.foot li + li { margin-top: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot .legal { grid-column: 1 / -1; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.9rem; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr; } }

/* Policy pages */
.doc { padding-block: clamp(48px, 7vw, 96px); }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
.doc .meta { margin-top: 12px; color: var(--ink-soft); }
.doc h2 { margin-top: 44px; font-size: 1.6rem; font-weight: 750; }
.doc p, .doc li { margin-top: 12px; color: #26352e; }
.doc ul { padding-left: 1.2em; list-style: disc; }
.doc a { color: var(--forest); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.doc .callout { margin-top: 28px; padding: 18px 22px; background: var(--mist); border-left: 4px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 0.97rem; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { background: var(--mist); font-weight: 600; }

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