/* Tipluna website. Tokens come from design/stitch/tipluna-brand.json. Mobile first. */

/* Unicode ranges: Google Fonts' latin and latin-ext subsets, as shipped by Fontsource. */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/bodoni-moda-latin-wght-normal.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;
}

@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/bodoni-moda-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/manrope-latin-wght-normal.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;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/manrope-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/*
 * Azerbaijani letters the brand fonts lack: Bodoni Moda has neither schwa, Manrope has no capital
 * schwa. These two faces carry only those letters, so other languages never download them.
 */
@font-face {
  font-family: 'Libre Bodoni';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/libre-bodoni-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+018F, U+0259;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+018F;
}

:root {
  --color-background: #fdf8f5;
  --color-text: #1f1617;
  --color-accent: #835336;
  --radius: 8px;
  --font-headline: 'Bodoni Moda', 'Libre Bodoni', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: 1.25rem;
  --touch-target: 2.75rem;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-headline);
  font-weight: 500;
  line-height: 1.15;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  margin-bottom: 0.75rem;
  font-size: 1.625rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-inline-start: 1.25rem;
}

li {
  margin-bottom: 0.5rem;
}

a {
  color: var(--color-accent);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--color-text);
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.wrap {
  width: 100%;
  max-width: 40rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  background: var(--color-text);
  color: var(--color-background);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.site-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding-block: 1rem;
}

.wordmark {
  font-family: var(--font-headline);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
}

.languages {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
  font-size: 0.9375rem;
}

.languages a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-target);
}

.languages a[aria-current] {
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
}

main {
  padding-block: 2rem 3.5rem;
}

main > h1 {
  margin-bottom: 1.25rem;
}

section {
  margin-top: 2.75rem;
}

.hero {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.lead {
  font-size: 1.1875rem;
  line-height: 1.55;
}

.updated {
  font-size: 0.9375rem;
}

.status {
  margin: 1.75rem 0 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
}

.status strong {
  display: block;
  color: var(--color-accent);
}

.email {
  font-size: 1.1875rem;
  font-weight: 600;
}

.steps {
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 2.25rem;
  margin-bottom: 1.25rem;
  padding-inline-start: 3.25rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius);
  background: var(--color-accent);
  color: var(--color-background);
  font-weight: 700;
}

.site-footer {
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--color-accent);
  font-size: 0.9375rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-target);
}

.footer-links a[aria-current] {
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
}

.footer-developer {
  margin: 0;
}

@media (min-width: 48rem) {
  body {
    font-size: 1.125rem;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 1.875rem;
  }

  main {
    padding-block: 3.5rem 5rem;
  }
}
