@font-face {
  font-family: "Raleway";
  src: url("/assets/fonts/raleway-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* Colours from the original Limun Studio logo */
:root {
  --ground: #211f1f;
  --text: #f7f5ef;
  --muted: #b9b5ac;
  --rule: #3a3636;
  --teal: #26b797;
  --teal-text: #2fc9a5;
  --lemon: #f9d068;
  --card: #2c2a2a;
  --card-text: #f7f5ef;
  --card-muted: #b9b5ac;
  --glow: rgba(0, 0, 0, .55);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }
html { background: var(--ground); color: var(--text); font-family: "Raleway", system-ui, sans-serif; -webkit-font-smoothing: antialiased; text-size-adjust: 100%; overflow-x: hidden; }
::selection { background: var(--lemon); color: #211f1f; }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid var(--lemon); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--lemon); color: #211f1f; padding: 8px 12px; border-radius: 8px; }

.page { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto auto; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
header { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-weight: 700; }
.mark { text-decoration: none; }
header nav a { text-decoration: none; border-bottom: 2px solid var(--lemon); padding-bottom: 2px; }

.hero { position: relative; display: grid; align-content: center; padding: clamp(48px, 8vw, 96px) 0; }
h1 { position: relative; z-index: 1; font-weight: 200; font-size: clamp(3.4rem, 10.5vw, 9.4rem); line-height: .92; letter-spacing: -.04em; max-width: 11ch; }
h1 b { font-weight: 800; }
h1 .y { color: var(--lemon); }
h1 .t { color: var(--teal-text); }
.lede { position: relative; z-index: 1; margin-top: 28px; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.55; max-width: 38ch; font-weight: 500; color: var(--muted); }

/* The logo rolls in from the right edge */
.slice { position: absolute; right: -11vw; top: 50%; width: clamp(240px, 33vw, 480px); height: auto; transform: translateY(-50%) rotate(-8deg); filter: drop-shadow(0 30px 40px var(--glow)); animation: roll 1.4s cubic-bezier(.16,1,.3,1) both; }
@keyframes roll { from { transform: translateY(-50%) translateX(140px) rotate(40deg); } }

.apps { padding: 0 0 48px; }
.apps h2 { font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.app { margin-top: 14px; display: grid; grid-template-columns: 72px 1fr auto; gap: 20px; align-items: center; padding: 18px 22px; border-radius: 18px; background: var(--card); color: var(--card-text); text-decoration: none; max-width: 640px; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.app:hover { transform: translateX(6px); }
.app img { width: 72px; height: 72px; }
.app strong { display: block; font-size: 1.35rem; font-weight: 800; }
.app span { display: block; margin-top: 4px; color: var(--card-muted); line-height: 1.45; }
.app i { font-style: normal; font-weight: 800; font-size: 1.6rem; color: var(--lemon); }

footer { padding: 20px 0 36px; font-size: .85rem; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }

@media (max-width: 700px) {
  .hero { display: flex; flex-direction: column; justify-content: flex-start; padding-top: 32px; }
  .slice { position: static; transform: rotate(-8deg); margin: 0 -40px 8px auto; width: 190px; order: -1; }
  @keyframes roll { from { transform: translateX(120px) rotate(40deg); } }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
