/* LifeApp LLC — shared styles for lifeapp.llc, en.lifeapp.llc, tr.lifeapp.llc
   Type: Archivo variable (wght 100–900, wdth 62–125), self-hosted.
   The heavy/thin pairing comes straight from the logo ("life" heavy, "app" thin). */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #ffffff;
  --ink: #000000;
  --soft: #5c615d;     /* secondary text, 6.3:1 on white */
  --rule: #dfe2df;
  --green: #0a8a0a;    /* logo ".llc" */
  --green-deep: #076b07;
  --orange: #f47a10;   /* logo dot — decoration only, never text */

  --pad: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --gap: clamp(28px, 4vw, 56px);
  --section: clamp(72px, 10vw, 136px);

  --heavy: 860;
  --thin: 210;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: var(--pad); top: -60px; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--paper); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Header ---------- */
.site-head { padding: 26px 0; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); font-size: 15px; font-weight: 500; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--green-deep); text-decoration: underline; }
.site-nav .lang { color: var(--soft); padding-left: clamp(18px, 2.4vw, 34px); border-left: 1px solid var(--rule); }
.site-nav .lang:hover { color: var(--green-deep); }
@media (max-width: 760px) {
  .site-nav .opt { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 10vw, 140px) 0 0; }
.hero h1 {
  font-size: clamp(44px, 7.9vw, 114px);
  line-height: 1;
  letter-spacing: -.035em;
  font-weight: var(--heavy);
}
.hero h1 .l1 { display: block; font-weight: var(--heavy); font-stretch: 102%; }
.hero h1 .l2 { display: block; font-weight: var(--thin); font-stretch: 100%; letter-spacing: -.03em; }
.dot {
  display: inline-block;
  width: .19em; height: .19em;
  margin-left: .06em;
  border-radius: 50%;
  background: var(--orange);
  vertical-align: baseline;
}
.hero .dot { animation: drop .7s cubic-bezier(.3, 1.6, .5, 1) .35s both; }
@keyframes drop {
  from { transform: translateY(-1.4em) scale(.4); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: var(--gap);
  margin-top: clamp(36px, 5vw, 64px);
}
.hero-body > div { grid-column: 2; max-width: 40rem; }
.lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.55; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 24px;
  background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: 16px; text-decoration: none;
  border-radius: 999px;
  transition: background-color .15s;
}
.btn:hover { background: var(--green-deep); color: var(--paper); }
.btn:focus-visible { outline-offset: 4px; }
.textlink { font-weight: 600; font-size: 16px; }

@media (max-width: 760px) {
  .hero-body { grid-template-columns: 1fr; }
  .hero-body > div { grid-column: 1; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0 0; }
.section > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 22px var(--gap);
}
.section > .wrap::before { content: ""; grid-column: 1 / -1; border-top: 1px solid var(--ink); }
.section h2 {
  font-size: 20px; line-height: 1.3;
  font-weight: 700; font-stretch: 104%;
  letter-spacing: -.005em;
}
.section .intro { color: var(--soft); max-width: 36rem; margin-bottom: clamp(28px, 4vw, 44px); }
@media (max-width: 760px) {
  .section > .wrap { grid-template-columns: 1fr; }
}

/* What we do: two-up definition list */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }
.services > div { padding: 0 0 clamp(32px, 4vw, 48px); }
.services dt {
  font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15;
  font-weight: 760; font-stretch: 106%; letter-spacing: -.015em;
  margin-bottom: 12px;
}
.services dd { color: var(--soft); max-width: 30rem; }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

/* Products */
.products > li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.products > li:first-child { padding-top: 0; }
.products > li:last-child { border-bottom: 0; }
.products .icon { width: 72px; height: 72px; border-radius: 18px; }
.products .icon.framed { border: 1px solid var(--rule); }
.products .icon.blank {
  border: 1.5px dashed #b9bdb9;
  display: grid; place-items: center;
}
.products .icon.blank span { width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
.products h3 {
  font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1;
  font-weight: var(--heavy); font-stretch: 106%; letter-spacing: -.02em;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
}
.products h3 small {
  font-size: 14px; font-weight: 500; font-stretch: 100%; letter-spacing: 0;
  color: var(--soft);
}
.products p { margin-top: 10px; max-width: 38rem; }
.products .links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-weight: 600; font-size: 16px; }
.products .muted { color: var(--soft); }
@media (max-width: 480px) {
  .products > li { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; }
  .products .icon { width: 52px; height: 52px; border-radius: 13px; }
  .products .icon.blank span { width: 10px; height: 10px; }
}

/* How we work: a real sequence, so numbered */
.steps { counter-reset: step; }
.steps > li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 64px minmax(0, 13rem) minmax(0, 1fr);
  gap: 8px 24px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.steps > li:first-child { padding-top: 0; }
.steps > li::before {
  content: counter(step);
  font-size: 34px; line-height: 1; font-weight: var(--thin);
  font-variant-numeric: tabular-nums;
  color: var(--soft);
}
.steps h3 { font-size: 21px; font-weight: 700; font-stretch: 104%; line-height: 1.3; }
.steps p { color: var(--soft); }
@media (max-width: 640px) {
  .steps > li { grid-template-columns: 48px minmax(0, 1fr); }
  .steps > li::before { grid-row: span 2; font-size: 28px; }
}

/* Contact: the address set like the logo */
.contact { padding-bottom: var(--section); }
.contact p { max-width: 36rem; }
.mail {
  display: inline-block;
  margin-top: clamp(24px, 3vw, 36px);
  font-size: clamp(34px, 7.2vw, 104px);
  line-height: 1;
  letter-spacing: -.035em;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.mail .h { font-weight: var(--thin); }
.mail .b { font-weight: var(--heavy); font-stretch: 104%; }
.mail .t { font-weight: var(--thin); }
.mail .g { font-weight: var(--heavy); font-stretch: 104%; color: var(--green); }
.mail .dot { width: .17em; height: .17em; margin: 0 .03em 0 .04em; }
.mail:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .12em; }
.mail:hover .g { color: var(--green-deep); }
.contact address { margin-top: clamp(28px, 3.5vw, 44px); font-style: normal; color: var(--soft); line-height: 1.5; }
.contact address a { color: var(--soft); }
.contact address a:hover { color: var(--green-deep); }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--rule); padding: 28px 0 36px; font-size: 15px; color: var(--soft); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-foot a { color: var(--soft); }
.site-foot a:hover { color: var(--green-deep); }

/* ---------- Text pages (privacy, 404) ---------- */
.page { padding: clamp(40px, 7vw, 96px) 0 var(--section); }
.page h1 {
  font-size: clamp(40px, 6vw, 80px); line-height: 1;
  font-weight: var(--heavy); font-stretch: 106%; letter-spacing: -.03em;
}
.page .updated { color: var(--soft); margin-top: 16px; font-size: 16px; }
.prose { max-width: 42rem; margin-top: clamp(36px, 5vw, 56px); }
.prose h2 { font-size: 22px; font-weight: 700; font-stretch: 104%; line-height: 1.3; margin: 40px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }

/* ---------- Language chooser (lifeapp.llc) ---------- */
.chooser { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 48px 0; }
.chooser .brand img { height: clamp(40px, 6vw, 64px); }
.chooser ul { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--ink); }
.chooser li { border-bottom: 1px solid var(--rule); }
.chooser li a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 22px 0; text-decoration: none;
}
.chooser li b { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.05; font-weight: var(--heavy); font-stretch: 106%; letter-spacing: -.025em; }
.chooser li span { color: var(--soft); font-size: 16px; }
.chooser li a:hover b { color: var(--green-deep); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
