/* Sail.Game – static site. All assets are local; no external requests. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("../fonts/fraunces-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/open-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/open-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #161616;
  --bg-alt: #182027;
  --panel: #1f2a33;
  --panel-2: #252f3a;
  --line: rgba(255, 255, 255, .12);
  --cyan: #35c4ec;
  --magenta: #eb3ae8;
  --text: #ffffff;
  --muted: #d0d0d0;
  --tile: #d6dbe1;
  --ink: #161616;
  --header-h: 72px;
  --wrap: 1160px;
  --gutter: 24px;
  --radius: 12px;
  --sec-pad: clamp(56px, 7vw, 96px);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-top: var(--header-h); font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.08; font-weight: 300; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.14; font-weight: 300; }
h3 { font-size: 23px; line-height: 1.25; }
h1 em, h2 em { font-style: italic; color: var(--cyan); }
p a, li a, dd a { color: var(--cyan); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.kicker { display: block; margin-bottom: 14px; font-size: 14px; line-height: 1.3; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; color: var(--muted); }
.prose p + p { margin-top: 16px; }
.prose { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px; border-radius: 6px; border: 2px solid var(--cyan); font: inherit; font-size: 14px; font-weight: 700; line-height: 1.25; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; text-align: center; color: var(--ink); background: var(--cyan); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: #7ddcf5; border-color: #7ddcf5; }
.btn-magenta { background: var(--magenta); border-color: var(--magenta); }
.btn-magenta:hover { background: #f37cf1; border-color: #f37cf1; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }
.note { margin-top: 14px; font-size: 15px; color: var(--muted); }
.note + .note { margin-top: 4px; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h); background: rgba(22, 22, 22, .97); border-bottom: 1px solid var(--line); }
.site-header .inner { height: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav > a:not(.btn) { font-size: 16px; font-weight: 600; line-height: 1; text-decoration: none; color: #fff; padding: 10px 0; transition: color .2s; }
.nav > a:not(.btn):hover, .nav > a[aria-current="page"] { color: var(--cyan); }
.nav .btn { min-height: 40px; padding: 8px 18px; font-size: 13px; }
.nav .nav-cta { display: flex; gap: 10px; margin-left: 6px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; }

/* ---------- Sections ---------- */
.sec { padding: var(--sec-pad) 0; }
.sec-alt { background: var(--bg-alt); }
.sec-head { max-width: 820px; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-head .lead { margin-top: 18px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("../img/hero.jpg") center / cover no-repeat; opacity: .5; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 22, 22, .55) 0%, rgba(22, 22, 22, .35) 45%, var(--bg) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(72px, 11vw, 150px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero h1 { max-width: 980px; margin: 0 auto; }
.hero .tagline { margin-top: 26px; font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; color: var(--cyan); }
.hero .lead { max-width: 760px; margin: 22px auto 0; color: #e8edf2; }
.hero .btn-row { margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.hero-stat { min-width: 190px; padding: 16px 22px; background: var(--tile); color: var(--ink); border-radius: 6px; }
.hero-stat strong { display: block; font-family: var(--serif); font-size: 26px; line-height: 1.15; font-weight: 600; }
.hero-stat span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.35; color: #3a4047; }
.page-hero { text-align: left; }
.page-hero::before { background-image: url("../img/wave.jpg"); opacity: .38; }
.page-hero .wrap { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(44px, 6vw, 72px); }
.page-hero h1 { margin: 0; max-width: 900px; font-size: clamp(36px, 4.8vw, 58px); }
.page-hero .lead { margin: 22px 0 0; max-width: 780px; }

/* ---------- Logo strip ---------- */
.logo-strip { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.logo-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 48px; }
.logo-strip img { height: 46px; width: auto; opacity: .92; transition: opacity .2s; }
.logo-strip a:hover img { opacity: 1; }

/* ---------- Anchor chips ---------- */
.chips { list-style: none; margin: 0 0 clamp(32px, 4vw, 48px); padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none; color: #fff; transition: border-color .2s, color .2s; }
.chips a:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- Cards and grids ---------- */
.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { padding: 26px 26px 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.card h3 { color: #fff; }
.card p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.card .num { display: block; margin-bottom: 14px; font-family: var(--serif); font-size: 50px; line-height: 1; font-weight: 600; color: var(--cyan); }
.card.small h3 { font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.after-grid { margin-top: 40px; }

/* ---------- Split (text + image) ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split img { width: 100%; border-radius: var(--radius); }
.split .art { background: transparent; border-radius: 0; }
.split h2 + .prose, .split .sub + .prose { margin-top: 20px; }
.sub { margin-top: 12px; font-family: var(--serif); font-size: clamp(20px, 2vw, 25px); line-height: 1.3; color: var(--cyan); }
.checklist { list-style: none; margin: 18px 0 0; padding: 0; }
.checklist li { position: relative; padding: 8px 0 8px 34px; color: #fff; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 14px; height: 7px; border-left: 3px solid var(--cyan); border-bottom: 3px solid var(--cyan); transform: rotate(-45deg); }
.pull { margin-top: 26px; padding-left: 20px; border-left: 3px solid var(--magenta); font-family: var(--serif); font-size: 22px; line-height: 1.4; font-style: italic; color: #fff; }

/* ---------- Team ---------- */
.person { display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: start; }
.person img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.person h3 { font-size: 22px; }
.person .role { margin-top: 6px; font-size: 13px; line-height: 1.45; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.person .bio { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- Statement ---------- */
.statement { position: relative; overflow: hidden; text-align: center; }
.statement .deco { position: absolute; right: -80px; bottom: -120px; width: 620px; max-width: none; height: auto; opacity: .16; pointer-events: none; }
.statement .wrap { position: relative; }
.statement h2 { max-width: 900px; margin: 0 auto; }
.statement .lead { max-width: 760px; margin: 22px auto 0; }

/* ---------- Testimonials ---------- */
.quote { display: flex; flex-direction: column; height: 100%; }
.quote blockquote { font-size: 17px; line-height: 1.65; color: #fff; }
.quote figcaption { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; margin-top: auto; padding-top: 24px; }
.quote img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote .name { display: block; font-weight: 700; line-height: 1.3; }
.quote .role { display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--muted); }

/* ---------- Name list ---------- */
.names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.names li { padding: 12px 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- CTA ---------- */
.cta { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 60px); background: #000; border: 1px solid rgba(53, 196, 236, .45); border-radius: 18px; }
.cta .lead { margin-top: 16px; }
.cta .btn-row { margin-top: 28px; }
.cta img { width: 100%; max-width: 340px; margin: 0 auto; }
.pills { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.pills li { padding: 12px 18px; border-radius: 6px; background: var(--panel); border: 1px solid var(--line); font-size: 15px; line-height: 1.35; color: var(--muted); }
.pills strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; color: #fff; }

/* ---------- Pricing ---------- */
.plan { display: flex; flex-direction: column; }
.plan h3 { font-size: 26px; }
.plan .tag { margin-top: 4px; font-size: 16px; color: var(--cyan); font-weight: 600; }
.plan .price { margin-top: 20px; font-family: var(--serif); font-size: 34px; line-height: 1.1; font-weight: 600; color: #fff; }
.plan .price small { font-family: var(--sans); font-size: 16px; font-weight: 400; color: var(--muted); }
.plan .terms { margin-top: 6px; font-size: 15px; color: var(--muted); }
.plan ul { list-style: none; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.plan li { position: relative; padding: 6px 0 6px 28px; font-size: 16px; line-height: 1.5; color: #fff; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 12px; height: 6px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }
.plan.featured { border-color: var(--cyan); }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { position: relative; padding: 20px 44px 20px 0; font-family: var(--serif); font-size: 21px; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-family: var(--sans); font-size: 28px; line-height: 1; color: var(--cyan); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 24px; color: var(--muted); }
.faq .answer p + p, .faq .answer ul { margin-top: 12px; }
.faq .answer ul { padding-left: 22px; }
.faq .answer li + li { margin-top: 6px; }

/* ---------- Partners ---------- */
.partner { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; padding: clamp(24px, 3vw, 36px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.partner + .partner { margin-top: 22px; }
.partner .mark { display: flex; align-items: center; justify-content: center; min-height: 130px; padding: 18px; background: var(--bg); border-radius: 8px; }
.partner .mark img { max-height: 110px; width: auto; max-width: 100%; }
.partner h2 { font-size: 30px; }
.partner .prose { margin-top: 14px; font-size: 16px; }
.partner .visit { display: inline-block; margin-top: 18px; font-size: 15px; font-weight: 700; color: var(--cyan); text-decoration: none; }
.partner .visit:hover { text-decoration: underline; }

/* ---------- Contact ---------- */
.contact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 60px); background: var(--panel); border: 1px solid rgba(53, 196, 236, .45); border-radius: 18px; }
.contact-panel address { font-style: normal; margin-top: 22px; color: var(--muted); }
.contact-panel .label { display: block; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-panel .address { display: inline-block; margin: 10px 0 26px; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; color: var(--cyan); text-decoration: none; overflow-wrap: anywhere; }
.contact-panel .address:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.funding { background: var(--bg-alt); padding: 40px 0; border-top: 1px solid var(--line); }
.funding .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px 40px; flex-wrap: wrap; }
.funding .logos { display: flex; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.funding .f-cz { width: 150px; }
.funding .f-ci { width: 132px; }
.funding .f-eu { width: 210px; }
.funding p { font-size: 15px; line-height: 1.5; max-width: 330px; color: #fff; }
.site-footer { background: var(--bg); padding: 52px 0 28px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid img { height: 54px; width: auto; }
.foot-grid h2 { font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li + li { margin-top: 8px; }
.foot-grid a { text-decoration: none; color: #fff; }
.foot-grid a:hover { color: var(--cyan); text-decoration: underline; }
.foot-grid address { font-style: normal; margin-top: 18px; color: var(--muted); font-size: 16px; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; background: var(--bg); padding: 8px var(--gutter) 24px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { font-size: 18px; padding: 14px 0; }
  .nav .nav-cta { margin: 14px 0 0; flex-direction: column; }
  .nav .btn { min-height: 48px; font-size: 14px; }
  .split, .cta, .contact-panel { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .split img { max-width: 620px; }
  .cta img { max-width: 220px; margin: 0; }
  .partner { grid-template-columns: 1fr; }
  .partner .mark { max-width: 320px; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; --gutter: 20px; }
  .logo img { height: 40px; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .foot-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .hero-stat { min-width: 0; flex: 1 1 140px; }
  .person { grid-template-columns: 64px 1fr; gap: 14px; }
  .person img { width: 64px; height: 64px; }
  .card { padding: 22px 20px 24px; }
  .logo-strip ul { gap: 18px 30px; }
  .logo-strip img { height: 36px; }
  .faq summary { font-size: 19px; }
  .statement .deco { width: 380px; right: -90px; bottom: -70px; }
  .funding .wrap, .funding .logos { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
