/* AIKA NAS — nas.aika.hu. Fonts are served from here (no third-party requests). */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url(fonts/bricolage-grotesque-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url(fonts/bricolage-grotesque-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url(fonts/figtree-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url(fonts/figtree-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url(fonts/figtree-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url(fonts/figtree-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --mist: #eef2f0;      /* page */
  --mist-deep: #e1e8e5; /* bands */
  --ink: #14212b;       /* text, the box */
  --ink-soft: #4a5b66;
  --pine: #1f5e57;      /* actions, links */
  --pine-deep: #174a44;
  --led: #59d38c;       /* only the status light */
  --amber: #f2b441;     /* only the price */
  --line: #c9d3cf;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --measure: 68ch;
  --gutter: clamp(16px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine); text-underline-offset: 3px; }
a:hover { color: var(--pine-deep); }
:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }

/* ---- header ---- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  max-width: 1240px; margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.15rem var(--display); color: var(--ink); text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.brand rect { fill: var(--ink); }
.brand .led { fill: var(--led); }
.top nav { display: flex; gap: clamp(12px, 2.5vw, 28px); flex-wrap: wrap; }
.top nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.top nav a:hover { color: var(--ink); }

/* ---- hero: the box on the shelf is the one memorable thing ---- */
.hero {
  max-width: 1240px; margin: 0 auto;
  padding: clamp(32px, 7vw, 96px) var(--gutter) clamp(48px, 8vw, 120px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
}
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); max-width: 12ch; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 46ch; margin: 1.5rem 0 2rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 22px; border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 2px solid var(--ink); color: var(--ink); transition: background-color .15s, color .15s;
}
.btn:hover { background: var(--ink); color: var(--mist); }
.btn.primary { background: var(--pine); border-color: var(--pine); color: #fff; }
.btn.primary:hover { background: var(--pine-deep); border-color: var(--pine-deep); color: #fff; }

/* real product, slightly past the right edge of the column */
.hero-shot { margin: 0 calc(-1 * var(--gutter)) 0 0; }
.hero-shot img { border-radius: 14px 0 0 14px; box-shadow: 0 30px 70px rgba(20, 33, 43, 0.28); }

/* ---- features: a plain two-column list, not a card grid ---- */
.features, .steps, .faq, .pricing {
  max-width: 1240px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter);
}
.features dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 72px); margin: 0; }
.features dl > div { padding: 22px 0; border-top: 1px solid var(--line); }
.features dt { font: 700 1.3rem/1.2 var(--display); letter-spacing: -0.01em; margin-bottom: 6px; }
.features dd { margin: 0; color: var(--ink-soft); max-width: 52ch; }

/* ---- gallery: real screenshots on a dark band ---- */
.gallery {
  background: var(--ink); color: var(--mist);
  padding: clamp(48px, 7vw, 96px) max(var(--gutter), calc((100% - 1240px) / 2 + var(--gutter)));
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(160px, 0.42fr);
  grid-template-areas: "title title title" "files files phone" "apps apps phone";
  gap: clamp(20px, 3vw, 40px); align-items: start;
}
.gallery h2 { grid-area: title; margin: 0; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.g-files { grid-area: files; }
.g-apps { grid-area: apps; }
.g-phone { grid-area: phone; align-self: center; }
.g-phone img { border-radius: 24px; border: 6px solid #0f1920; }
.gallery figcaption { margin-top: 12px; color: rgba(238, 242, 240, 0.72); max-width: 60ch; }

/* ---- steps: a real sequence, so it is numbered ---- */
.steps ol { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: block;
  font: 800 4.5rem/1 var(--display); color: var(--pine); margin-bottom: 8px;
}
.steps p { color: var(--ink-soft); margin: 8px 0 0; }

/* ---- pricing: one offer ---- */
.pricing {
  background: var(--mist-deep); max-width: none;
  /* full-width band, content on the same left edge as the other sections */
  padding-inline: max(var(--gutter), calc((100% - 1240px) / 2 + var(--gutter)));
}
.offer { max-width: 760px; }
.price { font: 700 1.25rem var(--display); margin: 0 0 1.25rem; }
.price .amount {
  font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(transparent 62%, var(--amber) 62%, var(--amber) 88%, transparent 88%);
  padding: 0 4px;
}
.offer ul { margin: 0; padding-left: 1.2em; }
.offer li { margin: 0.4rem 0; max-width: var(--measure); }
.note { margin-top: 1.5rem; color: var(--ink-soft); }

/* ---- FAQ ---- */
.faq details { border-top: 1px solid var(--line); max-width: 860px; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font: 700 1.2rem/1.3 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.6rem; color: var(--pine); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-soft); max-width: var(--measure); }

.bottom {
  max-width: 1240px; margin: 0 auto; padding: 32px var(--gutter) 48px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-soft); font-size: 0.95rem;
}
.bottom p { margin: 0; }

/* ---- small screens ---- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-shot { margin: 0 calc(-1 * var(--gutter)); }
  .hero-shot img { border-radius: 0; }
  .features dl { grid-template-columns: 1fr; }
  .steps ol { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-template-areas: "title" "files" "apps" "phone"; }
  .g-phone { max-width: 260px; justify-self: center; }
  .top nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---- legal pages ---- */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(24px, 5vw, 64px) var(--gutter) 64px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.5rem; }
.legal h2 { font-size: 1.4rem; margin: 2.2rem 0 0.6rem; }
.legal p, .legal li { color: var(--ink-soft); max-width: var(--measure); }
.legal .meta { color: var(--ink-soft); font-size: 0.95rem; }
.news .release { border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 1.6rem; }
.news .release h2 { margin: 0; font-size: 1.8rem; }
.news .release .meta { margin: 0.2rem 0 0.8rem; }
