/* Echo — echojots.com. No web fonts, no scripts: the system font and this file only. */

:root {
  --sun: #fed536;          /* the yellow at the edges of Echo's artwork */
  --sun-deep: #f5cc45;     /* the app icon's yellow */
  --ink: #171916;
  --heading: #171916;      /* headings and strong text on the page's own background */
  --ink-soft: #3d3f3a;
  --paper: #fffdf6;
  --card: #ffffff;
  --line: rgba(23, 25, 22, 0.1);
  --muted: #5d5f58;
  --accent: #171916;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(23, 25, 22, 0.06), 0 8px 24px rgba(23, 25, 22, 0.06);
  --max: 1120px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121310;
    --heading: #fffdf6;
    --card: #1b1c19;
    --ink-soft: #e9e7df;
    --line: rgba(255, 253, 246, 0.1);
    --muted: #a6a59c;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible, summary:focus-visible {
  outline: 3px solid #2a6df4;
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 10;
}
.skip:focus { left: 16px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* One compact header: the name, the sections, the download. */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--sun) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(23, 25, 22, 0.08);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 7px; box-shadow: 0 1px 2px rgba(0,0,0,0.15); }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500; opacity: 0.8; }
.top nav a:hover { opacity: 1; }

.button {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 650; font-size: 16px; padding: 12px 20px; border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 6px 18px rgba(23, 25, 22, 0.25);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 10px 24px rgba(23, 25, 22, 0.3); }
.button.small { padding: 8px 15px; font-size: 14px; box-shadow: none; }
.button svg { width: 18px; height: 18px; }

/* Hero: Echo's yellow, with its artwork. */
.hero { background: var(--sun); color: var(--ink); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 24px; padding-top: 56px; padding-bottom: 40px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; font-weight: 700; opacity: 0.7; margin: 0 0 14px; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 0.98; letter-spacing: -0.035em; margin: 0 0 20px; font-weight: 850; }
.hero .lead { font-size: 20px; line-height: 1.5; max-width: 30em; margin: 0 0 30px; color: var(--ink-soft); color: rgba(23, 25, 22, 0.8); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.meta { font-size: 14px; color: rgba(23, 25, 22, 0.72); }
.trust { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: rgba(23, 25, 22, 0.75); }
.trust svg { width: 16px; height: 16px; flex: none; }
/* The artwork's edges fade into the section, so it has no visible border at any width. */
.hero-art, .how-art {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent),
                      linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent),
              linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  mask-composite: intersect;
}
.hero-art { margin-right: -60px; }

/* Sections */
section { padding: 88px 0; }
section h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 14px; color: var(--heading); font-weight: 800; }
.intro { font-size: 19px; color: var(--muted); max-width: 40em; margin: 0 0 44px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.card h3 { margin: 14px 0 6px; font-size: 19px; letter-spacing: -0.01em; color: var(--heading); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--sun); color: var(--ink);
}
.icon svg { width: 22px; height: 22px; }

kbd {
  font: 600 14px/1 -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line);
  background: var(--paper); box-shadow: 0 1px 0 var(--line);
}

/* How it works */
.how { background: #fdd33a; color: var(--ink); }
.how h2 { color: var(--ink) !important; }
.how .intro { color: rgba(23, 25, 22, 0.75); }
.how-art { margin: 8px -40px 26px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; padding: 0; margin: 0; }
.steps li { list-style: none; background: rgba(255, 253, 246, 0.6); border-radius: var(--radius); padding: 22px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: var(--sun); font-weight: 800; font-size: 15px; margin-bottom: 12px;
}
.steps h3 { margin: 0 0 6px; font-size: 18px; color: var(--ink) !important; }
.steps p { margin: 0; font-size: 15.5px; color: rgba(23, 25, 22, 0.78); }

/* AI table */
.table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table th, .table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 16px; }
.table tr:last-child td { border-bottom: none; }
.table th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 650; background: color-mix(in srgb, var(--sun) 12%, var(--card)); }
.table td strong { color: var(--heading); }
.note { font-size: 15px; color: var(--muted); margin-top: 16px; }

/* Privacy */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.checks li svg { width: 22px; height: 22px; color: #1f8a46; margin-top: 2px; }
.checks strong { color: var(--heading); }
@media (prefers-color-scheme: dark) { .checks li svg { color: #4cc97a; } }
.verify { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.verify h3 { margin: 0 0 8px; font-size: 18px; color: var(--heading); }
.verify p { margin: 0 0 12px; font-size: 15px; color: var(--muted); }
code, pre { font: 13.5px/1.5 ui-monospace, "SF Mono", Menlo, monospace; }
pre { background: color-mix(in srgb, var(--ink) 5%, var(--paper)); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; overflow-x: auto; margin: 0 0 14px; white-space: pre; }
pre.hash { white-space: pre-wrap; word-break: break-all; }

/* Install + FAQ */
.install { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.install ol { margin: 0; padding-left: 22px; display: grid; gap: 12px; }
.install li { padding-left: 4px; }
.reqs { margin-top: 18px; font-size: 15px; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 650; color: var(--heading); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; opacity: 0.6; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }

/* Download band */
.band { background: var(--ink); color: #fffdf6; text-align: center; }
.band h2 { color: #fffdf6 !important; }
.band p { color: rgba(255, 253, 246, 0.7); margin: 0 auto 28px; max-width: 36em; }
.band .button { background: var(--sun); color: var(--ink); }
.band .meta { color: rgba(255, 253, 246, 0.6); margin-top: 14px; }

footer { padding: 36px 0 48px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer nav { display: flex; gap: 18px; }
footer p { margin: 0; max-width: 46em; }

/* Plain pages (privacy) */
.page { padding: 56px 0 72px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: 40px; letter-spacing: -0.025em; color: var(--heading); margin: 0 0 8px; }
.page h2 { font-size: 22px; margin: 34px 0 8px; color: var(--heading); }
.page p, .page li { color: var(--ink-soft); }
.page strong, .install strong { color: var(--heading); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-art { margin: 0 -24px; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .split, .install { grid-template-columns: 1fr; }
  .top nav { display: none; }
  .top .button { margin-left: auto; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .grid, .steps { grid-template-columns: 1fr; }
  .hero .lead { font-size: 18px; }
  .how-art { margin: 8px -16px 22px; }
  .table th:nth-child(3), .table td:nth-child(3) { display: none; }
  .table th, .table td { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
