/* makeithappen App, "Soon" page: the app's welcome screen, in the same visual language as the phones on the landing.
   On a desktop it sits inside the iPhone 16 Pro frame next to a short text; on a phone it fills the screen. */
/* moving between the site's pages cross-fades instead of flashing white */
@view-transition { navigation: auto; }

:root {
  --ink: #000;
  --ink2: rgba(0, 0, 0, .62);
  --gray: #86868b;
  --line: rgba(0, 0, 0, .08);
  --panel: #f7f7f8;
  --fill: rgba(118, 118, 128, .12);
  --green-ink: #00a04b;
  --acc: #ff6b2c;
  --acc-ink: #ec5719;
  --acc-soft: rgba(255, 107, 44, .1);
  --red: #c4320a;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --sys: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  --disp: "Onest", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--sys); color: var(--ink); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background: #fff; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
p, h1 { margin: 0; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ================================================================== desktop stage */
.stage { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; gap: clamp(40px, 6vw, 88px); padding: 16px 40px; background: linear-gradient(180deg, #fff 10%, #ffe4d6 100%); }
.device { position: relative; width: 390px; aspect-ratio: .4827; flex: none; }
.device-frame { position: absolute; inset: 0; z-index: 50; width: 100%; height: 100%; pointer-events: none; }
.app { position: absolute; z-index: 1; left: 3.7%; right: 3.7%; top: 1.5%; bottom: 1.5%; overflow: hidden; border-radius: 16.2% / 7.45%; background: #fff; }
.beside { flex: 0 1 460px; max-width: 460px; }
.beside-logo { display: flex; align-items: center; gap: 6px; width: max-content; }
.beside-logo img { width: 24px; height: 24px; }
.beside-logo b { font-family: var(--disp); font-size: 22px; font-weight: 650; letter-spacing: -.06em; }
.beside .soon { margin-top: 30px; }
.beside h1 { margin-top: 12px; font-family: var(--disp); font-size: clamp(32px, 2.9vw, 40px); font-weight: 600; letter-spacing: -.04em; line-height: 1.08; text-wrap: balance; }
.beside p { max-width: 340px; margin-top: 14px; color: rgba(39, 34, 40, .65); font-size: 18px; line-height: 1.4; }
.beside .beside-note { color: rgba(39, 34, 40, .5); font-size: 15px; }
.beside-links { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.beside-links a { display: inline-flex; width: max-content; padding: 10px 16px; border-radius: 99px; background: var(--acc-soft); color: #f0561c; font-size: 15px; font-weight: 600; transition: background-color .2s; }
.beside-links a:hover { background: rgba(255, 107, 44, .17); }

/* status bar and home indicator: only inside the frame */
.sbar { position: absolute; z-index: 9; top: 0; left: 0; right: 0; height: 54px; display: none; justify-content: space-between; align-items: center; padding: 4px 36px 0 42px; background: #fff; font-size: 16px; font-weight: 600; letter-spacing: -.02em; pointer-events: none; }
.sbar > span:last-child { display: flex; gap: 5px; align-items: center; }
.sbar svg { width: auto; height: 12px; }

@media (max-width: 860px) {
  .stage { display: block; padding: 0; background: #fff; }
  .beside { display: none; }
  .device { width: 100%; height: 100vh; height: 100dvh; aspect-ratio: auto; }
  .device-frame { display: none; }
  .app { inset: 0; border-radius: 0; }
}
/* tablets in portrait: a phone-width column, centered */
@media (min-width: 600px) and (max-width: 860px) {
  .stage { background: linear-gradient(180deg, #fff 10%, #ffe4d6 100%); }
  .device { max-width: 480px; margin: 0 auto; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 20px 60px rgba(0, 0, 0, .08); }
}

/* ================================================================== the welcome screen */
.screen { position: absolute; inset: 0; display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; padding: 6px 22px 30px; }
.screen::-webkit-scrollbar { display: none; }
@media (max-width: 860px) { .screen { padding: max(14px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom)); } }
.top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.brand { display: flex; align-items: center; gap: 6px; }
.brand img { width: 26px; height: 26px; }
.brand b { font-family: var(--disp); font-size: 20px; font-weight: 650; letter-spacing: -.06em; }
.soon { display: inline-flex; align-items: center; gap: 7px; width: max-content; height: 28px; padding: 0 12px; border-radius: 99px; background: var(--acc-soft); color: var(--acc-ink); font-size: 13px; font-weight: 650; }
.soon i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); animation: pulse 1.8s ease-in-out infinite; }
.soon.big { height: 32px; padding: 0 14px; font-size: 14px; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.hero { display: flex; flex-direction: column; align-items: center; margin-top: auto; padding-top: 10px; text-align: center; }
.mascot { width: auto; height: clamp(130px, 24vh, 190px); margin-bottom: 18px; }
.hero h1 { max-width: 300px; font-size: 28px; font-weight: 750; letter-spacing: -.035em; line-height: 1.12; text-wrap: balance; }
.hero p { max-width: 300px; margin-top: 10px; color: var(--ink2); font-size: 15.5px; line-height: 1.5; text-wrap: pretty; }
.notify { margin-top: 24px; }
.field { display: flex; align-items: center; height: 52px; padding: 0 16px; border-radius: 16px; background: var(--fill); transition: box-shadow .2s, background-color .2s; }
.field:focus-within { background: #fff; box-shadow: inset 0 0 0 2px var(--acc); }
.field input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: none; font-size: 16px; }
.field input::placeholder { color: var(--gray); }
.notify.bad .field { background: #fff; box-shadow: inset 0 0 0 2px var(--red); }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; margin-top: 10px; border-radius: 26px; background: #000; color: #fff; font-size: 16px; font-weight: 650; transition: transform .15s, opacity .15s; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; }
.btn .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.msg { min-height: 20px; margin-top: 10px; color: var(--gray); font-size: 13px; line-height: 1.45; text-align: center; }
.notify.bad .msg { color: var(--red); font-weight: 500; }
.done { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(1, 208, 98, .1); text-align: left; animation: up .5s var(--ease) both; }
.done svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--green-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.done b { display: block; font-size: 15px; font-weight: 650; }
.done small { display: block; margin-top: 1px; color: var(--ink2); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.again { color: var(--acc-ink); font-size: inherit; font-weight: 600; }
.links { margin-top: 22px; padding: 2px 14px; border-radius: 18px; background: var(--panel); }
.lrow { display: flex; align-items: center; gap: 12px; padding: 11px 0; }
.lrow + .lrow { border-top: 1px solid var(--line); }
.lrow img { flex: none; width: 38px; height: 38px; border-radius: 10px; }
.lrow span { flex: 1; min-width: 0; }
.lrow b { display: block; font-size: 15px; font-weight: 600; }
.lrow small { display: block; margin-top: 1px; color: var(--gray); font-size: 12.5px; }
.chev { flex: none; width: 18px; height: 18px; fill: none; stroke: #c4c4c8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
@media (hover: hover) { .lrow:hover .chev { transform: translateX(2px); } }

/* entrance, one piece after the other */
.top, .hero > *, .notify, .links { animation: up .7s var(--ease) both; }
.hero .mascot { animation-delay: .05s; }
.hero h1 { animation-delay: .12s; }
.hero p { animation-delay: .18s; }
.notify { animation-delay: .24s; }
.links { animation-delay: .3s; }
@keyframes up { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* inside the frame on a desktop */
@media (min-width: 861px) {
  .sbar { display: flex; }
  .screen { top: 54px !important; padding-bottom: 34px; }
  .mascot { height: 150px; margin-bottom: 14px; }
  .notify { margin-top: 20px; }
  .links { margin-top: 18px; }
  .app::after { content: ""; position: absolute; z-index: 40; left: 50%; bottom: 8px; width: 128px; height: 5px; margin-left: -64px; border-radius: 3px; background: #000; pointer-events: none; }
}
/* short phones */
@media (max-width: 860px) and (max-height: 700px) {
  .mascot { height: 104px; margin-bottom: 12px; }
  .hero h1 { font-size: 24px; }
  .hero p { margin-top: 8px; font-size: 15px; }
  .notify { margin-top: 18px; }
  .links { margin-top: 14px; }
  .lrow { padding: 9px 0; }
}
