:root {
  --ivory: #f7f3eb;
  --ivory-2: #eee7db;
  --paper: #fffdf8;
  --brown: #49382f;
  --brown-2: #6b5547;
  --gold: #b28a52;
  --gold-soft: #d5bf9b;
  --line: #d9cfbf;
  --muted: #8d8177;
  --success: #65765d;
  --shadow: 0 18px 45px rgba(73, 56, 47, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ivory);
}

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

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--brown);
  background:
    radial-gradient(circle at 12% 8%, rgba(178,138,82,.06), transparent 28%),
    var(--ivory);
  -webkit-font-smoothing: antialiased;
}

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

button {
  color: inherit;
}

::selection {
  background: rgba(178,138,82,.25);
  color: var(--brown);
}

:host {
  display: block;
}

.site-shell {
  overflow: hidden;
}

.site-header {
  width: min(1440px, calc(100% - 48px));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--brown);
}

.brand-mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--brown);
  color: var(--paper);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  font-weight: 600;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .025em;
}

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

.desktop-nav button {
  border: 0;
  background: transparent;
  color: var(--brown-2);
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

.desktop-nav button:hover {
  background: rgba(255,255,255,.56);
  color: var(--brown);
}

.desktop-nav .nav-cta {
  margin-left: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--brown);
}

.hero-section {
  width: min(1440px, calc(100% - 48px));
  min-height: 690px;
  margin: 0 auto 72px;
  padding: 82px 70px;
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 72px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(135deg, #f3ebde 0%, #fffdf8 52%, #f7f1e7 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}

.hero-glow-left {
  width: 340px;
  height: 340px;
  left: -160px;
  top: -130px;
  background: rgba(178,138,82,.10);
}

.hero-glow-right {
  width: 440px;
  height: 440px;
  right: -170px;
  bottom: -220px;
  background: rgba(73,56,47,.07);
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(43px, 5vw, 70px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 500;
}

.hero-content h1 span {
  color: var(--gold);
}

.hero-lead {
  max-width: 720px;
  margin: 27px 0 0;
  color: var(--brown-2);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button {
  min-height: 48px;
  padding: 0 19px;
  border-radius: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s;
}

.primary-button {
  border: 1px solid var(--brown);
  background: var(--brown);
  color: #fff;
  box-shadow: 0 10px 24px rgba(73,56,47,.14);
}

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

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 29px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(101,118,93,.10);
}

.hero-card {
  width: 100%;
  max-width: 510px;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,253,248,.88);
  box-shadow: 0 24px 58px rgba(73,56,47,.12);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.hero-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 25px;
  border-bottom: 1px solid var(--line);
}

.hero-card h2 {
  margin: 5px 0 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 23px;
  line-height: 1.18;
}

.mini-label {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2em;
}

.system-status {
  border: 1px solid #ccd6c7;
  background: #f2f6ef;
  color: var(--success);
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.preview-row {
  min-height: 94px;
  padding: 19px 23px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.preview-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ivory);
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
}

.preview-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.preview-row small {
  color: var(--muted);
  line-height: 1.45;
}

.preview-footer {
  padding: 16px 23px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

.intro-section,
.security-section,
.principles-section {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 900px;
}

.section-heading.narrow {
  max-width: 820px;
}

.section-heading h2,
.principles-head h2,
.nopa-copy h2,
.contact-section h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(35px, 4vw, 53px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.025em;
}

.section-heading > p:last-child,
.nopa-copy > p,
.contact-section > div > p:last-child {
  margin: 21px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

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

.feature-card {
  min-height: 270px;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(73,56,47,.045);
}

.card-number {
  display: block;
  margin-bottom: 46px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .15em;
}

.feature-card h3 {
  margin: 0 0 11px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 25px;
  font-weight: 600;
}

.feature-card p,
.security-item p,
.principles-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.nopa-section {
  width: min(1440px, calc(100% - 48px));
  margin: 48px auto;
}

.nopa-panel {
  padding: 75px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 80px;
  align-items: center;
  border-radius: 28px;
  background: var(--brown);
  color: var(--paper);
  overflow: hidden;
}

.nopa-copy > p {
  color: #d9cec4;
}

.check-list {
  margin-top: 32px;
  display: grid;
  gap: 14px;
}

.check-list div {
  display: flex;
  gap: 11px;
  align-items: center;
  color: #efe8df;
  font-weight: 700;
}

.check-list span {
  color: var(--gold-soft);
}

.nopa-visual {
  min-height: 390px;
  display: grid;
  grid-template-columns: 92px 1fr;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: #fffdf8;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0,0,0,.18);
}

.visual-sidebar {
  padding: 17px 13px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #eee7db;
  border-right: 1px solid #d9cfbf;
}

.visual-logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 10px;
  background: var(--brown);
  color: white;
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 700;
}

.visual-sidebar > span {
  height: 24px;
  border-radius: 7px;
  background: #ddd2c3;
}

.visual-bottom {
  margin-top: auto;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
}

.visual-workspace {
  padding: 20px;
}

.visual-topbar {
  width: 100%;
  height: 28px;
  margin-bottom: 30px;
  border-radius: 7px;
  background: #f1ebdf;
}

.visual-title {
  width: 42%;
  height: 22px;
  margin-bottom: 22px;
  border-radius: 6px;
  background: #49382f;
  opacity: .85;
}

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

.visual-grid div {
  height: 90px;
  border: 1px solid #ded5c7;
  border-radius: 10px;
  background: #faf6ef;
}

.visual-list {
  margin-top: 17px;
  display: grid;
  gap: 9px;
}

.visual-list span {
  height: 39px;
  border: 1px solid #e3dbcf;
  border-radius: 8px;
  background: #fff;
}

.security-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.security-item {
  min-height: 170px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.42);
}

.security-item strong {
  display: block;
  margin-bottom: 10px;
  font-family: Georgia, serif;
  font-size: 21px;
}

.principles-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
}

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

.principles-list article {
  padding: 25px 0;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.principles-list > article > span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

.principles-list h3 {
  margin: 0 0 8px;
  font-family: Georgia, serif;
  font-size: 21px;
}

.contact-section {
  width: min(1440px, calc(100% - 48px));
  margin: 50px auto 0;
  padding: 68px 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  border-radius: 28px 28px 0 0;
  background: var(--brown);
  color: var(--paper);
}

.contact-section h2 {
  max-width: 930px;
  font-size: clamp(34px, 4vw, 49px);
}

.contact-section > div > p:last-child {
  max-width: 760px;
  color: #d7cbc0;
}

.eyebrow.light {
  color: var(--gold-soft);
}

.contact-button {
  min-width: 180px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border-radius: 11px;
  background: var(--paper);
  color: var(--brown);
  text-decoration: none;
  font-weight: 900;
}

.site-footer {
  width: min(1440px, calc(100% - 48px));
  min-height: 110px;
  margin: 0 auto 28px;
  padding: 25px 32px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 30px;
  border-radius: 0 0 28px 28px;
  background: #3f3028;
  color: #d9cec4;
}

.site-footer > div:first-child {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: var(--paper);
  font-family: Georgia, serif;
}

.site-footer span,
.site-footer small,
.footer-links a {
  color: #bfaea0;
  font-size: 12px;
}

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

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

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

@media (max-width: 1050px) {
  .hero-section,
  .nopa-panel,
  .principles-section {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: start;
    max-width: 680px;
  }

  .nopa-panel {
    gap: 45px;
  }

  .principles-section {
    gap: 45px;
  }
}

@media (max-width: 800px) {
  .site-header {
    width: min(100% - 28px, 1440px);
    height: 78px;
  }

  .brand-copy small,
  .desktop-nav button:not(.nav-cta) {
    display: none;
  }

  .hero-section,
  .nopa-section,
  .contact-section,
  .site-footer {
    width: min(100% - 28px, 1440px);
  }

  .intro-section,
  .security-section,
  .principles-section {
    width: min(100% - 32px, 1280px);
  }

  .hero-section {
    padding: 52px 28px;
    gap: 45px;
    min-height: auto;
  }

  .problem-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .nopa-panel {
    padding: 48px 28px;
  }

  .nopa-visual {
    min-height: 320px;
    grid-template-columns: 65px 1fr;
  }

  .contact-section {
    padding: 48px 30px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 520px) {
  .brand-copy strong {
    font-size: 14px;
  }

  .hero-content h1 {
    font-size: 41px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .intro-section,
  .security-section,
  .principles-section {
    padding: 68px 0;
  }

  .nopa-panel {
    padding: 40px 20px;
  }

  .nopa-visual {
    min-height: 280px;
  }

  .visual-workspace {
    padding: 14px;
  }
}
