/* uk/style.css — standalone stylesheet for the server-rendered Ukrainian
   landing page (/uk/, issue #223). Deliberately independent of app.css: this
   page ships no JS (CSP script-src 'self' with nothing to load, and no
   client-side theme switching), so it duplicates the small subset of design
   tokens it needs rather than depending on the SPA's stylesheet. Colors/
   fonts are kept in sync with app.css by hand. */

:root {
  --paper:        #F7F8FA;
  --surface:      #FFFFFF;
  --surface-2:    #FAFBFC;
  --ink-900:      #16191F;
  --ink-700:      #353A43;
  --ink-500:      #6B7280;
  --line:         #E7E9EE;
  --line-strong:  #D6DAE1;
  --beam-50:      #EBF1FE;
  --beam-500:     #2F6BE4;
  --beam-600:     #1F55C6;
  --beam-700:     #18439B;

  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans:  'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-md: 0 4px 14px -4px rgba(22, 25, 31, 0.13), 0 2px 4px -2px rgba(22, 25, 31, 0.07);
  --shadow-lg: 0 16px 44px -12px rgba(22, 25, 31, 0.22), 0 4px 10px -6px rgba(22, 25, 31, 0.10);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:        #14161B;
    --surface:      #1C1F26;
    --surface-2:    #21242C;
    --ink-900:      #ECEEF2;
    --ink-700:      #CDD2DA;
    --ink-500:      #8E95A1;
    --line:         #282C34;
    --line-strong:  #353A44;
    --beam-50:      #15203A;
    --beam-500:     #4D86EE;
    --beam-600:     #6B9CF2;
    --beam-700:     #8FB4F5;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-700);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--ink-900);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}

a { color: var(--beam-700); }

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.uk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}
.uk-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink-900);
}
.uk-brand img { width: 30px; height: 30px; display: block; }
.uk-brand__word {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
}
.uk-brand__word b { color: var(--beam-500); font-weight: 600; }
.uk-header .btn { padding: 0.55rem 1.1rem; font-size: 0.9rem; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1.5px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn--accent { background: var(--beam-500); color: #fff; }
.btn--accent:hover { background: var(--beam-600); }
.btn--ghost { background: transparent; color: var(--ink-700); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface-2); }

/* Hero */
.uk-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
  padding: 2.5rem 0 3.5rem;
}
.uk-hero__copy { flex: 1 1 380px; min-width: 300px; }
.uk-hero__copy h1 { font-size: 2.6rem; margin-bottom: 1rem; }
.uk-hero__desc {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--ink-700);
  line-height: 1.6;
  margin: 0 0 1.75rem;
  max-width: 46ch;
}
.uk-hero__shot { flex: 1 1 420px; min-width: 280px; }
.uk-hero__shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

/* Calm vs chaos */
.uk-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
}
.uk-compare__col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.uk-compare__col h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.uk-compare__col ul { margin: 0; padding: 0 0 0 1.1rem; }
.uk-compare__col li { margin-bottom: 0.6rem; }
.uk-compare__col--chaos { border-color: var(--line-strong); }
.uk-compare__col--calm { border-color: var(--beam-500); background: var(--beam-50); }

/* Features */
.uk-features {
  padding: 3rem 0;
}
.uk-features h2 { font-size: 1.75rem; text-align: center; margin-bottom: 2rem; }
.uk-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.uk-feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.uk-feature h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.uk-feature p { margin: 0; font-size: 0.9375rem; color: var(--ink-500); }

.uk-addfeed-shot {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.uk-addfeed-shot img {
  max-width: 340px;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.uk-addfeed-shot__copy { flex: 1 1 320px; min-width: 260px; }
.uk-addfeed-shot__copy h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }

/* Privacy callout */
.uk-privacy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2.5rem 0;
}
.uk-privacy h2 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.uk-privacy p { margin: 0 0 0.75rem; color: var(--ink-700); }
.uk-privacy p:last-child { margin-bottom: 0; }

/* Final CTA band */
.uk-cta-band {
  text-align: center;
  padding: 3rem 0 3.5rem;
}
.uk-cta-band h2 { font-size: 1.75rem; margin-bottom: 1.5rem; }

/* Footer */
.uk-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0;
  color: var(--ink-500);
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.uk-footer a { color: var(--ink-500); }

/* Guide articles (#225) */
.uk-breadcrumb {
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
}
.uk-breadcrumb a { color: var(--ink-500); text-decoration: none; }
.uk-breadcrumb a:hover { text-decoration: underline; }

.uk-article { padding: 1rem 0 2.5rem; }
.uk-article h1 { font-size: 2.15rem; margin: 1rem 0 0.85rem; max-width: 22ch; }
.uk-article__dek {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink-700);
  line-height: 1.6;
  margin: 0 0 2rem;
  max-width: 60ch;
}
.uk-article__body { font-size: 1.0625rem; max-width: 66ch; }
.uk-article__body h2 { font-size: 1.4rem; margin: 2.25rem 0 0.9rem; }
.uk-article__body p { margin: 0 0 1.1rem; }
.uk-article__body ul, .uk-article__body ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.uk-article__body li { margin-bottom: 0.5rem; }
.uk-article__cta { margin: 2.25rem 0 0; }

/* Guide cross-links — used both on guide pages ("Читайте також") and on the
   landing page to send authority/traffic into the guides. */
.uk-guides-more { padding: 2.25rem 0 1rem; border-top: 1px solid var(--line); margin-top: 1rem; }
.uk-guides-more h2 { font-size: 1.3rem; margin-bottom: 1.25rem; }
.uk-guides-more__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.uk-guide-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  color: inherit;
}
.uk-guide-card:hover { border-color: var(--beam-500); }
.uk-guide-card h3 { font-size: 1rem; margin: 0 0 0.35rem; color: var(--ink-900); }
.uk-guide-card p { margin: 0; font-size: 0.875rem; color: var(--ink-500); }

@media (max-width: 720px) {
  .uk-hero { padding-top: 1.5rem; }
  .uk-hero__copy h1 { font-size: 2rem; }
  .uk-compare { grid-template-columns: 1fr; }
  .uk-feature-grid { grid-template-columns: 1fr; }
  .uk-article h1 { font-size: 1.7rem; }
  .uk-guides-more__grid { grid-template-columns: 1fr; }
}
