:root{
  --ink:#111111;
  --body:#2e2e2e;
  --secondary:#4c4c4c;
  --faint:#717171;
  --rule:#e4e4e4;
  --imessage-blue:#0a84ff;
  --imessage-gray:#e9e9eb;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --phone-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
body{
  margin:0;font-family:var(--font);color:var(--ink);background:#fff;
  -webkit-font-smoothing:antialiased;line-height:1.5;position:relative;
}
/* Sparse, extremely subtle vertical grid across the page */
.grid-bg{
  position:fixed;inset:0;z-index:-1;pointer-events:none;
  background-image:linear-gradient(to right, rgba(17,17,17,.034) 1px, transparent 1px);
  background-size:240px 100%;
  background-position:center top;
}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:-999px;top:0;background:#111;color:#fff;padding:10px 16px;z-index:20}
.skip-link:focus{left:12px;top:12px}
a{color:var(--ink)}
:focus-visible{outline:2px solid #111;outline-offset:3px;border-radius:4px}

/* Minimal header */
.site-header{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:24px clamp(22px, 4.5vw, 52px);
}
.brand{display:inline-flex;align-items:center;min-height:44px}
.brand img{height:31px;width:auto;display:block}
.join-anchor{
  font-size:15px;font-weight:550;text-decoration:none;min-height:44px;
  display:inline-flex;align-items:center;padding:0 4px;
}
.join-anchor:hover{text-decoration:underline;text-underline-offset:5px}

/* Centered hero */
.hero{position:relative;overflow:hidden}
.waves{position:absolute;left:0;right:0;pointer-events:none;background-repeat:no-repeat;background-size:cover;background-position:center top}
.waves-top{
  top:0;height:250px;background-image:url("/waves-top.svg");opacity:.95;
  -webkit-mask-image:linear-gradient(to bottom, #000 52%, transparent 97%);
          mask-image:linear-gradient(to bottom, #000 52%, transparent 97%);
}
.waves-bottom{
  bottom:0;height:190px;background-image:url("/waves-bottom.svg");transform:scaleY(-1);opacity:.55;
  -webkit-mask-image:linear-gradient(to top, #000 40%, transparent 96%);
          mask-image:linear-gradient(to top, #000 40%, transparent 96%);
}
.hero-inner{
  position:relative;z-index:1;max-width:880px;margin:0 auto;text-align:center;
  padding:28px 24px 100px;
}
.intro{font-size:16.5px;font-weight:500;color:var(--secondary);letter-spacing:.01em;margin:0 0 14px}
h1{
  font-size:clamp(44px, 7vw, 80px);line-height:1.02;font-weight:540;
  letter-spacing:-0.028em;margin:0 0 14px;text-wrap:balance;
}
.support{font-size:20px;line-height:1.5;color:var(--body);max-width:520px;margin:0 auto}

/* Centered waitlist form (~480px) */
.waitlist-block{width:min(480px, 100%);margin:24px auto 0;text-align:center}
.form-row{display:flex;gap:10px}
.form-row input{
  flex:1;min-width:0;height:54px;padding:0 16px;font:inherit;font-size:16px;
  border:1px solid #c6c6c6;border-radius:10px;background:#fff;color:var(--ink);
}
.form-row input::placeholder{color:#8b8b8b}
.form-row button{
  height:54px;padding:0 22px;font:inherit;font-size:16px;font-weight:560;white-space:nowrap;
  background:#111;color:#fff;border:1px solid #111;border-radius:10px;cursor:pointer;
}
.form-row button:hover{background:#2a2a2a}
.form-row button[disabled]{opacity:.55;cursor:wait}
.form-status{min-height:24px;font-size:15px;margin:10px 0 0}
.form-status.success{color:#14532d;font-weight:550}
.form-status.error{color:#8c1d18;font-weight:550}
.under-form{font-size:15px;color:var(--body);margin:10px 0 0}
.disclosure{font-size:14px;color:var(--faint);margin:6px 0 0}
.disclosure a{color:var(--secondary)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- iPhone Messages-style demonstration (matched to a current
   iOS Messages reference: one consistent version, not a mix) ---------- */
.phone-wrap{margin-top:0}
.phone{
  position:relative;width:min(372px, 94vw);margin:22px auto 0;
  background:#101013;border-radius:50px;padding:8px;
  box-shadow:0 22px 48px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.07);
}
/* Slim side buttons, as on the hardware */
.phone::before{
  content:"";position:absolute;left:-2.5px;top:180px;width:3px;height:88px;
  background:#26262b;border-radius:2px;
}
.phone::after{
  content:"";position:absolute;right:-2.5px;top:196px;width:3px;height:120px;
  background:#26262b;border-radius:2px;
}
.phone-screen{
  background:#fff;border-radius:43px;overflow:hidden;
  display:flex;flex-direction:column;
  font-family:var(--phone-font);text-align:left;
  aspect-ratio: 352 / 652;
}
.status-bar{
  position:relative;display:flex;align-items:center;justify-content:space-between;
  padding:13px 27px 3px;font-size:14.5px;font-weight:600;color:#111;
}
.island{
  position:absolute;top:10px;left:50%;transform:translateX(-50%);
  width:88px;height:24px;background:#000;border-radius:20px;
}
.status-icons{display:inline-flex;align-items:center;gap:6px}
.msg-header{
  display:grid;grid-template-columns:40px 1fr 40px;align-items:center;
  padding:7px 12px 8px;border-bottom:1px solid #e3e3e3;background:rgba(247,247,247,.94);
}
.msg-back{display:flex;align-items:center;padding-left:2px}
.msg-contact{display:flex;flex-direction:column;align-items:center;gap:2px}
.msg-avatar{
  width:42px;height:42px;border-radius:50%;background:#fff;border:1px solid #e2e2e2;
  display:flex;align-items:center;justify-content:center;overflow:hidden;
}
.msg-avatar img{width:29px;height:auto;display:block}
.msg-name{font-size:12.5px;font-weight:400;color:#111;display:inline-flex;align-items:center;gap:2px}
.msg-actions{display:flex;align-items:center;justify-content:flex-end;padding-right:3px}
.imessages{flex:1;padding:10px 12px 4px;display:flex;flex-direction:column}
.timestamp{text-align:center;font-size:11.5px;font-weight:400;color:#8e8e93;margin:1px 0 4px}
.imessage-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.bubble{
  position:relative;z-index:1;max-width:75%;padding:9px 13px;border-radius:19px;
  font-size:16px;font-weight:400;line-height:1.36;overflow-wrap:break-word;
  margin-top:13px;transition:opacity .35s ease, transform .35s ease;
}
.bubble.out{align-self:flex-end;background:var(--imessage-blue);color:#fff}
.bubble.in{align-self:flex-start;background:var(--imessage-gray);color:#111}
.imessage-list .bubble:first-child{margin-top:4px}
/* Small curved tails (hook construction, verified at 3x in revision 3) */
.bubble.out::after,.bubble.in::after{
  content:"";position:absolute;bottom:0;width:14px;height:20px;background:transparent;z-index:-1;
}
.bubble.out::after{right:-12px;border-left:7px solid var(--imessage-blue);border-bottom-left-radius:14px 18px}
.bubble.in::after{left:-12px;border-right:7px solid var(--imessage-gray);border-bottom-right-radius:14px 18px}
/* "Delivered" status under the last outgoing message */
.delivered{
  align-self:flex-end;font-size:11.5px;font-weight:500;color:#8e8e93;
  margin:3px 2px 0 0;transition:opacity .35s ease;
}
/* Typing indicator (inside the incoming bubble during replay) */
.typing{display:none;align-items:center;gap:4px;padding:4px 2px}
.typing span{
  width:7.5px;height:7.5px;border-radius:50%;background:#b7b7bc;
  animation:typing-bounce 1.1s infinite;
}
.typing span:nth-child(2){animation-delay:.18s}
.typing span:nth-child(3){animation-delay:.36s}
@keyframes typing-bounce{
  0%,60%,100%{transform:translateY(0);opacity:.55}
  30%{transform:translateY(-3.5px);opacity:1}
}
.bubble.typing-on .typing{display:inline-flex}
.bubble.typing-on .msg-text{display:none}
/* Replay: opacity only, so the phone and page never change size */
.imessages.playing .bubble,.imessages.playing .delivered{opacity:0;transform:translateY(5px)}
.imessages.playing .bubble.shown,.imessages.playing .delivered.shown{opacity:1;transform:none}
.imessages.playing .bubble.typing-on{opacity:1;transform:none}
.composer{
  display:flex;align-items:center;gap:8px;padding:8px 11px 4px;
}
.composer-plus{
  width:33px;height:33px;flex:none;border-radius:50%;background:#ededee;
  display:flex;align-items:center;justify-content:center;
}
.composer-pill{
  position:relative;flex:1;border:1px solid #d6d6da;border-radius:999px;color:#a2a2a7;
  font-size:15.5px;font-weight:400;padding:6px 34px 6px 13px;
}
.composer-mic{position:absolute;right:11px;top:50%;transform:translateY(-50%)}
.home-bar{width:118px;height:4.5px;border-radius:3px;background:#111;margin:7px auto 8px}
.demo-caption{font-size:13.5px;color:var(--faint);text-align:center;margin:18px 0 0}
.play-btn{
  margin-top:8px;min-height:44px;padding:0 18px;font:inherit;font-size:14.5px;font-weight:550;
  background:#fff;color:var(--ink);border:1px solid #c9c9c9;border-radius:999px;cursor:pointer;
}
.play-btn:hover{border-color:#111}
.play-btn[disabled]{opacity:.55;cursor:wait}
.below-line{
  font-size:17px;color:var(--body);margin:48px auto 0;max-width:520px;
}

/* Compact footer */
.site-footer{
  position:relative;z-index:1;border-top:1px solid var(--rule);
  padding:22px clamp(22px, 4.5vw, 52px) 30px;background:rgba(255,255,255,.85);
  font-size:14px;color:var(--secondary);
}
.footer-row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.footer-left{display:flex;align-items:center;gap:12px}
.footer-links{display:flex;align-items:center;gap:22px}
.footer-logo{height:19px;width:auto;display:block}
.site-footer a{text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.site-footer a:hover{text-decoration:underline;text-underline-offset:4px}
.about-access{max-width:640px;margin:4px auto 0;text-align:center}
.about-access summary{
  cursor:pointer;font-size:14px;font-weight:550;color:var(--secondary);
  min-height:44px;display:inline-flex;align-items:center;list-style:none;padding:0 8px;
}
.about-access summary::-webkit-details-marker{display:none}
.about-access summary:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.about-body{text-align:left;border-top:1px solid var(--rule);margin-top:4px;padding-top:12px}
.about-body p{font-size:14px;line-height:1.6;color:var(--secondary);margin:0}

/* Privacy notice page */
.notice-main{position:relative;z-index:1;max-width:700px;margin:0 auto;padding:30px 24px 90px}
.notice-main h1{font-size:clamp(32px, 4.5vw, 44px);margin:0 0 8px}
.notice-main h2{font-size:19px;letter-spacing:-0.015em;margin:30px 0 6px}
.notice-main p,.notice-main li{font-size:16px;line-height:1.65;color:var(--body)}
.notice-main ul{padding-left:20px}
.notice-updated{color:var(--faint);font-size:14px;margin:0 0 10px}
.notice-flag{border:1px solid var(--rule);border-radius:10px;padding:14px 16px;background:#fafafa}
.notice-flag p{margin:0;font-size:14.5px}

/* Responsive */
@media (max-width: 560px){
  .site-header{padding:18px 20px}
  .brand img{height:27px}
  .hero-inner{padding:24px 20px 84px}
  .support{font-size:18.5px}
  .form-row{flex-direction:column}
  .form-row input{flex:none;height:54px}
  .form-row button{width:100%}
  .phone{margin-top:18px;border-radius:47px;padding:7px}
  .phone-screen{border-radius:41px}
  .bubble{font-size:15.5px}
  .waves-top{height:180px;opacity:.55}
  .waves-bottom{height:120px;opacity:.35}
  .grid-bg{background-size:128px 100%}
}
