:root {
  color-scheme: light dark;
  --bg: #fff; --fg: #151a24; --muted: #606979; --line: #e5e8ee;
  --surface: #f5f6f9; --accent: #4c63e7; --teal: #2f7d78;
  --button-text: #fff; --field: #fff; --error: #a12e33; --success: #216b4c;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.45, .64, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-size: 18px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: #dce2ff; color: #151a24; }
h1, h2, h3, p { margin: 0; }
svg { flex-shrink: 0; transition: transform 300ms var(--spring); stroke-linecap: round; stroke-linejoin: round; }
.shell { max-width: 1440px; margin: auto; padding: 0 6%; }
.skip { position: absolute; top: -80px; left: 20px; padding: 10px; background: var(--bg); z-index: 2; }
.skip:focus { top: 10px; }
header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 650; letter-spacing: -.8px; }
.brand img { object-fit: contain; border-radius: 50%; transition: transform 480ms var(--spring); }
nav, .languages { display: flex; align-items: center; gap: 32px; }
nav { font-size: 16px; font-weight: 500; }
nav a { min-height: 44px; display: inline-flex; align-items: center; position: relative; transition: color 160ms ease-out; }
nav a::after { content: ''; height: 2px; position: absolute; bottom: 4px; inset-inline: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease); border-radius: 2px; }
nav a[aria-current] { color: var(--accent); }
nav a[aria-current]::after { transform: scaleX(1); }
.languages { margin-left: 12px; gap: 20px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); align-items: center; gap: 30px; padding: 92px 0 80px; }
h1 { font-size: clamp(48px, 5.05vw, 73px); line-height: 1.08; letter-spacing: -.045em; font-weight: 650; }
.hero h1 { white-space: nowrap; }
.lead { font-size: 21px; line-height: 1.55; color: var(--muted); margin: 24px 0 30px; max-width: 560px; }
.hero-mark { justify-self: end; width: min(100%, 340px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; }
.hero-mark img { width: 100%; height: auto; display: block; transition: transform 700ms var(--spring); }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 22px; background: var(--accent); color: var(--button-text); border: 1px solid transparent; border-radius: 18px; padding: 14px 25px; font-weight: 600; font-size: 17px; min-height: 54px; cursor: pointer; transition: transform 280ms var(--spring), box-shadow 240ms var(--ease), background-color 140ms ease-out; }
.primary:active { transform: scale(.975); transition-duration: 80ms; }
.primary:disabled { opacity: .65; cursor: wait; }
h2 { font-size: 29px; line-height: 1.25; letter-spacing: -.8px; font-weight: 650; }
.apps h2 { margin-bottom: 22px; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.app-row { display: flex; flex-direction: column; padding: 30px 32px 24px; border: 1px solid transparent; border-radius: 24px; background: var(--surface); transition: transform 320ms var(--ease), border-color 240ms, box-shadow 320ms var(--ease); }
.app-row::before { content: ''; width: 38px; height: 4px; border-radius: 4px; background: var(--accent); margin-bottom: 20px; }
.app-row.tracery::before { background: var(--teal); }
.app-row h3 { font-size: 32px; line-height: 1.3; letter-spacing: -1px; font-weight: 650; }
.app-row p { font-size: 18px; color: var(--muted); margin-top: 8px; max-width: 440px; }
.app-state { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 15px; padding-top: 22px; margin-top: auto; }
.app-state svg { box-sizing: content-box; padding: 13px; background: var(--bg); border: 1px solid var(--line); border-radius: 50%; }
footer { margin-top: 62px; border-top: 1px solid var(--line); padding: 23px 0 30px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
footer > div { display: flex; align-items: center; gap: 22px; }
footer .brand { font-size: 18px; letter-spacing: -.4px; }
footer .brand img { width: 30px; height: 30px; }
.copyright { font-size: 13px; color: var(--muted); }
footer nav { color: var(--muted); font-size: 14px; gap: 28px; }
.support-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 8%; padding: 70px 0 0; }
.support-layout aside { display: flex; flex-direction: column; padding: 50px 0 100px; }
.page-heading h1 { font-size: 64px; }
.page-heading .lead { font-size: 20px; max-width: 420px; margin-bottom: 36px; }
.reply { font-size: 15px; line-height: 1.8; color: var(--muted); margin-top: auto; padding-top: 40px; overflow-wrap: anywhere; }
.reply span { font-size: 19px; font-weight: 550; color: var(--fg); }
.muted { color: var(--muted); }
form { background: var(--surface); border-radius: 24px; padding: 32px; }
label { display: block; font-size: 15px; font-weight: 550; margin-bottom: 7px; }
input, select, textarea { display: block; width: 100%; background: var(--field); color: var(--fg); border: 1px solid #d3d9e3; border-radius: 14px; padding: 12px 15px; margin-bottom: 22px; font-size: 16px; line-height: 1.5; transition: border-color 140ms, box-shadow 140ms; }
input, select { height: 50px; }
textarea { min-height: 150px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
input::placeholder { color: var(--muted); }
.form-note { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0 0 22px; }
.form-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.honeypot { display: none; }
#form-status { font-size: 15px; line-height: 1.6; margin-top: 18px; overflow-wrap: anywhere; }
#form-status:empty { margin: 0; }
#form-status:not(:empty) { animation: feedback-in 220ms var(--ease) both; }
.error { color: var(--error); }
.success { color: var(--success); }
form[aria-busy] button svg { animation: send-pulse 1s ease-in-out infinite alternate; }
.privacy { padding: 70px 0 30px; max-width: 780px; }
.privacy h1 { font-size: 56px; }
.privacy section { margin-top: 38px; }
.privacy h2 { font-size: 24px; margin-bottom: 12px; }
.privacy p { line-height: 1.8; }
.privacy .lead { font-size: 22px; margin-bottom: 10px; }
.hero h1, .page-heading h1, .privacy h1 { animation: enter 600ms var(--ease) both; }
.hero .lead, .page-heading .lead { animation: enter 620ms 70ms var(--ease) both; }
.hero .primary { animation: enter 640ms 140ms var(--ease) backwards; }
.hero-mark { animation: mark-enter 760ms 80ms var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes mark-enter { from { opacity: 0; transform: scale(.96) rotate(-3deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes feedback-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes send-pulse { to { opacity: .45; transform: translateX(3px); } }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: 160ms; animation-timing-function: ease-out; }
::view-transition-new(root) { animation-duration: 220ms; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) {
  nav a:hover { color: var(--accent); }
  nav a:hover::after { transform: scaleX(1); }
  .brand:hover img { transform: rotate(5deg); }
  .hero-mark:hover img { transform: rotate(3deg) scale(1.035); }
  .primary:hover:not(:disabled) { box-shadow: 0 5px 18px #4c63e726; }
  .primary:hover:not(:disabled) svg { transform: translateX(4px); }
  .app-row:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 25%, transparent); box-shadow: 0 10px 24px #15264b08; }
  .app-row.tracery:hover { border-color: color-mix(in srgb, var(--teal) 30%, transparent); }
  .app-row:hover svg { transform: translateX(4px); }
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111418; --fg: #f1f3f7; --muted: #aeb7c6; --line: #343b47; --surface: #1b2029; --accent: #8796ff; --teal: #7bc5be; --button-text: #151933; --field: #141920; --error: #ffa6a6; --success: #8ed7b1; }
  .hero-mark, .brand img { background: #fff; }
  input, select, textarea { border-color: #47515f; }
  ::selection { background: #414c85; color: #fff; }
}
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1.75fr) minmax(180px, 1fr); gap: 20px; }
  h1 { font-size: 5.1vw; }
  .hero-mark { width: 250px; max-width: 100%; }
  .support-layout { gap: 6%; }
  .page-heading h1 { font-size: 54px; }
}
@media (max-width: 800px) {
  .shell { padding: 0 28px; }
  header { min-height: 84px; gap: 16px; }
  .brand { font-size: 21px; gap: 7px; }
  .brand img { width: 36px; height: 36px; }
  nav { gap: 22px; font-size: 15px; }
  .languages { gap: 16px; margin-left: 0; }
  .hero { padding: 64px 0; grid-template-columns: minmax(0, 1fr) 160px; }
  h1 { font-size: 44px; }
  .hero h1 { white-space: normal; }
  .lead { font-size: 19px; }
  .app-grid { gap: 18px; }
  .app-row { padding: 24px; }
  .app-row h3 { font-size: 28px; }
  .app-row p { font-size: 17px; }
  .support-layout { grid-template-columns: 1fr; gap: 26px; padding-top: 42px; }
  .support-layout aside { padding: 0; }
  .page-heading h1 { font-size: 48px; }
  .page-heading h1 br { display: none; }
  .page-heading h1 br::after { content: ' '; }
  .reply { padding-top: 0; }
  .page-heading .lead { margin: 16px 0 24px; max-width: none; }
  .privacy h1 { font-size: 44px; }
  footer > div { align-items: flex-start; flex-direction: column; gap: 7px; }
}
@media (max-width: 600px) {
  .shell { padding: 0 22px; }
  header { flex-wrap: wrap; padding: 17px 0 12px; gap: 8px; }
  header nav { width: 100%; justify-content: flex-start; gap: 28px; }
  .languages { margin-left: auto; gap: 22px; }
  .hero { position: relative; display: block; padding: 46px 0 48px; }
  h1 { font-size: clamp(36px, 10.5vw, 52px); }
  .hero-mark { display: none; }
  .lead { margin: 22px 0 26px; }
  .primary { min-height: 52px; font-size: 16px; }
  h2 { font-size: 26px; }
  .apps h2 { margin-bottom: 20px; }
  .app-grid { grid-template-columns: 1fr; gap: 16px; }
  .app-row { padding: 25px; }
  .app-row p { max-width: 320px; }
  footer { margin-top: 40px; padding-bottom: 24px; }
  footer nav { gap: 20px; }
  footer .brand { font-size: 17px; }
  footer .brand img { width: 26px; height: 26px; }
  form { padding: 24px; border-radius: 20px; }
  .page-heading h1 { font-size: 42px; }
  .privacy { padding-top: 44px; }
  .privacy h1 { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .brand:hover img, .hero-mark:hover img, .app-row:hover, .app-row:hover svg, .primary:active, .primary:hover:not(:disabled) svg { transform: none; }
}

footer nav { flex-wrap: wrap; }
footer .languages { margin-left: 0; gap: 16px; }
@media (max-width: 600px) {
  footer { align-items: flex-start; flex-wrap: wrap; }
  footer nav { width: 100%; gap: 24px; }
  footer .languages { margin-left: auto; }
}
.privacy section p + p { margin-top: 16px; }
.privacy section > a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
