/* SAQHERA: static site styles
   Layout: near-black hero and footer frame warm ivory content; one deep-plum accent;
   sharp corners, fine rules, editorial grid. */

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Display";
  src: url("/fonts/red-hat-display-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Display";
  src: url("/fonts/red-hat-display-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --black: #0b0a0a;
  --black-soft: #161314;
  --ivory: #f3eadf;
  --ivory-deep: #eadfd1;
  --ink: #141111;
  --ink-soft: #4a423d; /* 8.9:1 on ivory */
  --ivory-soft: rgba(243, 234, 223, 0.72); /* 11:1 on black */
  --rule-dark: rgba(20, 17, 17, 0.7);
  --rule-faint: rgba(20, 17, 17, 0.16);
  --rule-light: rgba(243, 234, 223, 0.18);
  --plum: #4a1532;
  --plum-deep: #2a0a1b;
  --plum-light: #6b2347;
  --plum-glow: #b0487c;

  --gutter: clamp(20px, 3.5vw, 60px);
  --max: 1680px;
  --header-h: clamp(64px, 6vw, 84px);
  --font-brand: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Red Hat Display", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
svg {
  display: block;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Focus: plum ring on ivory, ivory ring on dark */
:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 4px;
}
.site-header :focus-visible,
.hero :focus-visible,
.native :focus-visible,
.site-footer :focus-visible,
.skip-link:focus-visible {
  outline-color: var(--ivory);
}
[tabindex="-1"]:focus-visible {
  outline: none;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--font-brand);
  font-size: 0.875rem;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}

/* Shared small type */
.app-index,
.hero-eyebrow,
.section-meta,
.status,
.footer-label,
.about-label {
  font-family: var(--font-brand);
  font-size: clamp(0.7rem, 0.8vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* ============ Header ============ */

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  color: var(--ivory);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 10, 10, 0.86);
  border-bottom-color: var(--rule-light);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  height: var(--header-h);
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-q {
  width: clamp(30px, 2.4vw, 40px);
}
.brand-q svg {
  width: 100%;
  height: auto;
}
.brand-name {
  font-family: var(--font-brand);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.3s ease,
    transform 0.3s var(--ease);
}
.is-scrolled .brand-name {
  opacity: 1;
  transform: none;
}

.nav-list {
  display: flex;
  gap: clamp(22px, 3vw, 52px);
}
.nav-list a {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  font-family: var(--font-brand);
  font-size: clamp(0.9rem, 1vw, 1.05rem);
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ivory-soft);
  transition: color 0.2s ease;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--ivory);
}
.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ============ Hero ============ */

.hero {
  padding-top: calc(var(--header-h) + clamp(32px, 5vw, 88px));
  padding-bottom: clamp(48px, 6vw, 104px);
  background:
    radial-gradient(60% 80% at 100% 100%, rgba(74, 21, 50, 0.45) 0%, transparent 70%),
    var(--black);
  color: var(--ivory);
  overflow: hidden;
}

/* Desktop: hero fills ~95% of the screen, leaving a thin ivory strip */
@media (min-width: 861px) {
  .hero {
    display: flex;
    min-height: 95vh;
    min-height: 95svh;
    padding-top: calc(var(--header-h) + clamp(12px, 4vh, 88px));
    padding-bottom: clamp(28px, 6vh, 104px);
  }
  .hero .hero-foot {
    margin-top: 0;
    padding-top: clamp(18px, 3vh, 36px);
  }
  .hero > .wrap {
    display: flex;
    flex-direction: column;
  }
  .hero .wordmark {
    /* wordmark sits centred in the space between the eyebrow and the foot */
    margin-block: auto;
    padding-block: clamp(24px, 6vh, 88px) clamp(28px, 6vh, 88px);
  }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--ivory-soft);
}

.hero-eyebrow-rule {
  flex: 1;
  height: 1px;
  background: var(--rule-light);
}

.wordmark {
  margin-top: clamp(36px, 5vw, 88px);
  font-weight: 400;
  line-height: 0;
}
.wordmark svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px clamp(32px, 6vw, 120px);
  align-items: end;
  margin-top: clamp(40px, 5vw, 88px);
  padding-top: clamp(24px, 2.4vw, 36px);
}
.tagline {
  font-family: var(--font-brand);
  font-size: clamp(1.25rem, 2.3vw, 2.5rem);
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.hero-aside {
  display: grid;
  gap: 20px;
  justify-items: start;
  max-width: 36ch;
  font-family: var(--font-brand);
  font-size: clamp(0.95rem, 1.05vw, 1.1rem);
  line-height: 1.6;
  color: var(--ivory-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid currentColor;
  color: var(--ivory);
  font-family: var(--font-brand);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}
.text-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}
.text-link:hover svg {
  transform: translateY(3px);
}

/* Page-load: wordmark rises into place */
@media (prefers-reduced-motion: no-preference) {
  .wordmark svg {
    animation: rise 1.2s var(--ease) both;
  }
  .hero-eyebrow,
  .hero-foot {
    animation: fade 1s ease 0.35s both;
  }
}
@keyframes rise {
  from {
    clip-path: inset(0 0 100% 0);
    transform: translateY(18%);
  }
  to {
    clip-path: inset(0 0 -20% 0);
    transform: none;
  }
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ============ Apps ============ */

.apps {
  padding-block: clamp(64px, 8vw, 140px) clamp(56px, 7vw, 120px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: clamp(16px, 1.8vw, 28px);
  border-bottom: 1px solid var(--rule-dark);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}
.section-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--plum);
}

/* Featured app */
.feature {
  --app-tone: var(--plum);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 72px);
  margin-top: clamp(28px, 3vw, 48px);
}
@media (min-width: 861px) {
  .feature--reverse .feature-copy {
    order: 2;
  }
  .feature--reverse {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: clamp(12px, 2vw, 32px);
}
.app-index {
  color: var(--ink-soft);
}
.feature-title {
  margin-top: clamp(20px, 2.4vw, 36px);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.6vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.96;
  text-wrap: balance;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(22px, 2.4vw, 36px);
  padding: 9px 16px;
  border: 1px solid var(--rule-dark);
  border-radius: 999px;
  color: var(--ink);
  line-height: 1;
}
.status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--plum);
}
@media (prefers-reduced-motion: no-preference) {
  .status-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--plum);
    animation: ping 2.2s ease-out infinite;
  }
}
@keyframes ping {
  to {
    transform: scale(3);
    opacity: 0;
  }
}

.feature-summary {
  margin-top: clamp(24px, 2.8vw, 44px);
  font-family: var(--font-brand);
  font-size: clamp(1.15rem, 1.7vw, 1.8rem);
  line-height: 1.35;
  color: var(--ink-soft);
}

.feature-visual {
  position: relative;
  overflow: hidden;
  min-height: clamp(460px, 46vw, 780px);
  background:
    radial-gradient(120% 90% at 25% 15%, var(--plum-light) 0%, transparent 60%),
    linear-gradient(160deg, var(--app-tone) 0%, var(--plum-deep) 100%);
  isolation: isolate;
}
.visual-q {
  position: absolute;
  z-index: -1;
  right: -12%;
  top: -4%;
  width: 74%;
  color: var(--plum-light);
  opacity: 0.4;
  transition: transform 1.2s var(--ease);
}
.visual-q svg {
  width: 100%;
  height: auto;
}
.visual-sheen {
  position: absolute;
  z-index: -1;
  inset: -30% -10% auto -30%;
  height: 70%;
  background: linear-gradient(100deg, transparent 30%, rgba(176, 72, 124, 0.3) 50%, transparent 72%);
  transform: rotate(-16deg);
  filter: blur(18px);
}

/* CSS phone */
.phone {
  position: absolute;
  left: 50%;
  top: 10%;
  width: 40%;
  min-width: 200px;
  max-width: 400px;
  aspect-ratio: 9 / 19;
  padding: 3.2%;
  border-radius: 15% / 7.2%;
  background: linear-gradient(140deg, #8e6d7d 0%, #3b2430 18%, #1b1016 50%, #4d3341 82%, #9b7b8a 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    -30px 40px 80px rgba(10, 0, 6, 0.55),
    -8px 12px 24px rgba(10, 0, 6, 0.35);
  transform: translateX(-46%) rotate(14deg);
  transition: transform 1.2s var(--ease);
}
.phone::after {
  content: "";
  position: absolute;
  right: -1.4%;
  top: 30%;
  width: 1.6%;
  height: 11%;
  border-radius: 0 3px 3px 0;
  background: #5a3d4c;
}
.feature:hover .phone {
  transform: translateX(-46%) rotate(11deg) translateY(-1.5%);
}
.feature:hover .visual-q {
  transform: translate(-2%, 2%);
}

.phone-screen {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 26% 0 12%;
  border-radius: 13% / 6.2%;
  background: radial-gradient(90% 60% at 50% 35%, #2a1a23 0%, #0d0a0c 70%);
  container-type: inline-size;
}
.phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.07) 0%, transparent 38%);
  pointer-events: none;
}
.phone-island {
  position: absolute;
  top: 3.2%;
  left: 50%;
  width: 30%;
  height: 3.6%;
  border-radius: 999px;
  background: #050405;
  transform: translateX(-50%);
}
.phone-label {
  font-family: var(--font-brand);
  font-size: 5.2cqi;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(243, 234, 223, 0.55);
}
.waveform {
  width: 74%;
  height: auto;
  margin-top: auto;
  color: var(--ivory);
}
.waveform line {
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
}
.phone-timer {
  margin-top: 12%;
  font-family: var(--font-brand);
  font-size: 7.5cqi;
  font-style: italic;
  letter-spacing: 0.3em;
  color: rgba(243, 234, 223, 0.92);
  font-variant-numeric: tabular-nums;
}
.phone-controls {
  display: flex;
  gap: 9cqi;
  margin-top: auto;
}
.phone-controls i {
  width: 14cqi;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(243, 234, 223, 0.1);
  box-shadow: inset 0 0 0 1px rgba(243, 234, 223, 0.14);
}
.phone-controls .end {
  background: var(--plum-glow);
  box-shadow: none;
}
@media (prefers-reduced-motion: no-preference) {
  .waveform line {
    animation: wave 1.6s ease-in-out infinite alternate;
    animation-delay: calc(var(--i) * -0.13s);
  }
}
@keyframes wave {
  to {
    transform: scaleY(0.5);
  }
}

/* Coming soon cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 48px);
  margin-top: clamp(56px, 7vw, 120px);
}
.card {
  --app-tone: var(--black);
  display: grid;
  align-content: start;
  gap: clamp(20px, 2vw, 28px);
}
.card-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  max-width: 100%;
  overflow: hidden;
  background:
    radial-gradient(80% 90% at 85% 100%, rgba(107, 35, 71, 0.55) 0%, transparent 70%),
    var(--app-tone);
}
.card-q {
  position: absolute;
  right: -6%;
  bottom: -26%;
  width: 52%;
  color: var(--plum-light);
  opacity: 0.45;
  transition: transform 1s var(--ease);
}
.card-q svg {
  width: 100%;
  height: auto;
}
.card:hover .card-q {
  transform: translate(-3%, -4%) rotate(-3deg);
}
.card-badge {
  position: relative;
  padding: 10px 18px;
  border: 1px solid rgba(243, 234, 223, 0.4);
  border-radius: 999px;
  color: var(--ivory);
  font-family: var(--font-brand);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.card-copy {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--rule-dark);
}
.card-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.card .status {
  margin-top: 0;
  padding: 7px 12px;
  border-color: var(--rule-faint);
  color: var(--ink-soft);
  font-size: 0.66rem;
}
.card-summary {
  grid-column: 1 / -1;
  max-width: 40ch;
  font-family: var(--font-brand);
  font-size: 1rem;
  color: var(--ink-soft);
}

/* ============ Native (floating glass components) ============ */

.native {
  position: relative;
  overflow: hidden;
  padding-block: clamp(88px, 11vw, 200px);
  background:
    radial-gradient(50% 60% at 76% 46%, rgba(107, 35, 71, 0.45) 0%, transparent 70%),
    radial-gradient(60% 80% at 0% 0%, rgba(74, 21, 50, 0.9) 0%, transparent 65%),
    linear-gradient(165deg, #2a0b1d 0%, #160610 55%, #0c0509 100%);
  color: var(--ivory);
  isolation: isolate;
}
/* soft diagonal light beam */
.native-beam {
  position: absolute;
  z-index: -1;
  inset: -50%;
  background: linear-gradient(115deg, transparent 40%, rgba(243, 234, 223, 0.05) 50%, transparent 60%);
  pointer-events: none;
}
/* fine film grain */
.native-grain {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.1;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.native-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px clamp(32px, 5vw, 96px);
  align-items: center;
}
.native-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-brand);
  font-size: clamp(0.7rem, 0.8vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory-soft);
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 0 12px 2px rgba(243, 234, 223, 0.45);
}
.native-title {
  margin-top: clamp(20px, 2.2vw, 32px);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.96;
  text-wrap: balance;
}
.native-title em {
  font-style: normal;
  background: linear-gradient(100deg, #f3eadf 10%, #c9a6b6 55%, #f3eadf 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.native-text {
  max-width: 34ch;
  margin-top: clamp(22px, 2.4vw, 36px);
  font-family: var(--font-brand);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.6;
  color: var(--ivory-soft);
}
.native-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(28px, 3vw, 44px);
  padding-top: clamp(22px, 2.4vw, 32px);
  border-top: 1px solid var(--rule-light);
}
.native-tags li {
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--font-brand);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* ---- Stage ---- */
.glass-stage {
  --mx: 0;
  --my: 0;
  position: relative;
  aspect-ratio: 1 / 0.95;
  max-width: 100%;
  isolation: isolate;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--font-brand);
  container-type: inline-size;
}
.layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  translate: calc(var(--mx) * var(--z) * 18px) calc(var(--my) * var(--z) * 14px);
  transition: translate 0.6s var(--ease);
}
.halo {
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 48%;
  width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 56%, rgba(243, 234, 223, 0.08) 56.2%, transparent 56.6%),
    radial-gradient(circle, transparent 69%, rgba(243, 234, 223, 0.05) 69.2%, transparent 69.6%),
    radial-gradient(circle, rgba(107, 35, 71, 0.35), transparent 60%);
  transform: translate(-50%, -50%);
}
.blob {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(10px);
}
.blob--a {
  left: 8%;
  top: 6%;
  width: 34%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 35%, rgba(243, 234, 223, 0.55), rgba(107, 35, 71, 0.7) 50%, transparent 72%);
  opacity: 0.75;
}
.blob--b {
  right: 2%;
  bottom: 4%;
  width: 40%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 40% 40%, rgba(243, 234, 223, 0.7), rgba(150, 110, 120, 0.4) 40%, transparent 70%);
  opacity: 0.35;
}
.blob--c {
  left: 44%;
  top: 34%;
  width: 26%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(176, 72, 124, 0.7), transparent 70%);
  opacity: 0.4;
}

/* ---- Glass material ---- */
.glass,
.glass-phone {
  position: absolute;
  color: #fff;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 255, 255, 0.2) 0%, transparent 45%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.12) 0%, rgba(30, 14, 22, 0.25) 55%, rgba(255, 255, 255, 0.06) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 -1px 1px rgba(255, 255, 255, 0.12),
    inset 10px 12px 26px -14px rgba(255, 255, 255, 0.55),
    inset -8px -10px 24px -16px rgba(243, 234, 223, 0.18),
    0 24px 48px -16px rgba(20, 0, 10, 0.6),
    0 3px 8px rgba(20, 0, 10, 0.22);
  -webkit-backdrop-filter: blur(22px) saturate(115%);
  backdrop-filter: blur(22px) saturate(115%);
  pointer-events: auto;
}
.glass {
  display: flex;
  align-items: center;
  border-radius: 999px;
}
/* specular rim: bright where light hits, fading round the edge */
.glass::before,
.glass-phone::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.08) 38%, rgba(255, 255, 255, 0.04) 62%, rgba(243, 234, 223, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.glass svg {
  width: 100%;
  height: 100%;
}

/* Glass phone (anchor) */
.glass-phone {
  left: 31%;
  top: 3%;
  width: 40%;
  aspect-ratio: 9 / 19.5;
  border-radius: 7.6cqi;
  overflow: hidden;
  transform: rotate(-4deg);
}
.gp-island {
  position: absolute;
  top: 3%;
  left: 50%;
  width: 32%;
  height: 4.2%;
  border-radius: 999px;
  background: rgba(10, 4, 8, 0.85);
  transform: translateX(-50%);
}
.gp-q {
  position: absolute;
  left: 50%;
  top: 56%;
  width: 70%;
  color: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
}
.gp-q svg {
  width: 100%;
  height: auto;
}
.gp-day {
  position: absolute;
  top: 12%;
  width: 100%;
  text-align: center;
  font-size: 2.6cqi;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.8);
}
.gp-time {
  position: absolute;
  top: 15%;
  width: 100%;
  text-align: center;
  font-size: 13cqi;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.9);
  font-variant-numeric: tabular-nums;
}

/* Notification banner */
.glass-notice {
  left: 3%;
  top: 33%;
  gap: 2.6cqi;
  width: 58%;
  padding: 2.6cqi 3.4cqi 2.6cqi 2.6cqi;
  border-radius: 5.4cqi;
}
.notice-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 8.6cqi;
  aspect-ratio: 1;
  padding: 1.8cqi;
  border-radius: 2.2cqi;
  background: var(--black);
  color: var(--ivory);
}
.notice-icon svg {
  width: 100%;
  height: auto;
}
.notice-lines {
  display: grid;
  gap: 0.5cqi;
  min-width: 0;
  font-size: 2.7cqi;
  line-height: 1.15;
  white-space: nowrap;
}
.notice-lines b {
  font-weight: 600;
}
.notice-lines small {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 2.6cqi;
  opacity: 0.82;
}
.notice-time {
  align-self: flex-start;
  margin-left: auto;
  font-size: 2.3cqi;
  opacity: 0.7;
}

/* Voice note card */
.glass-card {
  left: 0;
  top: 55%;
  gap: 3cqi;
  width: 48%;
  padding: 2.6cqi 3.6cqi 2.6cqi 2.6cqi;
  border-radius: 6cqi;
}
.avatar {
  position: relative;
  flex: none;
  width: 9cqi;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: #2a0b1d;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 0 3cqi -0.6cqi rgba(201, 166, 182, 0.45);
  isolation: isolate;
}
/* slow-turning colour field inside the orb */
.avatar::before {
  content: "";
  position: absolute;
  inset: -35%;
  background:
    radial-gradient(circle at 30% 70%, rgba(122, 44, 85, 0.4) 0%, transparent 50%),
    conic-gradient(from 0deg, #f3eadf, #e2c9cf 20%, #a77b8f 40%, #6e3f57 54%, #b08598 70%, #eadbcf 86%, #f3eadf);
  filter: blur(7px);
  z-index: -1;
}
/* glass highlight and depth sitting over the colour */
.avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.25) 18%, transparent 38%),
    radial-gradient(circle at 70% 85%, transparent 45%, rgba(20, 4, 12, 0.3) 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .avatar::before {
    animation:
      orb-turn 14s linear infinite,
      orb-breathe 4.5s ease-in-out infinite alternate;
  }
}
@keyframes orb-turn {
  to {
    rotate: 360deg;
  }
}
@keyframes orb-breathe {
  from {
    scale: 1;
  }
  to {
    scale: 1.1;
  }
}
.card-lines {
  display: grid;
  gap: 0.6cqi;
  font-size: 2.8cqi;
  line-height: 1.1;
  white-space: nowrap;
}
.card-lines b {
  font-weight: 600;
}
.card-lines small {
  font-size: 2.4cqi;
  opacity: 0.75;
  font-variant-numeric: tabular-nums;
}
.mini-wave {
  display: flex;
  align-items: center;
  gap: 0.8cqi;
  height: 6.4cqi;
  margin-left: auto;
}
.mini-wave i {
  width: 0.65cqi;
  height: 40%;
  border-radius: 1cqi;
  background: currentColor;
}
.mini-wave i:nth-child(2),
.mini-wave i:nth-child(8) {
  height: 65%;
}
.mini-wave i:nth-child(4),
.mini-wave i:nth-child(6) {
  height: 90%;
}
.mini-wave i:nth-child(5) {
  height: 100%;
}

/* Toggle */
.glass-toggle {
  right: 0;
  top: 8%;
  gap: 3.4cqi;
  padding: 2cqi 2.2cqi 2cqi 4cqi;
  font-size: 2.8cqi;
  font-weight: 500;
}
.switch {
  position: relative;
  width: 11cqi;
  height: 6.6cqi;
  border-radius: 999px;
  background: #7a2c55;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.switch {
  transition: background-color 0.35s ease;
}
.knob {
  position: absolute;
  top: 0.6cqi;
  right: 0.6cqi;
  width: 5.4cqi;
  height: 5.4cqi;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition:
    translate 0.5s var(--spring),
    width 0.35s var(--spring),
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}
.glass-toggle[aria-checked="false"] .switch {
  background: rgba(255, 255, 255, 0.16);
}
.glass-toggle[aria-checked="false"] .knob {
  translate: -4.4cqi 0;
}
/* pressed: the knob stretches into a clear glass lens */
.glass-toggle:active .knob {
  width: 7.6cqi;
  background: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 4px 14px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(2px) brightness(1.15);
  backdrop-filter: blur(2px) brightness(1.15);
}
.glass-toggle[aria-checked="false"]:active .knob {
  translate: -2.2cqi 0;
}

/* Round button */
.glass-round svg {
  transition: rotate 0.6s var(--spring);
}
.glass-round[aria-pressed="true"] svg {
  rotate: 45deg;
}
.glass-round {
  right: 9%;
  top: 30%;
  justify-content: center;
  width: 13cqi;
  height: 13cqi;
  padding: 3.8cqi;
  border-radius: 50%;
}

/* Slider */
.glass-slider {
  right: 0;
  top: 60%;
  gap: 3cqi;
  width: 44%;
  padding: 2.8cqi 4cqi;
}
.glass-slider > svg {
  flex: none;
  width: 4.4cqi;
  height: 4.4cqi;
}
.track {
  position: relative;
  flex: 1;
  height: 1.3cqi;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}
.fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--v) * 1%);
  border-radius: inherit;
  background: #fff;
}
.thumb {
  position: absolute;
  left: calc(var(--v) * 1%);
  top: 50%;
  width: 6cqi;
  height: 4.2cqi;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -50%);
  transition:
    width 0.35s var(--spring),
    height 0.35s var(--spring),
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}
.track input {
  position: absolute;
  inset: -3cqi -2cqi;
  width: calc(100% + 4cqi);
  height: calc(100% + 6cqi);
  margin: 0;
  opacity: 0;
  cursor: grab;
}
.track input:active {
  cursor: grabbing;
}
/* dragging: the thumb lifts into a glass lens */
.track:has(input:active) .thumb,
.glass-slider.is-dragging .thumb {
  width: 9.4cqi;
  height: 6.4cqi;
  background: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    0 6px 18px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(1.5px) brightness(1.2);
  backdrop-filter: blur(1.5px) brightness(1.2);
}
.track:has(input:focus-visible) {
  outline: 2px solid var(--ivory);
  outline-offset: 2cqi;
}
.glass-slider path.w1,
.glass-slider path.w2 {
  transition: opacity 0.25s ease;
}
.glass-slider[data-level="0"] path.w1,
.glass-slider[data-level="0"] path.w2,
.glass-slider[data-level="1"] path.w2 {
  opacity: 0;
}

/* Tab bar, sitting over the phone's lower edge */
.glass-tabbar {
  left: 27%;
  top: 80%;
  gap: 1cqi;
  padding: 1.3cqi;
}
.glass-tabbar {
  position: absolute;
}
.tab-bubble {
  position: absolute;
  left: 1.3cqi;
  top: 1.3cqi;
  width: 10.4cqi;
  height: 8.2cqi;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  translate: calc(var(--i) * 11.4cqi) 0;
  transition: translate 0.55s var(--spring);
}
.glass-tabbar.is-moving .tab-bubble {
  animation: squish 0.55s var(--ease);
}
@keyframes squish {
  35% {
    scale: 1.35 0.86;
    background: rgba(255, 255, 255, 0.3);
  }
}
.tab {
  position: relative;
  display: grid;
  place-items: center;
  width: 10.4cqi;
  height: 8.2cqi;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition:
    color 0.25s ease,
    scale 0.4s var(--spring);
}
.tab:hover {
  color: #fff;
}
.tab:active {
  scale: 0.9;
}
.tab[aria-selected="true"] {
  color: #fff;
}
.tab svg {
  width: 4.6cqi;
  height: 4.6cqi;
}


/* ---- Glass interactions ---- */
button.glass {
  margin: 0;
  border: 0;
  font-family: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.glass {
  --px: 30%;
  --py: 20%;
  transition: scale 0.55s var(--spring), box-shadow 0.4s ease;
}
/* light that follows the pointer across the glass */
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--px) var(--py), rgba(255, 255, 255, 0.28) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.glass:hover::after,
.glass:focus-within::after {
  opacity: 1;
}
.glass:active::after {
  opacity: 1;
  background: radial-gradient(circle at var(--px) var(--py), rgba(255, 255, 255, 0.42) 0%, transparent 60%);
}
.is-press:hover,
.glass-slider:hover,
.glass-tabbar:hover {
  scale: 1.025;
}
.is-press:active {
  scale: 1.07;
}
.glass-slider.is-dragging {
  scale: 1.05;
}
.native-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-family: var(--font-brand);
  font-size: 0.85rem;
  color: var(--ivory-soft);
}
.native-hint span {
  width: 18px;
  height: 1px;
  background: currentColor;
}

/* voice note paused */
.glass-card[aria-pressed="false"] .mini-wave i,
.glass-card[aria-pressed="false"] .avatar::before {
  animation-play-state: paused;
}
.glass-card[aria-pressed="false"] .mini-wave {
  opacity: 0.45;
}
.mini-wave {
  transition: opacity 0.3s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .float:hover,
  .float:focus-within,
  .float:active,
  .float.is-dragging {
    animation-play-state: paused;
  }
  .float {
    animation: float 8s ease-in-out infinite;
    animation-delay: var(--d, 0s);
  }
  .mini-wave i {
    animation: wave 1.2s ease-in-out infinite alternate;
  }
  .mini-wave i:nth-child(odd) {
    animation-delay: -0.6s;
  }
  .native-beam {
    animation: beam 14s ease-in-out infinite alternate;
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-0.5deg);
  }
  50% {
    transform: translateY(-1.6cqi) rotate(0.5deg);
  }
}
@keyframes beam {
  to {
    transform: translateX(-12%);
  }
}

/* ============ About ============ */

.about {
  position: relative;
  overflow: hidden;
  padding-block: clamp(96px, 12vw, 220px);
  isolation: isolate;
}
.about-q {
  position: absolute;
  z-index: -1;
  right: -6%;
  bottom: -14%;
  width: clamp(280px, 38vw, 640px);
  color: var(--ivory-deep);
}
.about-q svg {
  width: 100%;
  height: auto;
}
.about-body {
  max-width: 1200px;
  margin-inline: auto;
}
.about-statement {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.4vw, 6.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}
.about-mark {
  color: var(--plum);
}
.about-quiet {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: clamp(32px, 4vw, 64px);
  padding-left: 42%;
  font-family: var(--font-brand);
  font-size: clamp(1rem, 1.5vw, 1.55rem);
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}
.about-dash {
  flex: none;
  width: clamp(28px, 4vw, 64px);
  height: 1px;
  background: currentColor;
}

/* ============ Footer ============ */

.site-footer {
  padding-block: clamp(64px, 7vw, 120px) clamp(24px, 3vw, 40px);
  background: var(--black);
  color: var(--ivory);
  font-family: var(--font-brand);
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px clamp(32px, 4vw, 72px);
}
.footer-label {
  margin-bottom: 20px;
  color: var(--ivory-soft);
}
.footer-email {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.4vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left 100% / 100% 1px no-repeat;
  padding-bottom: 6px;
  transition: color 0.25s ease;
}
.footer-email:hover {
  color: #e7c9d8;
}
.footer-company {
  display: grid;
  gap: 2px;
  margin-top: 26px;
  font-style: normal;
  line-height: 1.6;
  color: var(--ivory-soft);
  font-size: 1rem;
}
.footer-nav ul {
  display: grid;
  gap: 8px;
}
.footer-nav a {
  display: inline-block;
  padding: 4px 0;
  text-decoration: none;
  color: var(--ivory);
  transition: color 0.2s ease;
}
.footer-nav a:hover {
  color: #e7c9d8;
}

.footer-signature {
  position: relative;
  align-self: center;
  justify-self: end;
  width: clamp(220px, 28vw, 460px);
  color: #fbf8f4;
  isolation: isolate;
}
/* soft plum light behind the signature */
.footer-signature::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -60% -40%;
  background: radial-gradient(closest-side, rgba(107, 35, 71, 0.55), rgba(74, 21, 50, 0.18) 55%, transparent 100%);
  pointer-events: none;
}
.footer-signature svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(243, 234, 223, 0.18));
}
/* written in from left to right when it scrolls into view (only when JS and motion allow) */
.sig-ready .footer-signature svg {
  clip-path: inset(-10% 100% -10% 0);
}
.sig-ready .footer-signature.is-in svg {
  clip-path: inset(-10% -2% -10% 0);
  transition: clip-path 2.6s cubic-bezier(0.55, 0.1, 0.25, 1) 0.2s;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(64px, 8vw, 136px);
  padding-top: 20px;
  border-top: 1px solid var(--rule-light);
  color: var(--ivory-soft);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

/* ============ Responsive ============ */

@media (max-width: 860px) {
  .hero-foot,
  .native-grid,
  .feature,
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature-visual {
    min-height: 0;
    aspect-ratio: 4 / 4.6;
    max-width: 100%;
  }
  .phone {
    width: 50%;
    min-width: 0;
  }
  .about-quiet {
    padding-left: 0;
  }
}

@media (max-width: 860px) {
  .footer-signature {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .brand-name {
    display: none;
  }
  .nav-list {
    gap: 20px;
  }
}

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