/* overshootstudio.com: the studio's home page. Plain static files: no web fonts, no cookies, no tracking.
   Layout: a calm column of type on white; beside the opening line, a dark graph-editor panel where a ball rides
   the overshoot curve; then each app as a wide card with its screenshots; then a band to say hello. */
:root {
  --ink: #151A22;
  --ink-2: #4A5463;
  --ink-3: #7C8696;
  --paper: #FFFFFF;
  --mist: #F3F5F9;
  --rule: #E1E6EE;
  --curve: #2F5EF0;
  --night: #10151D;
  --night-2: #1A212C;
  --ball: #E5332A;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }
a { color: var(--ink); text-decoration-color: var(--rule); text-underline-offset: 4px; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--curve); }
a:focus-visible { outline: 3px solid var(--curve); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* header */
header.site { padding-block: 22px; position: relative; z-index: 2; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 38px; height: 38px; display: block; }
.brand span { font: 700 19px/1 var(--display); letter-spacing: -0.01em; }
.brand span i { font-style: normal; font-weight: 400; color: var(--ink-2); }
header.site nav { display: flex; gap: 6px; font-size: 15px; }
header.site nav a { text-decoration: none; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; }
header.site nav a:hover { color: var(--ink); background: var(--mist); }

/* hero */
.hero { padding-block: 36px 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; aspect-ratio: 1; max-width: 100%; background: radial-gradient(closest-side, rgba(47, 94, 240, 0.10), rgba(47, 94, 240, 0)); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; position: relative; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--curve); margin: 0 0 22px; }
.kicker::before, .label::before { content: ""; width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); border-radius: 1px; }
.hero h1 { font: 760 clamp(38px, 5.6vw, 64px)/1.02 var(--display); letter-spacing: -0.03em; margin: 0 0 22px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--curve); }
.hero p { margin: 0 0 28px; max-width: 32em; color: var(--ink-2); font-size: 19px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1 var(--sans); text-decoration: none; padding: 15px 20px; border-radius: 14px; background: var(--ink); color: #FFFFFF; }
.button:hover { background: #26303D; color: #FFFFFF; }
.button.ghost { background: var(--mist); color: var(--ink); }
.button.ghost:hover { background: var(--rule); color: var(--ink); }

.graph { margin: 0; background: var(--night); border-radius: 22px; padding: 18px 18px 14px; box-shadow: 0 30px 60px -24px rgba(16, 21, 29, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset; }
.graph .bar { display: flex; gap: 7px; padding: 2px 4px 14px; }
.graph .bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A3340; }
.graph .bar b { margin-left: auto; font: 500 11px/10px var(--mono); color: #6F7B8C; letter-spacing: 0.06em; }
.graph svg { display: block; width: 100%; height: auto; }
.graph figcaption { font: 12px/1.45 var(--mono); color: #8B96A7; padding: 12px 4px 2px; letter-spacing: 0.02em; }
.graph .still { display: none; }
@media (prefers-reduced-motion: reduce) { .graph .moving { display: none; } .graph .still { display: inline; } }

/* apps */
section.apps { padding-block: 16px 80px; }
.label { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-2); margin: 0 0 20px; }
.app { border: 1px solid var(--rule); border-radius: 26px; overflow: hidden; background: var(--paper); box-shadow: 0 20px 50px -30px rgba(21, 26, 34, 0.35); }
.app .shots { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; padding: 10px; background: linear-gradient(180deg, #FFF4C2 0%, #FFE07A 100%); }
.app .shots img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 14px; aspect-ratio: 1040 / 479; box-shadow: 0 6px 16px -8px rgba(21, 26, 34, 0.4); }
.app .shots img:first-child { grid-row: span 2; aspect-ratio: auto; }
.app .info { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 26px; align-items: center; padding: 28px 30px 30px; }
.app .info > img { width: 112px; height: 112px; border-radius: 26px; display: block; box-shadow: 0 10px 24px -8px rgba(21, 26, 34, 0.35); }
.app h2 { font: 760 32px/1.1 var(--display); letter-spacing: -0.02em; margin: 0 0 8px; }
.app p { margin: 0 0 16px; color: var(--ink-2); max-width: 38em; }
.app .meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 15px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--sans); color: var(--ink); background: var(--mist); border-radius: 999px; padding: 9px 13px; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ball); box-shadow: 0 0 0 3px rgba(229, 51, 42, 0.18); }

/* contact */
section.contact { background: var(--mist); padding-block: 56px; }
.contact .box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.contact h2 { font: 760 30px/1.15 var(--display); letter-spacing: -0.02em; margin: 0 0 6px; }
.contact p { margin: 0; color: var(--ink-2); }
.contact .email { font: 650 clamp(20px, 3vw, 26px)/1.3 var(--display); letter-spacing: -0.01em; }

footer.site { padding-block: 28px 40px; color: var(--ink-3); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
footer.site p { margin: 0; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero { padding-block: 12px 48px; }
  .brand img { width: 32px; height: 32px; }
  .brand { gap: 10px; }
  header.site nav a { padding: 8px 8px; }
  header.site .wrap { gap: 10px; }
  .app .shots img:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 1040 / 479; }
  .app .shots { grid-template-columns: 1fr 1fr; }
  .app .shots img { aspect-ratio: 1040 / 479; }
  .app .info { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px; }
  .app .info > img { width: 88px; height: 88px; border-radius: 20px; }
}
