/* Awesome Judo Software — site styles. Colours come from the logo (crimson + orange). */
:root {
  --ink: #140a0d;
  --ink-2: #1f1014;
  --wine: #3c0814;
  --crimson: #b00028;
  --crimson-hi: #d4163f;
  --orange: #e87848;
  --orange-hi: #f39466;
  --paper: #fbf8f6;
  --soft: #f4ece8;
  --line: #e6dbd6;
  --txt: #1d1417;
  --muted: #6c5b60;
  --light: #f6efec;
  --light-muted: #cdbcb8;
  --jv: #5a5ad6;
  --jv-ink: #0f0f2e;
  --r: 18px;
  --shadow: 0 24px 60px -24px rgba(40, 6, 16, .45);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--txt);
  font: 400 17px/1.65 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--crimson); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--crimson-hi); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; font-weight: 800; }
h1 { font-size: clamp(38px, 6.4vw, 74px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 36px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.tag {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--crimson);
}
.tag-light { color: var(--orange-hi); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none;
  border: 2px solid transparent; transition: transform .18s, box-shadow .18s, background .18s, color .18s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-main { border: 0; padding: 0 26px; background: linear-gradient(120deg, var(--crimson), var(--orange)); color: #fff; box-shadow: 0 10px 28px -10px rgba(176, 0, 40, .7); }
.btn-main:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(176, 0, 40, .8); }
.btn-line { border-color: var(--crimson); color: var(--crimson); background: transparent; }
.btn-line:hover { background: var(--crimson); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* header */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; color: #fff;
  transition: background .25s, box-shadow .25s, backdrop-filter .25s;
}
.top.solid, .top:has(.nav.open) { background: rgba(20, 10, 13, .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand img { height: 44px; width: auto; }
.brand-word { display: flex; flex-direction: column; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.25; color: var(--light-muted); }
.brand-word b { font-size: 17px; letter-spacing: .02em; text-transform: none; color: #fff; font-weight: 800; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: #f1e6e3; text-decoration: none; font-weight: 600; font-size: 15px; position: relative; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: #fff; }
.nav a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--orange); border-radius: 2px; }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }

/* hero */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; padding: 150px 0 60px; min-height: min(100svh, 940px); display: flex; flex-direction: column; justify-content: center; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; opacity: .55; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(20, 10, 13, .97) 0%, rgba(20, 10, 13, .82) 42%, rgba(20, 10, 13, .25) 100%),
  linear-gradient(0deg, rgba(20, 10, 13, .95) 0%, rgba(20, 10, 13, 0) 45%); }
.hero > .wrap { position: relative; z-index: 2; width: 100%; }
.hero-inner { margin-bottom: 44px; }
.hero h1 { margin-top: 18px; max-width: 760px; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--orange-hi), var(--crimson-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #e8dcd8; margin-top: 22px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; }
.stats div { padding: 22px 22px 20px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(8px); }
.stats dt { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.stats dd { margin: 8px 0 0; color: var(--light-muted); font-size: 15px; line-height: 1.4; }

/* page hero */
.phero { position: relative; color: #fff; padding: 160px 0 90px; background:
  radial-gradient(900px 420px at 0% 100%, rgba(176, 0, 40, .55), transparent 70%),
  radial-gradient(700px 380px at 100% 0%, rgba(232, 120, 72, .25), transparent 70%), var(--ink); }
.phero h1 { font-size: clamp(36px, 5.4vw, 62px); max-width: 860px; }
.phero .lead { color: #e8dcd8; margin-top: 20px; }
.phero .tag { color: var(--orange-hi); }

/* sections */
.sec { position: relative; padding: clamp(70px, 9vw, 120px) 0; }
.bg-soft { background: var(--soft); }
.sec-head { margin-bottom: 48px; }
.sec-head h2 { margin-top: 12px; max-width: 760px; }
.sec-head.center h2 { margin-left: auto; margin-right: auto; }
.sec-head .lead { margin-top: 16px; }
.dark { background: var(--ink); color: #fff; overflow: hidden; }
.dark .lead, .dark .muted { color: #e2d4d0; }
.dark .sec-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: grayscale(.3); }
.dark .wrap { position: relative; }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.rev { grid-template-columns: 7fr 5fr; }
.split.rev > :first-child { order: 2; }
.split-text h2 { margin-top: 12px; }
.split-text .lead { margin-top: 18px; }
.split-text .muted { margin-top: 16px; }
.split-text .btn { margin-top: 28px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 500; }
.ticks li::before { content: ''; position: absolute; left: 0; top: calc((1.65em - 22px) / 2); width: 22px; height: 22px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.6 3.6 7.4-7.6' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px 22px no-repeat,
    linear-gradient(120deg, var(--crimson), var(--orange)); }

/* video */
.video-frame { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: var(--ink); aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(60, 8, 20, .45); }
.card p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.dark .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.dark .card p { color: #e2d4d0; }
.ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px; background: linear-gradient(135deg, rgba(176, 0, 40, .1), rgba(232, 120, 72, .16)); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--crimson); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* browser + phone frames: long screenshots scroll inside on hover / when shown on touch screens */
.browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(0, 0, 0, .06); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #efe8e5; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2645c; }
.browser-bar i:nth-child(2) { background: #f0bd4e; }
.browser-bar i:nth-child(3) { background: #61c25e; }
.browser-bar span { margin-left: 12px; flex: 1; min-width: 0; padding: 3px 14px; border-radius: 99px; background: #fff; color: #7a6c70; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-bar.two span + span { margin-left: 8px; }
.browser-view { aspect-ratio: 16 / 10.5; overflow: hidden; background: #f3f3f3; }
.browser-view img, .phone-view img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: object-position 7s cubic-bezier(.45, .05, .35, 1); }
.browser-view.short img { object-position: 50% 30%; }
.browser[data-scroll]:hover img, .phone:hover img { object-position: 50% 100%; }
@keyframes peek { 0%, 12% { object-position: 50% 0; } 88%, 100% { object-position: 50% 100%; } }
@media (hover: none) {
  .browser[data-scroll].in img, .in .browser[data-scroll] img, .phone.in img, .in .phone img { animation: peek 14s ease-in-out 1s infinite alternate; }
}
@media (prefers-reduced-motion: reduce) {
  .browser-view img, .phone-view img { transition: none; animation: none !important; }
}
.phone { width: 236px; flex: none; border-radius: 34px; padding: 9px; background: #18100f; box-shadow: var(--shadow); }
.phone-view { aspect-ratio: 9 / 19; border-radius: 26px; overflow: hidden; background: #fff; }
.device-stack { position: relative; padding: 0 70px 60px 0; }
.device-stack .phone { position: absolute; right: 0; bottom: 0; width: 200px; }
.phones { display: flex; justify-content: center; gap: 26px; }
.phones-row { margin-top: 56px; }
.product { margin: 0; }
.product img { margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }

/* club websites collage + mobile app */
.collage { margin: 0; }
.collage img { width: 100%; height: auto; }
.app { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.app h3 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 10px; }
.app .muted { margin-top: 14px; }
.app .btn-row { margin-top: 24px; }
.btn-store { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-store:hover { background: #000; color: #fff; transform: translateY(-2px); }
.app-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.app-shots img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 18px 40px -20px rgba(60, 8, 20, .55); }

/* federations */
.feds { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fed { display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.fed:hover { color: inherit; transform: translateY(-5px); box-shadow: var(--shadow); }
.fed-shot { aspect-ratio: 16 / 9.5; overflow: hidden; border-bottom: 1px solid var(--line); }
.fed-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: object-position 6s cubic-bezier(.45, .05, .35, 1); }
.fed:hover .fed-shot img { object-position: 50% 60%; }
.fed-body { padding: 22px 26px 26px; }
.fed-body small, .fed-head small { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.fed-body h3 { font-size: 22px; margin-top: 4px; }
.more { display: inline-block; margin-top: 8px; color: var(--crimson); font-weight: 600; font-size: 15px; }
.fed-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.fed-head h2 { margin-top: 6px; }
.fed-head .btn-row { margin-top: 0; }
.fed-sec { scroll-margin-top: 70px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 14px; color: var(--muted); font-size: 15px; }

/* steps + timeline */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 64px 24px 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; top: 22px; left: 24px; font-weight: 800; font-size: 15px; color: var(--orange); letter-spacing: .1em; }
.steps b { font-size: 19px; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 22px; position: relative; padding-bottom: 38px; }
.timeline li:not(:last-child)::before { content: ''; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: linear-gradient(var(--orange), var(--line)); }
.timeline span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 20px; background: linear-gradient(120deg, var(--crimson), var(--orange)); box-shadow: 0 10px 24px -10px rgba(176, 0, 40, .7); }
.timeline b { display: block; font-size: 21px; padding-top: 12px; }
.timeline p { margin-top: 6px; color: var(--muted); }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 26px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: 0 16px 36px -24px rgba(60, 8, 20, .45); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 34px 22px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 11px; height: 11px; border-right: 2.5px solid var(--crimson); border-bottom: 2.5px solid var(--crimson); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { padding: 0 0 24px; color: var(--muted); }

/* JudoVision band */
.jv { color: #fff; background:
  radial-gradient(700px 400px at 100% 100%, rgba(90, 90, 214, .45), transparent 70%),
  radial-gradient(600px 360px at 0% 0%, rgba(230, 207, 18, .12), transparent 70%), var(--jv-ink); }
.jv .lead { color: #d9d9f2; }
.jv .tag-light { color: #e6cf12; }
.jv .btn-main { background: linear-gradient(120deg, #4b4bd0, #7b6cf0); box-shadow: 0 10px 28px -10px rgba(90, 90, 214, .8); }
.jv-video { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .8); aspect-ratio: 16 / 9; background: #000; }
.jv-video video { width: 100%; height: 100%; object-fit: cover; }

/* contact + footer */
.cta { background: linear-gradient(120deg, var(--wine), #6e0b22 60%, var(--crimson)); color: #fff; }
.cta-inner { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; }
.cta h2 { margin-top: 10px; }
.cta .tag { color: var(--orange-hi); }
.cta .lead { color: #f1dcd7; margin-top: 16px; }
.cta .btn-line { border-color: rgba(255, 255, 255, .6); color: #fff; }
.cta .btn-line:hover { background: #fff; color: var(--wine); }
.cta .btn-main { background: #fff; color: var(--wine); box-shadow: none; }
.cta .btn-main:hover { color: var(--crimson); }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-actions .muted { color: #f1dcd7; padding-left: 6px; }
.foot { background: var(--ink); color: var(--light-muted); padding: 34px 0; font-size: 14.5px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { height: 30px; width: auto; }
.foot a { color: #f1e6e3; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }

/* reveal on scroll (only when JS runs) */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* responsive */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 26px; background: rgba(20, 10, 13, .97); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 17px; }
  .nav a[aria-current]::after { display: none; }
  .nav a[aria-current] { color: var(--orange-hi); }
  .nav .btn { margin-top: 18px; justify-content: center; min-height: 50px; }
  .menu-btn { display: block; }
  .split, .split.rev, .cta-inner { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .feds, .gallery, .app { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 130px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .top .wrap { height: 66px; }
  .nav { inset: 66px 0 auto; }
  .brand img { height: 38px; }
  .brand-word { font-size: 11px; }
  .brand-word b { font-size: 15px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .app-shots { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats div { padding: 16px; }
  .stats dd { font-size: 13.5px; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .device-stack { padding: 0 40px 50px 0; }
  .device-stack .phone { width: 128px; border-radius: 22px; padding: 6px; }
  .device-stack .phone-view { border-radius: 17px; }
  .phones { gap: 14px; }
  .phones .phone { width: calc(50% - 7px); max-width: 200px; border-radius: 26px; padding: 7px; }
  .phones .phone-view { border-radius: 20px; }
  .phones-row .phone:nth-child(3) { display: none; }
  .phero { padding: 130px 0 64px; }
  .timeline li { grid-template-columns: 44px 1fr; gap: 16px; }
  .timeline span { width: 44px; height: 44px; font-size: 17px; }
  .timeline li:not(:last-child)::before { left: 21px; top: 44px; }
  .timeline b { padding-top: 8px; font-size: 19px; }
  .faq details { padding: 0 18px; }
  .faq summary { font-size: 16.5px; }
}
