@property --p {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

:root {
  --paper: #FBFBFA;
  --surface: #F3F3F0;
  --slot: #EFEFEC;
  --slot-near: #E2E2DE;
  --rule: #E3E3DF;
  --graphite: #63635F;
  --mute: #C6C6C1;
  --ink: #1C1C1B;
  --ink-2: #2C2C2A;
  --night-text: #B8B8B3;

  --display: "Wix Madefor Display", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Wix Madefor Text", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(96px, 12vw, 168px);
  --radius-icon: 23%;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 6px; }
section[id] { scroll-margin-top: 72px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--rule); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 28px; height: 28px; color: var(--ink); transition: transform .6s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-12deg); }
.brand__name { font-family: var(--display); font-weight: 650; font-size: 1.125rem; letter-spacing: -0.03em; }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 3vw, 34px); font-size: .9375rem; }
.nav__links a { text-decoration: none; color: var(--graphite); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__links .nav__cta {
  color: var(--paper); background: var(--ink);
  padding: 8px 16px; border-radius: 999px;
  transition: background .2s, transform .3s var(--ease-out);
}
.nav__links .nav__cta:hover { color: var(--paper); background: var(--ink-2); transform: translateY(-1px); }
@media (max-width: 420px) { .nav__links li:not(:last-child) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: inherit; font-size: 1rem; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .35s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-2); }
.btn--line { color: var(--ink); border-color: var(--rule); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(88px, 11vw, 150px); }
.hero__grid { display: grid; gap: clamp(56px, 7vw, 96px); align-items: center; }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
}

.wordmark {
  display: flex;
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(3.5rem, 21.5vw, 7.5rem);
  line-height: .9;
  letter-spacing: -0.055em;
  margin-left: -0.04em;
}
@media (min-width: 700px) { .wordmark { font-size: clamp(7rem, 15vw, 10rem); } }
@media (min-width: 1000px) { .wordmark { font-size: clamp(6rem, 10.4vw, 8.75rem); } }
.wordmark__ch { display: inline-block; overflow: hidden; padding-bottom: .17em; margin-bottom: -.17em; }
.wordmark__ch > span { display: inline-block; }
/* Approximates the font's kerning, which is lost when each letter sits in its own box */
.wordmark__ch:nth-child(4) { margin-left: -0.025em; }

.hero__tagline {
  margin-top: clamp(22px, 2.6vw, 34px);
  font-family: var(--display);
  font-size: clamp(1.625rem, 2.7vw, 2.375rem);
  line-height: 1.15;
  font-weight: 550;
  letter-spacing: -0.03em;
}
.hero__lede {
  margin-top: 14px;
  max-width: 31rem;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.6;
  color: var(--graphite);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Home screen of apps */
.home { position: relative; width: 100%; max-width: 540px; }
@media (min-width: 1000px) { .home { justify-self: end; } }
.home__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 26px) clamp(12px, 2.2vw, 26px);
  -webkit-touch-callout: none;
}
.slot { position: relative; opacity: calc(1 - var(--r) * .24); transition: transform .35s var(--ease-out); }
.slot--empty { transform: scale(calc(1 + var(--near, 0) * .06)); }
.slot--deep { display: none; }
@media (min-width: 1000px) { .slot--deep { display: block; } }

.tile-link {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  transform: perspective(520px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform .3s var(--ease-out);
  -webkit-user-select: none; user-select: none;
}
a.tile-link:hover { --lift: -4px; }
.tile {
  position: relative; display: block; width: 100%; aspect-ratio: 1;
  border-radius: var(--radius-icon);
}
.slot--empty .tile {
  background: color-mix(in srgb, var(--slot-near) calc(var(--near, 0) * 100%), var(--slot));
  box-shadow: inset 0 0 0 1px rgba(28, 28, 27, .03);
}
.slot--empty::after {
  content: ""; display: block; height: calc(.8125rem * 1.3 + 10px);
}
.tile__inner {
  position: absolute; inset: 0; overflow: hidden; border-radius: inherit;
  box-shadow: 0 1px 2px rgba(28, 28, 27, .08), 0 14px 28px -16px rgba(28, 28, 27, .45);
  transform: translateZ(0);
}
.tile__inner img { width: 100%; height: 100%; object-fit: cover; }
.slot__label {
  display: grid; font-size: .8125rem; line-height: 1.3; font-weight: 500; white-space: nowrap; color: var(--ink-2);
}
@media (max-width: 559px) {
  .slot__label { font-size: .75rem; line-height: 1.25; white-space: normal; text-wrap: balance; }
}
.slot__label > span { grid-area: 1 / 1; text-align: center; }
.slot__label > span + span { opacity: 0; color: var(--graphite); }

.install {
  position: absolute; inset: 0; display: none; place-items: center;
  background: rgba(20, 20, 19, .5);
}
.install__pie {
  width: 40%; aspect-ratio: 1; border-radius: 50%; padding: 3px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .94);
  background: conic-gradient(rgba(255, 255, 255, .94) var(--p), transparent 0) content-box;
}
.slot--soon .install { display: grid; }
.slot--soon .install__pie { --p: 64%; }
.slot--soon img { filter: saturate(.7); }

.home__caption { margin-top: 18px; font-size: .9375rem; color: var(--graphite); }
@media (min-width: 1000px) { .home__caption { margin-top: -24px; position: relative; text-align: center; } }

.home.is-jiggling a.tile-link,
.home.is-jiggling .slot--soon .tile-link { animation: jiggle .26s ease-in-out infinite alternate; }
.home.is-jiggling .slot:nth-child(2n) .tile-link { animation-delay: -.13s; animation-duration: .24s; }
@keyframes jiggle { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }

/* Load sequence: the home screen appears, then each app installs */
.motion .wordmark__ch > span { transform: translateY(105%); }
.motion .intro { opacity: 0; transform: translateY(18px); }
.motion .tile { opacity: 0; transform: scale(.78); }
.motion .install { display: grid; }
.motion .slot--app:not(.slot--soon) img { filter: grayscale(.9) brightness(.9); }
.motion .install__pie { --p: 0%; }
.motion .home__caption { opacity: 0; }

.motion.is-ready .wordmark__ch > span { animation: rise 1s var(--ease-out) calc(.08s + var(--i) * 55ms) both; }
.motion.is-ready .intro { animation: fade-up .9s var(--ease-out) calc(.5s + var(--i) * 110ms) both; }
.motion.is-ready .tile { animation: tile-in .8s var(--ease-out) calc(.35s + (var(--r) + var(--c)) * 60ms) both; }
.motion.is-ready .slot--app .install__pie { animation: pie 1.05s cubic-bezier(.45, 0, .25, 1) var(--d) both; }
.motion.is-ready .slot--app:not(.slot--soon) .install { animation: fade-out .4s ease calc(var(--d) + 1.05s) both; }
.motion.is-ready .slot--app:not(.slot--soon) img { animation: colour-in .5s ease calc(var(--d) + 1.05s) both; }
.motion.is-ready .slot--app:not(.slot--soon) .tile__inner { animation: pop .6s var(--ease-out) calc(var(--d) + 1.05s) both; }
.motion.is-ready .slot--soon .install__pie {
  animation: pie-soon 1.8s cubic-bezier(.45, 0, .25, 1) var(--d) both,
             pie-breathe 2.6s ease-in-out calc(var(--d) + 1.8s) infinite alternate;
}
.motion.is-ready .slot--soon .slot__label > span:first-child { animation: label-a 7s ease-in-out 3.6s infinite; }
.motion.is-ready .slot--soon .slot__label > span + span { animation: label-b 7s ease-in-out 3.6s infinite; }
.motion.is-ready .home__caption { animation: fade-in .8s ease 3s both; }

@keyframes rise { to { transform: none; } }
@keyframes fade-up { to { opacity: 1; transform: none; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes fade-out { to { opacity: 0; visibility: hidden; } }
@keyframes tile-in { to { opacity: 1; transform: none; } }
@keyframes pie { from { --p: 0%; } to { --p: 100%; } }
@keyframes pie-soon { from { --p: 0%; } to { --p: 64%; } }
@keyframes pie-breathe { from { --p: 64%; } to { --p: 76%; } }
@keyframes colour-in { to { filter: none; } }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.09); } 100% { transform: scale(1); } }
@keyframes label-a { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes label-b { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section__head { display: grid; gap: 20px; margin-bottom: clamp(44px, 6vw, 72px); }
@media (min-width: 900px) { .section__head { grid-template-columns: 1fr 1fr; align-items: end; } }
.section__title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.6vw, 4.75rem);
  line-height: 1;
  font-weight: 620;
  letter-spacing: -0.045em;
}
.section__intro { color: var(--graphite); max-width: 29rem; font-size: 1.125rem; }

/* Scroll reveals */
.motion.has-io [data-reveal]:not([data-reveal="mask"]) {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 100ms);
}
.motion.has-io [data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="mask"] { overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
[data-reveal="mask"] > span { display: inline-block; }
.motion.has-io [data-reveal="mask"] > span { transform: translateY(110%); transition: transform 1.1s var(--ease-out); }
.motion.has-io [data-reveal="mask"].is-visible > span { transform: none; }

/* ---------- Apps ---------- */
.apps__list { border-top: 1px solid var(--ink); }
.app { border-bottom: 1px solid var(--rule); }
.app:nth-child(2) { --i: 1; }
.app:nth-child(3) { --i: 2; }
.app:nth-child(4) { --i: 3; }
.app__row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 60px minmax(0, 1fr); align-items: center;
  gap: 16px 18px; padding: 26px 0;
  text-decoration: none; color: var(--ink);
}
.app__row::before {
  content: ""; position: absolute; z-index: -1;
  inset: 8px calc(-1 * clamp(12px, 2vw, 24px));
  border-radius: 26px;
  background: var(--tint);
  opacity: 0; transform: scale(.96, .7);
  transition: opacity .35s ease, transform .6s var(--ease-out);
}
.app__row:hover::before, .app.is-active .app__row::before { opacity: 1; transform: none; }
.app__icon {
  width: 60px; height: auto; border-radius: var(--radius-icon);
  box-shadow: 0 1px 2px rgba(28, 28, 27, .08), 0 12px 24px -14px rgba(28, 28, 27, .45);
  transition: transform .6s var(--ease-out);
}
.app__row:hover .app__icon, .app.is-active .app__icon { transform: rotate(-7deg) scale(1.06); }
.app__name {
  display: block; font-family: var(--display);
  font-size: clamp(1.5rem, 2.7vw, 2.375rem); line-height: 1.05;
  font-weight: 600; letter-spacing: -0.035em;
}
.app__kind { display: block; margin-top: 6px; font-size: .875rem; color: var(--graphite); transition: color .3s; }
.app__row:hover .app__kind, .app.is-active .app__kind { color: var(--accent); }
.app__desc { grid-column: 1 / -1; color: var(--graphite); max-width: 34rem; }
.app__go { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; font-size: .9375rem; }
.app__url {
  font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--rule);
  text-underline-offset: 4px; text-decoration-thickness: 1px;
  transition: color .3s, text-decoration-color .3s;
}
.app__url .nw { white-space: nowrap; }
.app__url svg { display: inline-block; vertical-align: -1px; margin-left: 6px; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.app__row:hover .app__url { color: var(--accent); text-decoration-color: currentColor; }
.app__row:hover .app__url svg { transform: translate(3px, -3px); }
.app__platform { color: var(--graphite); }
.app__soon { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.app__soon-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.motion .app__soon-dot { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 60% { box-shadow: 0 0 0 7px transparent; } }
.app--soon .app__icon { filter: saturate(.75); }

@media (min-width: 900px) {
  .app__row {
    grid-template-columns: 92px minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, .85fr);
    gap: 0 clamp(24px, 3vw, 40px);
    padding: 34px 0;
  }
  .app__icon { width: 92px; }
  .app__desc, .app__go { grid-column: auto; }
  .app__go { flex-direction: column; align-items: flex-end; text-align: right; }
}

/* ---------- About ---------- */
.about { background: var(--surface); }
.statement {
  margin-top: clamp(28px, 4vw, 48px);
  max-width: 34ch;
  font-family: var(--display);
  font-size: clamp(1.625rem, 3.4vw, 2.875rem);
  line-height: 1.18;
  font-weight: 520;
  letter-spacing: -0.03em;
}
.motion .statement .w { color: var(--mute); transition: color .45s ease; }
.motion .statement .w.on { color: var(--ink); }

.founders { display: grid; gap: 0 clamp(24px, 4vw, 56px); margin-top: clamp(56px, 8vw, 96px); }
@media (min-width: 700px) { .founders { grid-template-columns: 1fr 1fr; } }
.founder { display: flex; align-items: center; gap: 22px; padding: 26px 0; border-top: 1px solid var(--rule); }
.founder__tile {
  flex: none; width: 84px; aspect-ratio: 1; border-radius: var(--radius-icon);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 2.375rem; font-weight: 650; letter-spacing: -0.04em;
  transition: transform .6s var(--ease-out);
}
.founder:hover .founder__tile { transform: rotate(-8deg) scale(1.04); }
.founder:nth-child(2):hover .founder__tile { transform: rotate(8deg) scale(1.04); }
.founder__tile--ink { background: var(--ink); color: var(--paper); }
.founder__tile--line { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.founder__body { display: grid; gap: 2px; }
.founder__name { font-family: var(--display); font-size: 1.5rem; font-weight: 620; letter-spacing: -0.025em; line-height: 1.2; }
.founder__role { color: var(--graphite); font-size: .9375rem; }
.founder__mail {
  justify-self: start; margin-top: 4px; font-size: .9375rem; font-weight: 500;
  text-underline-offset: 4px; text-decoration-color: var(--mute);
}
.founder__mail:hover { text-decoration-color: var(--ink); }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--paper); padding: var(--section) 0 clamp(72px, 9vw, 120px); }
.contact__grid { display: grid; gap: clamp(40px, 6vw, 88px); }
@media (min-width: 960px) { .contact__grid { grid-template-columns: .9fr 1.1fr; } }
.contact__title {
  font-family: var(--display);
  font-size: clamp(3.25rem, 8.4vw, 7rem);
  line-height: .95; font-weight: 650; letter-spacing: -0.05em;
}
.contact__copy p:not(.contact__title) { margin-top: 22px; color: var(--night-text); max-width: 25rem; font-size: 1.125rem; }
.contact :focus-visible { outline-color: var(--paper); }

.form { display: grid; gap: 18px; grid-template-columns: 1fr; align-content: start; }
@media (min-width: 620px) { .form { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field--full, .form__foot { grid-column: 1 / -1; }
.field label { font-size: .9375rem; color: #D2D2CD; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--paper);
  background: #252524; border: 1px solid #3B3B39; border-radius: 14px;
  padding: 14px 16px; min-height: 54px;
  transition: border-color .2s, background .2s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23B8B8B3' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px;
  padding-right: 44px;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #5B5B58; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--paper); background: #292928;
  box-shadow: 0 0 0 4px rgba(251, 251, 250, .08);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #E3A69C; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.form__status { font-size: .9375rem; color: #D2D2CD; }
.form__status.is-error { color: #E9B1A8; }
.form__status.is-success { color: var(--paper); }
.btn__tick { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .5s var(--ease-out) .1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #8E8E89; font-size: .875rem; }
.footer__mark {
  font-family: var(--display);
  font-size: clamp(4.5rem, 21.5vw, 19rem);
  line-height: .78; font-weight: 700; letter-spacing: -0.06em;
  color: #2A2A28;
  margin-left: -0.05em;
  padding-top: .1em;
  -webkit-user-select: none; user-select: none;
}
.footer__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  margin-top: clamp(20px, 3vw, 36px);
  padding: 26px 0 calc(26px + env(safe-area-inset-bottom));
  border-top: 1px solid #333331;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; align-items: center; padding: 64px 0; }
.notfound__inner { display: grid; justify-items: start; gap: 22px; }
.notfound__slot { width: 88px; aspect-ratio: 1; border-radius: var(--radius-icon); border: 1.5px dashed var(--mute); margin-bottom: 10px; }
