/* Panebird – panebird.com. Colours and fonts follow the app icon. */
:root {
  --navy: #14213D;
  --blue: #2F5BEA;
  --blue-hover: #2449C4;
  --sky: #4C8DFF;
  --beak: #FF8A3D;
  --wing: #14213D;
  --bg: #F6F7FB;
  --surface: #FFFFFF;
  --tint: #EEF1F8;
  --line: #E1E6F0;
  --text: #14213D;
  --muted: #4A5672;
  --faint: #6B7590;
  --desk: #14213D;
  --shadow: 0 1px 2px rgba(20, 33, 61, 0.04), 0 8px 24px rgba(20, 33, 61, 0.06);
  --radius: 18px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --blue: #6390FF;
    --blue-hover: #7FA4FF;
    --wing: #FFFFFF;
    --bg: #0B1222;
    --surface: #131C33;
    --tint: #0F1830;
    --line: #232E4B;
    --text: #EEF2FA;
    --muted: #B3BDD3;
    --faint: #8792AD;
    --desk: #1B2848;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 Manrope, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
h1, h2, h3 { font-family: Outfit, system-ui, sans-serif; font-weight: 600; letter-spacing: -0.02em; margin: 0; color: var(--text); }
h3 { font-size: 19px; line-height: 1.3; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
.mark { width: 30px; height: 30px; flex: none; }

kbd {
  display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 0.3em;
  font: 600 0.82em/1 Manrope, system-ui, sans-serif; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px;
}
.kbd-group { display: inline-flex; gap: 3px; vertical-align: 0.06em; margin: 0 1px; }

.eyebrow { font: 700 13px/1 Manrope, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.top-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 600 24px/1 Outfit, sans-serif; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.top nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 600; }
.top nav a { color: var(--muted); }
.top nav a:hover { color: var(--text); }
.pill { font-size: 13px; font-weight: 700; color: var(--blue); background: color-mix(in srgb, var(--blue) 12%, transparent); padding: 7px 12px; border-radius: 999px; white-space: nowrap; }

/* Hero */
.hero { padding: 64px 0 104px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -0.035em; }
.lead { font-size: 20px; line-height: 1.6; color: var(--muted); margin: 24px 0 36px; max-width: 32em; }
.actions { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px;
  background: var(--navy); color: #fff; border-radius: 14px; font-weight: 700; font-size: 16px;
}
.button[aria-disabled="true"] { cursor: default; }
.button.light { background: #fff; color: var(--navy); }
.link { font-weight: 700; font-size: 16px; }
.note { margin-top: 28px; font-size: 14px; color: var(--faint); }
@media (prefers-color-scheme: dark) { .button:not(.light) { background: var(--blue); } }

/* A tiny desktop where three windows keep snapping into place. */
.screen {
  position: relative; aspect-ratio: 16 / 10.5; border-radius: 22px; overflow: hidden;
  background: var(--desk); box-shadow: 0 30px 60px -20px rgba(20, 33, 61, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.menubar { height: 8%; display: flex; justify-content: space-between; align-items: center; padding: 0 3.5%; background: rgba(255, 255, 255, 0.07); }
.menubar span { width: 14%; height: 22%; border-radius: 4px; background: rgba(255, 255, 255, 0.18); }
.menubar .mark { width: 3.6%; height: auto; --wing: #fff; }
.win {
  position: absolute; border-radius: 12px; padding: 2.4% 3% 3%; display: flex; flex-direction: column; gap: 7%;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45); animation: 10s cubic-bezier(0.5, 0, 0.2, 1) infinite;
}
.win b { display: flex; gap: 6px; margin-bottom: 4%; }
.win b i { width: 9px; height: 9px; min-height: 0; border-radius: 50%; opacity: 1; }
.win b i:nth-child(1) { background: #FF5F57; }
.win b i:nth-child(2) { background: #FEBC2E; }
.win b i:nth-child(3) { background: #28C840; }
.win > i { display: block; height: 6%; min-height: 6px; border-radius: 4px; background: currentColor; opacity: 0.35; }
.win > i:nth-of-type(1) { width: 48%; opacity: 0.7; }
.win > i:nth-of-type(2) { width: 82%; }
.win > i:nth-of-type(3) { width: 64%; }
.w1 { background: var(--sky); color: #fff; animation-name: w1; }
.w2 { background: #fff; color: var(--navy); animation-name: w2; }
.w3 { background: var(--beak); color: #fff; animation-name: w3; }
@keyframes w1 { 0%, 10% { left: 14%; top: 24%; width: 44%; height: 46%; } 18%, 92% { left: 2.5%; top: 11%; width: 46.5%; height: 86.5%; } 100% { left: 14%; top: 24%; width: 44%; height: 46%; } }
@keyframes w2 { 0%, 28% { left: 42%; top: 30%; width: 38%; height: 42%; } 36%, 92% { left: 51%; top: 11%; width: 46.5%; height: 42%; } 100% { left: 42%; top: 30%; width: 38%; height: 42%; } }
@keyframes w3 { 0%, 46% { left: 30%; top: 52%; width: 34%; height: 36%; } 54%, 92% { left: 51%; top: 55.5%; width: 46.5%; height: 42%; } 100% { left: 30%; top: 52%; width: 34%; height: 36%; } }
.keys { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); display: flex; gap: 6px; padding: 8px; border-radius: 14px; background: rgba(20, 33, 61, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: keys 10s infinite; }
.keys kbd { font-size: 15px; min-width: 32px; height: 32px; background: #fff; color: var(--navy); border-color: #fff; }
@keyframes keys { 0%, 6% { opacity: 0; transform: translate(-50%, 8px); } 9%, 16% { opacity: 1; transform: translate(-50%, 0); } 20%, 100% { opacity: 0; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .win, .keys { animation-play-state: paused; animation-delay: -8s; } }

/* Sections */
.section { padding: 112px 0; }
.section.tint { background: var(--tint); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -0.03em; }
.sub { margin-top: 16px; font-size: 18px; color: var(--muted); }
.badge { display: inline-block; font: 700 11px/1 Manrope, sans-serif; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; background: var(--beak); border-radius: 6px; padding: 5px 7px; vertical-align: 3px; margin-left: 6px; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.feature .icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 20px; background: color-mix(in srgb, var(--blue) 11%, transparent); color: var(--blue); }
.feature svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature p { margin-top: 10px; font-size: 16px; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 16px/1 Outfit, sans-serif; margin-bottom: 20px; }
@media (prefers-color-scheme: dark) { .steps li::before { background: var(--blue); } }
.steps p { margin-top: 10px; font-size: 16px; color: var(--muted); }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 820px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); }
.plan h3 { font-size: 22px; }
.plan.pro { border: 2px solid var(--blue); }
.plan-text { margin-top: 8px; font-size: 15px; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 10px; margin: 28px 0 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); font: 600 52px/1 Outfit, sans-serif; letter-spacing: -0.03em; }
.price span { font: 600 15px/1 Manrope, sans-serif; letter-spacing: 0; color: var(--faint); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: 16px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.plan li svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--blue); }

.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 600 18px/1.4 Outfit, sans-serif; letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: translateY(-3px) rotate(45deg); transition: transform 0.2s; }
details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
details p { padding: 0 40px 26px 0; color: var(--muted); font-size: 16px; }

.final { background: var(--navy); color: #fff; padding: 104px 0; text-align: center; }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final .mark { width: 56px; height: 56px; --wing: #fff; margin-bottom: 28px; }
.final h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1.1; }
.final p { margin: 16px 0 36px; color: rgba(255, 255, 255, 0.72); font-size: 18px; }
@media (prefers-color-scheme: dark) { .final { background: #121D38; border-top: 1px solid var(--line); } }

/* Footer */
.footer { padding: 40px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--faint); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.brand.small { font-size: 19px; }
.brand.small .mark { width: 22px; height: 22px; }
.footer-links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-weight: 600; }
.footer-links a:hover { color: var(--text); }
.langs { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.langs a { padding: 5px 12px; border-radius: 999px; font-size: 13px; }
.langs a[aria-current] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

@media (max-width: 960px) {
  .hero-inner, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .features, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head.left { text-align: center; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top-inner { height: 64px; gap: 16px; }
  .top nav { display: none; }
  .pill { margin-left: auto; }
  .hero { padding: 32px 0 72px; }
  .lead { font-size: 18px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .features, .steps, .plans { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .feature, .steps li { padding: 24px; }
  .plan { padding: 28px; }
  .final { padding: 80px 0; }
  .footer-inner, .footer-brand { flex-direction: column; align-items: flex-start; gap: 16px; }
}
