@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display&display=swap');

:root {
  color-scheme: light;
  --ink: #202723;
  --muted: #53645b;
  --blue: #4f87bd;
  --accent: #cf5047;
  --line: #dce4df;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: #fafcfb;
  letter-spacing: 0;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; border-top: 0.375rem solid var(--blue); }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background-image: linear-gradient(#4f87bd08 0.0625rem, transparent 0.0625rem), linear-gradient(90deg, #4f87bd08 0.0625rem, transparent 0.0625rem); background-size: 2rem 2rem; }
.page { max-width: 62.5rem; margin: auto; padding: 0 3rem; }
header { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; padding: 1.875rem 0; border-bottom: 0.0625rem solid var(--line); }
.wordmark { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.0625rem; }
.wordmark span { font-weight: inherit; }
.wordmark strong { font-weight: inherit; }
.languages { display: flex; gap: 0.25rem; padding: 0; margin: 0; border: 0; }
.languages label { position: relative; cursor: pointer; }
.languages a { text-decoration: none; border-radius: 0.25rem; }
.languages input { position: absolute; opacity: 0; }
.languages span { display: grid; place-items: center; width: 2.5rem; height: 2.25rem; font-size: 0.75rem; font-weight: 700; border-radius: 0.25rem; color: var(--muted); }
.languages input:checked + span { background: var(--blue); color: white; }
.languages input:focus-visible + span { outline: 0.1875rem solid var(--accent); outline-offset: 0.1875rem; }
main { position: relative; padding: 3.625rem 0 3.75rem; max-width: 46.25rem; }
.status { display: flex; align-items: center; gap: 0.5625rem; color: var(--blue); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.status-mark { width: 0.5rem; height: 0.5rem; background: var(--accent); border-radius: 50%; }
.product-icon { display: block; width: 4.5rem; height: 4.5rem; margin-top: 1.875rem; object-fit: contain; }
h1 { font-family: 'DM Serif Display', Georgia, serif; font-size: 4rem; line-height: 1.06; font-weight: 400; margin: 1.25rem 0; overflow-wrap: anywhere; }
html[lang="pt-PT"] h1 { font-size: clamp(1.25rem, 4.5vw, 3rem); }
.period { color: var(--accent); }
.description { font-size: 1.1875rem; line-height: 1.6; color: var(--muted); max-width: 33.75rem; margin: 0; }
.signup { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 0.0625rem solid var(--line); }
h2 { font-size: 1.3125rem; line-height: 1.4; font-weight: 600; margin: 0 0 0.75rem; }
.signup p { max-width: 35.625rem; line-height: 1.65; margin: 0; }
.signup [data-text="invitation"] { white-space: pre-line; }
.install-link, .signup-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.625rem; max-width: 100%; margin: 1.375rem 0 1rem; padding: 0.9375rem 1.25rem; background: var(--blue); color: white; border-radius: 0.25rem; text-decoration: none; font-size: 0.9375rem; font-weight: 600; }
.install-link { margin-bottom: 0; }
.install-link:hover, .signup-link:hover { background: #356b9f; }
a:focus-visible { outline: 0.1875rem solid var(--accent); outline-offset: 0.25rem; }
.signup .privacy { color: var(--muted); font-size: 0.8125rem; }
.signup .provider { margin-top: 0.5rem; font-size: 0.75rem; font-style: italic; color: var(--muted); }
.signup .policy { margin-top: 0.75rem; font-size: 0.8125rem; }
footer { border-top: 0.0625rem solid var(--line); padding: 1.5rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; font-size: 0.75rem; color: var(--muted); }
.privacy-policy-link, .privacy-page main a { color: var(--blue); text-underline-offset: 0.1875rem; }
.privacy-page .languages a[aria-current="location"] span { background: var(--blue); color: white; }
.privacy-page .policy-subtitle { margin: 0.375rem 0 0; font-family: inherit; font-size: 0.875rem; line-height: 1.4; font-weight: 400; color: var(--muted); }
.privacy-page h3 { margin: 1.75rem 0 0.75rem; font-size: 1.125rem; font-weight: 600; }
.privacy-page .policy-updated { margin-bottom: 2rem; color: var(--muted); font-size: 0.875rem; }
.privacy-page p, .privacy-page dd { line-height: 1.65; }
.privacy-page p a { overflow-wrap: anywhere; }
.privacy-page dt { margin-top: 1.25rem; font-weight: 700; }
.privacy-page dd { margin: 0.375rem 0 0; color: var(--muted); }
.sr-only { position: absolute; width: 0.0625rem; height: 0.0625rem; padding: 0; margin: -0.0625rem; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 37.5rem) {
  .page { padding: 0 1.5rem; }
  header { padding: 1.375rem 0; gap: 0.75rem; }
  .wordmark { font-size: 0.875rem; }
  main { padding: 2.25rem 0 2.5rem; }
  h1 { font-size: 2.875rem; }
  .description { font-size: 1.0625rem; }
  h2 { font-size: 1.1875rem; }
  .product-icon { width: 3.5rem; height: 3.5rem; margin-top: 1.5rem; }
}
@media (max-width: 22.5rem) {
  .page { padding: 0 1.125rem; }
  .wordmark span { display: block; }
  h1 { font-size: 2.5rem; }
}
