:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #65717f;
  --paper: #f7f4ee;
  --paper-strong: #fffaf1;
  --line: rgba(23, 32, 42, 0.14);
  --violet: #5f2bd9;
  --magenta: #cf0a86;
  --teal: #0f766e;
  --gold: #be7c15;
  --charcoal: #131820;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(18, 24, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(19, 24, 32, 0.74), rgba(19, 24, 32, 0));
}

.site-header.solid {
  position: sticky;
  color: var(--ink);
  background: rgba(247, 244, 238, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.brand span {
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  color: inherit;
  font-size: 14px;
  font-weight: 650;
}

.nav a {
  opacity: 0.88;
  text-decoration: none;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(820px, 92svh);
  overflow: hidden;
  color: var(--white);
  background: #121820;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 18, 26, 0.9) 0%, rgba(13, 18, 26, 0.68) 42%, rgba(13, 18, 26, 0.18) 100%),
    linear-gradient(180deg, rgba(13, 18, 26, 0.12) 0%, rgba(13, 18, 26, 0.78) 100%);
  z-index: 1;
}

.portrait-wall {
  position: absolute;
  inset: -5vh -5vw;
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 12px;
  transform: rotate(-3deg) scale(1.04);
  opacity: 0.78;
}

.portrait-wall img {
  width: 100%;
  height: 100%;
  min-height: 36vh;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(0.92) contrast(1.02);
}

.portrait-wall img:nth-child(2n) {
  transform: translateY(8vh);
}

.portrait-wall img:nth-child(3n) {
  transform: translateY(-5vh);
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 20%;
  opacity: 0.92;
}

.vivi-hero::before {
  background:
    linear-gradient(90deg, rgba(10, 13, 18, 0.9) 0%, rgba(10, 13, 18, 0.68) 42%, rgba(10, 13, 18, 0.18) 100%),
    linear-gradient(180deg, rgba(10, 13, 18, 0.08) 0%, rgba(10, 13, 18, 0.72) 100%);
}

.vivi-hero h1 {
  max-width: 930px;
  font-size: clamp(46px, 4.7rem, 76px);
  line-height: 0.98;
}

.vivi-hero .hero-inner {
  padding-top: 118px;
  padding-bottom: 54px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 148px 0 84px;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 750;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: clamp(46px, 8vw, 104px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.4vw, 25px);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-stores {
  margin-top: 30px;
}

.download-stores {
  justify-content: center;
  margin-bottom: 14px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  text-decoration: none;
}

.store-badge img {
  width: auto;
  height: 50px;
}

.store-badge.unavailable {
  position: relative;
  cursor: not-allowed;
}

.store-badge.unavailable img {
  opacity: 0.62;
  filter: grayscale(0.22);
}

.store-badge.unavailable::after {
  content: "Soon";
  position: absolute;
  right: -8px;
  top: -9px;
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--ink);
  background: #ffe08a;
  box-shadow: 0 8px 24px rgba(19, 24, 32, 0.18);
  font-size: 11px;
  font-weight: 850;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--white);
  color: var(--ink);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.button.dark {
  color: var(--white);
  background: var(--charcoal);
}

.button.light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section-label {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.section h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-lead {
  max-width: 780px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  min-height: 208px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
}

.feature-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
}

.feature:nth-child(2) .feature-mark {
  background: var(--violet);
}

.feature:nth-child(3) .feature-mark {
  background: var(--gold);
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.1;
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.vivi-section {
  background: var(--paper);
}

.vivi-spotlight {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.vivi-profile {
  overflow: hidden;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.vivi-profile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.vivi-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.vivi-points article,
.tool-grid article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
}

.vivi-points strong,
.tool-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.15;
}

.vivi-points span,
.tool-grid span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.experience {
  background: var(--paper-strong);
}

.app-store-preview {
  color: var(--ink);
  background: #eef8f4;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.app-store-preview .section-label {
  color: var(--magenta);
}

.app-store-preview h2 {
  max-width: 820px;
}

.app-screenshots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 24px);
  align-items: end;
  margin-top: 34px;
}

.app-screenshots img {
  width: 100%;
  padding: clamp(6px, 1vw, 10px);
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(23, 32, 42, 0.12);
  box-shadow: 0 24px 58px rgba(23, 32, 42, 0.16);
}

.buddy-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.buddy {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.buddy img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.buddy figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 70px 14px 14px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(15, 20, 29, 0), rgba(15, 20, 29, 0.88));
  font-weight: 780;
}

.buddy figcaption span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 650;
}

.workflows {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
}

.workflow-list {
  display: grid;
  gap: 14px;
}

.workflow {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.workflow span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--white);
  background: var(--charcoal);
  font-weight: 800;
}

.workflow h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.workflow p {
  margin: 0;
  color: var(--muted);
}

.phone-scene {
  position: relative;
  min-height: 560px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.phone-scene img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.phone-ui {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(15, 20, 29, 0.68);
  backdrop-filter: blur(16px);
}

.phone-ui strong {
  font-size: 22px;
  line-height: 1.1;
}

.phone-ui span {
  color: rgba(255, 255, 255, 0.78);
}

.download {
  text-align: center;
  background: var(--paper-strong);
}

.download .section-lead {
  margin-right: auto;
  margin-left: auto;
}

.download .inline-actions {
  justify-content: center;
}

.android-note {
  max-width: 620px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 14px;
}

.android-note a {
  color: var(--teal);
  font-weight: 750;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  text-decoration: none;
}

.careers-page {
  background: var(--paper);
}

.careers-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(680px, 82svh);
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.careers-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 18, 26, 0.92) 0%, rgba(13, 18, 26, 0.72) 48%, rgba(13, 18, 26, 0.24) 100%),
    linear-gradient(180deg, rgba(13, 18, 26, 0.08) 0%, rgba(13, 18, 26, 0.72) 100%);
}

.careers-portraits {
  opacity: 0.64;
}

.careers-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 72px;
}

.careers-hero h1 {
  max-width: 970px;
  font-size: clamp(42px, 6.4vw, 82px);
  line-height: 0.98;
}

.careers-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
}

.careers-copy {
  color: #394553;
  font-size: clamp(17px, 1.9vw, 21px);
}

.careers-copy p:last-child {
  margin-bottom: 0;
}

.careers-work .feature {
  min-height: 250px;
}

.careers-open {
  background: #eef8f4;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.careers-open .section-label {
  color: var(--magenta);
}

.careers-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.careers-section-head h2,
.careers-section-head p {
  margin-bottom: 0;
}

.careers-section-head p {
  max-width: 460px;
  color: var(--muted);
  font-size: 17px;
}

.role-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(23, 32, 42, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 52px rgba(23, 32, 42, 0.12);
}

.role-card-main h3 {
  margin-bottom: 10px;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.06;
}

.role-card-main p {
  max-width: 780px;
  color: var(--muted);
  font-size: 17px;
}

.role-type {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
}

.role-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.role-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper-strong);
  font-size: 13px;
  font-weight: 750;
}

.role-card-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.careers-process {
  background: var(--paper);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.process-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.process-grid span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--charcoal);
  font-weight: 850;
}

.process-grid article:nth-child(2) span {
  background: var(--violet);
}

.process-grid article:nth-child(3) span {
  background: var(--teal);
}

.process-grid article:nth-child(4) span {
  background: var(--gold);
}

.process-grid h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.1;
}

.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.legal-page {
  background: var(--paper);
}

.legal-hero {
  padding: 72px clamp(20px, 5vw, 72px) 46px;
  background: var(--paper-strong);
  border-bottom: 1px solid var(--line);
}

.legal-hero-inner,
.legal-content {
  width: min(860px, 100%);
  margin: 0 auto;
}

.legal-hero h1 {
  max-width: 860px;
  color: var(--ink);
  font-size: clamp(36px, 6vw, 68px);
}

.legal-hero p {
  color: var(--muted);
  font-size: 18px;
}

.legal-content {
  padding: 48px 20px 80px;
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: 26px;
  line-height: 1.15;
}

.legal-content p,
.legal-content li {
  color: #394553;
}

.legal-content ul {
  padding-left: 22px;
}

.contact-panel {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.job-hero .legal-hero-inner,
.job-content {
  width: min(920px, 100%);
}

.job-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.job-facts span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 750;
  white-space: normal;
}

.job-notice {
  margin: 28px 0 34px;
  padding: 22px;
  border: 1px solid rgba(190, 124, 21, 0.28);
  border-radius: 8px;
  background: #fff7df;
}

.job-notice strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
}

.job-notice p,
.job-deadline {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .feature-grid,
  .workflows,
  .careers-split,
  .vivi-spotlight,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vivi-points {
    grid-template-columns: 1fr;
  }

  .careers-section-head,
  .role-card {
    display: grid;
  }

  .role-card {
    grid-template-columns: 1fr;
  }

  .role-card-action {
    justify-content: flex-start;
  }

  .app-screenshots {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .app-screenshots img {
    max-width: 360px;
  }

  .buddy-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 66px;
    padding: 12px 18px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 92svh;
  }

  .portrait-wall {
    inset: -2vh -38vw;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 8px;
    opacity: 0.62;
  }

  .portrait-wall img {
    min-height: 30vh;
  }

  .hero-background {
    object-position: 58% 18%;
  }

  .hero-inner {
    width: min(100% - 32px, 1160px);
    padding-bottom: 52px;
    overflow-wrap: anywhere;
  }

  .careers-hero {
    min-height: 86svh;
  }

  .careers-hero-inner {
    width: min(100% - 32px, 1160px);
    padding: 128px 0 52px;
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: clamp(42px, 16vw, 70px);
  }

  .vivi-hero h1 {
    max-width: 100%;
    font-size: 40px;
    line-height: 1.02;
  }

  .vivi-hero .hero-inner {
    padding-top: 108px;
    padding-bottom: 42px;
  }

  .careers-hero h1 {
    max-width: 100%;
    font-size: 40px;
    line-height: 1.02;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .job-hero h1 {
    font-size: 34px;
    line-height: 1.05;
  }

  .job-hero .legal-hero-inner,
  .job-content {
    margin-left: 0;
    margin-right: auto;
    width: min(350px, 100%);
  }

  .job-hero h1 span {
    display: block;
  }

  .job-facts {
    display: grid;
  }

  .job-facts span {
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .careers-section-head p,
  .role-card-main p {
    font-size: 16px;
  }

  .role-card {
    gap: 18px;
  }

  .role-card-action,
  .role-card-action .button {
    width: 100%;
  }

  .store-links {
    justify-content: center;
  }

  .hero-stores {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    align-items: center;
  }

  .hero-stores .store-badge {
    min-width: 0;
  }

  .hero-stores .button {
    grid-column: 1 / -1;
  }

  .hero-stores .store-badge.unavailable::after {
    right: 2px;
  }

  .store-badge img {
    height: 50px;
    max-width: 100%;
    object-fit: contain;
  }

  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .vivi-points article,
  .tool-grid article {
    min-height: 0;
  }

  .buddy-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .buddy {
    min-height: 248px;
  }

  .phone-scene,
  .phone-scene img {
    min-height: 430px;
  }

  .phone-ui {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .site-footer {
    display: grid;
  }
}
