/* Simoy Marine website. Same palette and type as the app: night-water navy, brass, sea glass. */
@font-face { font-family: 'Archivo'; src: url(../fonts/archivo.woff) format('woff'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --night: #07121a;      /* page */
  --chart: #0b1d28;      /* alternate band */
  --swell: #1b4458;      /* lines, raised surfaces */
  --spray: #eef4f4;      /* text */
  --mist: #a9bec5;       /* secondary text */
  --brass: #e2ad4f;      /* actions */
  --brass-ink: #1c1404;
  --glass: #8fd3dc;      /* links, flow lines */
  --line: rgba(143, 211, 220, .16);
  --radius: 12px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--night); color: var(--spray); font: 400 1.125rem/1.6 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--glass); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--spray); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: var(--brass-ink); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 12px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(7, 18, 26, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--spray); text-decoration: none; font-weight: 700; font-stretch: 80%; font-size: 1.45rem; letter-spacing: .005em; }
.logo img { display: block; width: auto; height: 48px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.top nav a { color: var(--mist); text-decoration: none; font-size: 1rem; }
.top nav a:hover, .top nav a[aria-current] { color: var(--spray); }
.top nav .btn { padding: 9px 16px; min-height: 40px; font-size: .98rem; }
.top nav a.btn-brass, .top nav a.btn-brass:hover { color: var(--brass-ink); }
@media (max-width: 640px) { .top nav a:not(.btn) { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius); font: 600 1.05rem/1.1 'Archivo', sans-serif; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-brass { background: var(--brass); color: var(--brass-ink); }
.btn-brass:hover { background: #f0c36f; color: var(--brass-ink); }
.btn-line { border-color: rgba(143, 211, 220, .45); color: var(--spray); background: rgba(7, 18, 26, .35); }
.btn-line:hover { border-color: var(--glass); color: var(--spray); }
.store { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 56px; padding: 8px 20px; border-radius: var(--radius); background: var(--spray); color: var(--night); text-decoration: none; line-height: 1.15; }
.store small { font-size: .78rem; opacity: .75; }
.store b { font-size: 1.15rem; font-weight: 700; font-stretch: 90%; }
.store:hover { background: #fff; color: var(--night); }
.store[aria-disabled="true"] { background: transparent; color: var(--mist); border: 1.5px dashed rgba(169, 190, 197, .4); cursor: default; }
.store[aria-disabled="true"] b { color: var(--spray); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(110% 80% at 85% 70%, #123245 0%, #0b2130 38%, var(--night) 75%); }
#flow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(7, 18, 26, .62) 0%, rgba(7, 18, 26, .38) 42%, rgba(7, 18, 26, 0) 62%); }
@media (max-width: 860px) { .hero::after { background: linear-gradient(180deg, rgba(7, 18, 26, .2) 0%, rgba(7, 18, 26, .55) 30%, rgba(7, 18, 26, .3) 70%, rgba(7, 18, 26, 0) 100%); } }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; min-height: min(780px, calc(100svh - 68px)); padding-top: 40px; padding-bottom: 0; }
.hero .wrap > div { padding-bottom: 48px; }
.hero h1 { margin: 0; font-weight: 760; font-stretch: 74%; font-size: clamp(3.4rem, 7.4vw, 6.6rem); line-height: .9; letter-spacing: -.012em; text-wrap: balance; }
.hero .lede { max-width: 34ch; margin: 28px 0 34px; font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.5; color: #d3e0e3; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { margin: 18px 0 0; font-size: .95rem; color: var(--mist); }
.hero-shot { justify-self: center; align-self: end; width: min(340px, 100%); margin-bottom: -150px; border-radius: 44px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1.5px rgba(143, 211, 220, .22); transform: rotate(2deg); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; gap: 8px; }
  .hero .wrap > div { padding-bottom: 24px; }
  .hero-shot { width: min(300px, 78vw); transform: none; margin-bottom: -260px; }
}

/* ---------- sections ---------- */
section { padding: clamp(72px, 10vw, 128px) 0; }
.band { background: var(--chart); }
.banner { margin: 0; background: #08181e; }
.banner img { display: block; width: 100%; height: auto; max-height: 82vh; object-fit: cover; object-position: left top; }
h2 { margin: 0 0 18px; font-weight: 720; font-stretch: 78%; font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1; letter-spacing: -.005em; text-wrap: balance; }
h3 { margin: 0 0 12px; font-weight: 680; font-stretch: 84%; font-size: clamp(1.6rem, 2.4vw, 2.05rem); line-height: 1.08; text-wrap: balance; }
.intro { max-width: 58ch; color: #d3e0e3; margin: 0; }

/* features: alternating rows, each sized to its screenshot */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; margin-top: clamp(64px, 9vw, 112px); }
.feature.flip .feature-text { order: 2; }
.feature.wide { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); }
.feature.wide.flip { grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); }
.feature-text p { max-width: 46ch; margin: 0 0 14px; color: #d3e0e3; }
.feature-text ul { margin: 18px 0 0; padding: 0; list-style: none; max-width: 46ch; }
.feature-text li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid var(--line); color: var(--mist); font-size: 1.02rem; }
.feature-text li::before { content: ''; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 2px; border-radius: 2px; background: var(--brass); }
.phone { width: min(330px, 100%); justify-self: center; border-radius: 40px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 0 1.5px rgba(143, 211, 220, .18); }
.screen { border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 0 1.5px rgba(143, 211, 220, .18); }
.pair { display: flex; gap: 20px; justify-content: center; }
.pair .phone { width: min(260px, 48%); }
.pair .phone:last-child { margin-top: 56px; }
@media (max-width: 860px) {
  .feature, .feature.wide, .feature.wide.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-text { order: 0; }
  .phone { width: min(300px, 80%); }
}

/* principles */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: 48px; }
.principles h3 { font-size: 1.55rem; }
.principles p { margin: 0; color: #d3e0e3; }
.principles > div { padding-top: 22px; border-top: 2px solid var(--brass); }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }

/* get the app */
.platforms { margin-top: 44px; border-top: 1px solid var(--line); }
.platform { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.platform h3 { margin: 0 0 4px; font-size: 1.5rem; }
.platform p { margin: 0; color: var(--mist); max-width: 60ch; }
@media (max-width: 640px) { .platform { grid-template-columns: 1fr; } }

/* faq */
.faq { margin-top: 36px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 640; font-stretch: 88%; font-size: 1.3rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--glass); border-bottom: 2px solid var(--glass); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: 0 0 22px; max-width: 64ch; color: #d3e0e3; }

/* prose pages: privacy, support */
.page { padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 10vw, 120px); }
.prose { max-width: 70ch; }
.prose h1 { margin: 0 0 10px; font-weight: 740; font-stretch: 76%; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: .98; }
.prose .meta { color: var(--mist); margin: 0 0 40px; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 52px 0 14px; }
.prose h3 { font-size: 1.35rem; margin: 30px 0 8px; }
.prose p, .prose li { color: #d3e0e3; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--brass); }
.prose .summary { padding: 22px 24px; border-left: 3px solid var(--brass); background: rgba(143, 211, 220, .05); border-radius: 0 var(--radius) var(--radius) 0; }
.prose .summary p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 1rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.prose th { color: var(--spray); font-weight: 640; }
.prose td { color: #d3e0e3; }
@media (max-width: 640px) { .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; } .prose thead { display: none; } .prose td { border: 0; padding: 2px 0; } .prose tr { padding: 12px 0; border-bottom: 1px solid var(--line); } .prose td:first-child { font-weight: 640; color: var(--spray); } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--mist); font-size: .98rem; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { color: var(--spray); text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot p { margin: 0; max-width: 70ch; }
.foot .warn { color: var(--spray); }
@media (max-width: 640px) { .foot .wrap { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .hero-shot { transform: none; } }
