/* Wellyboot — one stylesheet for every page. No third-party fonts or scripts. */
:root {
  --ink: #111;
  --ink-2: #555;
  --ink-3: #6b6b6b;
  --line: #e6e6e6;
  --soft: #fafafa;
  --black: #0a0a12;
  --wrap: 1040px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--ink); }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 32px; }
@media (max-width: 560px) { .wrap { padding-inline: 20px; } }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 14px; border: 1px solid var(--ink); border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { min-height: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; }
.logo { font-size: 18px; font-weight: 600; letter-spacing: -.025em; text-decoration: none; padding: 12px 0; }
.nav { display: flex; flex-wrap: wrap; align-items: center; }
.nav a { font-size: 14.5px; color: var(--ink-2); text-decoration: none; padding: 14px; transition: color .2s; }
.nav a:last-child { padding-right: 0; }
.nav a:hover, .nav a[aria-current="page"] { color: #000; }
.nav a[aria-current="page"] { font-weight: 500; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 8px; border: 1px solid transparent; font: inherit; font-size: 14.5px; font-weight: 500; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .14); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--black); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: #e0e0e0; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.btn[disabled] { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.btn svg { width: 14px; height: 14px; }

/* Shared type */
.badge { display: inline-flex; align-items: center; gap: 9px; background: #ececec; border: 1px solid #d2d2d2; border-radius: 7px; padding: 7px 16px; font-size: 12.5px; font-weight: 500; }
.badge svg { width: 13px; height: 13px; }
.eyebrow { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.display { font-weight: 400; font-size: clamp(44px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -.045em; }
.h2 { font-weight: 400; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; }
.section { border-top: 1px solid #ececec; scroll-margin-top: 64px; }
.section > .wrap { padding-block: 120px; }
.section.soft { background: var(--soft); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
@media (max-width: 700px) { .section > .wrap { padding-block: 80px; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(720px 460px at 72% 48%, #efefef, rgba(255, 255, 255, 0) 70%), linear-gradient(#fff, #f7f7f7); }
.hero .wrap { padding-block: 120px 152px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 64px 56px; }
.hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero-copy .display { margin-top: 12px; }
.lede { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.35; color: var(--ink-2); max-width: 420px; margin-top: 4px; }
.lede strong { color: var(--ink); font-weight: 500; }
.sub { font-size: 16px; line-height: 1.55; color: var(--ink-3); max-width: 400px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.stats { display: flex; flex-wrap: wrap; gap: 20px 64px; margin-top: 40px; }
.stats dl { margin: 0; display: flex; flex-direction: column-reverse; gap: 4px; }
.stats dd { margin: 0; font-size: 30px; letter-spacing: -.03em; line-height: 1.2; }
.stats dt { font-size: 13px; color: var(--ink-3); }
.hero-art { flex: 0 1 380px; margin: 0 auto; display: flex; justify-content: center; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 12px; font-size: 12px; color: var(--ink-2); text-decoration: none; }
.scroll-cue svg { width: 14px; height: 14px; animation: nudge 1.8s ease-in-out infinite; }
@media (max-width: 700px) { .hero .wrap { padding-block: 72px 120px; } }

/* Hero illustration: code on the left turns into an app screen on the right */
.build { position: relative; width: 325px; height: 385px; }
.code-card { position: absolute; left: 0; top: 38px; width: 200px; background: #fff; border: 1px solid #e2e2e2; border-radius: 13px; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 10px; animation: float 5s ease-in-out infinite; }
.dots { display: flex; gap: 6px; margin-bottom: 4px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #e0e0e0; }
.dots i:first-child { background: var(--ink); }
.dots i:nth-child(2) { background: #bdbdbd; }
.ln { height: 7px; border-radius: 4px; background: #bdbdbd; transform-origin: left; }
.ln1 { width: 72px; background: var(--ink); animation: type1 7s steps(8) infinite; }
.ln2 { width: 103px; margin-left: 13px; animation: type2 7s steps(10) infinite; }
.ln3 { width: 85px; margin-left: 13px; animation: type3 7s steps(9) infinite; }
.ln4 { width: 94px; margin-left: 27px; background: #8a8a8a; animation: type4 7s steps(9) infinite; }
.ln-last { display: flex; align-items: center; gap: 7px; }
.ln5 { width: 45px; background: var(--ink); animation: type5 7s steps(5) infinite; }
.caret { width: 2px; height: 13px; background: var(--ink); animation: caret 1s steps(1) infinite; }
.phone { position: absolute; right: 0; top: 0; width: 190px; height: 381px; background: #fff; border: 2px solid var(--ink); border-radius: 36px; box-shadow: 0 24px 60px rgba(0, 0, 0, .16); padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 13px; }
.notch { align-self: center; width: 56px; height: 16px; border-radius: 999px; background: var(--ink); flex: none; }
.b { animation: 7s ease-out infinite; }
.b1 { display: flex; align-items: center; justify-content: space-between; animation-name: b1; }
.b1 span { height: 10px; width: 70px; border-radius: 5px; background: var(--ink); }
.b1 i { width: 22px; height: 22px; border-radius: 50%; background: #dcdcdc; }
.b2 { height: 103px; border-radius: 16px; background: linear-gradient(160deg, #c4c4c4, #ebebeb); animation-name: b2; }
.b3 { display: flex; flex-direction: column; gap: 8px; animation-name: b3; }
.b3 span { height: 8px; border-radius: 4px; background: #d6d6d6; }
.b3 span:last-child { width: 70%; }
.b4 { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; animation-name: b4; }
.b4 span { height: 52px; border-radius: 11px; border: 1.5px solid #dcdcdc; }
.b5 { position: relative; margin-top: auto; animation-name: b5; }
.b5 .tap { height: 40px; border-radius: 11px; background: var(--black); display: flex; align-items: center; justify-content: center; animation: press 7s ease-in-out infinite; }
.b5 .tap span { height: 7px; width: 52px; border-radius: 4px; background: #fff; }
.b5 .ring { position: absolute; inset: 0; border-radius: 11px; border: 2px solid var(--ink); animation: ring 7s ease-out infinite; }
.cursor { position: absolute; right: 38px; bottom: 6px; width: 29px; height: 29px; animation: cursor 7s ease-in-out infinite; }
.pill { position: absolute; left: 6px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #ececec; border-radius: 10px; padding: 11px 15px; box-shadow: 0 6px 18px rgba(0, 0, 0, .1); font-size: 13px; font-weight: 500; white-space: nowrap; animation: float 4s ease-in-out infinite; }
.pulse { position: relative; width: 8px; height: 8px; }
.pulse::before, .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ink); }
.pulse::after { animation: pulse 1.7s ease-out infinite; }
@media (max-width: 400px) { .build { zoom: .88; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { border: 1px solid #e8e8e8; border-radius: 16px; padding: 28px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); display: flex; flex-direction: column; gap: 18px; min-height: 260px; transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(0, 0, 0, .1); }
.card.ghost { border-style: dashed; border-color: #bdbdbd; background: var(--soft); box-shadow: none; }
.card h3 { font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.card p { font-size: 15.5px; color: var(--ink-3); flex: 1; }
.tile { width: 60px; height: 60px; border-radius: 15px; display: flex; align-items: center; justify-content: center; background: var(--black); color: #fff; }
.tile.grey { background: linear-gradient(160deg, #c4c4c4, #e9e9e9); color: var(--ink); }
.tile.dashed { background: none; border: 1px dashed #8a8a8a; color: var(--ink); }
.tile svg { width: 28px; height: 28px; }
.tag { align-self: flex-start; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 7px; background: #ececec; color: #444; font-size: 13.5px; font-weight: 500; }

/* Rows */
.rows > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 40px; padding: 36px 0; border-top: 1px solid #dedede; }
.rows > div:last-child { border-bottom: 1px solid #dedede; }
.rows h3 { flex: 1 1 240px; font-weight: 400; font-size: 28px; letter-spacing: -.03em; }
.rows p { flex: 1.4 1 300px; font-size: 17px; line-height: 1.55; color: #5e5e5e; }

/* Closing call to action */
.cta .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.cta p { font-size: 17px; color: #5e5e5e; max-width: 400px; }
.cta .btn { margin-top: 10px; }

/* Footer */
.site-footer { border-top: 1px solid #ececec; }
.site-footer .wrap { padding-block: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; font-size: 14px; color: var(--ink-3); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-footer a { color: var(--ink-2); text-decoration: none; padding: 14px 0; }
.site-footer a:hover { color: #000; }

/* Inner pages (contact, privacy, support) */
.page { background: radial-gradient(640px 420px at 78% 20%, #f0f0f0, rgba(255, 255, 255, 0) 70%), linear-gradient(#fff, #f7f7f7); }
.page .wrap { max-width: 664px; padding-block: 104px 128px; }
.page-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
.page-head .display { font-size: clamp(42px, 6.4vw, 64px); margin-top: 8px; }
.page-head p { font-size: 17px; color: #5e5e5e; }
.panel { background: #fff; border: 1px solid #e8e8e8; border-radius: 16px; padding: 28px; box-shadow: 0 12px 40px rgba(0, 0, 0, .06); }
@media (max-width: 560px) { .panel { padding: 20px; } .page .wrap { padding-block: 64px 96px; } }

/* Form */
.form { display: flex; flex-direction: column; gap: 20px; }
.form .two { display: flex; flex-wrap: wrap; gap: 20px 14px; }
.field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 0 14px; height: 48px; border: 1px solid #d4d4d4; border-radius: 8px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 150px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8a8a8a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(0, 0, 0, .08); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-foot span { font-size: 13.5px; color: #5e5e5e; }
.form-status { font-size: 14.5px; padding: 12px 14px; border-radius: 8px; border: 1px solid #d4d4d4; background: var(--soft); }
.form-status[hidden], .sent[hidden], .form[hidden] { display: none; }
.sent { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.sent svg { width: 36px; height: 36px; }
.sent h2 { font-weight: 400; font-size: 28px; letter-spacing: -.03em; }
.sent p { font-size: 15.5px; color: #5e5e5e; }

/* Long-form text (privacy, support) */
.prose { display: flex; flex-direction: column; gap: 14px; font-size: 16.5px; line-height: 1.65; color: #333; }
.prose h2 { font-weight: 500; font-size: 22px; letter-spacing: -.02em; color: var(--ink); margin-top: 22px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose .meta { font-size: 14px; color: var(--ink-3); }

/* Scroll reveal: only hides things when the script is running */
.js .reveal { opacity: 0; transform: translateY(40px) scale(.98); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d2 { transition-delay: .1s; }
.js .reveal.d3 { transition-delay: .2s; }
.rise { animation: rise .9s var(--ease) both; }
.rise.r1 { animation-delay: .08s; } .rise.r2 { animation-delay: .16s; } .rise.r3 { animation-delay: .24s; }
.rise.r4 { animation-delay: .32s; } .rise.r5 { animation-delay: .44s; }

@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes caret { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes type1 { 0% { transform: scaleX(0); } 8%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes type2 { 0%, 10% { transform: scaleX(0); } 20%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes type3 { 0%, 22% { transform: scaleX(0); } 32%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes type4 { 0%, 34% { transform: scaleX(0); } 44%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes type5 { 0%, 46% { transform: scaleX(0); } 54%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes b1 { 0%, 8% { opacity: 0; transform: translateY(10px) scale(.96); } 14%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes b2 { 0%, 20% { opacity: 0; transform: translateY(10px) scale(.96); } 26%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes b3 { 0%, 32% { opacity: 0; transform: translateY(10px) scale(.96); } 38%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes b4 { 0%, 44% { opacity: 0; transform: translateY(10px) scale(.96); } 50%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes b5 { 0%, 54% { opacity: 0; transform: translateY(10px) scale(.96); } 60%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes cursor { 0%, 58% { opacity: 0; transform: translate(46px, 40px); } 64% { opacity: 1; transform: translate(46px, 40px); } 74% { opacity: 1; transform: translate(0, 0); } 77% { opacity: 1; transform: translate(0, 0) scale(.82); } 80%, 90% { opacity: 1; transform: translate(0, 0); } 96%, 100% { opacity: 0; transform: translate(0, 0); } }
@keyframes press { 0%, 75% { transform: scale(1); } 78% { transform: scale(.94); } 82%, 100% { transform: scale(1); } }
@keyframes ring { 0%, 77% { opacity: 0; transform: scale(1); } 78% { opacity: .7; transform: scale(1); } 90%, 100% { opacity: 0; transform: scale(1.18, 1.5); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
