:root {
  --sea: #0f4c5c;
  --sea-2: #16697a;
  --sand: #f7f3ea;
  --paper: #fffdf8;
  --sun: #f2a541;
  --ink: #1d2a30;
  --muted: #5d6b71;
  --line: #e4ddcf;
  --card: #ffffff;
  --radius: 18px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --sea: #7cc6d6;
    --sea-2: #9fd8e4;
    --sand: #12191c;
    --paper: #0d1316;
    --ink: #e9eef0;
    --muted: #9aa8ad;
    --line: #26343a;
    --card: #162127;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--sea-2); }
a:hover { color: var(--sea); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-family: "New York", ui-serif, Georgia, serif; font-weight: 700; font-size: clamp(36px, 6vw, 60px); }
h2 { font-size: clamp(24px, 3.4vw, 32px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 600; color: var(--sea-2); margin-bottom: 10px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; }
.mark { width: 32px; height: 32px; flex-shrink: 0; }
.top nav { display: flex; gap: 6px; flex-wrap: wrap; }
.top nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: 16px; }
.top nav a:hover, .top nav a[aria-current] { background: var(--sand); }

/* hero */
.hero { background: linear-gradient(180deg, var(--sand), var(--paper)); border-bottom: 1px solid var(--line); }
.hero-in { padding: 72px 20px 56px; }
.lede { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 680px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 8px; }
.btn { display: inline-block; background: var(--sea); color: #fff; text-decoration: none; font-weight: 600; padding: 13px 22px; border-radius: 14px; }
.btn:hover { background: var(--sea-2); color: #fff; }
.btn.ghost { background: transparent; color: var(--sea); box-shadow: inset 0 0 0 2px var(--sea); }
.btn.ghost:hover { background: var(--sand); }
.btn.disabled { background: var(--line); color: var(--muted); cursor: default; }
@media (prefers-color-scheme: dark) { .btn { color: #0d1316; } .btn:hover { color: #0d1316; } }
.stats { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.stats li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stats strong { display: block; font-size: 30px; color: var(--sea); }
.stats span { color: var(--muted); font-size: 15px; }

/* feature */
.feature { margin-top: 56px; }
.feature-card { display: flex; gap: 28px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px; flex-wrap: wrap; }
.feature-card img { border-radius: 26px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.feature-card > div { flex: 1 1 320px; }

/* apps */
.section-title { margin: 64px 0 8px; }
.group { margin-top: 28px; }
.group-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.group-head h3 { margin: 0; }
.group-head p { margin: 0; font-size: 15px; }
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.app { display: flex; gap: 14px; align-items: center; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.app:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.08); color: var(--ink); }
.app img { border-radius: 14px; flex-shrink: 0; }
.app-text { display: flex; flex-direction: column; min-width: 0; }
.app-name { font-weight: 600; line-height: 1.3; }
.app-meta { font-size: 14px; color: var(--muted); }
.rating { color: #b7791f; white-space: nowrap; }

/* websites */
.sites { margin-bottom: 72px; }
.site-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 16px; }
.site { display: flex; flex-direction: column; gap: 4px; padding: 18px; background: var(--sand); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.site:hover { color: var(--ink); background: var(--line); }

/* Just Browser */
.jb-in { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.jb-icon { border-radius: 30px; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 48px 0; }
.fcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.fcard p { color: var(--muted); margin: 0; }

/* text pages */
.prose { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.prose h1 { font-size: clamp(32px, 5vw, 46px); }
.prose h2 { font-size: 22px; margin-top: 1.6em; }
.prose li { margin-bottom: .5em; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--sand); padding: 36px 0 20px; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot nav { display: flex; flex-direction: column; gap: 6px; }
.foot nav a { color: var(--ink); text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
