:root {
  color-scheme: light;
  --bone: #F6F4F0;
  --paper: #FFFFFF;
  --panel: #EFEBE4;
  --ink: #12110F;
  --muted: #78736C;
  --faint: #A8A29A;
  --line: #DEDAD3;
  --rule: #C9C3B9;
  --on-dark: #9A948C;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Space Grotesk', var(--sans);
  --mono: ui-monospace, Menlo, monospace;
  --gutter: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bone);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ink); color: var(--bone); }

a { color: var(--ink); text-decoration: none; }
a:hover { opacity: .6; }

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.035em;
  margin: 0;
}

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

.eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.lede { font-size: 17px; line-height: 1.6; color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding-inline: 28px;
  background: var(--ink);
  color: var(--bone);
  font-size: 16px;
  font-weight: 500;
}
.btn:hover { opacity: .85; }

.rule-top { border-top: 1px solid var(--line); }

section[id] { scroll-margin-top: 76px; }
@media (max-width: 699px) { section[id] { scroll-margin-top: 100px; } }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}
.site-header > .wrap {
  display: flex;
  align-items: center;
  gap: clamp(26px, 2.5vw, 36px);
  padding-block: 14px;
}
.wordmark { display: flex; align-items: baseline; gap: 14px; }
.wordmark b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.wordmark span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  font-size: 14px;
}
.site-nav a { color: var(--muted); white-space: nowrap; }
.header-cta { flex: none; height: 38px; padding-inline: 18px; font-size: 14px; }

/* Phones: two deliberate rows instead of whatever flex-wrap produces. Row one
   keeps the mark and the one action; the links get their own rule-separated
   rail, left-aligned and scrollable if they ever outgrow the width. */
@media (max-width: 699px) {
  .site-header > .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0 16px;
    padding-block: 0;
  }
  .wordmark { grid-area: 1 / 1; padding-block: 11px; }
  .header-cta { grid-area: 1 / 2; }
  .site-nav {
    grid-area: 2 / 1 / 3 / -1;
    margin-left: 0;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter);
    border-top: 1px solid var(--line);
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  /* The hit area is the link, not the rail: 17px of text is not a tap target. */
  .site-nav a { padding-block: 11px; }
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(40px, 5vw, 72px);
  align-items: end;
  padding-top: clamp(56px, 8vw, 104px);
  /* The device has rounded corners and its own hard edge; landing it flush on
     the section rule reads as the line slicing through the bezel. */
  padding-bottom: clamp(48px, 6vw, 88px);
}
.hero-copy .eyebrow { margin-bottom: 40px; }
.hero h1 {
  font-size: clamp(36px, 6.2vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.hero p {
  margin: 36px 0 0;
  max-width: 33rem;
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
}
.hero-actions {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.text-link {
  font-size: 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 3px;
}
.hero-shot { align-self: end; display: flex; justify-content: center; }
/* Height-capped so the device sits level with the headline column instead of
   stretching the hero and leaving dead space above the copy. */
.hero-shot img { width: auto; max-width: min(100%, 480px); max-height: 780px; }

/* Pillars */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.pillars div { padding: 32px 32px 32px 0; }
.pillars dt {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
}
.pillars dd {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* Try it */

.demo { background: var(--paper); }
.demo > .wrap {
  padding-block: clamp(56px, 7vw, 88px) clamp(64px, 8vw, 96px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.demo h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.02;
  max-width: 22rem;
}
.demo .eyebrow { margin-bottom: 24px; }
.demo .lede { margin: 22px 0 0; max-width: 30rem; }
.demo-form { margin-top: 40px; }
.demo-form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.demo-form input {
  width: 100%;
  height: 58px;
  padding-inline: 18px;
  font-family: var(--sans);
  font-size: 17px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  outline: none;
}
.demo-form input::placeholder { color: var(--faint); }
.demo-examples {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.demo-examples button {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 12px;
  cursor: pointer;
}
.demo-examples button:hover { color: var(--ink); border-color: var(--ink); }

.receipt { margin-top: 32px; border: 1px solid var(--line); background: var(--bone); }
.receipt-head {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.receipt-head .eyebrow { font-size: 11px; letter-spacing: 0.16em; }
.receipt-head time { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.receipt-body { padding: 22px 20px 24px; }
.receipt-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.receipt-name {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.receipt-amount {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.receipt-rows {
  margin-top: 20px;
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.receipt-rows > div {
  background: var(--bone);
  padding-block: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.receipt-rows dt { color: var(--muted); }
.receipt-rows dd { margin: 0; }
.receipt-hint { margin: 18px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); }

.demo-shot { display: flex; justify-content: center; }
.demo-shot img { max-width: 420px; }

/* Features */

.features > .wrap { padding-block: clamp(56px, 7vw, 88px) clamp(64px, 8vw, 96px); }
.features-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.features-head h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.02; }
.features-head p { margin: 0; max-width: 24rem; font-size: 16px; line-height: 1.6; color: var(--muted); }
.features-grid {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature {
  background: var(--bone);
  padding: 30px 28px 34px;
  display: flex;
  flex-direction: column;
}
.feature .num { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.feature h3 {
  margin-top: 20px;
  font-size: 20px;
  letter-spacing: -0.025em;
}
.feature p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.feature-wide p { max-width: 32rem; }
/* Only once the auto-fit grid actually has two tracks. Spanning two columns
   in a single-column grid creates an implicit auto-sized track and the row
   overflows the viewport. */
@media (min-width: 620px) {
  /* Equal-height cards matter once they sit side by side; stacked on a
     phone the same floor is just dead space. */
  .feature { min-height: 210px; }
  .feature-wide { grid-column: span 2; }
}
.feature-note {
  margin: 0;
  background: var(--panel);
  padding: 30px 28px;
  display: flex;
  align-items: flex-end;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  line-height: 1.7;
}

/* Split sections */

.split > .wrap {
  padding-block: clamp(56px, 7vw, 88px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.split h2 {
  font-size: clamp(26px, 3.8vw, 42px);
  line-height: 1.04;
  max-width: 26rem;
}
.split .eyebrow { margin-bottom: 24px; }
.split .lede { margin: 24px 0 0; max-width: 30rem; }
.split-shot { display: flex; justify-content: center; }
.split-shot img { max-width: 400px; }

.cards { background: var(--paper); }
.cards h2 { max-width: 24rem; }
.spec {
  margin-top: 36px;
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
  max-width: 36rem;
}
.spec > div {
  background: var(--paper);
  padding-block: 18px;
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) minmax(0, 1fr);
  gap: 20px;
  font-size: 15px;
}
.spec dt { color: var(--muted); }
.spec dd { margin: 0; line-height: 1.55; }

.shot-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 24px;
  align-items: end;
}
/* Two devices against short copy: an even split renders them too small to
   read, so give the image track the larger share. */
@media (min-width: 900px) {
  .split-pair > .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* Privacy */

.privacy { background: var(--ink); color: var(--bone); }
.privacy > .wrap { padding-block: clamp(64px, 8vw, 96px); }
.privacy h2 {
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.02;
  max-width: 26rem;
}
.privacy-cols {
  margin-top: clamp(36px, 5vw, 52px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(28px, 3.5vw, 48px);
  max-width: 58rem;
}
.privacy-cols p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--on-dark); }

/* Close */

.close > .wrap {
  padding-block: clamp(64px, 8vw, 96px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: clamp(32px, 4vw, 56px);
  flex-wrap: wrap;
}
.close h2 {
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 24rem;
}
.close-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.close-actions .btn { height: 56px; padding-inline: 32px; }
.close-actions span { font-size: 14px; color: var(--muted); }

/* Footer */

.site-footer > .wrap {
  padding-block: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}
.site-footer nav { display: flex; gap: 32px; }
.site-footer nav a { color: var(--muted); }
.site-footer nav a:last-child { color: var(--ink); }

/* ---------------------------------------------------------------- */
/* Document pages: soporte, privacidad                              */
/* ---------------------------------------------------------------- */

.site-nav a[aria-current="page"] { color: var(--ink); }

.doc-head > .wrap { padding-block: clamp(52px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.doc-head .eyebrow { margin-bottom: 32px; }
.doc-head h1 {
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 18ch;
  text-wrap: balance;
}
.doc-head .lede { margin: 28px 0 0; max-width: 34rem; font-size: 19px; }
.doc-meta {
  margin: 28px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--faint);
}

/* A single claim, given its own band. Echoes the white demo band on the
   landing so the pages read as one family. */
.doc-statement { background: var(--paper); border-block: 1px solid var(--line); }
.doc-statement > .wrap { padding-block: clamp(40px, 5vw, 64px); }
.doc-statement p {
  margin: 0;
  max-width: 32rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.doc-sections { border-top: 1px solid var(--line); }
.doc-section { border-bottom: 1px solid var(--line); }
.doc-section > .wrap { padding-block: clamp(32px, 4vw, 48px); display: grid; gap: 20px; }
@media (min-width: 760px) {
  .doc-section > .wrap {
    grid-template-columns: minmax(0, 21rem) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
  }
}
.doc-num { display: block; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.doc-section h2 {
  margin-top: 12px;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.doc-body > :first-child { margin-top: 0; }
.doc-body > :last-child { margin-bottom: 0; }
.doc-body p { margin: 0 0 18px; max-width: 40rem; font-size: 16px; line-height: 1.7; color: var(--muted); }
.doc-body strong { color: var(--ink); font-weight: 500; }
.doc-body a { border-bottom: 1px solid var(--rule); padding-bottom: 1px; }

.doc-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  max-width: 40rem;
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.doc-list li { background: var(--bone); padding-block: 16px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.doc-list b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
}

.doc-steps { font-family: var(--mono); font-size: 14px; color: var(--ink); white-space: nowrap; }

.doc-cta { background: var(--ink); color: var(--bone); }
.doc-cta > .wrap { padding-block: clamp(56px, 7vw, 88px); }
.doc-cta .eyebrow { margin-bottom: 32px; color: var(--on-dark); }
.doc-cta h2 {
  color: var(--bone);
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.04;
  max-width: 20ch;
}
.doc-cta p { margin: 24px 0 0; max-width: 34rem; font-size: 16px; line-height: 1.65; color: var(--on-dark); }
.mail {
  display: inline-block;
  margin-top: 36px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: -0.02em;
  color: var(--bone);
  border-bottom: 1px solid #3D3934;
  padding-bottom: 6px;
}

.doc-subhead > .wrap { padding-block: clamp(40px, 5vw, 64px) clamp(20px, 2.5vw, 28px); }
.doc-subhead h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.05; letter-spacing: -0.035em; }

.doc-head .lede a { border-bottom: 1px solid var(--rule); padding-bottom: 1px; }

/* The app icon is a wordmark card: it only reads above roughly 60px, so it
   appears at download-CTA scale and never as a small header mark. */
.app-icon { flex: none; width: 72px; height: 72px; }
.hero-icon { width: 64px; height: 64px; margin-bottom: 28px; }
