/* ghysapp — site styles
   Brand: electric blue #3355FF, tangerine #FF7A2F, ink #15171E, paper #F7F6F1
   Type: Space Grotesk (headings, wordmark), Inter (body) */

:root {
  --paper: #F7F6F1;
  --surface: #FFFFFF;
  --ink: #15171E;
  --ink-2: #3D4048;
  --muted: #5B5E66;
  --line: #DEDCD4;
  --blue: #3355FF;
  --ring: #3355FF;
  --pixel: #FF7A2F;
  --link: #2443E0;

  --tint-dualdeg: #EAF1FE;
  --tint-lunchpeek: #E7F2EB;
  --tint-gyro: #E9EEF8;
  --accent-dualdeg: #2F6FE0;
  --accent-lunchpeek: #1F6B4A;
  --accent-gyro: #0B4FA8;

  --radius: 18px;
  --shadow: 0 1px 2px rgba(21, 23, 30, .06), 0 12px 32px rgba(21, 23, 30, .10);
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0F1116;
    --surface: #181B22;
    --ink: #F2F2EE;
    --ink-2: #C9CBD1;
    --muted: #9A9DA6;
    --line: #2A2E37;
    --ring: #5C7BFF;
    --link: #8FA3FF;

    --tint-dualdeg: #121B2E;
    --tint-lunchpeek: #102019;
    --tint-gyro: #121A2C;
    --accent-dualdeg: #7FB0FF;
    --accent-lunchpeek: #6FD3A2;
    --accent-gyro: #8AB4FF;

    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
section[id], article[id] { scroll-margin-top: 72px; }
a { color: var(--link); }
a:hover { color: var(--ink); }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.1; margin: 0; }

.eyebrow {
  margin: 0 0 16px;
  font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.lede { font-size: 19px; color: var(--ink-2); max-width: 40em; }
.section-title { font-size: clamp(32px, 5vw, 48px); font-weight: 700; margin-bottom: 32px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1.5px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #2443E0; color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-big { min-height: 60px; padding: 0 32px; font-size: 18px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; }
.brand-word { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.02em; line-height: 1; }
.brand-word b { font-weight: 700; }
.brand-word span { font-weight: 400; color: var(--ring); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px;
}
.nav a:hover { background: var(--surface); color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 96px; overflow-x: clip; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-copy { flex: 1 1 460px; min-width: 0; }
.hero h1 { font-size: clamp(44px, 7vw, 76px); font-weight: 700; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.orbit {
  flex: 1 1 360px; max-width: 460px; margin: 0 auto;
  position: relative; aspect-ratio: 1;
}
.orbit-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit-track { position: absolute; inset: 0; animation: spin 90s linear infinite; }
.arm { position: absolute; inset: 0; transform: rotate(var(--a)); }
.planet {
  position: absolute; left: 50%; top: 14%; width: 21%;
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--a)));
}
.planet img {
  width: 100%; aspect-ratio: 1; border-radius: 23%;
  background: #fff; box-shadow: var(--shadow);
  animation: spin 90s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .orbit-track, .planet img { animation: none; }
  html { scroll-behavior: auto; }
}

/* Apps */
.apps { padding: 32px 0 24px; }
.app { padding: 72px 0; }
.app + .app { margin-top: 0; }
.app--dualdeg { background: var(--tint-dualdeg); --accent: var(--accent-dualdeg); }
.app--lunchpeek { background: var(--tint-lunchpeek); --accent: var(--accent-lunchpeek); }
.app--gyro { background: var(--tint-gyro); --accent: var(--accent-gyro); }

.app-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.app-copy { flex: 1 1 420px; min-width: 0; }
.app:nth-of-type(even) .app-inner { flex-direction: row-reverse; }

.app-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.app-icon { width: 72px; height: 72px; border-radius: 22%; background: #fff; box-shadow: var(--shadow); flex: none; }
.app h3 { font-size: 32px; font-weight: 700; }
.app-meta { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.app-tagline { font-family: var(--font-display); font-size: 24px; font-weight: 500; line-height: 1.3; color: var(--accent); margin: 0 0 12px; }
.app-copy > p { color: var(--ink-2); margin: 0 0 16px; }
.app-note { font-size: 15px; }

.features { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.features li { position: relative; padding-left: 26px; color: var(--ink-2); }
.features li::before {
  content: ""; position: absolute; left: 2px; top: .55em;
  width: 10px; height: 10px; border-radius: 3px; background: var(--pixel);
}

/* Official store badges (Apple SVG, Google Play PNG). Both drawn 52px tall;
   the Google PNG carries built-in padding, offset with negative margins. */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.badge { display: inline-block; line-height: 0; border-radius: 9px; transition: transform .15s ease; }
.badge:hover { transform: translateY(-1px); }
.badge img { height: 52px; width: auto; }
.badge--play img { height: 78px; margin: -13px -12px; }
.store--soon {
  display: inline-flex; align-items: center; height: 52px; padding: 0 18px; border-radius: 9px;
  border: 1.5px dashed var(--line); color: var(--muted); font-size: 15px; font-weight: 500;
}
.app-copy > .app-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 20px 0 0; font-size: 15px; }
.app-links a { color: var(--ink-2); text-underline-offset: 3px; }
.app-links a:hover { color: var(--accent); }

.shots {
  flex: 1 1 480px; min-width: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: center;
}
.shots img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); }
.shots img:nth-child(2) { transform: translateY(-20px); }
.shots--raw img { border: 6px solid #15171E; border-radius: 26px; background: #15171E; }

@media (max-width: 720px) {
  .hero { padding: 48px 0 64px; }
  .app { padding: 56px 0; }
  .shots {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin: 0 -24px; padding: 8px 24px 20px;
  }
  .shots img { flex: 0 0 62%; scroll-snap-align: center; }
  .shots img:nth-child(2) { transform: none; }
}

/* Coming next */
.next { padding: 96px 0 72px; }
.next-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.next-card {
  padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.next-card h3 { font-size: 24px; margin: 14px 0 8px; }
.next-card p { margin: 0; color: var(--ink-2); }
.next-card--open { background: transparent; border: 2px dashed var(--line); }
.next-tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  background: color-mix(in srgb, var(--pixel) 22%, transparent);
}

/* Contact */
.contact { padding: 72px 0 96px; }
.contact-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
  padding: 48px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line);
}
.contact .section-title { margin-bottom: 12px; }
.contact .lede { margin: 0; }
@media (max-width: 720px) { .contact-inner { padding: 28px; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 14px; }
.brand--small .brand-mark { width: 26px; height: 26px; }
.brand--small .brand-word { font-size: 19px; }

:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
