:root {
  --paper:     #faf8f4;   /* warm off-white page */
  --surface:   #ffffff;
  --surface-2: #f2efe9;   /* subtle fills, alt bands */
  --ink:       #1d1c1a;   /* near-black, not pure */
  --ink-soft:  #3b3a37;
  --muted:     #6c6a64;
  --faint:     #9a978f;
  --line:      rgba(29,28,26,.10);
  --line-2:    rgba(29,28,26,.16);
  --accent:    #0f7d72;   /* teal, drawn from the app icon */
  --accent-dk: #0a5d55;

  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, ui-sans-serif, "SF Pro Text", "Segoe UI", system-ui, sans-serif;

  --measure: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 28px; }

/* serif display type */
h1, h2, .serif {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1.06;
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dk);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250,248,244,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a.link { font-size: 15px; color: var(--ink-soft); }
.nav-links a.link:hover { color: var(--ink); }

/* ---------- Language switcher ---------- */
.langs { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.langs a { color: var(--faint); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current="page"] { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans);
  font-size: 15.5px; font-weight: 550;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform .14s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #000; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(29,28,26,.18); }
.btn-primary:active { transform: translateY(0); }
.btn-sm { padding: 9px 16px; font-size: 14.5px; border-radius: 9px; }
.btn-text { color: var(--accent-dk); font-weight: 550; font-size: 15.5px; }
.btn-text:hover { color: var(--ink); }
.underline-hover { background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1.5px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .25s ease; }
.underline-hover:hover { background-size: 100% 1.5px; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 24px; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 66px);
  margin: 16px 0 0;
}
.hero .lede {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--muted);
  max-width: 32ch;
  margin: 22px 0 0;
}
.hero .cta { display: flex; align-items: center; gap: 20px; margin-top: 34px; flex-wrap: wrap; }
.req { margin-top: 18px; font-size: 13.5px; color: var(--faint); display: flex; align-items: center; gap: 7px; }
.req svg { width: 13px; height: 13px; opacity: .7; }

.hero-shot { position: relative; }
.hero-shot img {
  width: 100%; height: auto; display: block;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  box-shadow: 0 1px 1px rgba(29,28,26,.04), 0 24px 50px -24px rgba(29,28,26,.30);
}

/* ---------- Steps strip ---------- */
.steps { border-top: 1px solid var(--line); margin-top: 56px; }
.steps .wrap { display: flex; flex-wrap: wrap; gap: 14px 48px; padding-top: 26px; padding-bottom: 26px; }
.step { display: flex; align-items: baseline; gap: 13px; }
.step .n { font-family: var(--serif); font-size: 22px; color: var(--accent); font-weight: 600; line-height: 1; }
.step b { font-weight: 600; font-size: 15.5px; }
.step span { color: var(--muted); font-size: 15.5px; }

/* ---------- Story rows ---------- */
.story { padding: 88px 0 24px; }
.row {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 60px;
  align-items: center;
  padding: 40px 0;
}
.row.flip .copy { order: 2; }
.row.flip .art  { order: 1; }
.row .copy h2 { font-size: clamp(26px, 2.8vw, 36px); margin: 14px 0 0; }
.row .copy p { color: var(--muted); font-size: 17px; margin-top: 16px; max-width: 42ch; }
.row .art figure { margin: 0; }
.row .art img {
  width: 100%; height: auto; display: block;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  box-shadow: 0 1px 1px rgba(29,28,26,.04), 0 22px 44px -26px rgba(29,28,26,.28);
}
.row .art figcaption {
  margin-top: 13px; font-size: 13.5px; color: var(--faint);
  font-family: var(--serif); font-style: italic;
}
/* folder-tree illustration */
.tree {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 24px 26px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px; line-height: 1.95;
  color: var(--ink-soft);
  box-shadow: 0 1px 1px rgba(29,28,26,.04), 0 22px 44px -26px rgba(29,28,26,.28);
  overflow-x: auto;
  white-space: pre;
}
.tree .dim  { color: var(--faint); }
.tree .dir  { color: var(--ink); font-weight: 600; }
.tree .file { color: var(--accent-dk); }

/* ---------- Spec grid ---------- */
.specs { padding: 80px 0; }
.specs-head { max-width: 52ch; }
.specs-head h2 { font-size: clamp(26px, 3vw, 38px); margin-top: 14px; }
.specs-head p { color: var(--muted); font-size: 17px; margin-top: 14px; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 44px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.spec { background: var(--paper); padding: 30px 28px; }
.spec .ic {
  width: 30px; height: 30px; color: var(--accent-dk);
  display: flex; align-items: center; justify-content: center;
}
.spec .ic svg { width: 24px; height: 24px; }
.spec h3 { font-size: 17px; font-weight: 600; margin: 16px 0 7px; letter-spacing: -.01em; }
.spec p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- Privacy ---------- */
.privacy { background: var(--ink); color: var(--paper); }
.privacy .wrap { padding: 74px 28px; display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: start; }
.privacy .shield {
  width: 50px; height: 50px; border-radius: 12px;
  border: 1px solid rgba(250,248,244,.18);
  display: flex; align-items: center; justify-content: center;
  color: #7fe0d4;
}
.privacy .shield svg { width: 26px; height: 26px; }
.privacy h2 { font-size: clamp(24px, 2.6vw, 33px); color: var(--paper); }
.privacy p { color: rgba(250,248,244,.72); font-size: 17px; margin-top: 16px; max-width: 62ch; }
.privacy .micro { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: rgba(250,248,244,.6); }
.privacy .micro span { display: inline-flex; align-items: center; gap: 7px; }
.privacy .micro svg { width: 15px; height: 15px; color: #7fe0d4; }

/* ---------- Closing CTA ---------- */
.closer { padding: 96px 0; text-align: center; }
.closer h2 { font-size: clamp(30px, 4vw, 50px); }
.closer p { color: var(--muted); font-size: 18px; margin: 16px auto 0; max-width: 40ch; }
.closer .cta { margin-top: 32px; display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); }
footer .wrap { padding: 34px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer .brand { font-size: 15px; }
footer .brand img { width: 22px; height: 22px; }
footer small { color: var(--faint); font-size: 13.5px; }
footer .flinks { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
footer .flinks a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 8px; }
  .hero .lede { max-width: none; }
  .nav-links a.link { display: none; }
  .row { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }
  .row.flip .copy { order: 1; }
  .row.flip .art  { order: 2; }
  .grid { grid-template-columns: 1fr 1fr; }
  .privacy .wrap { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .story { padding: 56px 0 0; }
  .nav .wrap { gap: 10px; }
  .langs { gap: 7px; font-size: 12px; }
}
