/* Tasalli website. No framework, no web font for Latin text: the page must open on a slow link. */
:root {
  --bg: #F4F1EA;
  --sf: #FFFFFF;
  --ink: #16282C;
  --ink2: #455A5E;
  --line: #D8D2C4;
  --ac: #0B5D5A;
  --acink: #FFFFFF;
  --soft: #DCEBE7;
  --mute: #E9E4D8;
  --sand: #F3E6C6;
  --sandink: #4E3500;
  --w: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1819;
    --sf: #172527;
    --ink: #EDEAE2;
    --ink2: #B3C0C1;
    --line: #34484A;
    --ac: #86D6CB;
    --acink: #0E1819;
    --soft: #1D3A37;
    --mute: #1F2E30;
    --sand: #3B3320;
    --sandink: #F1E0B4;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--ac); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--ac);
  outline-offset: 2px;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; line-height: 1.2; }
h1 { font-size: clamp(32px, 6vw, 52px); letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 4vw, 32px); letter-spacing: -0.01em; }
h3 { font-size: 18px; }
bdi { unicode-bidi: isolate; }

.wrap { max-width: var(--w); margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; inset-inline-start: -999px; top: 0; background: var(--sf); padding: 12px 16px; }
.skip:focus { inset-inline-start: 8px; top: 8px; z-index: 5; }

.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 8px 20px; flex-wrap: wrap; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-size: 24px; font-weight: 700; color: var(--ac); text-decoration: none; margin-inline-end: auto; }
.top nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.top nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 48px; font-weight: 600; text-decoration: none; color: var(--ink); }
/* Without this line the rule above wins and the button's words take the page's ink on the
   button's fill: measured 1.99:1 in the light theme, 1.40:1 in the dark one. */
.top nav a.btn { color: var(--acink); }
.top nav a:hover { text-decoration: underline; }
.top nav a.lang { color: var(--ac); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px; border-radius: 12px;
  border: 2px solid var(--ac); background: var(--ac); color: var(--acink);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink2); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

section { padding-block: 56px; }
section + section { border-top: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.lead { font-size: 19px; color: var(--ink); max-width: 62ch; }
.note { color: var(--ink2); font-size: 15px; max-width: 70ch; }
.kicker { font-size: 14px; font-weight: 700; color: var(--ink2); letter-spacing: 0.06em; text-transform: uppercase; }

.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: center; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 8px; }
.status { background: var(--soft); border-radius: 12px; padding: 12px 16px; font-size: 16px; max-width: 62ch; }

/* The example chart: the product's own object, drawn in HTML. */
figure { margin: 0; }
.chart { background: var(--sf); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.chart .head { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.chart .sync { font-size: 13px; font-weight: 600; background: var(--soft); border-radius: 8px; padding: 4px 10px; }
.dose { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.dose b { font-size: 16px; }
.dose .st { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.dose .st svg { flex-shrink: 0; }
.dose.open { border: 2px solid var(--ink); }
.dose .mini { display: flex; gap: 8px; padding-top: 6px; }
.dose .mini span { flex: 1; text-align: center; border-radius: 10px; padding: 8px 6px; font-weight: 700; font-size: 15px; border: 2px solid var(--ink2); }
.dose .mini span.yes { flex: 2; background: var(--ac); color: var(--acink); border-color: var(--ac); }
.chart .cap { font-size: 13px; color: var(--ink2); }

.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.cols > div { display: flex; flex-direction: column; gap: 8px; }
.feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.feat > div { display: flex; flex-direction: column; gap: 6px; padding-inline-start: 0; }
.feat p, .cols p { color: var(--ink2); }

.plain { background: var(--sand); color: var(--sandink); border-radius: 14px; padding: 18px 20px; max-width: 78ch; }

.tablebox { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: var(--sf); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
th, td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 16px; }
thead th { font-size: 18px; background: var(--mute); }
tbody th { font-weight: 500; color: var(--ink2); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td { font-weight: 600; }
td.no { color: var(--ink2); font-weight: 400; }
tr.price td { font-size: 17px; }

ol.promise { margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 8px; max-width: 70ch; }

form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; background: var(--sf); border: 1px solid var(--line); border-radius: 18px; padding: 22px; max-width: 760px; }
form .full { grid-column: 1 / -1; }
label, legend { font-weight: 700; font-size: 15px; display: block; padding-bottom: 4px; }
label small { font-weight: 400; color: var(--ink2); }
input[type="text"], select {
  width: 100%; min-height: 52px; padding: 0 12px; border-radius: 12px;
  border: 2px solid var(--ink2); background: var(--sf); color: var(--ink); font: inherit;
}
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; gap: 10px; flex-wrap: wrap; }
.choices label { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border: 2px solid var(--line); border-radius: 999px; font-weight: 600; cursor: pointer; }
.choices input { width: 20px; height: 20px; accent-color: var(--ac); }
.agree { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.agree input { width: 24px; height: 24px; margin-top: 2px; flex-shrink: 0; accent-color: var(--ac); }
.msg { border-radius: 12px; padding: 12px 16px; font-weight: 600; }
.msg:empty { display: none; }
[aria-invalid="true"] { border-color: var(--sandink); outline: 2px solid var(--sandink); }
.msg.ok { background: var(--soft); border: 2px solid var(--ac); }
.msg.bad { background: var(--sand); color: var(--sandink); }

dl.priv { margin: 0; display: grid; grid-template-columns: minmax(120px, 0.3fr) minmax(0, 1fr); gap: 10px 24px; max-width: 860px; }
dl.priv dt { font-weight: 700; }
dl.priv dd { margin: 0; color: var(--ink2); }

footer { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--ink2); font-size: 15px; }
footer .wrap { display: flex; gap: 8px 24px; flex-wrap: wrap; }

@media (max-width: 800px) {
  body { font-size: 16px; }
  section { padding-block: 40px; }
  .hero .wrap, .cols, .feat, form, dl.priv { grid-template-columns: minmax(0, 1fr); }
  dl.priv { gap: 2px 0; }
  dl.priv dd { padding-bottom: 10px; }
  th, td { padding: 10px 10px; font-size: 15px; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
td svg { vertical-align: middle; }
