/*
Theme Name: SailyClub
Description: Lekki motyw startowy SailyClub.pl z zapisami i ofertą partnera.
Version: 1.2.0
Requires at least: 6.8
Requires PHP: 8.1
Author: sliw.net
Text Domain: sailyclub
*/
:root {
    --navy: #071d2c;
    --paper: #fff;
    --ink: #102438;
    --muted: #4a5c6e;
    --line: #d9e1e7;
    --red: #d0092c;
    --red-dark: #ae0723;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: #f5f7f8; color: var(--ink); font: 1rem/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-underline-offset: .19em; }
:focus-visible { outline: 3px solid #1678b8; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.shell { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.site-header { background: var(--paper); }
.masthead, .foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.masthead { min-height: 77px; }
.brand { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; font-size: 2rem; line-height: 1; letter-spacing: -.055em; }
.brand-wave { font-size: 1.4em; line-height: .6; font-family: Georgia, serif; }
.custom-logo { width: auto; max-width: min(230px, 45vw); max-height: 50px; }
.masthead-link { display: inline-flex; gap: 9px; align-items: center; font-weight: 650; font-size: .9rem; text-decoration: none; }
.masthead-link:hover, .foot a:hover { text-decoration: underline; }
.launch { flex: 1; display: grid; align-items: center; background: var(--navy); padding-block: clamp(24px, 5vw, 80px); }
.launch-grid { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 42px); }
.intro { display: flex; min-height: 550px; align-items: flex-end; background: linear-gradient(180deg, #071d2c0a 10%, #071d2c72 42%, #041727 94%), url("assets/zalew.webp") 59% center / cover no-repeat, #12364c; color: #fff; border-radius: 20px; overflow: hidden; }
.intro-copy { padding: clamp(24px, 4vw, 56px); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: .83rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { display: block; width: 28px; height: 3px; background: #ff4260; }
h1, h2 { line-height: 1.1; letter-spacing: -.042em; }
.intro h1 { margin: 0; font-size: clamp(2.5rem, 4.4vw, 4.55rem); font-weight: 680; text-wrap: balance; }
.intro-copy > p:last-child { max-width: 43ch; margin: 20px 0 0; color: #e4eef6; font-size: clamp(1rem, 1.3vw, 1.16rem); }
.signup-card { background: var(--paper); padding: clamp(24px, 3vw, 42px); border-radius: 20px; scroll-margin-top: 20px; }
.offer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 21px; }
.discount { display: inline-block; background: #fff0f3; color: #b00828; border-radius: 10px; padding: 7px 13px; font-size: 1.35rem; font-weight: 780; letter-spacing: -.04em; }
.partner { display: grid; gap: 3px; justify-items: end; text-decoration: none; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.partner:hover { text-decoration: underline; }
.partner img { width: 112px; }
.signup-card h2 { margin: 0; font-size: clamp(1.85rem, 2.9vw, 2.8rem); text-wrap: balance; }
.offer-copy { margin: 10px 0 22px; color: var(--muted); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fields label { display: grid; gap: 6px; font-size: .87rem; font-weight: 670; }
.fields input { min-width: 0; width: 100%; padding: 10px 11px; min-height: 46px; border: 1px solid #aab9c7; border-radius: 8px; color: var(--ink); background: #fff; font: 400 1rem/1.3 system-ui, sans-serif; }
.phone-field { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; border: 1px solid #aab9c7; border-radius: 8px; }
.phone-field .phone-prefix { padding-inline: 10px 8px; border-right: 1px solid var(--line); }
.phone-field input { border: 0; border-radius: 0 7px 7px 0; }
.fields input::placeholder { color: #627485; }
.checks { display: grid; gap: 11px; margin-block: 19px; }
.check { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .86rem; line-height: 1.45; }
.check input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--red); }
.optional, .small { color: var(--muted); }
.small { font-size: .8rem; margin: 12px 0 0; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.submit { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 49px; background: var(--red); color: #fff; border: 0; border-radius: 9px; padding: 9px 17px; font: 690 1rem/1.3 system-ui, sans-serif; cursor: pointer; }
.submit:hover { background: var(--red-dark); }
.submit span { font-size: 1.3rem; }
.notice { background: #eaf2f8; border-radius: 8px; padding: 10px 13px; font-size: .9rem; }
.notice-success { background: #e6f5eb; color: #134525; }
.notice-error { background: #fff0f3; color: #921931; }
.foot { padding-block: 22px; font-size: .82rem; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { text-decoration: none; }
.content { flex: 1; padding-block: 48px; max-width: 820px; overflow-wrap: anywhere; }
.content h1 a { text-decoration: none; }
@media (max-width: 890px) {
    .shell { width: min(620px, calc(100% - 36px)); }
    .launch-grid { grid-template-columns: minmax(0, 1fr); }
    .intro { min-height: clamp(330px, 64vw, 435px); }
    .masthead { min-height: 65px; }
}
@media (max-width: 480px) {
    .brand { font-size: 1.7rem; }
    .fields { grid-template-columns: minmax(0, 1fr); }
    .foot { align-items: flex-start; flex-direction: column; gap: 8px; }
}
