/* CharterMate's own pages (landing, /about, signed-in home): the "Sun and sea" look. Loaded after app.css. */
:root {
  --lagoon: #0E7C86; --lagoon-dark: #0B6670; --sun: #FFB547; --coral: #F2705B; --coral-text: #C24E3A;
  --jungle: #2E7D5B; --sky: #E6F5FB; --sand: #FBF3E4; --deep: #0E3B47; --body-text: #2D5560; --hairline: #E3EEF1;
}
body.site { font-family: var(--body); color: var(--deep); }
.site h1, .site h2, .site h3 { letter-spacing: -0.02em; }
.s-wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Header */
.s-header { background: #FFFFFF; border-bottom: 1px solid var(--hairline); position: relative; z-index: 5; }
.s-header .s-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.s-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--deep); font-weight: 800; font-size: 23px; letter-spacing: -0.02em; }
.s-logo:hover { color: var(--deep); }
.s-logo svg { display: block; }
.s-nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 15px; flex-wrap: wrap; }
.s-nav a { color: var(--body-text); text-decoration: none; }
.s-nav a:hover, .s-nav a[aria-current="page"] { color: var(--deep); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.s-actions { display: flex; align-items: center; gap: 12px; }
.s-menu { position: relative; }
.s-menu-btn { display: inline-flex; align-items: center; gap: 8px; background: #FFFFFF; color: var(--deep); border: 2px solid #B9DCE6; border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; min-height: 44px; }
.s-menu-list { position: absolute; right: 0; top: 52px; background: #FFFFFF; border-radius: 18px; box-shadow: 0 14px 40px rgba(14,59,71,0.18); padding: 8px; min-width: 220px; display: flex; flex-direction: column; }
.s-menu-list a, .s-menu-list button { display: block; padding: 10px 12px; border-radius: 12px; text-decoration: none; font: inherit; font-weight: 700; color: var(--deep); background: none; border: none; text-align: left; cursor: pointer; }
.s-menu-list a:hover, .s-menu-list button:hover { background: var(--sky); }
.s-menu-list .s-signout { border-top: 2px solid var(--sky); border-radius: 0 0 12px 12px; color: #B42318; }
@media (max-width: 820px) { .s-nav.s-landing-nav { display: none; } }

/* Buttons */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 14px 24px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; border: none; min-height: 48px; white-space: nowrap; }
.s-btn-sm { padding: 10px 18px; font-size: 15px; min-height: 44px; }
.s-btn-lagoon { background: var(--lagoon); color: #FFFFFF; }
.s-btn-lagoon:hover { background: var(--lagoon-dark); color: #FFFFFF; }
.s-btn-sun { background: var(--sun); color: var(--deep); }
.s-btn-sun:hover { background: #FFC56E; color: var(--deep); }
.s-btn-ghost { background: #FFFFFF; color: var(--deep); box-shadow: inset 0 0 0 2px #B9DCE6; }
.s-btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--lagoon); color: var(--deep); }
.s-btn[disabled] { opacity: 0.6; cursor: progress; }

/* Hero */
.s-hero { background: var(--sky); }
.s-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 52px; align-items: center; padding-top: 64px; padding-bottom: 24px; }
.s-hero h1 { font-size: clamp(38px, 5.2vw, 58px); line-height: 1.04; font-weight: 800; }
.s-lede { font-size: 19px; color: var(--body-text); max-width: 560px; margin-top: 20px; }
.s-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.s-scenery { display: block; width: 100%; height: clamp(120px, 14vw, 200px); }
.s-card { background: #FFFFFF; border-radius: 24px; padding: 24px; box-shadow: 0 24px 60px rgba(14,124,134,0.16); display: flex; flex-direction: column; gap: 14px; }
.s-eyebrow { font-weight: 700; font-size: 14px; color: var(--coral-text); }
.s-meter { height: 10px; background: var(--sand); border-radius: 999px; overflow: hidden; }
.s-meter > div { height: 100%; background: var(--sun); border-radius: 999px; }
.s-terms { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; font-size: 14px; border-top: 1px solid #EEF4F6; padding-top: 14px; align-items: center; }
.s-tag { border-radius: 999px; padding: 1px 10px; font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.s-tag.ok { background: #DDF0E6; color: #1F5E43; }
.s-tag.mid { background: #FFF1D6; color: #7A4A00; }
.s-note { font-size: 12.5px; color: var(--muted); }
.s-ticker { font-size: 13.5px; font-weight: 700; color: var(--lagoon-dark); min-height: 1.4em; margin-top: -4px; transition: opacity .35s ease, transform .35s ease; }
.s-ticker.out { opacity: 0; transform: translateY(4px); }
.s-meter > div { transition: width .8s cubic-bezier(.3,.7,.3,1); }
.s-terms [data-row] { border-radius: 8px; transition: background-color .6s ease; margin: -2px -6px; padding: 2px 6px; }
.s-terms [data-row].hit { background: #FFF6E0; }
.s-tag { transition: background-color .4s ease, color .4s ease; }

/* Find my trip */
.s-find { background: #FFFFFF; border-radius: 22px; padding: 20px; margin-top: 20px; max-width: 560px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 10px 30px rgba(14,59,71,0.10); }
.s-find h2 { font-size: 21px; }
.s-find form { display: flex; flex-direction: column; gap: 10px; }
.s-field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.s-field input, .s-field select, .s-field textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 2px solid var(--field-line); border-radius: 14px; background: var(--field); color: var(--deep); min-height: 48px; width: 100%; }
.s-field textarea { min-height: 120px; resize: vertical; }
.s-field input:focus, .s-field select:focus, .s-field textarea:focus { outline: none; border-color: var(--lagoon); background: #FFFFFF; }
.s-status { font-weight: 700; font-size: 15px; }
.s-status.err { color: #B42318; }
.s-status.ok { color: #1F5E43; }

/* Sections */
.s-section { padding-top: 72px; padding-bottom: 24px; }
.s-section h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.08; }
.s-section .s-sub { font-size: 18px; color: var(--body-text); max-width: 720px; margin-top: 10px; }
.s-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.s-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.s-pain { background: var(--sand); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.s-pain h3, .s-step h3, .s-benefit h3 { font-size: 21px; }
.s-pain p, .s-step p, .s-benefit p { color: var(--body-text); }
.s-step { display: flex; flex-direction: column; gap: 12px; }
.s-step .s-shot { background: var(--sky); border-radius: 22px; padding: 16px; min-height: 196px; display: flex; flex-direction: column; gap: 8px; }
.s-num { width: 40px; height: 40px; border-radius: 999px; color: #FFFFFF; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.s-chip { background: #FFFFFF; border-radius: 14px; padding: 10px 12px; font-size: 13.5px; }
.s-cabins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.s-cabin { background: var(--sand); border-radius: 14px; padding: 10px 12px; }
.s-cabin.open { background: #FFFFFF; border: 2px dashed var(--field-line); }
.s-cabin .no { font-size: 12px; font-weight: 800; color: var(--coral-text); }
.s-cabin .nm { font-weight: 800; font-size: 14px; }
.s-cabin .st { font-size: 12px; font-weight: 800; color: var(--jungle); }
.s-cabin .st.maybe { color: var(--muted); }
.s-vote { background: #FFFFFF; border-radius: 14px; padding: 10px 12px; font-size: 13.5px; display: flex; justify-content: space-between; gap: 8px; }
.s-vote.won { background: var(--lagoon); color: #FFFFFF; }

.s-biz { background: var(--sand); margin-top: 72px; }
.s-biz .s-section { padding-bottom: 72px; }
.s-benefit { background: #FFFFFF; border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.s-benefit svg { display: block; }
.s-pricing { color: var(--body-text); font-size: 15px; }
/* Partner walkthrough video (captions are burned in, so no caption track) */
.s-video { margin: 28px 0 0; max-width: 880px; }
.s-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 18px; background: var(--deep); box-shadow: 0 18px 40px rgba(14, 59, 71, .16); }

.s-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.s-about p { font-size: 18px; color: var(--body-text); }
.s-about p + p { margin-top: 12px; }

.s-contact { background: var(--sky); border-radius: 28px; padding: clamp(20px, 4vw, 36px); display: flex; flex-direction: column; gap: 18px; margin-bottom: 72px; }
.s-contact form { display: flex; flex-direction: column; gap: 14px; }
.s-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.s-footer { background: var(--sky); color: var(--body-text); font-size: 14px; }
.s-footer .s-wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.s-footer a { color: var(--deep); }

/* Signed-in home */
.s-home { padding-top: 40px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.s-home h2 { font-size: 32px; }
.s-pitch { background: var(--lagoon); color: #FFFFFF; border-radius: 28px; padding: 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.s-pitch h2 { color: #FFFFFF; font-size: 28px; }
.s-pitch p { color: #E3F6F7; }
.site .plan-card { background: var(--sand); }
.site .plan-card .meter > div { background: var(--sun); }
.site .new-plan { max-width: 760px; }

@media (max-width: 760px) {
  .s-hero-grid, .s-grid3, .s-grid2, .s-about { grid-template-columns: minmax(0, 1fr); }
  .s-hero-grid { padding-top: 40px; gap: 32px; }
}
