/* Unveo site: one small stylesheet for every page.
   System font, a 680px reading column, light or dark by the visitor's own setting.
   Colours are the logo's (design/logo/make.py): brand blue, green dot, ink and paper. */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #12161c;      /* ink */
  --muted: #5b6573;
  --line: #e3e7ee;
  --panel: #f2f4f7;     /* paper */
  --brand: #2f5fd0;     /* brand blue */
  --link: #2f5fd0;
  --green: #2e9e5b;     /* the dot */
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12161c;
    --text: #f2f4f7;
    --muted: #a3adbb;
    --line: #2a313c;
    --panel: #1a2029;
    --brand: #4f73e6;   /* brand blue on dark, as in wordmark-dark.svg */
    --link: #7b97f0;    /* a lighter step of it, so small text stays easy to read */
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
}

/* The three blocks of every page share one column. */
.top, main, .foot {
  width: min(680px, 100% - 40px);
  margin-inline: auto;
}

a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

/* Header: the wordmark and the language switcher */
.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 24px 0 8px;
}
.logo { display: inline-block; line-height: 0; }
.logo img { display: block; height: 28px; width: auto; }

.lang ul, .foot ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.lang { font-size: 15px; font-weight: 600; letter-spacing: 0.03em; }
.lang li { margin: 0; }
.lang li + li::before { content: "\00b7"; margin: 0 0.6em; color: var(--muted); font-weight: 400; }
.lang a { text-decoration: none; }
.lang a:hover { text-decoration: underline; }
.lang [aria-current] { color: var(--text); }

/* A flag before each language of the switcher, so it is easy to find */
.lang [lang]::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 12px;
  margin-right: 6px;
  vertical-align: -1px;
  border-radius: 2px;
  background: center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(18, 22, 28, 0.12);
}
.lang [lang="tr"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -30000 90000 60000'%3E%3Cpath fill='%23e30a17' d='m0-30000h90000v60000H0z'/%3E%3Cpath fill='%23fff' d='m41750 0 13568-4408-8386 11541V-7133l8386 11541zm925 8021a15000 15000 0 1 1 0-16042 12000 12000 0 1 0 0 16042z'/%3E%3C/svg%3E"); }
.lang [lang="en"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='t'%3E%3Cpath d='M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z'/%3E%3C/clipPath%3E%3Cpath d='M0,0 v30 h60 v-30 z' fill='%23012169'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30,0 v30 M0,15 h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0 v30 M0,15 h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E"); }
.lang [lang="de"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 3'%3E%3Crect width='5' height='3' fill='%23FFCE00'/%3E%3Crect width='5' height='2' fill='%23DD0000'/%3E%3Crect width='5' height='1' fill='%23000'/%3E%3C/svg%3E"); }
.lang [lang="fr"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Crect width='3' height='2' fill='%23CE1126'/%3E%3Crect width='2' height='2' fill='%23fff'/%3E%3Crect width='1' height='2' fill='%23002654'/%3E%3C/svg%3E"); }

/* Text pages */
main { padding: 8px 0 56px; }

h1 { margin: 28px 0 6px; font-size: 2rem; line-height: 1.2; letter-spacing: -0.015em; }
h2 { margin: 2.1em 0 0.5em; font-size: 1.25rem; line-height: 1.3; }
p, ul { margin: 0 0 1em; }
ul { padding-left: 1.3em; }
li { margin: 0.35em 0; }

.updated { margin: 0 0 1.6em; color: var(--muted); font-size: 15px; }
.lead { font-size: 1.08rem; }

.summary {
  margin: 1.6em 0 0;
  padding: 2px 22px 8px;
  background: var(--panel);
  border-left: 4px solid var(--green);
  border-radius: 10px;
}
.summary h2 { margin-top: 0.9em; font-size: 1.05rem; }
.summary ul { margin-bottom: 0.4em; }

/* Footer */
.foot {
  padding: 22px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.foot ul { gap: 0 1.3em; margin-bottom: 0.7em; }
.foot li { margin: 0; }
.foot p { margin: 0; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }
.foot [aria-current] { color: var(--text); font-weight: 600; text-decoration: none; }

/* Landing page: a wider column, the phone screenshots in a frame */
.landing .top, .landing main, .landing .foot { width: min(1080px, 100% - 40px); }
.landing main { padding: 0 0 40px; }
.landing h2 { margin: 0 0 20px; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -0.01em; }
.landing section { padding: 56px 0; border-top: 1px solid var(--line); }
.landing section.hero { border-top: 0; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding-top: 40px !important;
}
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 15px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.hero h1 { margin: 0 0 18px; font-size: clamp(2.6rem, 6.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.035em; }
.hero .lead { max-width: 34em; margin: 0 0 28px; color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.25rem); }

.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
/* Not links yet: the stores' names in an outline, "soon" beside them. */
.store {
  display: inline-block;
  padding: 9px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}
.soon { color: var(--muted); font-size: 15px; font-weight: 600; }

/* A screenshot as a phone: rounded like the screen, a thin dark edge, a soft shadow. */
.phone { margin: 0; }
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border: 7px solid #12161c;
  border-radius: 42px;
  box-shadow: 0 24px 60px -24px rgba(18, 22, 28, 0.35), 0 0 0 1px rgba(18, 22, 28, 0.08);
}
.hero-phone { justify-self: center; width: min(320px, 72vw); position: relative; isolation: isolate; }
.hero-phone::before {
  content: "";
  position: absolute;
  inset: 8% -18% 4%;
  z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 22%, transparent), transparent);
}
@media (prefers-color-scheme: dark) {
  .phone img { border-color: #2a313c; }
}
.phone figcaption { margin-top: 14px; color: var(--muted); font-size: 15px; text-align: center; }

.steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li, .features li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 22px;
  border-radius: 16px;
  background: var(--panel);
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.steps strong, .features strong { font-size: 1.08rem; }
.steps span, .features span { color: var(--muted); font-size: 16px; line-height: 1.55; }

.features ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.features svg {
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.shots .phone { width: min(280px, 100%); justify-self: center; }

.privacy-note {
  padding: 32px 36px !important;
  margin: 56px 0;
  border: 0 !important;
  border-left: 4px solid var(--green) !important;
  border-radius: 16px;
  background: var(--panel);
}
.privacy-note h2 { margin-bottom: 12px; }
.privacy-note ul { margin-bottom: 12px; }
.privacy-note p { margin: 0; }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { max-width: 46em; margin: -4px 0 18px; color: var(--muted); }

.closing { text-align: center; }
.closing .stores { justify-content: center; margin-bottom: 18px; }
.closing p { margin: 0; color: var(--muted); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; text-align: left; }
  .steps ol, .features ul { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
  .shots .phone:last-child { display: none; }
}
@media (max-width: 560px) {
  .landing section { padding: 40px 0; }
  .steps ol, .features ul { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .shots .phone:last-child { display: block; }
  .privacy-note { padding: 24px 22px !important; }
}

@media (max-width: 480px) {
  body { font-size: 16.5px; }
  h1 { font-size: 1.7rem; }
  .summary { padding-inline: 18px; }
}
