@font-face { font-family: Baloo; src: url('/assets/baloo-bold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
:root {
  --blue: #1863c8; --ice: #b5e3ff; --navy: #0a1a3f; --paper: #f3f8ff;
  --white: #fff; --yellow: #ffe49b; --pink: #ffd7e2; --muted: #46546d; --line: #d8e5f4; --hero-muted: #d9efff;
  --display: Baloo, ui-rounded, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--navy); font: 16px Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p { line-height: 1.7; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1.05; }
h2 { font-size: clamp(40px, 4.2vw, 58px); letter-spacing: -1.5px; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; top: -80px; left: 16px; z-index: 10; padding: 16px; background: var(--white); color: var(--navy); }
.skip:focus { top: 16px; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; }
.hero a:focus-visible { outline-color: var(--yellow); }
.header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.wordmark { font: 800 34px/.9 var(--display); letter-spacing: -1px; }
.wordmark > span { display: block; margin: 0 0 0 3px; font: 700 9px/1 Arial, sans-serif; letter-spacing: 5px; }
nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 700; }
nav a { padding-block: 14px; }
nav a:hover { color: var(--blue); }
.nav-pill { display: inline-flex; align-items: center; min-height: 44px; border: 1.5px solid var(--navy); border-radius: 28px; padding: 13px 21px; }
.hero { overflow: hidden; background: var(--blue); color: var(--white); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding-block: 64px 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 700; letter-spacing: 2px; line-height: 1.7; }
.dot { display: inline-block; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hero .eyebrow { color: var(--hero-muted); }
h1 { font-size: clamp(72px, 7.2vw, 100px); letter-spacing: -2.5px; line-height: .98; margin: 24px 0; }
h1 > span { color: var(--ice); }
.hero-copy > p { max-width: 380px; font-size: 17px; margin: 0 0 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 16px 24px; background: var(--yellow); color: var(--navy); border-radius: 12px; font-size: 14px; font-weight: 700; min-height: 52px; transition: transform .18s, background-color .18s; }
.button:hover { transform: translateY(-3px); background: var(--white); }
.hero-art { position: relative; height: 520px; isolation: isolate; }
.curiosity-mark { --sun-period: 20s; position: absolute; display: block; width: min(560px, calc(100% - 16px)); height: auto; max-width: none; overflow: visible; left: 0; right: 0; margin-inline: auto; top: -8px; shape-rendering: geometricPrecision; }
.curiosity-mark .orbit-dot { transform-origin: 282px 290px; animation: orbit-turn 24s linear infinite; }
.curiosity-mark .lamed-symbol { transform-origin: 270px 290px; animation: lamed-dodge var(--sun-period) ease-in-out infinite; }
.curiosity-mark .sun {
  /* Keep this arc data identical to #sun-orbit in index.html.
     Explicit coordinates avoid browser scaling differences with URL paths. */
  offset-path: path("M414.483281 94.141691 A245 218 -24 0 1 149.516719 485.858309 A245 218 -24 0 1 414.483281 94.141691 Z");
  offset-anchor: 414.483281px 94.141691px;
  offset-rotate: 0deg;
  transform-box: view-box;
  animation: sun-orbit var(--sun-period) linear infinite;
}
.curiosity-mark .pink-star { transform-origin: 446px 327px; animation: orbit-turn 12s linear infinite; }
.curiosity-mark .little-cross { transform-origin: 97px 128px; animation: orbit-turn 16s linear infinite reverse; }
.curiosity-mark .white-star { transform-origin: 333px 67px; animation: star-turn 10s ease-in-out infinite; }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
@keyframes sun-orbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes lamed-dodge {
  0%, 34%, 60%, 69%, 97%, 100% { transform: translate(0, 0) rotate(0); }
  /* The sun passes the lower tail at 44% of the path. */
  42%, 46% { transform: translate(6px, -52px) rotate(-5deg); }
  55% { transform: translate(-1px, 4px) rotate(.5deg); }
  /* It reaches the upper stem at 82%; duck, then settle. */
  79%, 84% { transform: translate(32px, 72px) rotate(6deg); }
  93% { transform: translate(-2px, -5px) rotate(-.75deg); }
}
@keyframes star-turn { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(.8); } 100% { transform: rotate(360deg) scale(1); } }
.work { padding-block: 88px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }
.ribbit-feature { display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 24px; overflow: hidden; background: var(--navy); color: var(--white); }
.ribbit-art { position: relative; min-height: 560px; background: var(--ice); color: var(--navy); overflow: hidden; }
.project-number { position: absolute; top: 32px; left: 32px; font-size: 10px; font-weight: 700; letter-spacing: 2px; z-index: 2; }
.frog-circle { position: absolute; top: 104px; left: 50%; transform: translateX(-50%); width: 360px; height: 360px; border: 1px solid #1863c840; border-radius: 50%; }
.frog-circle::after { content: ''; position: absolute; inset: 20px; border: 1px dashed #1863c840; border-radius: 50%; }
.frog { position: absolute; top: 78px; left: 50%; transform: translateX(-50%); width: 440px; max-width: none; }
.greeting { position: absolute; padding: 8px 18px; font: 800 24px/1.4 var(--display); border-radius: 12px; background: var(--yellow); }
.greeting-hola { top: 116px; left: 32px; transform: rotate(-10deg); }
.greeting-shalom { bottom: 100px; right: 24px; transform: rotate(8deg); background: var(--white); }
.ribbit-copy { padding: 48px; align-self: center; }
.product-status { display: inline-flex; gap: 8px; align-items: center; color: var(--ice); font-size: 9px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 24px; }
.ribbit-copy h3 { font-size: 72px; letter-spacing: -2px; line-height: .9; }
.ribbit-copy h3 > span { color: var(--ice); }
.ribbit-copy h3 > small { display: block; font: 700 11px/1 Arial, sans-serif; letter-spacing: 5px; margin: 14px 0 0 4px; }
.ribbit-copy > .product-tagline { font: 800 29px/1.2 var(--display); margin-top: 32px; color: var(--white); }
.ribbit-copy > p { font-size: 15px; color: #d9e5fa; margin: 16px 0; }
.ribbit-copy .button { margin-top: 12px; }
.ribbit-copy a:focus-visible { outline-color: var(--yellow); }
.made-by { display: block; font-size: 10px; margin-top: 20px; color: var(--ice); }
.footer { display: flex; align-items: center; gap: 24px; padding-block: 32px; }
.footer .wordmark { font-size: 29px; }
.footer .wordmark > span { font-size: 8px; }
.footer > span { margin-left: auto; font-size: 11px; color: var(--muted); }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero-art { height: 480px; }
  .curiosity-mark { top: 0; }
  .ribbit-copy { padding: 36px; }
  .frog { width: 400px; top: 112px; }
  .ribbit-copy > .product-tagline { font-size: 26px; }
  .greeting-hola { top: 120px; left: 24px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .header { min-height: 88px; }
  .header .brand img { width: 40px; }
  .wordmark { font-size: 28px; }
  nav { gap: 20px; font-size: 12px; }
  .nav-pill { padding: 11px 16px; }
  .hero-inner { gap: 20px; padding-block: 48px 40px; }
  h1 { font-size: 76px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 1px; }
  .hero-copy > p { font-size: 16px; }
  .hero-art { height: 400px; }
  .curiosity-mark { top: 0; }
  .work { padding-block: 64px; }
  .ribbit-feature { grid-template-columns: 1fr 1fr; }
  .ribbit-copy { padding: 32px 24px; }
  .ribbit-copy h3 { font-size: 60px; }
  .ribbit-copy > .product-tagline { font-size: 23px; }
  .ribbit-art { min-height: 590px; }
  .frog { width: 380px; top: 156px; }
  .frog-circle { width: 300px; height: 300px; top: 176px; }
  .project-number { left: 24px; font-size: 9px; letter-spacing: 1px; }
  .greeting-hola { top: 140px; }
  .greeting-shalom { bottom: 120px; right: 16px; }
  .footer { flex-wrap: wrap; }
  .footer > span { flex-basis: 100%; }
}
@media (max-width: 620px) {
  .header { gap: 16px; }
  .brand { gap: 8px; }
  .nav-pill { font-size: 11px; padding: 12px; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 40px 24px; gap: 24px; }
  h1 { font-size: clamp(68px, 17vw, 90px); }
  .hero-copy > p { max-width: 360px; }
  .hero-art { width: min(400px, 100%); height: auto; aspect-ratio: 1; margin-inline: auto; }
  .curiosity-mark { top: -8px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .ribbit-feature { grid-template-columns: 1fr; border-radius: 20px; }
  .ribbit-art { min-height: 440px; }
  .frog { width: 380px; top: 48px; }
  .frog-circle { top: 72px; }
  .greeting-hola { top: 100px; }
  .greeting-shalom { bottom: 64px; }
  .ribbit-copy { padding: 36px 28px; }
  .ribbit-copy h3 { font-size: 72px; }
  .ribbit-copy > .product-tagline { font-size: 28px; }
  .footer { gap: 16px; }
}
@media (max-width: 360px) {
  .header .brand img { width: 32px; }
  .wordmark { font-size: 25px; }
  .nav-pill { padding: 11px 10px; }
  .hero .eyebrow { font-size: 8px; }
  .ribbit-art { min-height: 380px; }
  .frog { width: 340px; top: 40px; }
  .frog-circle { width: 260px; height: 260px; top: 64px; }
  .greeting { font-size: 20px; padding: 8px 12px; }
  .ribbit-copy { padding: 32px 24px; }
  .ribbit-copy > .product-tagline { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
  .hero-art .curiosity-mark * { animation: none; }
}
