:root {
  --ink: #111315;
  --navy: #17202a;
  --text: #262a2f;
  --muted: #68707a;
  --line: #d8dde2;
  --paper: #ffffff;
  --soft: #f4f2ee;
  --accent: #865f2f;
  --accent-dark: #5c421f;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.utility-bar,
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 72px);
}

.utility-bar {
  min-height: 34px;
  justify-content: flex-end;
  gap: 22px;
  color: var(--muted);
  font-size: 12px;
  border-bottom: 1px solid #edf0f2;
}

.main-nav {
  min-height: 78px;
  gap: 36px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
}

.brand-mark img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text);
  font-size: 15px;
}

nav a,
.utility-bar a,
.text-link {
  border-bottom: 1px solid transparent;
}

nav a:hover,
.utility-bar a:hover,
.text-link:hover {
  border-color: currentColor;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  color: #ffffff;
  overflow: hidden;
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 15, 19, 0.9), rgba(10, 15, 19, 0.64) 48%, rgba(10, 15, 19, 0.24)),
    url("assets/legatum-hero.png") center right / cover no-repeat;
  filter: saturate(0.7);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 92px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d8b981;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 26px;
  font-size: clamp(48px, 7vw, 94px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 600;
}

p {
  line-height: 1.7;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(19px, 2vw, 24px);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 42px;
}

.hero-links a,
.text-link {
  color: inherit;
  font-weight: 700;
}

.hero-links a::after,
.text-link::after {
  content: "  >";
}

.statement {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(24px, 6vw, 86px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) 20px;
  border-bottom: 1px solid var(--line);
}

.statement-label {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.statement p {
  max-width: 900px;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3.5vw, 44px);
  line-height: 1.18;
}

.section,
.contact-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(70px, 10vw, 126px) 20px;
}

.section-title-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  margin-bottom: 54px;
}

.section-title-row p,
.process-grid p,
.pricing-grid p,
.contact-section p,
.faq-item p,
.expertise-list p,
.expertise-list li,
.safeguard-grid p,
footer p {
  color: var(--muted);
}

.expertise-list {
  border-top: 1px solid var(--line);
}

.expertise-list article {
  display: grid;
  grid-template-columns: 80px minmax(240px, 0.8fr) minmax(320px, 1fr);
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.expertise-list span {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.expertise-list ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.expertise-list li {
  position: relative;
  padding-left: 18px;
}

.expertise-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.process-section {
  max-width: none;
  background: var(--navy);
  color: #ffffff;
}

.process-section > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 100px);
}

.process-grid h2,
.process-grid h3 {
  color: #ffffff;
}

.process-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.process-list {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.process-list div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.process-list span {
  color: #d8b981;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.process-list p {
  margin: 0;
}

.safeguards {
  background: var(--soft);
  max-width: none;
}

.safeguards > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.safeguard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.safeguard-grid article {
  min-height: 250px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr 0.85fr;
  gap: 34px;
  align-items: start;
}

.calculator {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.control-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #c5cbd1;
  border-radius: 0;
  padding: 10px 12px;
  background: #ffffff;
  color: var(--ink);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.estimate {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

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

.estimate strong {
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 400;
}

.pricing-notes {
  border-top: 1px solid var(--line);
}

.pricing-notes p {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq {
  border-top: 1px solid var(--line);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  display: block;
  width: 100%;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.faq-item strong {
  display: block;
  max-width: 820px;
  font-size: 20px;
}

.faq-item p {
  display: none;
  max-width: 780px;
  margin: 12px 0 0;
}

.faq-item.open p {
  display: block;
}

.section-link-row {
  margin: 26px 0 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px 360px;
  gap: clamp(30px, 7vw, 92px);
  border-top: 1px solid var(--line);
}

.contact-card,
.contact-form {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.contact-card p {
  margin-bottom: 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
  align-self: start;
}

.contact-form button {
  min-height: 48px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  cursor: pointer;
}

.contact-service-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.legal-page {
  background: #ffffff;
}

.legal-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(70px, 10vw, 128px) 20px clamp(48px, 7vw, 86px);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 880px;
  margin-bottom: 24px;
  color: var(--ink);
}

.legal-hero p:not(.section-kicker) {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 7vw, 94px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 20px;
}

.legal-toc {
  position: sticky;
  top: 136px;
  align-self: start;
  display: grid;
  border-top: 1px solid var(--line);
}

.legal-toc a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
}

.legal-toc a:hover {
  color: var(--accent-dark);
}

.legal-content {
  display: grid;
  gap: 42px;
}

.legal-content article {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
}

.legal-content h3 {
  margin-top: 28px;
  font-size: 20px;
}

.legal-content p,
.legal-content li {
  max-width: 820px;
  color: var(--muted);
}

.legal-content a {
  color: var(--accent-dark);
  border-bottom: 1px solid currentColor;
}

.model-box {
  max-width: 620px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.model-box p {
  color: var(--text);
}

footer {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(30px, 8vw, 100px);
  padding: 58px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: #ffffff;
}

.footer-brand strong {
  font-size: 22px;
}

.footer-logo {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #ffffff;
}

.footer-logo img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

footer h4 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 13px;
  text-transform: uppercase;
}

footer a {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.78);
}

footer p {
  color: rgba(255, 255, 255, 0.66);
}

@media (max-width: 980px) {
  .utility-bar {
    display: none;
  }

  .main-nav {
    min-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .statement,
  .section-title-row,
  .expertise-list article,
  .process-grid,
  .safeguard-grid,
  .pricing-grid,
  .contact-section,
  .legal-layout,
  footer,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .safeguard-grid {
    border-left: 0;
  }

  .safeguard-grid article {
    min-height: auto;
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 580px) {
  .main-nav {
    padding-inline: 16px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-inner {
    width: calc(100% - 32px);
    padding-bottom: 64px;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(10, 15, 19, 0.92), rgba(10, 15, 19, 0.76)),
      url("assets/legatum-hero.png") center / cover no-repeat;
  }

  .statement,
  .section,
  .contact-section,
  .legal-hero,
  .legal-layout {
    padding-inline: 16px;
  }

  .control-row {
    grid-template-columns: 1fr;
  }

  .estimate {
    display: block;
  }

  .estimate strong {
    display: block;
    margin-top: 8px;
  }
}
