:root {
    color-scheme: light;
    --ink: #142339;
    --muted: #475971;
    --line: #dbe3ee;
    --blue: #1f54bf;
    --deep: #172e55;
    --paper: #fff;
    --tint: #f2f6fc;
    font-family: Inter, system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
    outline: 3px solid #3971dd;
    outline-offset: 3px;
}
h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -.035em; }
h3 { font-size: 1.17rem; line-height: 1.3; }
.wrap { width: min(100% - 2.5rem, 73rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; left: 1rem; top: 1rem; padding: .65rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.preview { padding: .45rem 1rem; background: #fff0bf; color: #4e3508; text-align: center; font-weight: 650; font-size: .85rem; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; gap: 1.4rem; justify-content: space-between; min-height: 4.55rem; }
.brand { display: inline-flex; align-items: center; min-width: 7rem; }
.brand img { display: block; width: 8.25rem; height: auto; }
nav { display: flex; justify-content: center; align-items: center; gap: clamp(.8rem, 2.4vw, 2rem); }
nav a, .site-footer a { font-size: .92rem; text-decoration: none; }
nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: .25rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.75rem; padding: .55rem 1rem; border: 1px solid transparent; border-radius: .55rem; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.button.primary { color: #fff; background: var(--blue); }
.button.primary:hover { background: #18459f; }
.button.secondary { color: var(--deep); background: var(--paper); border-color: var(--line); }
.button.secondary:hover { background: #f7faff; border-color: #aec2df; }
.hero { background: linear-gradient(140deg, #f5f8ff, #eaf2fc 73%, #e7f3f3); border-bottom: 1px solid var(--line); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(1.5rem, 5vw, 4rem); padding-block: clamp(3.5rem, 9vw, 7rem); }
.hero-copy h1 { font-size: clamp(2.35rem, 5.3vw, 4.3rem); line-height: 1.025; letter-spacing: -.052em; overflow-wrap: anywhere; }
.hero-copy p { max-width: 37rem; margin-block: 1.25rem 1.65rem; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.2rem); }
.schedule { margin: 0; min-width: 0; padding: .9rem; background: var(--paper); border: 1px solid #ccd9eb; border-radius: 1rem; box-shadow: 0 1.2rem 3rem #263e651c; }
.schedule figcaption { display: flex; gap: .48rem; align-items: center; padding: .25rem .2rem .9rem; font-size: .8rem; font-weight: 660; color: var(--muted); }
.schedule-marker { width: .58rem; height: .58rem; flex: none; border-radius: 100%; background: #3973d6; }
.schedule-grid { display: grid; grid-template-columns: minmax(3.7rem, .8fr) repeat(4, minmax(0, 1fr)); grid-template-rows: 2rem repeat(3, minmax(3.6rem, auto)); overflow: hidden; border: 1px solid #e0e8f3; border-radius: .62rem; background: #fbfcfe; }
.schedule-grid > :where(.axis,.time,.lane) { padding: .35rem; border-bottom: 1px solid #e7edf5; border-right: 1px solid #e7edf5; }
.axis { grid-row: 1; grid-column: 1; }
.time { grid-row: 1; color: #52637a; font-size: clamp(.55rem, 1vw, .75rem); text-align: center; font-variant-numeric: tabular-nums; }
.lane { grid-column: 1; align-content: center; color: #384f6c; font-size: clamp(.64rem, 1vw, .82rem); font-weight: 650; }
.surf-lane { grid-row: 2; }
.kite-lane { grid-row: 3; }
.wing-lane { grid-row: 4; }
.grid-rules { grid-row: 2 / -1; grid-column: 2 / -1; background-image: linear-gradient(90deg, transparent calc(100% - 1px), #e7edf5 0), linear-gradient(transparent calc(100% - 1px), #e7edf5 0); background-size: 25% 100%, 100% calc(100% / 3); }
.lesson { z-index: 1; align-self: center; min-width: 0; margin-inline: .22rem; padding: .35rem .45rem; border-left: 3px solid currentColor; border-radius: .38rem; font-size: clamp(.62rem, 1vw, .79rem); line-height: 1.25; overflow-wrap: anywhere; }
.lesson small { display: block; margin-top: .2rem; font-size: .85em; white-space: nowrap; }
.surf { grid-column: 2 / span 2; grid-row: 2; color: #144c9c; background: #dceaff; }
.kite { grid-column: 3 / span 2; grid-row: 3; color: #2d624c; background: #e0f0e8; }
.wing { grid-column: 4 / span 2; grid-row: 4; color: #795016; background: #fff0d3; }
.section { padding-block: clamp(2.8rem, 7.5vw, 5.6rem); }
.section-intro { margin-block: .8rem 1.35rem; max-width: 35rem; color: var(--muted); }
.features, .plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.65rem; }
.feature, .plan { padding: clamp(1.05rem, 2vw, 1.55rem); border: 1px solid var(--line); border-radius: .75rem; background: var(--paper); overflow-wrap: anywhere; }
.feature h3 { border-left: 3px solid #70a5ff; padding-left: .75rem; }
.feature p, .plan p { margin-top: .7rem; color: var(--muted); }
.pricing { background: var(--tint); border-block: 1px solid var(--line); }
.plan { display: flex; align-items: flex-start; flex-direction: column; }
.plan-price { display: block; margin-top: 1rem; font-size: 1.7rem; letter-spacing: -.025em; }
.plan .plan-terms { margin-top: .25rem; font-size: .88rem; }
.plan ul { padding-left: 1.2rem; }
.plan .button { margin-top: auto; }
.plan p:last-of-type { margin-bottom: 1.05rem; }
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { padding: .82rem .1rem; cursor: pointer; font-weight: 650; }
.faq details p { padding-bottom: 1rem; color: var(--muted); white-space: pre-line; }
.contact { background: #eaf1fc; border-block: 1px solid var(--line); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); align-items: start; gap: clamp(1.35rem, 5vw, 4.5rem); }
.email { font-weight: 650; color: var(--deep); overflow-wrap: anywhere; }
.contact-card { padding: clamp(1.1rem, 3vw, 1.8rem); border: 1px solid var(--line); border-radius: .8rem; background: var(--paper); }
.form-grid { min-inline-size: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; border: 0; padding: 0; margin: 0; }
.form-grid label { display: grid; align-content: start; gap: .3rem; font-size: .9rem; font-weight: 650; }
.form-grid small { color: var(--muted); font-size: .76rem; font-weight: 400; }
.form-grid :is(input,textarea) { min-width: 0; width: 100%; min-height: 2.65rem; padding: .45rem .6rem; border: 1px solid #aebcd0; border-radius: .4rem; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; font-weight: 400; }
.form-grid textarea { resize: vertical; }
.form-grid :disabled { opacity: .63; cursor: not-allowed; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.form-footer p { color: var(--muted); font-size: .83rem; }
.field-error { color: #9e2730; }
.form-state { margin-bottom: 1rem; padding: .65rem .85rem; border-radius: .45rem; background: #eaf1fc; }
.site-footer { padding-block: .5rem; }
@media (max-width: 860px) {
    .features, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-layout { grid-template-columns: minmax(0, 1fr); }
    .schedule { max-width: 38rem; width: 100%; }
}
@media (max-width: 600px) {
    .wrap { width: min(100% - 1.5rem, 73rem); }
    .header-inner { flex-wrap: wrap; gap: .65rem; padding-block: .6rem; }
    .header-inner nav { order: 2; flex-basis: 100%; justify-content: flex-start; flex-wrap: wrap; }
    .brand img { width: 7.4rem; }
    .header-action { padding-inline: .6rem; }
    .hero-layout { padding-block: 2.4rem; }
    .features, .plans, .faq, .contact-layout, .form-grid { grid-template-columns: minmax(0, 1fr); }
    .schedule { padding: .55rem; }
    .lesson { margin-inline: .14rem; padding: .3rem; }
    .contact-card { padding: .95rem; }
}
