:root {
  --bg: #f6f0e4;
  --surface: #fffaf0;
  --surface-soft: #e8ded0;
  --stone: #7e8174;
  --stone-dark: #3b423d;
  --ink: #17201c;
  --muted: #5d665f;
  --line: #cfc4b1;
  --accent: #0f766e;
  --accent-strong: #134e4a;
  --amber: #d9982d;
  --copper: #a94f2d;
  --shadow: 0 20px 48px rgba(54, 48, 38, .18);
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background:
    linear-gradient(120deg, rgba(15, 118, 110, .12), transparent 34%),
    linear-gradient(240deg, rgba(217, 152, 45, .22), transparent 38%),
    repeating-linear-gradient(135deg, rgba(59, 66, 61, .035) 0 1px, transparent 1px 22px),
    var(--bg);
}

a {
  color: inherit;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 46px;
}

.hero {
  display: grid;
  gap: 30px;
  min-height: 62vh;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.contact-link,
.primary-button {
  text-decoration: none;
  font-weight: 800;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  letter-spacing: 0;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12), 0 10px 20px rgba(15, 118, 110, .18);
}

.contact-link {
  color: var(--accent-strong);
  padding: 10px 14px;
  border: 1px solid rgba(15, 118, 110, .24);
  border-radius: 8px;
  background: rgba(255, 250, 240, .72);
}

.hero-content {
  position: relative;
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 30px;
  align-items: center;
  max-width: 1040px;
  padding: 44px;
  border: 1px solid rgba(255, 250, 240, .3);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(49, 54, 50, .96), rgba(15, 118, 110, .88) 56%, rgba(169, 79, 45, .74)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  color: #fff;
  overflow: hidden;
}

.hero-content::before,
.hero-content::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-content::before {
  inset: 14px;
  border: 1px solid rgba(255, 250, 240, .2);
  border-radius: 8px;
}

.hero-content::after {
  width: 180px;
  height: 100%;
  right: 0;
  top: 0;
  background: linear-gradient(90deg, transparent, rgba(217, 152, 45, .16));
  transform: skewX(-11deg);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.app-status {
  margin: 0 0 10px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  color: rgba(255, 255, 255, .8);
}

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

h1 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: .92;
  letter-spacing: 0;
}

.hero-copy p:last-child {
  max-width: 680px;
  margin-top: 22px;
  color: rgba(255, 255, 255, .86);
  font-size: 1.08rem;
  line-height: 1.7;
}

.vault-stone {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(250px, 100%);
  aspect-ratio: 1;
  justify-self: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, #b8b39f, #777b71 54%, #3d4640 100%);
  box-shadow:
    inset 0 16px 28px rgba(255, 255, 255, .18),
    inset 0 -18px 30px rgba(0, 0, 0, .26),
    0 20px 48px rgba(0, 0, 0, .24);
}

.vault-ring {
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  border: 14px solid rgba(255, 250, 240, .2);
  outline: 2px dashed rgba(255, 250, 240, .36);
  outline-offset: -28px;
}

.vault-lock {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), #f4c766);
  color: var(--stone-dark);
  font-size: 1.45rem;
  font-weight: 900;
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .13);
}

.vault-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 28px;
}

.vault-strip span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(59, 66, 61, .16);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 250, 240, .92), rgba(232, 222, 208, .84));
  color: var(--stone-dark);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(54, 48, 38, .09);
}

.apps-section {
  display: grid;
  gap: 18px;
}

.section-heading h2 {
  font-size: 2rem;
}

.section-heading .eyebrow {
  color: var(--copper);
}

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

.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .55), transparent),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.app-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--accent), var(--amber), var(--copper));
}

.primary-app {
  border-color: rgba(15, 118, 110, .35);
  background:
    linear-gradient(180deg, rgba(15, 118, 110, .06), transparent 48%),
    var(--surface);
}

.payment-card {
  background:
    linear-gradient(180deg, rgba(217, 152, 45, .12), transparent 50%),
    #fffaf0;
  border-color: rgba(19, 78, 74, .24);
}

.muted-card {
  background:
    linear-gradient(180deg, rgba(126, 129, 116, .12), transparent 56%),
    var(--surface-soft);
  box-shadow: none;
}

.app-status {
  color: var(--copper);
}

.app-card h3 {
  margin-bottom: 12px;
  font-size: 1.65rem;
}

.app-card p:last-child {
  color: var(--muted);
  line-height: 1.65;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .15), 0 12px 24px rgba(15, 118, 110, .18);
}

.portal-panel {
  display: grid;
  gap: 18px;
  margin-top: 42px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, .97), rgba(232, 222, 208, .78)),
    var(--surface);
  box-shadow: var(--shadow);
}

.portal-panel h1 {
  max-width: 12ch;
}

.portal-panel > p:last-of-type {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
}

.payment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.payment-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.payment-form input,
.payment-form select,
.payment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: rgba(255, 255, 255, .82);
}

.payment-form textarea {
  resize: vertical;
}

.full-field {
  grid-column: 1 / -1;
}

@media (max-width: 820px) {
  .hero-content {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .vault-stone {
    width: 190px;
  }

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

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

  .payment-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 22px, 1180px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(2.4rem, 16vw, 4rem);
  }

  .vault-strip {
    grid-template-columns: 1fr;
  }
}
