/* Planet Pilot site. Plain CSS, no build step. Light theme only. */

@font-face { font-family: "Fredoka"; src: url("/assets/fonts/fredoka-latin.woff2") format("woff2"); font-weight: 300 700; font-stretch: 75% 125%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212; }
@font-face { font-family: "Fredoka"; src: url("/assets/fonts/fredoka-hebrew.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-latin.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212; }
@font-face { font-family: "Rubik"; src: url("/assets/fonts/rubik-hebrew.woff2") format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }

:root {
  --sky: #3aa8f2;
  --sky-light: #bfe6ff;
  --sky-pale: #e9f6ff;
  --sky-deep: #1673cf;
  --navy: #14295c;
  --ink: #1d2c4c;
  --ink-soft: #4a5a7a;
  --sun: #ffcb3d;
  --sun-deep: #f2a20c;
  --cream: #fff8e8;
  --cream-deep: #ffefc7;
  --white: #ffffff;
  --grass: #5cc35a;
  --line: #d9e7f5;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 6px 0 rgba(20, 41, 92, 0.12), 0 14px 30px rgba(20, 41, 92, 0.10);
  --font-display: "Fredoka", "Rubik", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", "Rubik", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--sky-deep); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.15; margin: 0 0 0.5em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; inset-inline-start: 8px; top: -80px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 2px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.brand img { width: 40px; height: 40px; }
.nav { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 700; padding: 8px 12px; border-radius: 999px; font-size: 0.98rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sky-pale); color: var(--sky-deep); }
.nav .btn { margin-inline-start: 6px; }
.nav-toggle { display: none; margin-inline-start: auto; background: var(--sky-pale); border: 0; border-radius: 12px; width: 46px; height: 46px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--white); padding: 10px 16px 18px; border-bottom: 2px solid var(--line); box-shadow: 0 16px 30px rgba(20, 41, 92, 0.12); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  text-decoration: none; line-height: 1;
  padding: 14px 22px; border-radius: 999px; border: 3px solid var(--navy);
  background: var(--white); color: var(--navy);
  box-shadow: 0 4px 0 var(--navy);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--navy); color: var(--navy); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--navy); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-sun { background: var(--sun); }
.btn-sky { background: var(--sky); color: var(--white); }
.btn-sky:hover { color: var(--white); }
.btn-sm { padding: 10px 16px; font-size: 0.95rem; border-width: 2px; box-shadow: 0 3px 0 var(--navy); }
.btn-lg { padding: 18px 28px; font-size: 1.2rem; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(#2f9be8, #7cc8f7); color: var(--white); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 40, 90, 0.10) 0%, rgba(10, 40, 90, 0.05) 45%, rgba(10, 40, 90, 0.62) 100%); }
.hero .wrap { min-height: min(86vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 48px; padding-bottom: 56px; }
.hero-logo { width: min(520px, 82vw); filter: drop-shadow(0 8px 18px rgba(10, 30, 70, 0.35)); margin-bottom: 18px; }
.hero-tag { font-family: var(--font-display); font-size: clamp(1.2rem, 2.6vw, 1.6rem); font-weight: 500; max-width: 640px; text-shadow: 0 2px 10px rgba(10, 30, 70, 0.55); margin-bottom: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.date-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.95); color: var(--navy); font-family: var(--font-display); font-weight: 600; padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow); }
.date-pill svg { width: 20px; height: 20px; color: var(--sun-deep); }
.motion-toggle { position: absolute; right: 16px; top: 16px; z-index: 2; background: rgba(255, 255, 255, 0.85); border: 0; border-radius: 999px; padding: 8px 12px; font: 700 0.85rem var(--font-body); color: var(--navy); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.motion-toggle svg { width: 16px; height: 16px; }

/* Stats band */
.stats { background: var(--navy); color: var(--white); }
.stats ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
@media (min-width: 720px) { .stats ul { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .stats ul { grid-template-columns: repeat(6, 1fr); } }
.stats li { text-align: center; }
.stats b { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--sun); font-weight: 600; line-height: 1.1; }
.stats span { font-size: 0.92rem; color: #d6e4ff; }

/* Sections */
.section { padding: 72px 0; }
.section-sky { background: linear-gradient(180deg, var(--sky-pale), #f6fbff); }
.section-white { background: var(--white); }
.eyebrow { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sky-deep); background: var(--sky-pale); padding: 6px 12px; border-radius: 999px; margin-bottom: 12px; }
.section-sky .eyebrow { background: var(--white); }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.feature { display: grid; gap: 28px; align-items: center; margin-top: 56px; }
.feature:first-of-type { margin-top: 36px; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1.15fr 1fr; gap: 48px; }
  .feature.flip .feature-media { order: 2; }
}
.feature-media { position: relative; }
.shot { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 4px solid var(--white); background: var(--sky-light); aspect-ratio: 16 / 9; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-small { position: absolute; width: 46%; right: -10px; bottom: -26px; border-width: 3px; }
.flip .shot-small { right: auto; left: -10px; }
@media (max-width: 899px) { .shot-small { right: 8px; bottom: -18px; width: 42%; } .flip .shot-small { left: 8px; } .feature-media { margin-bottom: 16px; } }
.feature-text h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-inline-start: 32px; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314295c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Cards */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 32px; }
.card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 2px solid var(--line); }
.card h3 { margin-bottom: 6px; }
.card p:last-child { margin-bottom: 0; }
.card .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--sun); color: var(--navy); margin-bottom: 14px; border: 2px solid var(--navy); }
.card .ico svg { width: 28px; height: 28px; }

/* Gallery */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 28px; }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); border: 3px solid var(--white); aspect-ratio: 16 / 9; background: var(--sky-light); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.gallery a:hover img { transform: scale(1.04); }

/* Trailer */
.trailer { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 5px solid var(--white); background: var(--navy); margin-top: 28px; }
.trailer img { width: 100%; height: 100%; object-fit: cover; }
.trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 30, 70, 0.25); border: 0; cursor: pointer; width: 100%; color: var(--white); font: 600 1.1rem var(--font-display); }
.trailer-play span { display: inline-flex; align-items: center; gap: 12px; background: var(--sun); color: var(--navy); border: 3px solid var(--navy); box-shadow: 0 4px 0 var(--navy); padding: 16px 26px; border-radius: 999px; }
.trailer-play svg { width: 26px; height: 26px; }
.trailer-soon { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: rgba(255, 255, 255, 0.95); color: var(--navy); font-weight: 800; padding: 8px 16px; border-radius: 999px; white-space: nowrap; font-size: 0.95rem; }
.trailer-note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 10px; text-align: center; }

/* CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: var(--white); text-align: center; padding: 84px 0; background: var(--sky-deep); }
.cta-band picture, .cta-band picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12, 50, 110, 0.45); }
.cta-band h2 { color: var(--white); text-shadow: 0 3px 14px rgba(10, 30, 70, 0.5); }
.cta-band p { font-size: 1.2rem; text-shadow: 0 2px 10px rgba(10, 30, 70, 0.6); }
.cta-band .hero-cta { justify-content: center; }

/* FAQ */
.faq { max-width: 820px; margin: 28px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--radius-sm); border: 2px solid var(--line); box-shadow: 0 4px 0 rgba(20, 41, 92, 0.06); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 20px 18px; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Page head + prose */
.page-head { background: linear-gradient(180deg, var(--sky) 0%, #6cc1f6 100%); color: var(--white); padding: 56px 0 46px; position: relative; overflow: hidden; }
.page-head h1 { color: var(--white); text-shadow: 0 3px 12px rgba(10, 30, 70, 0.3); margin-bottom: 8px; }
.page-head p { font-size: 1.15rem; max-width: 720px; margin: 0; }
.page-head::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 80, 0.85), rgba(255, 210, 80, 0) 70%); pointer-events: none; }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-bottom: 0.35em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 0.98rem; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; }
.prose th, .prose td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--sky-pale); font-family: var(--font-display); font-weight: 600; color: var(--navy); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.notice { background: var(--cream-deep); border: 2px solid var(--sun-deep); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 28px; font-weight: 700; color: #6b4a00; }
code { background: var(--sky-pale); padding: 2px 6px; border-radius: 6px; font-size: 0.92em; word-break: break-word; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 2px solid var(--line); overflow: hidden; margin: 0; }
.facts dt, .facts dd { padding: 12px 18px; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { font-family: var(--font-display); font-weight: 600; color: var(--navy); background: var(--sky-pale); }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom: 0; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts dt { border-bottom: 0; padding-bottom: 4px; } .facts dd { padding-top: 4px; } }

.two-col { display: grid; gap: 28px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 40px; } }

.dl-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.dl-list li { background: var(--white); border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; display: grid; gap: 6px; }
.dl-list .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.dl-list b { font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 1.1rem; }
.dl-list small { color: var(--ink-soft); }
.tag { display: inline-block; font-size: 0.8rem; font-weight: 800; background: var(--sky-pale); color: var(--sky-deep); padding: 3px 10px; border-radius: 999px; }
.tag-warn { background: var(--cream-deep); color: #7a5300; }

/* Footer */
.site-footer { background: var(--navy); color: #c9d7f5; padding: 48px 0 32px; font-size: 0.96rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h2 { color: var(--white); font-size: 1.05rem; margin-bottom: 10px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-brand img { width: 180px; margin-bottom: 12px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 32px; padding-top: 20px; font-size: 0.86rem; color: #a9bbe0; }
.footer-legal p { margin: 0 0 6px; }

/* RTL */
[dir="rtl"] body, [dir="rtl"] { font-family: "Rubik", var(--font-body); }
[dir="rtl"] .faq summary { padding: 18px 20px 18px 56px; }
[dir="rtl"] .faq summary::after { right: auto; left: 18px; }
[dir="rtl"] .motion-toggle { right: auto; left: 16px; }
[dir="rtl"] .shot-small { right: auto; left: -10px; }
[dir="rtl"] .flip .shot-small { left: auto; right: -10px; }
@media (max-width: 899px) { [dir="rtl"] .shot-small { left: 8px; right: auto; } [dir="rtl"] .flip .shot-small { right: 8px; left: auto; } }
.ltr { direction: ltr; unicode-bidi: isolate; }
