/* Nimble Tide LLC — shared site styles */
:root {
  color-scheme: light;
  --paper: #f5f4ef;
  --paper-2: #ebeae3;
  --ink: #173a40;
  --muted: #566b6b;
  --teal: #277b78;
  --teal-dark: #1e5f5d;
  --sand: #d8a976;
  --line: rgba(23, 58, 64, .14);
  --display: "Manrope", "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  --body: "DM Sans", "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.03em; line-height: 1.15; margin: 0; }
p { margin: 0; }
p + p { margin-top: 1em; }

.shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; padding: 8px 12px; background: var(--ink); color: var(--paper); border-radius: 6px; }
.skip:focus { left: 8px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; min-height: 80px; padding: 14px 0; }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; color: var(--teal); flex: none; }
.brand-name { font-family: var(--display); font-size: 15px; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--muted); text-decoration: none; padding: 4px 0; border-bottom: 1.5px solid transparent; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--teal); }

/* Page sections */
main { display: block; }
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.section:first-child { border-top: 0; }
.section-label { margin: 0 0 14px; color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.section h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 600; max-width: 20em; }
.section h2 + p, .section h2 + .lede { margin-top: 14px; }
.lede { max-width: 620px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.copy { max-width: 620px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 32px 8%; align-items: start; }
.more { display: inline-block; margin-top: 18px; color: var(--teal); font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }
.more::after { content: " \2192"; }

/* Page hero (all pages) */
.page-hero { padding: 56px 0 48px; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 600; max-width: 14em; }
.page-hero .lede { margin-top: 18px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Home hero */
.home-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px 6%; align-items: center; padding: 64px 0 72px; }
.home-hero h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 600; max-width: 12em; }
.home-hero .lede { margin-top: 20px; }
.hero-art { position: relative; display: grid; place-items: center; width: min(100%, 420px); margin: 0 auto; aspect-ratio: 1; }
.orbit { position: absolute; inset: 0; border: 1px solid rgba(23, 58, 64, .18); border-radius: 50%; transform: rotate(-23deg) scaleY(.45); }
.orbit::after { content: ""; position: absolute; top: 20%; right: 14%; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.orb { position: relative; width: 86%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #e4e9df; }
.orb::before, .orb::after { content: ""; position: absolute; left: -16%; width: 132%; height: 50%; border: 1px solid rgba(39, 123, 120, .34); border-radius: 50%; transform: rotate(-21deg); }
.orb::before { top: 25%; background: rgba(39, 123, 120, .06); }
.orb::after { top: 38%; background: rgba(39, 123, 120, .12); }
.orb .sun { position: absolute; top: 17%; left: 29%; width: 42%; aspect-ratio: 1; border-radius: 50%; background: var(--sand); opacity: .88; }
.orb .wave { position: absolute; left: -10%; right: -10%; bottom: -23%; height: 62%; border-radius: 48% 48% 0 0; background: #2e7773; transform: rotate(-9deg); }
.orb .wave-two { position: absolute; left: -12%; right: -5%; bottom: -36%; height: 68%; border-radius: 50% 44% 0 0; background: #1e555b; transform: rotate(9deg); }
.orb .glint { position: absolute; top: 67%; left: 31%; z-index: 1; width: 14%; height: 1px; background: rgba(245, 244, 239, .8); transform: rotate(-13deg); }

/* Buttons and pills */
.btn { display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn.secondary { background: transparent; color: var(--ink); }
.btn.secondary:hover { background: rgba(23, 58, 64, .06); }
.status { display: inline-block; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--teal); font-size: 12px; font-weight: 600; white-space: nowrap; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 32px; }
.card { display: flex; flex-direction: column; gap: 14px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .45); }
.card h3 { font-size: 20px; font-weight: 700; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.card .more { margin-top: auto; padding-top: 6px; }
.card-head { display: flex; align-items: center; gap: 14px; }
.app-icon { width: 56px; height: 56px; border-radius: 13px; flex: none; box-shadow: 0 1px 2px rgba(23, 58, 64, .18); }
.app-icon.lg { width: 96px; height: 96px; border-radius: 22px; }
.product-hero { display: flex; gap: 28px; align-items: flex-start; }
.product-hero > div { min-width: 0; }

/* Feature lists */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 40px; margin: 32px 0 0; padding: 0; list-style: none; }
.features h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.features p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.features.single { grid-template-columns: 1fr; max-width: 620px; }

/* Steps */
.steps { counter-reset: step; margin: 28px 0 0; padding: 0; list-style: none; max-width: 640px; }
.steps li { position: relative; padding: 0 0 22px 52px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--teal); font-family: var(--display); font-size: 14px; font-weight: 700; }
.steps h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin: 28px 0 0; max-width: 720px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.facts a { color: var(--teal); text-decoration: none; }
.facts a:hover { text-decoration: underline; }

/* Contact block */
.email { display: inline-block; margin-top: 10px; font-family: var(--display); font-size: clamp(20px, 3vw, 28px); font-weight: 600; letter-spacing: -.03em; overflow-wrap: anywhere; }

/* Long-form pages (support, privacy) */
.prose { max-width: 720px; padding: 56px 0 72px; font-size: 16px; line-height: 1.75; }
.prose h1 { margin: 0 0 14px; font-size: clamp(36px, 5.4vw, 56px); font-weight: 600; }
.prose h2 { margin: 2.2em 0 .5em; padding-top: 1.1em; border-top: 1px solid var(--line); font-size: 24px; font-weight: 600; }
.prose h3 { margin: 1.5em 0 .3em; font-size: 17px; font-weight: 700; }
.prose p, .prose li { overflow-wrap: anywhere; }
.prose p + p { margin-top: 1em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: .6em 0; }
.prose li { margin: .35em 0; }
.prose a { color: var(--teal); }
.meta { margin: 0 0 1.5em; color: var(--muted); font-size: 16px; line-height: 1.6; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.6; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }

/* Footer */
.site-footer { margin-top: 24px; padding: 48px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid h4 { margin: 0 0 12px; color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.foot-grid ul { margin: 0; padding: 0; list-style: none; }
.foot-grid li { margin: 6px 0; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-about p { max-width: 320px; margin-top: 12px; line-height: 1.6; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }

/* Responsive */
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .prose { padding: 40px 0 56px; }
  .shell { width: min(100% - 32px, 620px); }
  .nav { min-height: 0; padding: 14px 0; }
  .nav-links { gap: 4px 18px; font-size: 13px; }
  .section { padding: 48px 0; }
  .split, .home-hero { grid-template-columns: 1fr; }
  .home-hero { padding: 48px 0 56px; gap: 28px; }
  .hero-art { width: min(78%, 320px); }
  .page-hero { padding: 44px 0 36px; }
  .features, .facts { grid-template-columns: 1fr; }
  .product-hero { flex-direction: column; }
  .app-icon.lg { width: 80px; height: 80px; border-radius: 18px; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
