
/*
  Visual language: "la vitrina de elementos" from the app's DESIGN.md.
  Real screenshots of the app, element cells on white with their family
  color as a bottom bar, and the Lavoisier teal accent. Light theme only. One solid accent from the app icon for links and focus.
  System font on purpose: it is the app's own voice on Apple devices and
  keeps the page free of third-party requests.
*/
:root {
  color-scheme: light;
  /* Tokens from the app's DESIGN.md (light surface, Lavoisier theme) */
  --bg: #f2f2f4;
  --surface: #ffffff;
  --ink: #1c1c21;
  --title: #0f0f12;
  --muted: #55555b;
  --line: #e2e2e7;
  --accent: #016c63;
  --on-accent: #ffffff;
  --c-am: #f85f5a; --c-ae: #b15807; --c-tm: #326cde; --c-pt: #0cc6b7;
  --c-md: #c29c2a; --c-nm: #40aa11; --c-hl: #9f55bd; --c-ng: #4aaff3;
  --c-ln: #dc64a7; --c-ac: #a47efd;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --space: clamp(72px, 11vw, 136px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}
.wrap { max-width: 70rem; margin: 0 auto; padding: 16px 16px 40px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* header */
.site { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--title); font-weight: 600; text-decoration: none;
}
.langlink {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .95rem;
}
.langlink:hover { color: var(--title); }
.brand img { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); }

/* type */
h1, h2, h3 { color: var(--title); line-height: 1.12; text-wrap: balance; margin: 0; }
h1:focus { outline: none; }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.75rem); letter-spacing: -.025em; font-weight: 700; }
h3 { font-size: 1.1rem; letter-spacing: -.01em; }
p { text-wrap: pretty; }
.sub { color: var(--muted); font-size: 1.1rem; max-width: 38rem; margin: 14px 0 0; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
a:focus-visible, button:focus-visible, .shots:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px;
}


/* hero */
.hero { display: grid; gap: 28px; align-items: center; padding: 28px 0 0; }
@media (min-width: 920px) { .hero { grid-template-columns: .8fr 1.2fr; gap: 48px; padding: 64px 0 8px; } }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); letter-spacing: -.03em; font-weight: 750; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); margin: 18px 0 26px; max-width: 34rem; }
.cta { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 22px 8px 18px;
  background: var(--title); color: var(--bg); border-radius: 14px; text-decoration: none; line-height: 1.15;
  transition: transform .3s var(--ease);
}
.store svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.store small { display: block; font-size: .72rem; opacity: .85; }
.store b { display: block; font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.ghost { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.fine { color: var(--muted); font-size: .92rem; margin: 18px 0 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .store:hover { transform: translateY(-2px); }
}

/* hero: the real app on iPad (landscape) and iPhone */
.hero-shot { position: relative; margin: 0; width: 100%; padding: 0 0 9% 0; }
.hero-shot .tablet { width: 90%; }
.hero-phone { position: absolute; right: 0; bottom: 0; width: 24%; }

/* sections */
.block { margin-top: var(--space); }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }

/* screenshots */
.arrows { display: none; gap: 8px; }
@media (min-width: 760px) { .arrows { display: flex; } }
.arrows button {
  width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--title); font-size: 1.15rem; cursor: pointer;
}
.shots {
  display: flex; gap: 20px; margin: 28px -16px 0; padding: 6px 16px 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px;
  list-style: none; scrollbar-width: thin; overscroll-behavior-x: contain;
}
.shots li { flex: none; width: min(64vw, 250px); scroll-snap-align: start; margin: 0; }
.phone { padding: 7px; border-radius: 40px; background: #0c0c0f; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(20, 20, 40, .45); }
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 660 / 1434; border-radius: 33px; background: var(--bg); }
.hero-phone { padding: 5px; border-radius: 30px; }
.hero-phone img { border-radius: 25px; }
.tablet { padding: 12px; border-radius: 30px; background: #0c0c0f; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(20, 20, 40, .45); }
.tablet img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 19px; background: var(--bg); }
.shots.tablets li { width: min(86vw, 640px); }
.shots p { margin: 12px 4px 0; font-weight: 600; color: var(--title); font-size: .96rem; text-align: center; }

/* features: element tiles, not cards */
.feats {
  display: grid; gap: 0 48px; margin: 36px 0 0; padding: 0; list-style: none;
  border-top: 1px solid var(--line);
}
@media (min-width: 760px) { .feats { grid-template-columns: 1fr 1fr; } }
.feats li { display: flex; gap: 20px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.feats p { margin: 6px 0 0; color: var(--muted); }
.el {
  flex: none; position: relative; width: 64px; height: 68px; border-radius: 8px;
  background: var(--surface); color: var(--title); border: 1px solid var(--line);
  box-shadow: inset 0 -5px 0 var(--c);
  display: grid; place-items: center; padding-bottom: 4px;
  font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em;
}
.el small { position: absolute; top: 5px; left: 7px; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }

.calc-links { margin: 22px 0 0; color: var(--muted); }
.calc-links a { font-weight: 600; }
/* trust */
.trust { display: grid; gap: 28px; }
@media (min-width: 920px) {
  .trust { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; grid-template-areas: "copy card" "notes card"; gap: 0 64px; align-items: start; }
  .trust-copy { grid-area: copy; } .trust-notes { grid-area: notes; } .specimen { grid-area: card; align-self: center; }
}
.honest { margin: 0; color: var(--title); font-weight: 650; font-size: 1.1rem; }
@media (min-width: 920px) { .honest { margin-top: 28px; } }
.legend { margin: 18px 0 20px; padding: 0; list-style: none; display: grid; gap: 14px; }
.legend li { display: flex; gap: 16px; align-items: baseline; }
.legend p { margin: 0; color: var(--muted); }
.mark {
  flex: none; min-width: 5.2em; padding: 4px 8px; border-radius: 6px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--title);
  font-weight: 700; font-size: .92rem;
}
.specimen { margin: 0; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.spec-head {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 0 20px;
  padding: 22px 24px 26px; background: var(--surface); color: var(--title);
  box-shadow: inset 0 -6px 0 var(--c);
}
.spec-z { font-size: .95rem; font-weight: 600; color: var(--muted); grid-column: 1; }
.spec-sym { font-size: clamp(3.4rem, 9vw, 4.6rem); font-weight: 750; line-height: .95; letter-spacing: -.03em; grid-column: 1; }
.spec-name { grid-column: 2; grid-row: 1 / span 2; align-self: end; font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.spec-name small { display: block; font-size: .95rem; font-weight: 500; color: var(--muted); }
.specimen table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.specimen th, .specimen td { padding: 14px 24px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.specimen th { font-weight: 500; color: var(--muted); width: 46%; }
.specimen td { color: var(--title); font-weight: 650; }
.specimen .src { display: block; margin-top: 2px; font-weight: 500; color: var(--accent); font-size: .84rem; }
@media (max-width: 480px) { .specimen th, .specimen td { padding: 12px 18px; } .specimen th { width: 44%; } }

/* plans + privacy */
.plans { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { padding: 26px 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.plan.pro { border: 2px solid var(--accent); }
.plan h3 { font-size: 1.45rem; }
.plan .tag { color: var(--muted); margin: 4px 0 16px; }
.plan ul, .privacy ul { margin: 0; padding: 0; list-style: none; }
.plan li, .privacy li { position: relative; padding-left: 28px; margin: .55em 0; }
.plan li::before, .privacy li::before {
  content: ""; position: absolute; left: 3px; top: .5em; width: 13px; height: 7px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}
.privacy {
  display: grid; gap: 12px 40px; margin-top: 16px; padding: 26px 28px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
}
@media (min-width: 760px) { .privacy { grid-template-columns: 1fr 1.4fr; align-items: center; } }
.privacy h3 { font-size: 1.35rem; }
.privacy ul { display: grid; gap: 0 24px; }
@media (min-width: 560px) { .privacy ul { grid-template-columns: 1fr 1fr; } }
.privacy p { margin: 0; grid-column: 1 / -1; }
.privacy a { font-weight: 600; }

/* devices */
.devices { display: grid; gap: 40px; }
@media (min-width: 920px) { .devices { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; } }
.watches { display: flex; gap: 14px; margin-top: 28px; }
.watch { width: 50%; max-width: 150px; padding: 7px; border-radius: 30% / 25%; background: #0c0c0f; box-shadow: 0 0 0 1px var(--line); }
.watch img { display: block; width: 100%; height: auto; aspect-ratio: 422 / 514; border-radius: 26% / 21%; }
.devlist { margin: 0; display: grid; gap: 0 36px; border-top: 1px solid var(--line); }
@media (min-width: 560px) { .devlist { grid-template-columns: 1fr 1fr; } }
.devlist div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.devlist dt { font-weight: 700; color: var(--title); }
.devlist dd { margin: 4px 0 0; color: var(--muted); }

/* final */
.final { margin-top: var(--space); text-align: center; }
.final img { width: 88px; height: 88px; border-radius: 22px; border: 1px solid var(--line); }
.final h2 { margin-top: 20px; }
.final .sub { margin: 12px auto 26px; }
.final .cta { justify-content: center; }

footer {
  margin-top: var(--space); padding-top: 18px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .9rem;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}
footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
footer p { margin: 0; }
.maker { display: grid; gap: 4px; }
@media print {
  .skip, .arrows { display: none; }
}

.back { margin: 16px 0 0; color: var(--muted); max-width: 44rem; }

/* element pages */
.crumbs { margin: 28px 0 0; font-size: .92rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.el-hero { display: grid; gap: 28px; align-items: center; padding: 20px 0 0; }
@media (min-width: 760px) { .el-hero { grid-template-columns: auto 1fr; gap: 48px; padding-top: 36px; } }
.el-hero h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); letter-spacing: -.03em; font-weight: 750; }
.el-hero .lead { margin-bottom: 18px; }
.big-cell { position: relative; width: 220px; height: 236px; border-radius: 18px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: inset 0 -10px 0 var(--c); padding: 18px 20px; color: var(--title); }
.big-cell .z { font-size: 1.3rem; font-weight: 600; color: var(--muted); }
.big-cell .sym { display: block; font-size: 5.4rem; font-weight: 750; line-height: 1; letter-spacing: -.03em; margin-top: 6px; }
.big-cell .nm { display: block; font-size: 1.15rem; font-weight: 650; margin-top: 10px; }
.big-cell .ms { display: block; font-size: .95rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.props { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 860px) { .props { grid-template-columns: 1fr 1fr; } }
.props section { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.props h2 { font-size: 1.15rem; letter-spacing: -.01em; padding: 18px 20px 6px; }
.props table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.props th, .props td { padding: 11px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); font-size: .97rem; }
.props th { font-weight: 500; color: var(--muted); width: 46%; }
.props td { color: var(--title); font-weight: 600; }
.props td small { display: block; font-weight: 450; color: var(--muted); }
.props .wide { grid-column: 1 / -1; }
.notes { margin-top: 18px; color: var(--muted); font-size: .95rem; max-width: 52rem; }
.notes p { margin: 6px 0; }
.pager { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.pager a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.app-cta { margin-top: var(--space); display: grid; gap: 24px; align-items: center; padding: 28px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 760px) { .app-cta { grid-template-columns: 1fr auto; } }
.app-cta h2 { font-size: 1.6rem; }
.app-cta p { color: var(--muted); margin: 8px 0 0; }
/* index table */
.ptable-wrap { overflow-x: auto; margin: 28px -16px 0; padding: 0 16px 12px; }
.ptable { display: grid; grid-template-columns: repeat(18, minmax(54px, 1fr)); gap: 4px; min-width: 1040px; }
.ptable a { position: relative; aspect-ratio: 1 / 1.18; border-radius: 6px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: inset 0 -4px 0 var(--c); text-decoration: none; color: var(--title); padding: 4px 5px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; padding-top: 14px; }
.ptable a:hover { border-color: var(--title); }
.ptable small { position: absolute; top: 3px; left: 5px; font-size: .62rem; color: var(--muted); }
.ptable b { font-size: 1.1rem; line-height: 1; }
.ptable span { font-size: .55rem; color: var(--muted); margin-top: 3px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptable .gap { grid-column: span 1; }
.ellist { columns: 2; column-gap: 32px; margin: 18px 0 0; padding: 0; list-style: none; font-size: .95rem; }
@media (min-width: 760px) { .ellist { columns: 4; } }
.ellist li { break-inside: avoid; margin: 0 0 6px; }
