/* Pageroll — landing page (pageroll.iliriastudio.com). Self-contained: no external fonts, scripts or images. */

@font-face {
  font-family: "Inter";
  src: url("inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink-900: #041714;
  --ink-800: #062420;
  --ink-700: #08302B;
  --teal-700: #0F766E;
  --teal-600: #0D9488;
  --teal-500: #14B8A6;
  --teal-400: #2DD4BF;
  --teal-300: #5EEAD4;
  --teal-200: #99F6E4;
  --teal-100: #CCFBF1;
  --on-dark: #F0FDFA;
  --on-dark-muted: #A9CCC5;

  --bg: #FFFFFF;
  --bg-alt: #F5F9F8;
  --text: #0B1F1C;
  --muted: #4B635E;
  --line: #E1ECE9;
  --card: #FFFFFF;
  --card-shadow: 0 1px 2px rgba(4, 23, 20, .06), 0 8px 24px -12px rgba(4, 23, 20, .18);
  --accent: #0F766E;

  --radius: 16px;
  --wrap: 1180px;
  --gutter: 24px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071A17;
    --bg-alt: #0A221E;
    --text: #E8F6F3;
    --muted: #9DBDB6;
    --line: #17332E;
    --card: #0C2622;
    --card-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 28px -14px rgba(0, 0, 0, .7);
    --accent: #5EEAD4;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
code { font: .88em/1.4 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; padding: 2px 6px; border-radius: 6px; background: var(--bg-alt); border: 1px solid var(--line); }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px;
  border-radius: 12px; font-weight: 650; font-size: 16px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  color: #04221F; background: linear-gradient(180deg, var(--teal-300), var(--teal-400));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 10px 24px -10px rgba(45, 212, 191, .8);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 14px 30px -10px rgba(45, 212, 191, .9); }
.btn svg { width: 18px; height: 18px; stroke-width: 2.6; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16.5px; }
.btn-ghost { color: var(--on-dark); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; color: var(--on-dark);
  background: rgba(4, 23, 20, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.nav-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; letter-spacing: -.02em; color: inherit; text-decoration: none; }
.logo img { width: 34px; height: 34px; margin: -4px; }
.nav nav { display: flex; gap: 28px; margin-left: auto; }
.nav nav a { color: var(--on-dark-muted); text-decoration: none; font-size: 15px; font-weight: 550; }
.nav nav a:hover { color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(900px 640px at -8% -18%, rgba(45, 212, 191, .26), transparent 62%),
    radial-gradient(760px 620px at 108% 118%, rgba(20, 184, 166, .22), transparent 62%),
    radial-gradient(620px 460px at 74% 46%, rgba(15, 118, 110, .32), transparent 70%),
    linear-gradient(152deg, var(--ink-700) 0%, var(--ink-800) 46%, var(--ink-900) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 62% 72% at 70% 48%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 78%);
          mask-image: radial-gradient(ellipse 62% 72% at 70% 48%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 78%);
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: 48px; padding-top: 88px; padding-bottom: 96px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; margin: 0; height: 32px; padding: 0 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--teal-100); background: rgba(45, 212, 191, .12); border: 1px solid rgba(94, 234, 212, .3);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-300); box-shadow: 0 0 0 4px rgba(94, 234, 212, .2); }
.hero h1 { margin: 22px 0 0; font-size: clamp(40px, 5.4vw, 62px); line-height: 1.03; font-weight: 800; letter-spacing: -.04em; color: #fff; }
.hero h1 em, .row-copy h3 em {
  font-style: normal; background: linear-gradient(92deg, var(--teal-200) 0%, var(--teal-400) 55%, var(--teal-300) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin: 22px 0 0; max-width: 520px; font-size: 19px; line-height: 1.6; color: var(--on-dark-muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 28px 0 0; padding: 0; font-size: 14.5px; font-weight: 550; color: var(--teal-100); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 17px; height: 17px; color: var(--teal-300); stroke-width: 2.6; }
/* The hero image carries transparent room for its shadows (56 px sides, 40 top, 104 bottom at 1×): pull it out by
   that much so the visible windows line up with the column edges. */
.hero-visual { margin: -40px -56px -104px -56px; }
.hero-visual img { width: 100%; }

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.section.alt { background: var(--bg-alt); }
.sec-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
h1, h2, h3 { text-wrap: balance; }
h2 { margin: 12px 0 0; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -.035em; }
.sub { margin: 16px 0 0; font-size: 18.5px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.card h3 { margin: 18px 0 0; font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.015em; }
.card p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.ic {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: #fff;
  background: linear-gradient(180deg, var(--teal-500), var(--teal-700)); box-shadow: 0 8px 18px -8px rgba(15, 118, 110, .8);
}
.ic svg { width: 22px; height: 22px; }

.row { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.row + .row { margin-top: 96px; }
.row.flip .row-copy { order: 2; }
.num { margin: 0; font-size: 14px; font-weight: 750; letter-spacing: .1em; color: var(--accent); }
.row-copy h3 { margin: 10px 0 0; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; font-weight: 800; letter-spacing: -.03em; }
.row-copy h3 em { background: linear-gradient(92deg, var(--teal-700) 0%, var(--teal-500) 100%); -webkit-background-clip: text; background-clip: text; }
.row-copy > p { margin: 16px 0 0; font-size: 17.5px; color: var(--muted); }
.row-copy .small { font-size: 14.5px; }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; font-size: 16px; font-weight: 550; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px; background: var(--teal-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 13px 13px; background-position: center; background-repeat: no-repeat;
}
.row-visual img { width: 100%; border-radius: 24px; box-shadow: 0 0 0 1px rgba(4, 23, 20, .06), 0 40px 70px -40px rgba(4, 23, 20, .55); }

.keys-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; max-width: 420px; }
.keys-list li { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 12px 0 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-weight: 600; }
.keys { display: inline-flex; gap: 6px; }
kbd {
  display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 7px;
  font: 650 13px "Inter", sans-serif; color: var(--text); background: var(--bg-alt); border: 1px solid var(--line); box-shadow: 0 2px 0 var(--line);
}

/* ---------- privacy band ---------- */
.privacy {
  color: var(--on-dark); padding: 104px 0;
  background:
    radial-gradient(700px 480px at 0% 0%, rgba(45, 212, 191, .2), transparent 62%),
    linear-gradient(152deg, var(--ink-700), var(--ink-900));
}
.privacy-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.privacy .eyebrow { color: var(--teal-300); }
.privacy h2 { color: #fff; }
.privacy-copy p { margin: 18px 0 0; font-size: 18px; color: var(--on-dark-muted); }
.link { display: inline-block; margin-top: 22px; font-weight: 650; color: var(--teal-300); text-decoration: none; }
.link:hover { text-decoration: underline; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.facts li { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.facts .ic { width: 42px; height: 42px; border-radius: 12px; }
.facts .ic svg { width: 20px; height: 20px; }
.facts b { display: block; margin-top: 14px; font-size: 17px; color: #fff; }
.facts span:not(.ic) { display: block; margin-top: 4px; font-size: 14.5px; color: var(--on-dark-muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-size: 17px; font-weight: 650; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--bg-alt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E");
  background-size: 14px; background-position: center; background-repeat: no-repeat; transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* ---------- install ---------- */
.install {
  color: var(--on-dark); text-align: center; padding: 104px 0;
  background:
    radial-gradient(600px 360px at 50% 0%, rgba(45, 212, 191, .28), transparent 70%),
    linear-gradient(180deg, var(--ink-800), var(--ink-900));
}
.install-in { display: flex; flex-direction: column; align-items: center; }
.install img { width: 72px; height: 72px; margin: -9px; }
.install h2 { color: #fff; margin-top: 26px; }
.install p { margin: 14px 0 0; max-width: 560px; font-size: 18px; color: var(--on-dark-muted); }
.install .soon {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; height: 46px; padding: 0 20px; border-radius: 999px;
  font-size: 15px; font-weight: 650; color: var(--teal-100); background: rgba(45, 212, 191, .12); border: 1px solid rgba(94, 234, 212, .3);
}

.install .btn { margin-top: 30px; }
.install p, .lead, .sub { text-wrap: balance; }
.install .note { margin-top: 14px; font-size: 14px; color: var(--on-dark-muted); }

/* ---------- footer ---------- */
.foot { color: var(--on-dark-muted); background: var(--ink-900); border-top: 1px solid rgba(255, 255, 255, .06); }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.foot-brand .logo { color: var(--on-dark); font-size: 17px; }
.foot-brand .logo img { width: 28px; height: 28px; margin: -3px; }
.foot-brand p { margin: 8px 0 0; font-size: 14px; }
.foot-links { display: flex; gap: 24px; }
.foot-links a { color: var(--on-dark); text-decoration: none; font-size: 14.5px; font-weight: 550; }
.foot-links a:hover { color: var(--teal-300); }
.copy { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 13.5px; }
.copy a { color: inherit; }

/* ---------- inner pages (support) ---------- */
.page-hero .wrap { padding-top: 72px; padding-bottom: 72px; position: relative; text-align: center; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 54px); }
.page-hero .lead { margin-left: auto; margin-right: auto; }
.contact-card { display: flex; gap: 20px; align-items: flex-start; padding: 32px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.contact-card h2 { margin: 0; font-size: 26px; }
.contact-card p { margin: 10px 0 0; color: var(--muted); }
.contact-card .small { font-size: 14.5px; margin-top: 18px; }
.contact-card .ic { flex: none; }
.sec-head.left { text-align: left; margin: 72px 0 24px; }
.sec-head.left h2 { font-size: clamp(26px, 3vw, 34px); }
.faq kbd { min-width: 26px; height: 24px; font-size: 12px; padding: 0 6px; }
.more { margin: 36px 0 0; text-align: center; color: var(--muted); }
@media (max-width: 720px) {
  .contact-card { flex-direction: column; padding: 24px; }
  .page-hero .wrap { padding-top: 56px; padding-bottom: 56px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; gap: 24px; padding-top: 64px; padding-bottom: 40px; }
  .hero-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta-row, .trust { justify-content: center; }
  .hero-visual { margin: -24px -40px -80px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row, .privacy-in { grid-template-columns: 1fr; gap: 32px; }
  .row.flip .row-copy { order: 0; }
  .row + .row { margin-top: 80px; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .nav nav { display: none; }
  .nav .btn-sm { margin-left: auto; }
  .section, .privacy, .install { padding: 72px 0; }
  .sec-head { margin-bottom: 36px; }
  .cards, .facts { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { flex-wrap: wrap; gap: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}
