:root {
  --ink: #121018;
  --ink-soft: #2a2733;
  --cream: #f6f1e8;
  --cream-2: #ece4d4;
  --paper: #fffdf8;
  --gold: #c4a05a;
  --gold-2: #e8d7b0;
  --gold-deep: #8b6a32;
  --navy: #0a0e27;
  --navy-2: #12183a;
  --line: rgba(196, 160, 90, 0.28);
  --muted: #7a7468;
  --blue: #4d8dff;
  --green: #2fbe7a;
  --shadow: 0 30px 80px rgba(8, 10, 16, 0.35);
  --radius: 22px;
  --max: 1180px;
  --sans: "Outfit", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
}

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

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip:focus {
  left: 8px;
  z-index: 50;
  background: #fff;
  padding: 8px 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(10, 14, 39, 0.78);
  border-bottom: 1px solid rgba(232, 215, 176, 0.12);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-weight: 560;
  letter-spacing: 0.02em;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 26%;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: rgba(246, 241, 232, 0.78);
  font-size: 0.92rem;
}

.nav a:hover,
.nav a.is-active {
  color: var(--gold-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 580;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

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

.btn-gold {
  background: linear-gradient(180deg, #ead7b0, #c4a05a);
  color: #1a140c;
}

.btn-ghost {
  border-color: rgba(232, 215, 176, 0.35);
  color: var(--gold-2);
  background: transparent;
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--cream);
  font-size: 1.4rem;
}

.hero {
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(77, 141, 255, 0.18), transparent 55%),
    radial-gradient(700px 380px at 10% 110%, rgba(196, 160, 90, 0.16), transparent 50%),
    var(--navy);
  color: var(--cream);
  overflow: hidden;
  padding: 72px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.95fr);
  gap: 36px;
  align-items: start;
}

.hero-copy .device-stage {
  margin: 0 0 20px;
}

.hero-copy .device-stage > img:not(.brand-mark) {
  aspect-ratio: 16 / 9;
}

.hero-copy .kicker {
  margin: 0 0 10px;
}

.hero-copy h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  line-height: 1.08;
  margin: 0 0 12px;
}

.hero-copy .lede {
  font-size: 0.98rem;
  line-height: 1.45;
  margin: 0 0 16px;
  max-width: 34rem;
}

.hero-copy .hero-flow-label {
  color: rgba(246, 241, 232, 0.74);
  font-size: 0.92rem;
  font-weight: 500;
  margin: 0 0 8px;
  max-width: 34rem;
}

.hero-copy .hero-flow {
  color: var(--gold-2);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 14px;
  max-width: 36rem;
}

.hero-copy .hero-promise {
  margin-bottom: 16px;
}

.hero-copy .hero-actions {
  margin-bottom: 12px;
}

.hero-copy .fine {
  font-size: 0.78rem;
}

.kicker {
  color: var(--gold-2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin: 0 0 16px;
}

h1,
h2,
.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  margin: 0 0 20px;
}

.lede {
  max-width: 38rem;
  color: rgba(246, 241, 232, 0.74);
  font-size: 1.12rem;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 36px;
}

.app-badge {
  height: 44px;
  width: auto;
}

.fine {
  color: rgba(246, 241, 232, 0.5);
  font-size: 0.86rem;
}

.device-stage {
  position: relative;
  isolation: isolate;
}

.device-stage::before {
  content: "";
  position: absolute;
  inset: 18% 6% -8% 6%;
  background: radial-gradient(ellipse at center, rgba(196, 160, 90, 0.3), transparent 68%);
  filter: blur(28px);
  z-index: 0;
}

.device-stage > img:not(.brand-mark) {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 24px;
  box-shadow:
    0 40px 90px rgba(8, 10, 16, 0.55),
    0 0 0 1px rgba(232, 215, 176, 0.22);
}

.device-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 24px;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--navy) 0%, rgba(10, 14, 39, 0.28) 10%, transparent 26%),
    linear-gradient(180deg, transparent 62%, rgba(10, 14, 39, 0.45) 86%, var(--navy) 100%);
}

.brand-mark {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 26%;
  overflow: hidden;
  pointer-events: none;
  box-shadow: 0 8px 22px rgba(8, 10, 16, 0.32);
}

.device-stage .brand-mark,
.hw-hero-shot .brand-mark {
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
}

.ipad {
  width: min(100%, 560px);
  background: #0a0c12;
  border: 10px solid #1c2230;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ipad img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
}

.iphone {
  position: absolute;
  right: 8%;
  bottom: -28px;
  width: 210px;
  background: #050608;
  border: 8px solid #1a1d26;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.iphone img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(232, 215, 176, 0.12);
  margin-top: 56px;
}

.stats div {
  padding: 22px 0;
  border-right: 1px solid rgba(232, 215, 176, 0.12);
  text-align: center;
}

.stats div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--gold-2);
}

.stats span {
  color: rgba(246, 241, 232, 0.58);
  font-size: 0.88rem;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 0 40px;
}

.section-head h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin: 0 0 12px;
}

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

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.card {
  background: var(--paper);
  border: 1px solid rgba(18, 16, 24, 0.08);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 180px;
}

.card.wide {
  grid-column: span 6;
}

.card.tall {
  grid-column: span 4;
}

.card h3 {
  margin: 10px 0 8px;
  font-size: 1.15rem;
}

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

.icon-dot {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(196, 160, 90, 0.16);
  color: var(--gold-deep);
  font-size: 1.1rem;
}

.hw-hero-shot {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  margin: 0 0 36px;
}

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

.hw-card {
  position: relative;
  background: var(--paper);
  border: 1px solid rgba(18, 16, 24, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 0;
  padding: 0 0 18px;
}

.hw-card img:not(.brand-mark) {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.hw-card h3 {
  margin: 14px 16px 6px;
  font-size: 1.15rem;
}

.hw-card p {
  margin: 0 16px;
  color: var(--muted);
}

.hw-inline {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  margin: 8px 0 18px;
  display: block;
}

.shot {
  position: relative;
  display: block;
  overflow: hidden;
}

.shot.hw-hero-shot {
  width: 100%;
  border-radius: var(--radius);
  margin: 0 0 36px;
}

.shot.hw-hero-shot img:not(.brand-mark) {
  width: 100%;
  display: block;
}

.shot.hw-inline-shot {
  max-width: 480px;
  margin: 8px 0 18px;
  border-radius: 16px;
}

.shot.hw-inline-shot .hw-inline {
  max-width: none;
  margin: 0;
}

.hw-pair .shot {
  border-radius: 16px;
}

.hw-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
  margin: 8px 0 18px;
  max-width: 920px;
}

.hw-pair img:not(.brand-mark) {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 16px;
  display: block;
}

.hw-pair .hw-printer {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hw-pair .hw-receipt {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #ece4d4;
  border: 1px solid rgba(18, 16, 24, 0.08);
}

.hw-pair.hw-letter {
  align-items: start;
}

.hw-pair .hw-airprint-slip {
  aspect-ratio: 8.5 / 11;
  box-sizing: border-box;
  padding: 10px;
}

.hw-pair .hw-thermal-slip {
  aspect-ratio: 3 / 5;
  box-sizing: border-box;
  padding: 16px 14px;
}

.hw-pair .hw-postcard {
  aspect-ratio: 3.5 / 5;
  box-sizing: border-box;
  padding: 12px;
  border: none;
}

.hw-pair.hw-trio {
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 920px;
}

.gallery {
  background: var(--navy);
  color: var(--cream);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tabs button {
  border: 1px solid rgba(232, 215, 176, 0.2);
  background: transparent;
  color: var(--gold-2);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font: inherit;
}

.tabs button.is-on {
  background: var(--gold-2);
  color: #1a140c;
}

.device-shots {
  display: none;
}

.device-shots.is-on {
  display: block;
}

.phone-grid,
.ipad-grid {
  display: grid;
  gap: 18px;
}

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

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

.phone-card,
.ipad-card {
  margin: 0;
}

.phone-card button,
.ipad-card button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #0a0c12;
  cursor: zoom-in;
}

.phone-card button {
  border-radius: 22px;
  border: 6px solid #1c2230;
  overflow: hidden;
}

.ipad-card button {
  border-radius: 16px;
  border: 8px solid #1c2230;
  overflow: hidden;
}

.phone-card img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
}

.ipad-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
}

.phone-card figcaption,
.ipad-card figcaption {
  margin-top: 8px;
  color: rgba(246, 241, 232, 0.7);
  font-size: 0.88rem;
  text-align: center;
}

.lightbox {
  position: relative;
  border: 0;
  padding: 28px 12px 12px;
  background: rgba(6, 8, 12, 0.94);
  max-width: min(1100px, 94vw);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

.lightbox img {
  display: block;
  max-width: 94vw;
  max-height: 86vh;
  margin: 0 auto;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--gold-2);
  color: #1a140c;
  font: inherit;
  cursor: pointer;
}

.icloud {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.note {
  background: var(--navy-2);
  color: var(--cream);
  border-radius: 28px;
  padding: 32px;
}

.note li {
  margin: 10px 0;
  color: rgba(246, 241, 232, 0.78);
}

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.price {
  background: var(--paper);
  border-radius: 28px;
  padding: 32px;
  border: 1px solid rgba(18, 16, 24, 0.08);
}

.price.featured {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--gold);
}

.price .amount {
  font-family: var(--serif);
  font-size: 3.4rem;
  margin: 8px 0 4px;
}

.price ul {
  padding-left: 18px;
  color: var(--muted);
}

.price.featured ul {
  color: rgba(246, 241, 232, 0.74);
}

.cta {
  background:
    linear-gradient(180deg, rgba(196, 160, 90, 0.14), transparent),
    var(--navy);
  color: var(--cream);
  text-align: center;
}

.cta h2 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  margin: 0 0 12px;
}

.demo-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  background: rgba(255, 253, 248, 0.06);
  border: 1px solid rgba(232, 215, 176, 0.22);
  border-radius: 28px;
  padding: 28px;
  box-shadow:
    0 40px 90px rgba(8, 10, 16, 0.45),
    0 0 0 1px rgba(232, 215, 176, 0.12);
}

.demo-form h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin: 0;
  letter-spacing: -0.03em;
}

.demo-form .muted {
  color: rgba(246, 241, 232, 0.62);
  margin: 0 0 6px;
}

.demo-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.demo-form label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
}

.demo-form .full {
  grid-column: 1 / -1;
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  border: 1px solid rgba(232, 215, 176, 0.28);
  border-radius: 12px;
  background: rgba(10, 14, 39, 0.45);
  color: var(--cream);
  font: inherit;
  padding: 12px 14px;
}

.demo-form input::placeholder,
.demo-form textarea::placeholder {
  color: rgba(246, 241, 232, 0.38);
}

.demo-form input:focus,
.demo-form textarea:focus {
  outline: 2px solid var(--gold-2);
  outline-offset: 1px;
}

.demo-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.demo-form .btn {
  width: 100%;
  margin-top: 6px;
}

.demo-form .form-status {
  margin: 0;
  color: var(--gold-2);
  font-size: 0.9rem;
}

.page-hero {
  background: var(--navy);
  color: var(--cream);
  padding: 72px 0 48px;
}

.event-album {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(180px, 26vw);
  gap: 6px;
}

.event-shot {
  margin: 0;
  min-height: 0;
}

.event-album .event-shot:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.event-shot button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #1a140c;
  cursor: zoom-in;
  border-radius: 10px;
  overflow: hidden;
}

.event-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 22%;
}

.event-upcoming {
  background: var(--cream-2);
}

.upcoming-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.upcoming-grid .card p:last-of-type {
  margin-bottom: 0;
}

.upcoming-grid .btn {
  display: inline-flex;
  margin-top: 8px;
}

.event-upcoming .muted a {
  color: var(--gold-deep);
  text-decoration: underline;
}

.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: 2rem;
  margin: 36px 0 10px;
}

.feature-list h2 {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.feature-list h2:first-child {
  border-top: 0;
  padding-top: 0;
}

.prose h3 {
  margin: 24px 0 8px;
}

.faq details {
  background: var(--paper);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 10px 0;
  border: 1px solid rgba(18, 16, 24, 0.08);
}

.site-footer {
  background: #0a0e27;
  color: rgba(246, 241, 232, 0.7);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer a:hover {
  color: var(--gold-2);
}

.legal {
  border-top: 1px solid rgba(232, 215, 176, 0.12);
  padding-top: 16px;
  font-size: 0.82rem;
  color: rgba(246, 241, 232, 0.45);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    inset: 72px 16px auto;
    background: #12183a;
    border: 1px solid rgba(232, 215, 176, 0.14);
    border-radius: 16px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav.is-open {
    display: flex;
  }

  .hero-grid,
  .icloud,
  .pricing,
  .footer-grid,
  .demo-fields {
    grid-template-columns: 1fr;
  }

  .device-stage,
  .hero .demo-form {
    max-width: 560px;
    margin: 8px auto 0;
  }

  .device-stage::after {
    background: linear-gradient(180deg, transparent 68%, rgba(10, 14, 39, 0.4) 88%, var(--navy) 100%);
  }

  .card.wide,
  .card.tall {
    grid-column: span 12;
  }

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

  .event-album {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(180px, 42vw);
  }

  .event-album .event-shot:first-child {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 52vw;
  }

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

  .hw-pair {
    grid-template-columns: 1fr;
  }

  .hw-pair.hw-trio {
    grid-template-columns: 1fr;
  }

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

  .stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(232, 215, 176, 0.12);
  }

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

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