@import url("theme.css");

* {
  box-sizing:border-box;
}

body {
  margin:0;
  min-height:100svh;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  background:var(--background);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}

button,a {
  -webkit-tap-highlight-color:transparent;
}

a {
  color:inherit;
  text-decoration:none;
}

button {
  font:inherit;
}

a:focus-visible,button:focus-visible {
  outline:3px solid #0866ff;
  outline-offset:5px;
}

header {
  height:108px;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 5%;
  position:relative;
  z-index:3;
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:26px;
  letter-spacing:-1.2px;
  font-weight:600;
}

.brand-icon {
  display:block;
  width:32px;
  height:32px;
}

.nav-link {
  font-size:13px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:15px;
}

main {
  display:flex;
  flex:1;
  width:100%;
  max-width:1800px;
  margin:0 auto;
  position:relative;
}

.hero {
  flex:1;
  min-width:0;
  min-height:630px;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
}

.copy {
  width:44%;
  padding:0 0 50px 5.55%;
  position:relative;
  z-index:2;
}

.copy h1 {
  font-size:clamp(58px,5.65vw,98px);
  font-weight:500;
  letter-spacing:-.067em;
  line-height:1.02;
  margin:0 0 28px;
  white-space:nowrap;
}

.copy p {
  font-size:17px;
  color:var(--muted);
  line-height:1.65;
  max-width:340px;
  margin:0 0 32px;
  letter-spacing:-.2px;
}

.cta {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:40px;
  padding:16px 27px;
  background:var(--blue);
  color:white;
  font-size:18px;
  letter-spacing:-.35px;
  transition:background .2s;
}

.cta:hover {
  background:#0051d4;
}

.platforms {
  display:flex;
  gap:20px;
  margin-top:23px;
  color:var(--muted);
  font-size:11px;
}

.platforms a:hover {
  color:var(--blue);
}

.visual {
  position:absolute;
  left:45%;
  top:calc(50% - 370px);
  width:950px;
  height:740px;
  perspective:1600px;
  transform-origin:0 50%;
}

.phone {
  position:absolute;
  left:469px;
  top:0;
  width:302px;
  height:673px;
  border:6px solid #222327;
  background:var(--surface);
  border-radius:47px;
  overflow:hidden;
  transform:rotate(-4deg);
  box-shadow:0 1px 1px 2px #6f7376,2px 8px 16px #0002;
  z-index:0;
}

.phone img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top;
  display:block;
}

.island {
  position:absolute;
  width:84px;
  height:22px;
  top:8px;
  left:calc(50% - 42px);
  border-radius:16px;
  background:#131415;
}

.window {
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:13px;
  overflow:hidden;
  box-shadow:0 23px 47px -15px #15233240,0 3px 8px #0000000b;
}

.sidebar-window {
  position:absolute;
  top:116px;
  left:4px;
  width:302px;
  height:520px;
  transform:rotateY(-9deg) rotateZ(-2.5deg);
  background:var(--sidebar);
  z-index:1;
}

.traffic {
  display:flex;
  gap:7px;
  align-items:center;
  height:39px;
  padding:0 15px;
  background:var(--toolbar);
  border-bottom:1px solid var(--border);
}

.traffic i {
  height:10px;
  width:10px;
  border-radius:50%;
  background:#ff6159;
  border:1px solid #e4514b;
}

.traffic i:nth-child(2) {
  background:#ffbc2e;
  border-color:#e3a526;
}

.traffic i:nth-child(3) {
  background:#28c840;
  border-color:#1faf33;
}

.sidebar-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:21px 18px 20px;
  font-size:23px;
  font-weight:600;
  letter-spacing:-.9px;
}

.sidebar-title svg {
  width:17px;
  height:17px;
}

.sidebar-label {
  font-size:11px;
  color:var(--muted);
  padding:0 19px;
  margin:19px 0 9px;
}

.all-bots {
  margin:0 10px;
  padding:11px;
  border-radius:7px;
  font-size:12px;
  background:var(--selection);
  display:flex;
  align-items:center;
  gap:11px;
}

.all-bots span:last-child {
  margin-left:auto;
  color:var(--muted);
}

.bot-item {
  display:flex;
  gap:10px;
  align-items:center;
  padding:14px 11px;
  margin:0 10px 5px;
  border-radius:7px;
}

.bot-item.selected {
  background:var(--selection);
}

.avatar {
  width:39px;
  height:39px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  border-radius:50%;
  color:#fff;
  background:var(--blue);
}

.avatar svg {
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.avatar.notify {
  background:#3c6364;
}

.avatar.weather {
  background:#39485e;
}

.avatar.ai {
  background:#282a33;
}

.bot-meta {
  min-width:0;
  flex:1;
}

.bot-meta strong {
  display:block;
  font-size:13px;
  font-weight:600;
  margin-bottom:5px;
}

.bot-meta small {
  display:block;
  font-size:10px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  color:var(--muted);
}

.bot-item .chat-time {
  font-size:9px;
  color:var(--muted);
  align-self:flex-start;
  padding-top:4px;
}

.chat-window {
  position:absolute;
  top:65px;
  left:245px;
  width:430px;
  height:600px;
  transform:rotateY(-8deg) rotateZ(-2deg);
  z-index:2;
  box-shadow:0 28px 50px -14px #14223350,0 3px 7px #0001;
}

.chat-window .traffic {
  height:42px;
}

.chat-header {
  height:84px;
  display:flex;
  align-items:center;
  padding:0 23px;
  gap:13px;
  border-bottom:1px solid var(--border);
}

.chat-header .avatar {
  height:49px;
  width:49px;
}

.chat-header .avatar svg {
  width:25px;
  height:25px;
}

.chat-header strong {
  font-size:21px;
  letter-spacing:-.5px;
  display:block;
  margin-bottom:3px;
}

.chat-header small {
  font-size:11px;
  color:var(--muted);
}

.chat-header .dots {
  margin-left:auto;
  font-size:23px;
  color:var(--muted);
}

.chat-content {
  padding:25px 22px;
}

.date {
  text-align:center;
  font-size:11px;
  color:var(--muted);
  margin-bottom:30px;
}

.bubble {
  font-size:15px;
  line-height:1.5;
  letter-spacing:-.2px;
  padding:14px 16px;
  background:var(--bubble);
  border-radius:16px 16px 16px 5px;
  max-width:94%;
  margin:15px 0;
}

.bubble.user {
  background:var(--blue);
  color:white;
  margin-left:auto;
  max-width:79%;
  border-radius:16px 16px 5px 16px;
  font-size:14px;
}

.reminder {
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:8px 1px;
}

.calendar {
  height:43px;
  width:43px;
  background:var(--surface);
  border-radius:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.calendar svg {
  width:24px;
  height:24px;
  fill:none;
  stroke:var(--text);
  stroke-width:1.7;
}

.reminder strong {
  font-size:16px;
  display:block;
  margin-bottom:7px;
  letter-spacing:-.4px;
}

.reminder p {
  font-size:12px;
  color:var(--muted);
  line-height:1.65;
  margin:0;
}

.bubble-time {
  display:block;
  color:var(--muted);
  font-size:9px;
  text-align:right;
  margin-top:7px;
}

.chat-input {
  position:absolute;
  bottom:17px;
  left:21px;
  right:21px;
  border:1px solid var(--border);
  border-radius:30px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px;
  font-size:12px;
}

.chat-input .plus {
  font-size:21px;
  line-height:1;
  color:var(--muted);
}

.chat-input .send {
  margin-left:auto;
  font-size:18px;
  color:var(--muted);
}

.visual-caption {
  position:absolute;
  bottom:13px;
  left:126px;
  font-size:10px;
  color:var(--muted);
  letter-spacing:.05px;
}

.bottom {
  display:flex;
  flex-shrink:0;
  align-items:center;
  justify-content:space-between;
  margin:0 5%;
  padding:22px 0;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:11px;
}

.bottom a {
  color:var(--muted);
}

.svg-defs {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
}

@media(min-width:1650px) {
  .visual {
    transform:scale(1.1);
    left:47%;
  }
}

@media(max-width:1200px) {
  .visual {
    transform:scale(.85);
    left:44%;
  }
  .copy {
    padding-bottom:80px;
  }
  .copy h1 {
    font-size:68px;
  }
  .copy p {
    font-size:15px;
    max-width:290px;
  }
  .hero {
    min-height:590px;
  }
  .visual-caption {
    bottom:30px;
  }
}

@media(max-width:950px) {
  header {
    height:85px;
    padding:0 6%;
  }
  .hero {
    height:auto;
    min-height:0;
    display:block;
    padding-top:45px;
  }
  .copy {
    width:100%;
    padding:0 6%;
    text-align:center;
  }
  .copy h1 {
    font-size:clamp(52px,9vw,78px);
    letter-spacing:-.06em;
  }
  .copy h1 br {
    display:none;
  }
  .copy p {
    max-width:400px;
    margin:0 auto 23px;
    font-size:16px;
  }
  .platforms {
    justify-content:center;
  }
  .visual {
    position:relative;
    left:auto;
    top:auto;
    transform:scale(.85);
    transform-origin:0 0;
    margin:35px 0 -100px calc(50% - 330px);
    height:740px;
  }
  .bottom {
    margin:0 6%;
    gap:20px;
  }
  .visual-caption {
    left:215px;
    bottom:20px;
  }
}

@media(max-width:600px) {
  header {
    height:80px;
  }
  .brand {
    font-size:23px;
  }
  .nav-link {
    font-size:11px;
  }
  .hero {
    padding-top:32px;
  }
  .copy h1 {
    font-size:clamp(46px,15vw,59px);
    line-height:1.02;
    margin-bottom:22px;
  }
  .copy h1 br {
    display:block;
  }
  .copy p {
    font-size:15px;
    max-width:290px;
    line-height:1.6;
    margin-bottom:25px;
  }
  .cta {
    font-size:16px;
    padding:14px 25px;
  }
  .platforms {
    font-size:10px;
    gap:16px;
    margin-top:19px;
  }
  .visual {
    transform:scale(.61);
    margin:24px 0 -260px calc(50% - 220px);
  }
  .sidebar-window {
    left:-12px;
  }
  .phone {
    left:403px;
  }
  .chat-window {
    left:209px;
  }
  .visual-caption {
    left:107px;
    font-size:13px;
  }
  .bottom {
    font-size:10px;
    align-items:flex-start;
    line-height:1.6;
    padding:18px 0;
  }
  .bottom span {
    max-width:180px;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition:none!important;
  }
}

/* Keep the legal links within reach on narrow screens. */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.bottom a:hover {
  color: var(--blue);
}
@media (max-width: 600px) {
  .bottom {
    flex-wrap: wrap;
  }
  .footer-links {
    gap: 12px 18px;
  }
}

.footer-actions {
  display:flex;
  align-items:center;
  gap:16px;
}
