:root {
  --bg: #fbfaf7;
  --bg-2: #f4efe6;
  --card: #ffffff;
  --text: #0b1120;
  --muted: #5b6678;
  --muted-2: #7a8494;
  --line: #e7e0d4;
  --line-dark: rgba(255,255,255,0.14);

  --gold: #b8872d;
  --gold-dark: #9b6b22;
  --gold-light: #d8b461;
  --gold-soft: #fff4dc;
  --dark: #0b1120;
  --dark-2: #111827;
  --sky: #9fdbe8;

  --shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.045);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 76% 0%, rgba(216, 180, 97, 0.22), transparent 34%),
    radial-gradient(circle at 75% 240px, rgba(216, 180, 97, 0.12), transparent 24%),
    radial-gradient(circle at 8% 0%, rgba(11, 17, 32, 0.045), transparent 26%),
    linear-gradient(180deg, #fffdf8 0%, var(--bg) 44%, var(--bg-2) 100%);
}

a {
  color: inherit;
}

.page {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  padding: 30px 0 56px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 18px 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-text strong {
  font-size: 18px;
  line-height: 1.2;
}

.brand-text span {
  font-size: 15px;
  color: var(--muted);
  font-weight: 720;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 17px;
  font-weight: 800;
  color: #263244;
}

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

.nav-links a:hover {
  color: var(--gold);
}

.hero {
  margin-top: 8px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(231, 224, 212, 0.86);
  border-radius: 30px;
  padding: 42px 48px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(201, 138, 22, 0.65);
}

.hero .eyebrow {
  display: none;
}

h1 {
  max-width: 920px;
  font-size: clamp(40px, 5.8vw, 64px);
  line-height: 1.02;
  letter-spacing: -2.2px;
  margin: 0 0 20px;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  max-width: 760px;
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 26px;
  position: relative;
  z-index: 1;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.proof-pill {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  color: #354255;
  font-size: 13px;
  font-weight: 760;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 850;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.button-primary {
  background: var(--dark);
  color: white;
  border: 1px solid rgba(242, 193, 93, 0.40);
  box-shadow: 0 14px 30px rgba(11, 17, 32, 0.18), 0 0 32px rgba(242, 193, 93, 0.12);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(11, 17, 32, 0.22), 0 0 42px rgba(242, 193, 93, 0.18);
}

.button-secondary {
  background: rgba(255,255,255,0.75);
  color: var(--dark);
  border: 1px solid var(--line);
}

.button-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 138, 22, 0.45);
}

.email-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}

.hero .email-button {
  font-size: 18px;
}

.email-button:hover {
  color: var(--gold);
  text-decoration: underline;
}

section {
  margin-top: 34px;
}

.section {
  padding: 28px 34px 34px;
  border: 1px solid rgba(231, 224, 212, 0.95);
  border-radius: 26px;
  background: rgba(255,255,255,0.68);
  box-shadow: var(--shadow-soft);
}

.section-dark {
  background: linear-gradient(135deg, #0b1120 0%, #151b2b 100%);
  color: white;
  border-color: rgba(242, 193, 93, 0.20);
}

.section-dark p {
  color: #d5d9e1;
}

.section-header {
  max-width: 920px;
  margin-bottom: 24px;
}

.kicker {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 11px;
  line-height: 1;
}

h2 {
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.9px;
  margin: 0 0 10px;
}

.section-header p {
  color: var(--muted);
  margin: 0;
  font-size: 17px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.045);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(242, 193, 93, 0.35));
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #334155;
  font-size: 14px;
}

.card li {
  margin: 5px 0;
}

.work-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  text-decoration: none;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 135, 45, 0.48);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.work-card p {
  min-height: 78px;
}

.work-card ul {
  min-height: 86px;
}

.tag {
  width: fit-content;
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--gold-dark);
  background: var(--gold-soft);
  font-size: 12px;
  font-weight: 850;
}

.work-card .bottom {
  margin-top: auto;
  padding-top: 18px;
  font-size: 14px;
  font-weight: 900;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}

.hover-arrow {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
  transform: translateY(0px);
}

.hover-arrow .arrow-line {
  stroke-dasharray: 7;
  stroke-dashoffset: 7;
  transition: stroke-dashoffset 0.22s ease;
}

.hover-arrow .arrow-head {
  transition: transform 0.22s ease;
}

.work-card:hover .hover-arrow .arrow-line {
  stroke-dashoffset: 0;
}

.work-card:hover .hover-arrow .arrow-head {
  transform: translateX(2px);
}

.note {
  border-left: 3px solid var(--gold);
  padding: 16px 18px;
  background: rgba(255, 245, 220, 0.48);
  border-radius: 16px;
  color: #4a5568;
}

.cta-panel {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 112px;
}

.cta-panel > div:first-child {
  max-width: 620px;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-panel h2 {
  margin-bottom: 8px;
}

.footer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand {
  font-weight: 780;
  color: #3b4658;
}

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

.footer a {
  color: var(--muted);
  text-decoration: none;
}

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

.content-page {
  max-width: 850px;
}

.content-block {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.content-block h1 {
  font-size: clamp(38px, 6vw, 58px);
  margin-bottom: 18px;
}

.content-block h2 {
  margin-top: 28px;
  font-size: 24px;
}

.content-block p,
.content-block li {
  color: var(--muted);
}

.content-block a {
  color: var(--gold);
  font-weight: 750;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 0;
}

.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.legal-table th {
  width: 210px;
  color: var(--text);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: var(--dark);
  color: white;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding: 32px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .footer {
    flex-direction: column;
  }

  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table th {
    padding-bottom: 0;
  }
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 28px, 1080px);
    padding-top: 20px;
  }

  .hero,
  .section,
  .content-block {
    padding: 24px;
    border-radius: 22px;
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }
}
