/* Sea.Me website – shared styles
   Colours, fonts and sizes match the original Framer site. */

:root {
  --bg: #424040;          /* page background */
  --panel: #575553;       /* large rounded hero panel */
  --card: #454545;        /* feature cards, pills */
  --card-deep: #424141;   /* testimonial cards */
  --ink: #000000;
  --white: #ffffff;
  --muted: #cfcfcf;
  --lime: #b8da0a;
  --rule: rgba(255, 255, 255, 0.14);
  --font: "Manrope", system-ui, sans-serif;
  --font-nav: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  --font-sign: "Satoshi", "Manrope", system-ui, sans-serif;
  --font-ui: "Inter", system-ui, sans-serif;
  --font-display-alt: "Syne", "Manrope", system-ui, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-header .logo img { width: 119px; height: auto; }
.site-header nav ul { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.site-header nav a { font-family: var(--font-nav); font-size: 16px; font-weight: 500; text-decoration: none; color: var(--white); }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--lime); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 28px; height: 2.5px; border-radius: 2px; background: var(--white); margin: 7px auto; transition: transform .25s; }
.menu-open .menu-btn span:first-child { transform: translateY(4.75px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-4.75px) rotate(-45deg); }

/* ---------- Shared bits ---------- */
.pill-label {
  display: inline-block; background: var(--white); color: var(--ink);
  border-radius: 12px; padding: 8px 24px;
  font-size: 12px; line-height: 18px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
}
.h-section { font-size: 42px; line-height: 1.4; font-weight: 600; margin: 0; }
.h-page { font-size: 62px; line-height: 1.2; font-weight: 600; margin: 0; }
.center { text-align: center; }

.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 150px; height: 56px; border-radius: 999px; background: var(--white); color: var(--ink);
  text-decoration: none; transition: transform .2s;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn svg { height: 40px; width: auto; }

.round-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 0; background: #000; color: #fff;
  display: grid; place-items: center; cursor: pointer; flex: none;
}
.round-btn.soft { width: 40px; height: 40px; background: rgba(0, 0, 0, .25); }
.round-btn svg { width: 20px; height: 20px; }

/* Phone mockup: screenshot inside the device frame */
.phone { position: relative; aspect-ratio: 722 / 1470; }
.phone .screen { position: absolute; inset: 2% 4.1%; width: 91.8%; height: 96.2%; object-fit: cover; border-radius: 9% / 4.4%; }
.phone .frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Hero panel ---------- */
.panel {
  margin: 0 8px; border-radius: 32px; overflow: hidden;
  background:
    radial-gradient(60% 45% at 50% 30%, rgba(105, 103, 100, .55) 0%, rgba(105, 103, 100, 0) 100%),
    var(--panel);
}
.hero { padding: 0 20px 72px; text-align: center; }
.hero .stars {
  display: inline-flex; gap: 2px; align-items: center; justify-content: center;
  width: 146px; height: 53px; border-radius: 999px; background: var(--card); margin-top: 0;
}
.hero .stars svg { width: 18px; height: 18px; }
.hero h1 { margin: 16px 0 0; }
.hero .sub { margin: 20px auto 0; font-size: 18px; line-height: 1.3; font-weight: 700; max-width: 900px; }
.hero .sub.lg { font-size: 24px; }
.hero .store-buttons { justify-content: center; margin-top: 24px; }

/* Hero phone carousel */
.phones { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; margin: 56px auto 0; height: 580px; }
.phones .slot { flex: none; transition: transform .45s ease, opacity .45s ease; }
.phones .slot img { width: 100%; height: auto; border-radius: 26px; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.phones .s1, .phones .s5 { width: 204px; }
.phones .s2, .phones .s4 { width: 228px; }
.phones .s3 { width: 276px; }
.phones .s3 .phone img.screen { width: 91.8%; height: 96.2%; object-fit: cover; border-radius: 9% / 4.4%; box-shadow: none; }
.phones .s3 .phone img.frame { border-radius: 0; box-shadow: none; }
.phones .nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; }
.phones .nav.prev { left: calc(50% - 190px); }
.phones .nav.next { right: calc(50% - 190px); }

/* ---------- Testimonials ---------- */
.testimonials {
  max-width: 1080px; margin: 48px auto 0; background: var(--bg); border-radius: 40px;
  padding: 80px 0 64px; text-align: center; position: relative; overflow: hidden;
}
.testimonials h2 { margin: 16px 20px 48px; }
.t-track { display: flex; gap: 16px; width: max-content; animation: ticker 50s linear infinite; }
.t-viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.t-viewport:hover .t-track { animation-play-state: paused; }
.t-card {
  width: 299px; min-height: 300px; flex: none; background: var(--card-deep); border-radius: 32px; padding: 32px;
  text-align: left; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.t-card p { margin: 0; font-size: 16px; line-height: 22.4px; }
.t-card .who { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.t-card .who img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .t-track { animation: none; } }

/* ---------- How it works ---------- */
.how { padding: 72px 0 40px; text-align: center; }
.how h2 { max-width: 840px; margin: 16px auto 48px; padding: 0 20px; }
.how-carousel { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.how-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0 calc((100% - 1080px) / 2); scrollbar-width: none;
}
.how-track::-webkit-scrollbar { display: none; }
.how-card {
  flex: 0 0 532px; scroll-snap-align: center; background: var(--card); border-radius: 40px; padding: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 40px;
}
.how-card h3 { margin: 0; font-size: 24px; line-height: 33.6px; font-weight: 600; }
.how-card p { margin: 16px auto 0; font-size: 16px; line-height: 22.4px; max-width: 421px; }
.how-card .phone { width: 291px; }
.how-carousel .round-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.how-carousel .prev { left: max(20px, calc(50% - 540px)); }
.how-carousel .next { right: max(20px, calc(50% - 540px)); }
.dots { display: inline-flex; gap: 6px; background: var(--white); border-radius: 50px; padding: 10px 14px; margin-top: 32px; }
.dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: rgba(0, 0, 0, .25); cursor: pointer; }
.dots button[aria-current="true"] { background: #000; }

/* ---------- Mission ---------- */
.mission { padding: 80px 20px; text-align: center; }
.mission .statement { max-width: 820px; margin: 24px auto 0; }
.mission .statement .w { opacity: .18; transition: opacity .3s; }
.mission .statement .w.on { opacity: 1; }
.mission .sign { font-family: var(--font-sign); font-size: 18px; line-height: 23.4px; margin-top: 40px; }
.mission .sign p { margin: 0; }

/* ---------- Download CTA ---------- */
.cta-wrap { padding: 40px 20px 80px; }
.cta {
  position: relative; max-width: 1094px; margin: 0 auto; border-radius: 40px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 360px; align-items: center; gap: 24px; padding: 40px 80px;
  background:
    radial-gradient(55% 75% at 75% 35%, #000 45%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(180deg, #8d8c8b 0%, #9d9c9b 100%);
}
.cta .label { font-size: 12px; line-height: 18px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.cta h2 { font-size: 42px; line-height: 1.4; font-weight: 700; margin: 12px 0 28px; max-width: 470px; }
.cta .phone { width: 290px; justify-self: center; }

/* ---------- Footer ---------- */
.site-footer { max-width: 1200px; margin: 0 auto; padding: 24px 20px 32px; text-align: center; }
.site-footer .tagline { font-size: 42px; line-height: 1.4; font-weight: 600; margin: 0; }
.site-footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; list-style: none; padding: 0; margin: 32px 0; }
.site-footer .links a { font-size: 12px; line-height: 18px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; }
.site-footer .links a:hover { color: var(--lime); }
.social { display: flex; justify-content: center; gap: 12px; }
.social a { width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: #000; display: grid; place-items: center; }
.social svg { width: 24px; height: 24px; }
.site-footer .big-logo { width: 844px; max-width: 100%; margin: 32px auto 0; }
.site-footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; padding: 0 0 8px; }
.site-footer .legal p { margin: 0; font-size: 16px; }
.site-footer .legal nav { display: flex; gap: 16px; font-family: var(--font-sign); font-size: 14px; }
.site-footer .legal nav a { text-decoration: none; }
.site-footer .legal nav a:hover { color: var(--lime); }

/* ---------- Jobs page ---------- */
.jobs-panel { padding: 72px 32px 80px; }
.jobs-head { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.jobs-head h1 { color: var(--lime); }
.jobs-head .intro { margin: 0; font-size: 18px; max-width: 560px; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 18px; }
.chip { min-height: 44px; padding: 0 20px; border-radius: 999px; font: 600 14px var(--font); cursor: pointer; background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, .25); }
.chip[aria-pressed="true"] { background: var(--white); color: #000; border-color: var(--white); }
.search { min-height: 44px; width: 220px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: var(--white); font: 500 14px var(--font); outline: none; }
.search::placeholder { color: #bdbdbd; }
.search:focus { border-color: var(--lime); }
.jobs-body { max-width: 1120px; margin: 44px auto 0; }
.jobs-count { margin: 0 0 16px 4px; font-size: 14px; color: var(--muted); }
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.job-card { display: flex; flex-direction: column; gap: 4px; background: var(--card); border-radius: 24px; padding: 26px 26px 22px; text-decoration: none; color: var(--white); transition: transform .2s; }
.job-card:hover { transform: translateY(-3px); }
.job-card .posted { font-size: 13px; color: #bdbdbd; margin-bottom: 6px; }
.job-card .title { font-size: 20px; line-height: 1.3; font-weight: 600; }
.job-card .yacht { font-size: 15px; color: #d6d6d6; }
.job-card .loc { font-size: 16px; color: var(--lime); margin-top: 10px; }
.job-card .dept { font-size: 16px; }
.job-card .rule { height: 1px; background: #575555; margin: 16px 0 14px; }
.job-card .foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.job-card .terms { font-size: 14px; color: #d6d6d6; }
.job-card .cta-pill { flex: none; background: var(--lime); color: #000; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; }
.jobs-empty { background: var(--card); border-radius: 24px; padding: 40px; text-align: center; }

/* ---------- Pricing ---------- */
.pricing { padding: 52px 20px 40px; text-align: center; }
.toggle { display: inline-flex; gap: 4px; background: #000; border: 1px solid var(--lime); border-radius: 8px; padding: 4px; margin: 40px 0 56px; }
.toggle button { border: 0; background: transparent; color: #fff; font: 400 16px var(--font-ui); padding: 5px 20px; border-radius: 4px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: #fff; color: #000; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 490px)); justify-content: center; align-items: center; gap: 20px; }
.plan {
  background: #fff; color: #333; border-radius: 20px; padding: 30px; text-align: left; font-family: var(--font-ui);
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.08);
}
.plan.wide { grid-column: 1 / -1; width: 100%; max-width: 1000px; justify-self: center; }
.plan .name { font-size: 20px; font-weight: 700; color: #666; margin: 0; }
.plan .name.light { font-weight: 600; }
.plan .tag { font-size: 20px; font-weight: 600; color: #f0280a; margin: 4px 0 0; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.plan .price b { font-size: 54px; line-height: 1.1; font-weight: 700; color: #333; letter-spacing: -0.02em; }
.plan .price span { font-size: 14px; font-weight: 600; color: #666; }
.plan .price + .price { margin-top: 4px; }
.plan .note { font-size: 14px; font-weight: 600; color: #666; margin: 10px 0 0; }
.plan .big { font-size: 40px; line-height: 1.2; font-weight: 700; color: #333; margin: 10px 0 0; letter-spacing: -0.02em; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.plan li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #666; }
.plan li svg { width: 20px; height: 20px; flex: none; }
.plan .foot { font-size: 16px; font-weight: 600; color: #666; margin: 26px 0 0; }
[data-plans][hidden] { display: none; }

/* ---------- FAQ ---------- */
.faq { padding: 52px 20px 40px; }
.faq h1 { text-align: center; }
.faq-list { max-width: 730px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; padding: 20px 0; text-align: left; cursor: pointer;
  font-size: 18px; font-weight: 500; color: var(--white); font-family: var(--font);
}
.faq-item button svg { width: 20px; height: 20px; flex: none; transition: transform .25s; opacity: .7; }
.faq-item button[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-item .answer { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq-item .answer p { margin: 0 0 20px; font-size: 16px; line-height: 22.4px; color: #e6e6e6; }

/* ---------- Contact ---------- */
.contact-band { background: var(--lime); text-align: center; padding: 19px 20px; }
.contact-band h1 { margin: 0; font-family: var(--font-display-alt); font-size: 28px; font-weight: 700; color: #fff; }
.contact { max-width: 1300px; margin: 0 auto; padding: 100px 40px 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact .lead { font-family: var(--font-display-alt); font-size: 23px; line-height: 1.3; font-weight: 700; max-width: 532px; margin: 0; }
.contact form { display: grid; gap: 12px; width: 240px; font-family: var(--font-ui); }
.contact label { font-size: 16px; font-weight: 500; display: grid; gap: 8px; margin-top: 4px; }
.contact input, .contact textarea {
  width: 100%; border: 0; border-radius: 10px; background: rgba(187, 187, 187, .15); color: #fff;
  font: 400 14px var(--font-ui); padding: 12px; outline: none;
}
.contact textarea { height: 100px; resize: vertical; }
.contact input::placeholder, .contact textarea::placeholder { color: #999; }
.contact input:focus, .contact textarea:focus { box-shadow: 0 0 0 1px var(--lime); }
.contact .submit { margin-top: 10px; height: 40px; border: 0; border-radius: 10px; background: var(--lime); color: #fff; font: 600 14px var(--font-ui); cursor: pointer; }
.contact .status { font-size: 14px; min-height: 20px; margin: 4px 0 0; }

/* ---------- Privacy ---------- */
.legal-page { max-width: 1296px; margin: 0 auto; padding: 52px 72px 80px; }
.legal-page h1 { margin-bottom: 32px; }
.legal-page p, .legal-page li { font-size: 16px; line-height: 22.4px; }
.legal-page p { margin: 0 0 16px; }
.legal-page ul { padding-left: 24px; margin: 0 0 16px; }
.legal-page li p { margin: 0 0 8px; }
.legal-page a { color: var(--lime); }

/* ---------- 404 ---------- */
.not-found { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 16px; padding: 80px 20px; }
.not-found h1 { font-size: 120px; line-height: 1; margin: 0; }
.not-found p { margin: 0; font-size: 18px; }
.btn-light { justify-self: center; display: inline-block; margin-top: 12px; background: #fff; color: #000; border-radius: 999px; padding: 14px 26px; font-weight: 700; text-decoration: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1199.98px) {
  .h-page { font-size: 52px; }
  .phones { transform: scale(.82); transform-origin: top center; height: 480px; }
  .cta { padding: 40px 48px; grid-template-columns: 1fr 300px; }
  .cta .phone { width: 250px; }
}

/* ---------- Phone ---------- */
@media (max-width: 809.98px) {
  .menu-btn { display: block; }
  .site-header nav { position: absolute; top: 68px; left: 8px; right: 8px; background: var(--card); border-radius: 24px; padding: 12px 20px; display: none; }
  .menu-open .site-header nav { display: block; }
  .site-header nav ul { flex-direction: column; gap: 0; }
  .site-header nav a { display: block; padding: 12px 0; font-size: 18px; }
  .panel { margin: 0; border-radius: 32px; }
  .h-page { font-size: 40px; }
  .h-section, .site-footer .tagline { font-size: 30px; }
  .hero .sub, .hero .sub.lg { font-size: 16px; }
  .phones { transform: none; height: auto; margin-top: 40px; }
  .phones .s1, .phones .s2, .phones .s4, .phones .s5 { display: none; }
  .phones .s3 { width: 240px; }
  .phones .nav.prev { left: calc(50% - 165px); }
  .phones .nav.next { right: calc(50% - 165px); }
  .testimonials { border-radius: 32px; margin: 40px 10px 0; padding: 56px 0 40px; }
  .how-track { padding: 0 20px; }
  .how-card { flex-basis: 86%; padding: 24px; gap: 28px; }
  .how-card .phone { width: 230px; }
  .how-carousel .round-btn { display: none; }
  .cta { grid-template-columns: 1fr; padding: 40px 24px 0; text-align: left; }
  .cta h2 { font-size: 30px; }
  .cta .phone { width: 240px; margin-bottom: -120px; }
  .cta-wrap { padding-bottom: 60px; }
  .cta { padding-bottom: 0; }
  .plans { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; padding: 56px 20px 80px; }
  .contact form { width: 100%; }
  .legal-page { padding: 40px 20px 60px; }
  .site-footer .legal { justify-content: center; text-align: center; }
  .jobs-panel { padding: 48px 16px 56px; }
  .search { width: 100%; }
}
