:root {
  color-scheme: light;
  --navy: #0f172a;
  --navy-deep: #050b12;
  --ink: #102a3b;
  --ink-soft: #29465b;
  --body: #607487;
  --blue: #2f83c5;
  --blue-pale: #e8f4fc;
  --gold: #d4ae52;
  --gold-deep: #a77724;
  --cream: #fcfbf7;
  --mist: #f5f9fc;
  --line: #d5e1e9;
  --white: #fff;
  --max: 1312px;
  --shadow: 0 14px 34px rgba(23, 54, 77, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid #77bced; outline-offset: 4px; }

.site-header { position: relative; z-index: 50; background: var(--navy); color: #fff; }
.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  min-height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}
.brand { flex: 0 0 auto; transition: transform .18s ease, opacity .18s ease; }
.brand:hover { transform: translateY(-2px); opacity: .9; }
.brand img { width: 76px; height: 80px; object-fit: contain; border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 40px; font-size: 15px; font-weight: 600; }
.site-nav a { position: relative; padding: 15px 0; transition: color .18s ease; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 8px; height: 2px;
  border-radius: 2px; background: var(--gold); transition: right .18s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #ffe8a9; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.menu-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px; background: rgba(255,255,255,.06); color: #fff; cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.menu-toggle:hover { transform: translateY(-2px); background: rgba(255,255,255,.12); }
.menu-toggle span { display: block; width: 21px; height: 2px; margin: 5px auto; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 24px; border: 1px solid transparent; border-radius: 13px; cursor: pointer;
  font-weight: 800; line-height: 1; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-3px); filter: brightness(1.05); }
.button.gold { background: linear-gradient(135deg, #fff1bf, var(--gold) 58%, #9e6f15); color: #102033; box-shadow: 0 12px 28px rgba(167,119,36,.24); }
.button.gold:hover { box-shadow: 0 17px 36px rgba(167,119,36,.34); }
.button.navy { border-color: rgba(212,174,82,.72); background: linear-gradient(135deg, #10233f, #061428 60%, #020916); color: #ffe8a9; box-shadow: 0 12px 28px rgba(1,8,20,.28); }
.button.navy:hover { box-shadow: 0 17px 36px rgba(1,8,20,.38); }
.button.blue { background: var(--blue); color: #fff; box-shadow: 0 12px 28px rgba(47,131,197,.24); }
.button.blue:hover { box-shadow: 0 17px 36px rgba(47,131,197,.34); }
.button.light { border-color: var(--line); background: #fff; color: var(--ink); box-shadow: 0 10px 24px rgba(23,54,77,.1); }
.button.light:hover { border-color: var(--blue); box-shadow: 0 16px 30px rgba(23,54,77,.16); }

.eyebrow { margin-bottom: 13px; color: var(--gold-deep); font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.section-heading { max-width: 980px; margin: 0 auto 44px; text-align: center; }
.section-heading h2 { margin-bottom: 12px; font-size: clamp(32px, 4vw, 44px); line-height: 1.15; letter-spacing: -.025em; }
.section-heading p { margin-bottom: 0; color: var(--body); font-size: 17px; line-height: 1.6; }

/* Home */
.home-hero {
  min-height: 730px; position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: linear-gradient(90deg, rgba(4,12,21,.91), rgba(5,17,29,.61) 52%, rgba(5,17,29,.3)), url("https://yachtswipe.io/assets/auth_yacht_top_view.png") center / cover;
}
.home-hero::after { content: ""; position: absolute; inset: auto 0 0; z-index: -1; height: 180px; background: linear-gradient(transparent, rgba(4,11,19,.62)); }
.home-hero-inner { width: min(1200px, calc(100% - 40px)); min-height: 730px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 620px) minmax(400px, 1fr); gap: 48px; align-items: center; }
.home-hero h1 { margin: 0 0 18px; max-width: 620px; font-size: clamp(48px, 5.8vw, 76px); line-height: .98; letter-spacing: -.045em; }
.home-hero h1 span { color: var(--gold); }
.home-lead { max-width: 600px; margin-bottom: 24px; color: #e2ebf2; font-size: 18px; line-height: 1.55; }
.hero-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; max-width: 620px; }
.hero-actions .button { width: 100%; }
.hero-web { margin-top: 12px; max-width: 620px; }
.hero-web .button { width: 100%; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.store-link { display: block; border-radius: 12px; transition: transform .18s ease, filter .18s ease, box-shadow .18s ease; }
.store-link:hover { transform: translateY(-3px); filter: brightness(1.08); box-shadow: 0 14px 28px rgba(0,0,0,.28); }
.store-link img { width: 206px; height: 64px; object-fit: contain; }
.hero-mockup { width: min(105%, 650px); justify-self: center; filter: drop-shadow(0 30px 50px rgba(0,0,0,.44)); }

.platform { padding: 86px 0; background: var(--cream); }
.platform-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0,500px) minmax(560px,1fr); gap: 70px; align-items: center; }
.platform h2 { margin-bottom: 18px; font-size: clamp(42px,5vw,70px); line-height: .98; letter-spacing: -.04em; }
.platform h2 span { color: var(--gold); }
.platform p { color: var(--body); font-size: 17px; line-height: 1.6; }
.platform-visual { min-height: 480px; display: grid; place-items: center; position: relative; }
.platform-visual::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(47,131,197,.23), transparent 70%); }
.platform-visual img { position: relative; width: min(100%,630px); filter: drop-shadow(0 22px 38px rgba(23,54,77,.2)); }
.trust-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 28px; }
.trust-item { padding: 14px; border: 1px solid #e5d9b7; border-radius: 14px; background: rgba(255,255,255,.72); text-align: center; font-size: 12px; font-weight: 800; }

.paths { padding: 88px 0; background: var(--navy); color: #fff; }
.paths-inner, .features-inner, .roadmap-inner, .about-inner, .recruiter-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.paths .section-heading p { color: #aebfce; }
.path-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.path-card { padding: 30px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: #f8fbff; color: var(--ink); box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.path-card:nth-child(2) { background: #fffaf0; }
.path-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(0,0,0,.26); }
.path-card h3 { margin-bottom: 7px; font-size: 26px; }
.path-card p { color: var(--body); line-height: 1.5; }
.check-list { display: grid; gap: 10px; margin: 22px 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 14px; }
.check-list li::before { content: "✓"; margin-right: 10px; color: var(--blue); font-weight: 900; }
.path-card:nth-child(2) .check-list li::before { color: var(--gold-deep); }
.path-card .button { width: 100%; }

.features { padding: 92px 0; background: var(--mist); }
.feature-group + .feature-group { margin-top: 56px; }
.feature-group h3 { margin-bottom: 8px; font-size: 28px; }
.feature-group > p { margin-bottom: 24px; color: var(--body); }
.feature-cards { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
.feature-card { min-height: 210px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 20px rgba(23,54,77,.06); transition: transform .18s ease, box-shadow .18s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card .icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 13px; background: var(--blue-pale); color: var(--blue); font-weight: 900; }
.feature-card h4 { margin: 0 0 9px; font-size: 16px; }
.feature-card p { margin: 0; color: var(--body); font-size: 13px; line-height: 1.5; }

.roadmap-section { padding: 88px 0; background: #f8fbfd; }
.roadmap-current { display: grid; grid-template-columns: 120px 1fr auto; gap: 28px; align-items: center; padding: 24px; border: 1px solid #e7cc86; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.phase-number { display: grid; place-items: center; height: 112px; border-radius: 14px; background: var(--gold); color: var(--navy); font-size: 34px; font-weight: 900; }
.roadmap-current h3 { margin: 0 0 6px; font-size: 26px; }
.roadmap-current p { margin: 0; color: var(--body); }
.roadmap-track { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 12px; margin-top: 26px; }
.roadmap-step { min-height: 150px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.roadmap-step.current { border-color: var(--gold); background: #fff7df; box-shadow: 0 12px 24px rgba(167,119,36,.16); }
.roadmap-step strong { display: block; margin-bottom: 7px; color: var(--blue); }
.roadmap-step h4 { margin: 0 0 6px; font-size: 14px; }
.roadmap-step p { margin: 0; color: var(--body); font-size: 11px; line-height: 1.45; }
.home-cta { padding: 82px 20px; background: var(--navy); color: #fff; text-align: center; }
.home-cta h2 { margin-bottom: 28px; font-size: clamp(34px,4vw,48px); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Shared content pages */
.page-intro { padding: 60px 20px; background: #f7fafc; text-align: center; }
.page-intro h1 { margin-bottom: 10px; font-size: clamp(40px,5vw,56px); line-height: 1.08; }
.page-intro p { max-width: 940px; margin: 0 auto; color: var(--body); font-size: 18px; line-height: 1.6; }
.story-section { padding: 82px 0; background: var(--cream); }
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 58px; align-items: center; }
.story-copy h2 { margin-bottom: 20px; font-size: clamp(36px,4vw,48px); line-height: 1.15; }
.story-copy > p { color: var(--body); font-size: 17px; line-height: 1.65; }
.promise { margin-top: 20px; padding: 18px; border: 1px solid rgba(120,168,199,.35); border-radius: 14px; background: #eef5fa; color: #28465d; font-weight: 700; }
.principles { display: grid; gap: 16px; }
.principle { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 18px rgba(23,54,77,.08); }
.principle-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: #fff3d9; color: var(--gold-deep); font-size: 22px; }
.principle h3 { margin-bottom: 5px; font-size: 18px; }
.principle p { margin: 0; color: var(--body); font-size: 13px; line-height: 1.5; }
.video-section { padding: 78px 0 88px; background: var(--mist); }
.video-card { position: relative; overflow: hidden; aspect-ratio: 16/9; border-radius: 24px; background: var(--navy-deep); box-shadow: 0 18px 42px rgba(11,31,49,.18); }
.video-card img { width: 100%; height: 100%; object-fit: cover; }
.video-card::after { content: "▶"; position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 32px; transform: translate(-50%,-50%); box-shadow: 0 12px 32px rgba(0,0,0,.35); transition: transform .18s ease; }
.video-card:hover::after { transform: translate(-50%,-50%) scale(1.08); }
.card-section { padding: 82px 0; background: var(--mist); }
.card-section.alt { background: var(--cream); }
.three-grid, .four-grid, .two-grid { display: grid; gap: 18px; }
.three-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.four-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.two-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.info-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 20px rgba(23,54,77,.06); transition: transform .18s ease, box-shadow .18s ease; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card.gold { border-color: rgba(212,174,82,.65); background: #fffaf0; }
.info-card .card-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 14px; background: var(--blue-pale); color: var(--blue); font-weight: 900; }
.info-card.gold .card-icon { background: #fff1d0; color: var(--gold-deep); }
.info-card h3 { margin-bottom: 9px; font-size: 19px; line-height: 1.3; }
.info-card p { margin-bottom: 0; color: var(--body); line-height: 1.55; }
.offering-grid .info-card { display: grid; grid-template-columns: 52px 1fr; gap: 16px; }
.offering-grid .card-icon { margin: 0; }
.offering-grid .points { margin: 12px 0 0; color: var(--blue); font-size: 12px; font-weight: 700; }
.company-section { padding: 66px 20px; background: #eaf4fa; text-align: center; }
.company-section h2 { margin-bottom: 10px; font-size: clamp(30px,4vw,42px); }
.company-section p { max-width: 900px; margin: 0 auto; color: var(--body); line-height: 1.55; }

/* Recruiter */
.recruiter-hero { padding: 88px 0; background: var(--mist); }
.recruiter-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(420px,.85fr); gap: 58px; align-items: center; }
.recruiter-hero h1 { margin-bottom: 18px; font-size: clamp(46px,5vw,66px); line-height: 1.02; letter-spacing: -.04em; }
.recruiter-hero p { color: var(--body); font-size: 18px; line-height: 1.6; }
.recruiter-hero .cta-actions { justify-content: flex-start; }
.workflow-panel { padding: 24px; border: 1px solid #d6e4ed; border-radius: 20px; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.workflow-panel h2 { margin-bottom: 16px; }
.workflow-panel ol { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.workflow-panel li { padding: 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.06); color: #c8d6e1; line-height: 1.5; }
.workflow-panel strong { display: block; margin-bottom: 3px; color: #fff; }
.recruiter-flow { padding: 82px 0; background: var(--cream); }
.flow-card { min-height: 260px; }
.plans-strip { padding: 76px 0; background: var(--navy); color: #fff; }
.plans-strip .section-heading p { color: #b5c4d0; }
.plans-strip .info-card { color: var(--ink); }
.recruiter-final { padding: 72px 0; background: var(--mist); }
.final-panel { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 34px; border: 1px solid rgba(47,131,197,.35); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.final-panel h2 { margin-bottom: 8px; }
.final-panel p { margin: 0; color: var(--body); }

.site-footer { padding: 44px 20px 40px; background: var(--navy-deep); color: #b9c9da; }
.company-strip { width: min(1160px,100%); min-height: 76px; margin: 0 auto 24px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid rgba(78,114,145,.48); border-radius: 16px; background: rgba(10,24,38,.82); }
.company-strip strong { display: block; margin-bottom: 3px; color: #f4f8fb; }
.company-strip span, .company-strip a { color: #a9bad0; font-size: 14px; }
.company-domains { display: flex; gap: 9px; }
.footer-bottom { width: min(1160px,100%); margin: 0 auto; display: grid; gap: 14px; text-align: center; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; }
.footer-links a { transition: color .18s ease; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.disabled { opacity: .55; }

@media (max-width: 1120px) {
  .feature-cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .roadmap-track { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .four-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .platform-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  .nav-shell { min-height: 78px; }
  .brand img { width: 52px; height: 54px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 78px 0 auto; display: grid; gap: 0; padding: 12px 20px 24px; border-top: 1px solid rgba(255,255,255,.1); background: rgba(15,23,42,.99); transform: translateY(-140%); opacity: 0; pointer-events: none; transition: transform .22s ease, opacity .22s ease; }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 16px 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .home-hero-inner, .platform-inner, .story-grid, .recruiter-hero-grid { grid-template-columns: 1fr; }
  .home-hero-inner { padding: 72px 0; }
  .hero-mockup { max-width: 600px; }
  .platform { padding: 68px 0; }
  .path-grid, .three-grid, .two-grid { grid-template-columns: 1fr; }
  .roadmap-current { grid-template-columns: 100px 1fr; }
  .roadmap-current .button { grid-column: 1 / -1; }
  .final-panel { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav-shell, .home-hero-inner, .platform-inner, .paths-inner, .features-inner, .roadmap-inner, .about-inner, .recruiter-inner { width: calc(100% - 48px); }
  .home-hero { min-height: auto; }
  .home-hero-inner { min-height: 0; padding: 52px 0 58px; gap: 34px; }
  .home-hero h1 { font-size: clamp(42px,13vw,58px); }
  .home-lead { font-size: 16px; }
  .hero-actions { grid-template-columns: 1fr; }
  .store-row { justify-content: center; }
  .store-link img { width: 154px; height: 52px; }
  .hero-mockup { width: 100%; }
  .platform h2 { font-size: clamp(42px,12vw,56px); }
  .platform-visual { min-height: 320px; }
  .platform-visual::before { width: 330px; height: 330px; }
  .trust-strip { grid-template-columns: 1fr; }
  .paths, .features, .roadmap-section, .story-section, .card-section, .recruiter-flow { padding: 64px 0; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2 { font-size: 31px; }
  .feature-cards, .four-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-card { min-height: 190px; padding: 16px; }
  .roadmap-current { grid-template-columns: 78px 1fr; gap: 16px; padding: 18px; }
  .phase-number { height: 86px; font-size: 28px; }
  .roadmap-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; }
  .roadmap-step { flex: 0 0 78vw; scroll-snap-align: start; }
  .page-intro { padding: 50px 24px; }
  .page-intro h1 { font-size: 38px; }
  .page-intro p { font-size: 16px; }
  .story-copy h2 { font-size: 34px; }
  .principle { grid-template-columns: 46px 1fr; padding: 16px; }
  .principle-icon { width: 46px; height: 46px; }
  .video-card { border-radius: 16px; }
  .video-card::after { width: 62px; height: 62px; font-size: 22px; }
  .info-card { padding: 18px; }
  .offering-grid .info-card { grid-template-columns: 44px 1fr; gap: 12px; }
  .recruiter-hero { padding: 60px 0; }
  .recruiter-hero h1 { font-size: clamp(40px,12vw,54px); }
  .recruiter-hero .cta-actions { display: grid; }
  .recruiter-hero .button { width: 100%; }
  .company-strip { display: block; }
  .company-domains { margin-top: 14px; flex-wrap: wrap; }
  .footer-bottom { text-align: left; }
  .footer-links { justify-content: flex-start; gap: 11px 16px; }
}

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