@font-face {
  font-family: "Velare Georgian";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/notoserifgeorgian-georgian-400-v29.woff2") format("woff2");
  unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBF, U+2D00-2D2F;
}

@font-face {
  font-family: "Velare Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrumentserif-latin-400-v5.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --paper: #faf8f5;
  --paper-deep: #f2ede8;
  --ink: #20191c;
  --muted: #6e6468;
  --wine: #76283a;
  --wine-dark: #35141e;
  --line: rgba(32, 25, 28, 0.13);
  --shell: 1160px;
}

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

html {
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 83% 12%, rgba(118, 40, 58, 0.07), transparent 25rem),
    var(--paper);
  color: var(--ink);
  font-family: "Velare Georgian", Georgia, serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 2;
  padding-top: max(20px, env(safe-area-inset-top));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border-radius: 999px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(118, 40, 58, 0.19);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  transition: border-color 180ms ease, transform 180ms ease;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brand-name {
  color: var(--wine);
  font-family: "Velare Serif", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0.01em;
}

.brand:hover .brand-mark {
  border-color: rgba(118, 40, 58, 0.36);
  transform: translateY(-1px);
}

.brand:focus-visible {
  outline: 3px solid rgba(118, 40, 58, 0.32);
  outline-offset: 5px;
}

.hero {
  padding: 34px 0 74px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: 46px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  align-self: center;
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--wine);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  width: 100%;
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.12rem, 10.2vw, 3.25rem);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

h1 span {
  display: block;
  max-width: 100%;
}

.hero-lede {
  max-width: 36rem;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 4.25vw, 1.12rem);
  line-height: 1.7;
}

.app-store-link {
  display: inline-flex;
  margin-top: 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.app-store-link img {
  width: 174px;
  height: auto;
}

.app-store-link:hover {
  transform: translateY(-2px);
}

.app-store-link:active {
  transform: translateY(0);
}

.app-store-link:focus-visible,
.qr-link:focus-visible {
  outline: 3px solid rgba(118, 40, 58, 0.36);
  outline-offset: 5px;
}

.app-preview {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 525px;
  place-items: start center;
}

.preview-halo {
  position: absolute;
  top: 8%;
  left: 50%;
  width: min(92vw, 470px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 38%, rgba(255, 255, 255, 0.95), rgba(236, 220, 219, 0.62) 46%, rgba(118, 40, 58, 0.08) 68%, transparent 70%);
  filter: blur(1px);
  transform: translateX(-50%);
}

.iphone-frame {
  position: relative;
  z-index: 1;
  width: min(69vw, 264px);
  padding: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 38px;
  background: #171416;
  box-shadow:
    0 34px 70px rgba(58, 29, 38, 0.22),
    0 10px 24px rgba(58, 29, 38, 0.13),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.iphone-frame picture {
  display: block;
}

.iphone-frame img {
  width: 100%;
  height: auto;
  border-radius: 31px;
}

.benefits {
  padding: 82px 0 90px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.section-intro {
  max-width: 680px;
}

.section-intro h2,
.download-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 3.25rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.benefit-grid {
  display: grid;
  gap: 0;
  margin-top: 46px;
  border-top: 1px solid var(--line);
}

.benefit-card {
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--line);
}

.benefit-number {
  color: var(--wine);
  font-family: "Velare Serif", Georgia, serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.benefit-card h3 {
  margin: 18px 0 9px;
  font-size: 1.23rem;
  font-weight: 600;
  line-height: 1.45;
}

.benefit-card p {
  max-width: 32rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.download-section {
  padding: 38px 0;
  background: #fff;
}

.download-card {
  position: relative;
  overflow: hidden;
  padding: 50px 28px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 10%, rgba(181, 82, 106, 0.28), transparent 19rem),
    linear-gradient(140deg, var(--wine-dark), #1c1216 72%);
  color: #fff;
}

.download-card::after {
  position: absolute;
  right: -90px;
  bottom: -180px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
}

.download-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.download-copy .eyebrow {
  color: #e7b9c4;
}

.download-copy > p:not(.eyebrow) {
  max-width: 36rem;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.app-store-link--light:focus-visible {
  outline-color: rgba(255, 255, 255, 0.7);
}

.qr-block {
  display: none;
}

.footer {
  padding: 34px 0 max(34px, env(safe-area-inset-bottom));
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #6f6468;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
}

.footer .brand-name {
  font-size: 1.2rem;
}

@media (min-width: 700px) {
  .shell {
    width: min(var(--shell), calc(100% - 72px));
  }

  .site-header {
    padding-top: 28px;
  }

  .hero {
    padding: 50px 0 88px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.78fr);
    align-items: center;
    gap: 44px;
  }

  h1 {
    font-size: clamp(3rem, 6.2vw, 4.5rem);
    line-height: 1.2;
  }

  .app-preview {
    min-height: 640px;
    place-items: center;
  }

  .iphone-frame {
    width: min(34vw, 302px);
    padding: 8px;
    border-radius: 43px;
  }

  .iphone-frame img {
    border-radius: 35px;
  }

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

  .benefit-card {
    min-height: 255px;
    padding: 30px 28px 20px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .benefit-card:first-child {
    padding-left: 0;
  }

  .benefit-card:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .download-section {
    padding: 72px 0;
  }

  .download-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    align-items: center;
    gap: 54px;
    padding: 64px clamp(44px, 7vw, 88px);
    border-radius: 34px;
  }

  .qr-block {
    position: relative;
    z-index: 1;
    display: block;
  }

  .qr-link {
    display: grid;
    gap: 12px;
    justify-items: center;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
  }

  .qr-image {
    display: grid;
    width: 164px;
    height: 164px;
    place-items: center;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
  }

  .qr-image img {
    width: 146px;
    height: 146px;
  }
}

@media (min-width: 1024px) {
  .site-header {
    padding-top: 34px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .hero {
    min-height: 760px;
    padding: 34px 0 92px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 80px;
  }

  .hero-lede {
    margin-top: 26px;
    font-size: 1.12rem;
  }

  .app-store-link {
    margin-top: 28px;
  }

  .app-store-link img {
    width: 184px;
  }

  .app-preview {
    min-height: 650px;
  }

  .iphone-frame {
    width: 306px;
  }

  .benefits {
    padding: 112px 0 120px;
  }
}

@media (max-width: 380px) {
  .shell {
    width: calc(100% - 32px);
  }

  .hero {
    padding-top: 28px;
  }

  .hero-lede {
    line-height: 1.6;
  }

  .app-preview {
    min-height: 485px;
  }

  .iphone-frame {
    width: min(72vw, 244px);
  }

  .download-card {
    padding: 42px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}
