:root {
  color-scheme: dark;
  --night: #0b1f33;
  --ivory: #f7f3ea;
  --muted: #c6ced6;
  --gold: #d9b971;
  --rule: #c5a25a55;
  --serif: Georgia, "Times New Roman", serif;
}

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

body {
  margin: 0;
  background: radial-gradient(ellipse 53rem 34rem at 15% 12rem, #14324c 0%, transparent 100%), var(--night);
  color: var(--ivory);
  font-family: system-ui, "Segoe UI", sans-serif;
  line-height: 1.58;
}

h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { color: var(--gold); font-weight: 400; }
a { color: inherit; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.wrap {
  width: min(1200px, calc(100% - 2 * clamp(20px, 5.25vw, 80px)));
  margin-inline: auto;
}

.skip {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  transform: translateY(-160%);
  background: var(--ivory);
  color: var(--night);
}
.skip:focus { transform: none; }

.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 102px;
  border-bottom: 1px solid var(--rule);
}

.brand {
  width: clamp(168px, 30vw, 250px);
  padding: 7px 7px 5px;
  border: 1px solid #e2cd9e;
  border-radius: 7px;
  background: #fffcf5;
}

.brand img { display: block; width: 100%; height: auto; }

.mast-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  min-height: 44px;
  color: var(--ivory);
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.mast-contact span { color: var(--gold); }
.mast-contact:hover, .contact address a:hover { color: var(--gold); }

.hero { padding-block: clamp(47px, 6vw, 85px) clamp(50px, 5.6vw, 80px); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow span {
  flex: 0 0 21px;
  height: 1px;
  background: currentColor;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(30px, 4.15vw, 60px);
  margin-top: 25px;
}

h1, h2:not(.eyebrow), .contact-name {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  font-size: clamp(3.25rem, 5.75vw, 5.5rem);
  letter-spacing: -0.059em;
  line-height: 1.04;
}

h1 em { display: block; }

.hero-copy p {
  max-width: 47ch;
  color: var(--muted);
  font-size: 1rem;
}

.hero-copy p:first-child { color: var(--ivory); font-size: 1.09rem; }
.hero-copy p + p { margin-top: 11px; }
.hero-copy .demo { margin-top: 23px; }

.demo {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 10px 14px 10px 16px;
  border: 1px solid #e5c886;
  border-radius: 5px;
  background: var(--gold);
  color: #122436;
  font-size: 0.89rem;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
}

.demo span { font-size: 1.13rem; }
.demo:hover { background: #efcf86; }

.features {
  padding-block: 24px 0;
  border-top: 1px solid var(--rule);
}

.features-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px clamp(30px, 4.15vw, 60px);
  margin-bottom: 21px;
}

.features-intro h2, .benefits h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.features-intro p {
  max-width: 51ch;
  color: var(--muted);
  font-size: 0.86rem;
}

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

.feature-list > li {
  min-width: 0;
  padding: 16px 17px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: linear-gradient(135deg, #152f47, #0f253b 89%);
}

.feature-list header {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 9px;
}

.feature-list svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-list h3 { font-size: 1rem; font-weight: 670; line-height: 1.25; }
.feature-list p { color: var(--muted); font-size: 0.88rem; }

.benefits {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 22px;
  padding-block: clamp(32px, 5vw, 65px);
}

.benefits ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.benefits li {
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: var(--ivory);
  font-size: 0.91rem;
  font-weight: 620;
}

.benefits li::before {
  position: relative;
  top: -2px;
  flex: 0 0 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--gold);
  content: "";
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 30px;
  padding: clamp(20px, 3.4vw, 43px);
  border: 1px solid #c5a25a8a;
  border-radius: 10px;
  background: linear-gradient(115deg, #193751, #102a43 63%, #0f263c);
}

.contact-name {
  margin-top: 10px;
  font-size: clamp(2.05rem, 3.8vw, 3.25rem);
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.contact-role { margin-top: 4px; color: var(--muted); }

.contact-actions {
  display: flex;
  align-items: center;
  gap: 15px clamp(24px, 4vw, 60px);
}

.contact address {
  display: grid;
  font-size: 1rem;
  font-style: normal;
}

.contact address a {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 44px;
  overflow-wrap: anywhere;
  text-decoration-color: #c5a25a99;
  text-underline-offset: 0.25em;
}

.footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  padding-block: 19px 29px;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer summary { min-height: 44px; padding-block: 12px; cursor: pointer; }
.footer details p { max-width: 34ch; }

@media (max-width: 1000px) {
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-actions { flex-wrap: wrap; }
}

@media (max-width: 760px) {
  .mast { min-height: 78px; }
  .hero-grid, .features-intro, .benefits { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 18px; margin-top: 15px; }
  h1 { font-size: clamp(2.7rem, 9vw, 4.5rem); }
  .hero-copy p { font-size: 0.94rem; }
  .hero-copy p:first-child { font-size: 1rem; }
  .contact-actions { display: grid; justify-items: start; }
}

@media (max-width: 560px) {
  .hero { padding-block: 34px 39px; }
  .mast-contact { font-size: 0.77rem; }
  .feature-list, .contact { grid-template-columns: minmax(0, 1fr); }
  .features { padding-top: 21px; }
  .feature-list > li { padding: 15px; }
  .benefits ul { gap: 10px 12px; }
  .benefits li { font-size: 0.85rem; }
  .footer { flex-direction: column; gap: 0; }
}

@media (forced-colors: active) {
  .brand { forced-color-adjust: none; }
}
