:root {
  --bg: #0b1020;
  --bg2: #111936;
  --card: #151f3f;
  --text: #edf2ff;
  --muted: #9fb0d0;
  --line: rgba(255,255,255,.12);
  --accent: #6ee7f9;
  --accent2: #a78bfa;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(103,232,249,.15), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(167,139,250,.18), transparent 28%),
    linear-gradient(180deg, var(--bg), #080b16 70%);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11,16,32,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.link-reset {
  color: inherit;
}

.link-reset:hover {
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #08101c;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .2px;
}

.brand-subtitle {
  font-size: 14px;
  color: var(--muted);
}

.menu {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.menu a {
  color: var(--muted);
}

.menu a:hover {
  color: var(--white);
  text-decoration: none;
}

.hero {
  padding: 92px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  padding: 7px 12px;
  font-size: 14px;
  margin-bottom: 24px;
  background: rgba(255,255,255,.04);
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -.035em;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  margin-bottom: 18px;
}

h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 690px;
}

.actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid var(--line);
}

.button:hover {
  text-decoration: none;
}

.primary {
  color: #07101c;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
}

.secondary {
  color: var(--text);
  background: rgba(255,255,255,.05);
}

.panel {
  border: 1px solid var(--line);
  background: rgba(21,31,63,.78);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.32);
}

.panel-top {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}

.panel-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
}

.terminal {
  padding: 28px;
  font-family: Consolas, Monaco, monospace;
  color: #d9faff;
}

.terminal p {
  margin: 0 0 14px;
}

.section {
  padding: 76px 0;
}

.muted {
  background: rgba(255,255,255,.035);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 32px;
}

.note,
.card,
.contact-box,
.content {
  border: 1px solid var(--line);
  background: rgba(21,31,63,.6);
  border-radius: 24px;
  padding: 28px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.card p,
.note p,
.content p {
  color: var(--muted);
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.content {
  max-width: 860px;
}

@media (max-width: 860px) {
  .hero-grid,
  .two-col,
  .cards {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
    padding-block: 16px;
    gap: 12px;
  }

  .menu {
    gap: 8px 20px;
    flex-wrap: wrap;
  }

  .contact-box,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Lithuanian edition: readable navigation, long words and keyboard access. */
html { scroll-padding-top: 112px; }
body { min-width: 280px; }
.header { border-top: 3px solid transparent; border-image: linear-gradient(90deg, #fdb913 0 33.333%, #66b895 33.333% 66.666%, #ef6e77 66.666%) 1; }
.brand { min-width: 0; }
.brand-mark { flex: 0 0 42px; }
.brand-title { line-height: 1.3; }
.brand-subtitle { margin-top: 3px; }
.menu a { display: inline-flex; align-items: center; min-height: 44px; }
.hero-grid > *, .two-col > *, .cards > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: anywhere; hyphens: auto; }
.terminal { font-size: .9375rem; overflow-wrap: anywhere; }
.terminal p:last-child, .card p:last-child, .note p:last-child, .contact-box p:last-child { margin-bottom: 0; }
.contact-note { flex-shrink: 0; margin: 0; max-width: 100%; border-radius: 12px; }
.content h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.content h2 { font-size: 1.5rem; margin-top: 32px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 18px; color: var(--bg); background: var(--accent); border-radius: 8px; }
.skip-link:focus { top: 12px; }
@media (max-width: 860px) {
  .hero { padding: 56px 0 40px; }
  .hero-grid { gap: 32px; }
  .section { padding: 48px 0; }
  .header { position: relative; }
  html { scroll-padding-top: 20px; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .brand-title { font-size: 1rem; }
  .brand-subtitle { font-size: .875rem; }
  .menu { width: 100%; justify-content: space-between; gap: 8px; }
  .lead { font-size: 1.0625rem; }
  .note, .card, .contact-box, .content, .terminal { padding: 22px; }
  .actions { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
