/* plainsailapps.com: one stylesheet for every page. Each app page sets --accent / --accent-soft / --accent-ink inline. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --ink: #0b1b2b; --body: #24323f; --muted: #3d4c5a; --faint: #5b6875;
  --sea: #1f6f8b; --sea-light: #7fb3c4; --mist: #f4f7f9; --line: #e2e7ec;
  --accent: #1f6f8b; --accent-soft: #e3eff3; --accent-ink: #ffffff;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--sea); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sea-light); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 560px; margin: 24px 0 0; }
.section { padding: 104px 0; }
.section h2 { font-size: clamp(32px, 4.4vw, 46px); max-width: 760px; }
.tint { background: var(--mist); }

/* header + footer */
header.site { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
header.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); }
.brand svg { width: 30px; height: 30px; }
nav.site { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; font-size: 15px; font-weight: 500; }
nav.site a { text-decoration: none; color: var(--ink); padding: 6px 0; }
nav.site a[aria-current] { color: var(--sea); }
nav.site a.pill { background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
footer.site { border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; padding-top: 36px; padding-bottom: 36px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--ink); text-decoration: underline; }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none; background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn:hover { color: #fff; background: #1d3347; }
.btn.ghost { background: #fff; color: var(--ink); border-color: #cfd7de; }
.btn.ghost:hover { background: var(--mist); color: var(--ink); }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 6px 22px; border-radius: 12px; background: #fff; color: var(--accent); text-decoration: none; font-weight: 700; font-size: 16px; line-height: 1.2; }
.store small { font-size: 11px; font-weight: 500; color: var(--muted); }

/* home hero */
.hero { background: var(--mist); overflow: hidden; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 460px; min-width: 0; }
.hero h1 { font-size: clamp(42px, 6vw, 70px); line-height: 1.02; letter-spacing: -0.03em; }
.hero-shots { flex: 1 1 480px; min-width: 0; display: flex; justify-content: center; align-items: center; }
.hero-shots .phone { width: 220px; flex: 0 0 auto; }
.hero-shots .phone:nth-child(1) { transform: rotate(-6deg) translate(34px, 26px); }
.hero-shots .phone:nth-child(2) { z-index: 2; position: relative; }
.hero-shots .phone:nth-child(3) { transform: rotate(6deg) translate(-34px, 26px); }

/* phone frame around a real screenshot */
.phone { border-radius: 36px; background: #0b0f14; padding: 8px; box-shadow: 0 30px 60px -24px rgba(11,27,43,.45); }
.phone img { border-radius: 28px; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; background: #fff; }
.phone.placeholder { aspect-ratio: 406 / 860; display: flex; }
.phone.placeholder div { flex: 1; border-radius: 28px; background: linear-gradient(160deg, var(--accent) 0 34%, #fff 34%); display: flex; align-items: flex-end; padding: 22px; color: var(--muted); font-size: 14px; font-weight: 600; }

/* promise strip */
.promises { border-bottom: 1px solid var(--line); }
.promises .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; padding-top: 26px; padding-bottom: 26px; }
.promise { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 15px; }
.promise svg { width: 22px; height: 22px; flex: 0 0 auto; stroke: var(--sea); }

/* app cards on home */
.cards { display: flex; flex-direction: column; gap: 28px; margin-top: 52px; }
.card { display: flex; flex-wrap: wrap; border-radius: 28px; overflow: hidden; background: var(--mist); text-decoration: none; color: inherit; }
.card:hover { color: inherit; }
.card:hover .more { text-decoration: underline; }
.card:nth-child(even) { flex-direction: row-reverse; }
.card-copy { flex: 1 1 420px; min-width: 0; padding: 52px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.card-copy p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--body); }
.card-art { flex: 1 1 420px; min-width: 0; background: var(--accent); display: flex; align-items: flex-end; justify-content: center; padding-top: 52px; height: 420px; overflow: hidden; }
.card-art .phone { width: 280px; height: 368px; overflow: hidden; border-radius: 40px 40px 0 0; padding-bottom: 0; }
.card-art .phone img, .card-art .phone.placeholder div { border-radius: 32px 32px 0 0; }
.card-art .phone.placeholder { aspect-ratio: auto; height: 368px; }
.app-id { display: flex; gap: 16px; align-items: center; }
.app-id .icon { width: 64px; height: 64px; border-radius: 16px; flex: 0 0 auto; }
.app-id strong { display: block; font-family: var(--display); font-size: 28px; line-height: 1.15; }
.app-id span { color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; }
.chips span { background: var(--accent-soft); color: var(--accent); padding: 6px 12px; border-radius: 999px; }
.more { font-weight: 600; color: var(--accent); }
.status { font-size: 14px; color: var(--faint); }

/* dark principles band */
.dark { background: var(--ink); color: #fff; }
.dark h2 { color: #fff; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; margin-top: 52px; }
.cols h3 { font-size: 22px; color: var(--sea-light); }
.cols p { margin: 12px 0 0; font-size: 17px; color: #c5d2dc; }

/* app page */
.app-hero { background: var(--accent); color: var(--accent-ink); }
.app-hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 92px; }
.app-hero .copy { flex: 1 1 520px; min-width: 0; }
.app-hero h1 { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.03; letter-spacing: -0.03em; margin-top: 28px; }
.app-hero .lead { color: inherit; opacity: .86; }
.app-hero .note { margin: 20px 0 0; font-size: 14px; opacity: .8; }
.app-hero .tagline { font-size: 14px; line-height: 1.5; opacity: .8; }
.app-hero .bigicon { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 0 0 2px rgba(255,255,255,.4), 0 10px 30px rgba(0,0,0,.25); }
.app-hero .art { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.app-hero .art .phone { width: 250px; transform: rotate(3deg); box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); }
.shots { display: flex; gap: 36px; margin-top: 52px; overflow-x: auto; padding: 0 0 24px; scroll-snap-type: x mandatory; }
.shot { flex: 0 0 236px; scroll-snap-align: start; margin: 0; }
.shot figcaption { margin-top: 20px; }
.shot figcaption strong { display: block; font-family: var(--display); font-size: 18px; }
.shot figcaption span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; margin-top: 52px; }
.feature { background: #fff; border-radius: 20px; padding: 30px; }
.feature svg { width: 28px; height: 28px; stroke: var(--accent); }
.feature h3 { font-size: 20px; margin-top: 16px; }
.feature p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.who { margin: 24px 0 0; font-size: 19px; line-height: 1.6; color: var(--body); max-width: 760px; }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 48px; }
.price { border: 1px solid #cfd7de; border-radius: 20px; padding: 30px; }
.price.best { border: 2px solid var(--accent); padding: 29px; background: var(--accent-soft); }
.price .name { font-weight: 600; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.price .badge { background: var(--accent); color: var(--accent-ink); font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.price .amt { font-family: var(--display); font-weight: 700; font-size: 40px; margin-top: 8px; line-height: 1.1; }
.price .amt small { font-size: 16px; font-weight: 500; color: var(--muted); }
.price p { margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.fine { margin: 20px 0 0; font-size: 14px; color: var(--faint); }
.faq { max-width: 820px; }
.faq details { border-top: 1px solid #cfd7de; padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid #cfd7de; }
.faq summary { font-weight: 600; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.cta { background: var(--accent); color: var(--accent-ink); }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; padding-top: 76px; padding-bottom: 76px; }
.cta h2 { font-size: clamp(30px, 3.6vw, 40px); max-width: 620px; }
.disclaimer { font-size: 14px; color: var(--faint); margin-top: 28px; }

/* text pages: privacy, support */
main.doc { padding: 64px 0 88px; }
main.doc .wrap { max-width: 760px; }
main.doc h1 { font-size: clamp(34px, 5vw, 46px); }
main.doc h2 { font-size: 24px; margin-top: 40px; }
main.doc h3 { font-size: 18px; margin-top: 26px; letter-spacing: 0; }
main.doc p, main.doc li { color: var(--body); }
.meta, main.doc .muted { color: var(--faint); font-size: 15px; }
.box { background: var(--mist); border-radius: 16px; padding: 4px 22px; margin: 24px 0; }
.crumb { font-size: 15px; margin-bottom: 18px; }

@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .hero .wrap { padding-top: 56px; }
  .hero-shots .phone { width: 150px; }
  .hero-shots .phone:nth-child(1) { transform: rotate(-6deg) translate(26px, 18px); }
  .hero-shots .phone:nth-child(3) { transform: rotate(6deg) translate(-26px, 18px); }
  .card-copy { padding: 32px 26px; }
  .card-art { height: 340px; }
  .card-art .phone { width: 240px; height: 288px; }
  nav.site { gap: 4px 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.preview-note{margin:8px 0 20px;color:#5B6472;font-size:.9rem}
