@font-face {
  font-family: "Varela Round";
  src: url("/images/home/varela-round-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #414857;
  --muted: #59636d;
  --accent: #4c62c5;
  --soft: #f6f6f6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Varela Round", "Trebuchet MS", Arial, sans-serif; font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 12px 20px; background: #fff; color: var(--ink); }
.masthead { padding: 20px 24px 0; }
.brand { display: block; width: 400px; max-width: 72vw; margin: auto; }
.brand img { width: 100%; }
.site-nav { position: sticky; top: 0; z-index: 10; background: #fff; box-shadow: 0 2px 2px #0002; }
.site-nav ul { margin: 0; list-style: none; }
.site-nav .nav-list { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 8px 24px 24px; }
.site-nav a, .site-nav summary { display: flex; align-items: center; min-height: 44px; padding: 8px 10px; color: var(--muted); text-decoration: none; font-size: 15px; line-height: 1.4; }
.site-nav a:hover, .site-nav a[aria-current], .nav-dropdown.is-current > summary, .nav-dropdown[open] > summary { color: var(--accent); }
.nav-dropdown { position: relative; }
.site-nav summary { gap: 10px; cursor: pointer; list-style: none; border-radius: 6px; }
.site-nav summary::-webkit-details-marker { display: none; }
.site-nav summary::after { content: ""; width: 6px; height: 6px; margin-top: -4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.nav-dropdown[open] > summary::after { transform: rotate(225deg); margin-top: 3px; }
.site-nav summary:hover { color: var(--accent); background: var(--soft); }
.site-nav .nav-dropdown-list { position: absolute; top: 100%; left: 0; z-index: 12; width: 224px; padding: 8px; background: #fff; border: 1px solid #e7e9ec; border-radius: 8px; box-shadow: 0 8px 24px #17223524; }
.nav-dropdown-list a { border-radius: 4px; }
.nav-dropdown-list a:hover, .nav-dropdown-list a:focus-visible { background: #f0f3fc; }
.nav-dropdown-list a[aria-current] { background: #f0f3fc; }
.nav-dropdown-list .nav-overview { margin-bottom: 4px; padding-bottom: 12px; border-bottom: 1px solid #e7e9ec; border-radius: 0; font-size: 13px; }
.nav-mark { position: absolute; left: calc(50% - 25px); bottom: -24px; display: grid; place-items: center; width: 50px; height: 50px; background: #fff; border-radius: 50%; box-shadow: 0 2px 2px #0002; }
/* Show the original scenery at full brightness; dark copy bars provide text contrast. */
.hero { position: relative; isolation: isolate; background: #172e35; }
.hero-slide { position: relative; overflow: hidden; }
.hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
/* Screenshot-derived scenes leave room for the live icon, recognition and copy. */
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 64px; max-width: 1140px; min-height: 560px; margin: auto; padding: 52px 32px 72px; }
.hero-visual { display: grid; grid-template-rows: 204px 156px; align-content: center; justify-items: center; gap: 6px; width: 420px; max-width: 100%; min-width: 0; height: 390px; margin: 0; justify-self: center; }
.hero-visual.hero-visual-no-awards { grid-template-rows: auto; gap: 0; }
/* Crop the original composite artwork into a clean, independent icon tile. */
.hero-icon { --icon-radius: 30px; display: grid; width: 204px; height: 204px; padding: 6px; border-radius: var(--icon-radius); background: #fff; }
.hero-icon-crop { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--icon-radius) - 5px); }
.hero-icon img { position: absolute; width: var(--icon-width); max-width: none; height: auto; left: var(--icon-left); top: var(--icon-top); }
/* One shadow layer gives the lettering and both laurel branches the same depth. */
.hero-awards { display: grid; width: 100%; max-width: 420px; height: 100%; margin: 0; color: #fff; font-family: Arial, sans-serif; text-align: center; filter: drop-shadow(0 2px 2px #071528b3) drop-shadow(0 0 8px #07152880); }
.hero-award { position: relative; display: grid; grid-template-rows: auto auto; align-content: center; gap: 10px; min-width: 0; height: 100%; padding: 14px 50px; }
.hero-award-single { grid-template-rows: auto; }
.hero-award::before, .hero-award::after { content: ""; position: absolute; top: 50%; width: 35px; height: calc(100% - 28px); max-height: 124px; background: url("/images/home/award-laurel.svg") center / contain no-repeat; transform: translateY(-50%); }
.hero-award::before { left: 8px; }
.hero-award::after { right: 8px; transform: translateY(-50%) scaleX(-1); }
.award-source { font-size: 26px; font-weight: 700; line-height: 1.2; }
.award-title { font-size: 18px; font-weight: 500; line-height: 1.3; }
.award-note { display: block; margin-top: 4px; font-size: .8em; line-height: 1.35; }
.has-two-awards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.has-two-awards .hero-award { padding-inline: 34px; }
.has-two-awards .hero-award::before, .has-two-awards .hero-award::after { width: 29px; max-height: 104px; }
.has-two-awards .hero-award::before { left: 1px; }
.has-two-awards .hero-award::after { right: 1px; }
.has-two-awards .award-source { font-size: 19px; }
.has-two-awards .award-title { font-size: 14px; }
.hero-copy { display: grid; grid-template-rows: 2.4em auto 46px; align-content: start; gap: 12px; min-width: 0; min-height: calc(2.4em + 142px); color: #fff; font-size: clamp(34px, 3.2vw, 48px); text-align: right; }
.hero-copy h1, .hero-copy h2 { align-self: end; justify-self: end; width: fit-content; max-width: 100%; padding: 0 8px; margin: 0; background: #040716; color: #fff; font-weight: 400; font-size: inherit; line-height: 1.2; }
.hero-copy h1 a, .hero-copy h2 a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
.hero-copy h1 a:hover, .hero-copy h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.hero-copy p { align-self: start; justify-self: end; width: fit-content; max-width: 100%; padding: 2px 8px; margin: 0; background: #040716; color: #fff; font-family: Arial, sans-serif; font-size: 20px; line-height: 1.4; }
.hero-copy .explore-button { align-self: start; justify-self: end; }
.explore-button { display: inline-flex; align-items: center; gap: 18px; min-height: 46px; padding: 9px 24px; border-radius: 24px; color: #fff; background: #040716; font-size: 16px; font-weight: bold; text-decoration: none; }
.explore-button::after { content: "\2192"; font-family: Arial, sans-serif; font-size: 20px; font-weight: 400; }
.explore-button:hover { background: #282c38; }
.slide-arrow { position: absolute; z-index: 2; top: calc(50% - 24px); width: 44px; height: 48px; padding: 0; border: 1px solid #ffffff40; border-radius: 50%; color: #fff; background: #07152838; font-family: Arial, sans-serif; font-size: 38px; line-height: 1; }
.slide-arrow:hover { background: #07152880; }
.previous { left: 18px; }
.next { right: 18px; }
.slide-dots { position: absolute; z-index: 2; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; }
.slide-dots button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; }
.slide-dots button::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #ffffff65; }
.slide-dots button[aria-pressed="true"]::after { background: #fff; }
.slide-arrow:focus-visible, .slide-dots button:focus-visible { outline-color: #fff; }
.game-section { padding: 80px 24px; }
.game-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; max-width: 1140px; margin: 0 auto; }
.game-copy { text-align: center; }
h2, h3 { font-weight: 400; line-height: 1.3; }
.game-copy h2 { font-size: 38px; margin: 0 0 20px; }
.game-copy h2 a { color: inherit; text-decoration: none; text-underline-offset: .15em; }
.game-copy h2 a:hover { color: var(--accent); }
.game-copy h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.game-highlight { color: var(--accent); font-family: Arial, sans-serif; font-size: 20px; line-height: 1.5; margin: 0 0 20px; }
.game-description { max-width: 450px; margin: 0 auto 28px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.store-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.store-links a { border-radius: 5px; }
.store-links img { width: 183px; height: 51px; }
.store-links a:hover { opacity: .82; }
.game-art { width: 100%; max-width: 570px; justify-self: center; }
.app-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 20px; padding: 12px; }
.app-preview img { width: 100%; height: auto; border: 1px solid #e7e9ec; border-radius: 18px; box-shadow: 0 12px 28px #17223520; }
.app-preview img:nth-child(2) { margin-top: 32px; }
.store-links .store-badge { display: inline-flex; align-items: center; width: 183px; height: 51px; overflow: hidden; border-radius: 6px; color: #fff; background: #000; text-decoration: none; font-family: Arial, sans-serif; text-align: left; }
.store-badge-icon { position: relative; flex: 0 0 48px; height: 51px; overflow: hidden; }
.store-badge-icon img { position: absolute; top: 0; left: 0; width: 183px; max-width: none; height: 51px; }
.store-badge-copy { display: flex; flex-direction: column; justify-content: center; gap: 1px; padding-left: 3px; line-height: 1.1; white-space: nowrap; }
.store-badge-copy > span { font-size: 11px; }
.store-badge-copy strong { font-size: 22px; font-weight: 400; letter-spacing: -.5px; }
.screenshots { max-width: 1140px; margin: 60px auto 0; }
.screenshot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.screenshot-grid a { display: block; overflow: hidden; border-radius: 4px; background: #e8ece8; }
.screenshot-grid img { width: 100%; aspect-ratio: 9 / 16; object-fit: contain; transition: transform .2s; }
.screenshot-grid a:hover img { transform: scale(1.035); }
.plant-section { background: var(--soft); }
.plant-section .game-copy { order: 2; }
.plant-section .game-art { order: 1; }
.site-footer { padding: 44px 24px; text-align: center; color: var(--muted); font-family: Arial, sans-serif; font-size: 13px; }
.site-footer p { margin: 5px 0; }
.site-footer .footer-purpose { margin-bottom: 18px; font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; padding: 0; margin: 0 0 24px; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current] { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.screenshot-dialog { max-width: min(90vw, 650px); max-height: 94dvh; padding: 48px 22px 16px; border: 0; border-radius: 8px; background: #fff; color: var(--ink); }
.screenshot-dialog::backdrop { background: #101721dd; }
.screenshot-dialog img { max-height: 74dvh; width: auto; margin: auto; }
.screenshot-dialog p { margin: 14px 0 0; font-size: 14px; text-align: center; }
.close-dialog { position: absolute; top: 4px; right: 8px; width: 40px; height: 40px; border: 0; color: var(--ink); background: transparent; font-family: Arial, sans-serif; font-size: 32px; }

@media (max-width: 900px) {
  .game-inner { gap: 32px; }
  .store-links img { width: 154px; height: auto; }
  .game-copy h2 { font-size: 32px; }
  .game-highlight { font-size: 18px; }
  .game-section { padding: 60px 24px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 20px; }
  .masthead { padding-top: 18px; }
  .brand { width: 260px; }
  .site-nav { position: relative; }
  .site-nav .nav-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 440px; margin: auto; padding: 6px 12px 18px; gap: 0 4px; }
  .nav-list > li > a, .site-nav summary { justify-content: center; font-size: 14px; padding: 8px 4px; }
  .site-nav .nav-dropdown-list { top: 100%; left: 0; right: auto; width: min(224px, calc(100vw - 24px)); }
  .nav-list > li:nth-child(2) .nav-dropdown-list { left: auto; right: 0; }
  .nav-dropdown-list a { min-height: 48px; font-size: 15px; }
  .nav-mark { width: 40px; height: 40px; left: calc(50% - 20px); bottom: -20px; }
  .nav-mark img { width: 26px; height: 26px; }
  .game-section { padding: 48px 20px; }
  .game-inner { grid-template-columns: 1fr; gap: 36px; }
  .game-copy, .plant-section .game-copy { order: 0; }
  .game-art, .plant-section .game-art { order: 1; max-width: 400px; }
  .app-preview { gap: 12px; padding: 6px; }
  .app-preview img { border-radius: 12px; }
  .app-preview img:nth-child(2) { margin-top: 24px; }
  .game-description { font-size: 15px; }
  .store-links { gap: 10px; }
  .store-links img { width: 150px; }
  .store-links .store-badge { width: 150px; }
  .store-badge-icon { flex-basis: 40px; }
  .store-badge-icon img { width: 183px; left: -4px; }
  .store-badge-copy > span { font-size: 9px; }
  .store-badge-copy strong { font-size: 18px; }
  .screenshots { margin-top: 44px; }
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .site-footer { padding: 32px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .screenshot-grid img { transition: none; }
}

@media (min-width: 1600px) {
  .hero-inner { min-height: 600px; }
}
@media (max-width: 1200px) {
  .hero-inner { padding-inline: 72px; gap: 40px; }
}
@media (max-width: 900px) {
  .hero-inner { gap: 28px; padding-inline: 60px; min-height: 520px; }
  .hero-visual { height: 370px; grid-template-rows: 180px 144px; }
  .hero-icon { --icon-radius: 27px; width: 180px; height: 180px; }
  .hero-award { padding: 10px 36px; }
  .hero-award::before, .hero-award::after { width: 28px; max-height: 100px; }
  .hero-award::before { left: 4px; }
  .hero-award::after { right: 4px; }
  .award-source { font-size: 22px; }
  .award-title { font-size: 16px; }
  .has-two-awards .hero-award { padding-inline: 22px; }
  .has-two-awards .hero-award::before, .has-two-awards .hero-award::after { width: 18px; max-height: 80px; }
  .has-two-awards .hero-award::before { left: 1px; }
  .has-two-awards .hero-award::after { right: 1px; }
  .has-two-awards .award-source { font-size: 16px; }
  .has-two-awards .award-title { font-size: 12px; }
  .hero-copy p { font-size: 18px; }
}
@media (max-width: 700px) {
  .hero-inner { min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: 312px minmax(230px, auto); gap: 12px; padding: 42px 40px 72px; }
  .hero-visual { height: 312px; grid-template-rows: 150px 144px; }
  .hero-icon { --icon-radius: 24px; width: 150px; height: 150px; padding: 5px; }
  .hero-awards { max-width: 420px; }
  .hero-award { padding-inline: 34px; }
  .award-source { font-size: 22px; }
  .award-title { font-size: 16px; }
  .has-two-awards .hero-award { padding-inline: 20px; }
  .has-two-awards .award-source { font-size: 14px; }
  .hero-copy { align-self: start; grid-template-rows: calc(2.4em + 10px) auto 46px; gap: 14px; min-height: 0; font-size: 34px; text-align: center; }
  .hero-copy h1, .hero-copy h2 { justify-self: center; padding: 5px 8px; }
  .hero-copy p { justify-self: center; font-size: 16px; }
  .hero-copy .explore-button { justify-self: center; }
  .hero-background { object-position: center; }
  #bakery-slide .hero-background { object-position: right center; }
  #striving-slide .hero-background, #pomodoro-slide .hero-background { object-position: left center; }
  .slide-arrow { width: 30px; height: 40px; border-color: transparent; border-radius: 8px; font-size: 34px; }
  .previous { left: 4px; }
  .next { right: 4px; }
  .slide-dots { bottom: 12px; }
}
