:root {
  --ink: #172823;
  --muted: #68736f;
  --green: #126a4a;
  --green-dark: #0b4e37;
  --mint: #e6f4ee;
  --mint-soft: #f4faf7;
  --orange: #ed8d4b;
  --cream: #fbfaf7;
  --line: #dfe5e1;
  --white: #fff;
  --shadow: 0 18px 45px rgba(19, 52, 42, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
button, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.site-header {
  height: 76px;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.5px; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: white; background: var(--green); border-radius: 10px 10px 10px 3px; font-family: Georgia, serif; }
.desktop-nav { display: flex; align-items: center; gap: 32px; margin-right: auto; margin-left: 40px; font-size: 14px; font-weight: 650; }
.desktop-nav a:hover { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button, .profile-button { border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.icon-button { color: var(--orange); font-size: 10px; }
.profile-button { font-weight: 650; }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--green-dark); font-weight: 800; }
.avatar-small { width: 34px; height: 34px; font-size: 12px; }

main { max-width: 1200px; margin: 0 auto; padding: 28px 24px 72px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--green); }
.hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 36px; margin-bottom: 32px; }
.hero-main { max-width: 830px; }
.status-line { display: flex; align-items: center; gap: 15px; color: var(--muted); font-size: 13px; }
.status { color: var(--green); background: var(--mint); border-radius: 99px; padding: 3px 11px; font-weight: 750; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: #25a570; margin-right: 6px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(35px, 4.4vw, 55px); line-height: 1.08; letter-spacing: -1.7px; margin: 18px 0 22px; font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span, .mini-tag { background: #eef1ef; color: #4c5c56; border-radius: 7px; padding: 5px 11px; font-size: 12px; font-weight: 700; }
.save-button { margin-top: 42px; border: 1px solid #cfd8d3; background: white; padding: 11px 17px; border-radius: 9px; display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 700; cursor: pointer; white-space: nowrap; }
.save-button:hover { border-color: var(--green); color: var(--green); }
.save-button.saved { background: var(--mint); color: var(--green); border-color: #9bcab8; }
.heart { font-size: 21px; line-height: 1; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 355px; gap: 28px; align-items: start; }
.content-card, .offer-card, .client-card { background: var(--white); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); padding: 24px 28px; border-bottom: 1px solid var(--line); }
.metric { display: flex; gap: 13px; align-items: center; min-width: 0; }
.metric + .metric { border-left: 1px solid var(--line); padding-left: 24px; }
.metric-icon { width: 35px; height: 35px; flex: 0 0 35px; display: grid; place-items: center; border-radius: 10px; background: var(--mint); color: var(--green); font-weight: 800; }
.metric div { display: flex; flex-direction: column; min-width: 0; }
.metric strong { font-size: 15px; line-height: 1.3; }
.metric div span { color: var(--muted); font-size: 11px; }
.tabs { display: flex; padding: 0 28px; gap: 26px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { border: 0; background: transparent; padding: 18px 0 14px; color: var(--muted); cursor: pointer; font-weight: 700; white-space: nowrap; border-bottom: 3px solid transparent; }
.tab.active { color: var(--green); border-color: var(--green); }
.tab-panel { padding: 30px 36px 42px; }
.tab-panel h2 { font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; margin: 30px 0 10px; }
.tab-panel h2:first-child { margin-top: 0; }
.tab-panel p { color: #46534f; margin: 0 0 17px; }
.highlight { display: flex; gap: 17px; padding: 22px; margin: 27px 0; background: var(--mint-soft); border-left: 3px solid var(--green); border-radius: 3px 10px 10px 3px; }
.highlight-icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; font-size: 22px; }
.highlight strong { display: block; margin-bottom: 4px; }
.highlight p { margin: 0; font-size: 14px; }
.check-list { list-style: none; padding: 0; margin: 10px 0 25px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin: 11px 0; color: #46534f; }
.check-list span { color: var(--green); width: 22px; height: 22px; display: grid; place-items: center; flex: 0 0 22px; border-radius: 50%; background: var(--mint); font-size: 12px; font-weight: 900; }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.tech-grid div { background: var(--mint-soft); padding: 17px; border-radius: 9px; display: flex; flex-direction: column; }
.tech-grid span { color: var(--muted); font-size: 12px; }

.sidebar { display: grid; gap: 18px; position: sticky; top: 96px; }
.offer-card { padding: 28px; background: var(--green-dark); color: white; border: 0; position: relative; overflow: hidden; }
.offer-card::after { content: ""; position: absolute; width: 170px; height: 170px; border: 35px solid rgba(255,255,255,.05); border-radius: 50%; right: -95px; top: -70px; }
.eyebrow { color: var(--orange); text-transform: uppercase; letter-spacing: 1.3px; font-size: 10px; font-weight: 900; }
.offer-card h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 28px; line-height: 1.15; margin: 9px 0 12px; }
.offer-card p { color: #c6d7d1; font-size: 14px; }
.primary-button { width: 100%; border: 0; border-radius: 8px; padding: 13px 18px; background: var(--orange); color: #2b2019; cursor: pointer; font-weight: 850; display: flex; justify-content: center; gap: 14px; }
.primary-button:hover { background: #f3a06a; }
.secure-note { display: block; text-align: center; margin-top: 13px; color: #b8ccc4; font-size: 11px; }
.client-card { padding: 25px 28px; box-shadow: none; }
.client-card h2 { font-size: 15px; margin: 0 0 20px; }
.client-profile { display: flex; align-items: center; gap: 13px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.client-profile div:last-child { display: flex; flex-direction: column; }
.client-profile span { color: var(--muted); font-size: 12px; }
dl { margin: 16px 0; }
dl div { display: flex; justify-content: space-between; gap: 20px; margin: 10px 0; font-size: 13px; }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 700; text-align: right; }
.verified { color: var(--green); background: var(--mint-soft); padding: 9px 12px; text-align: center; border-radius: 7px; font-size: 12px; font-weight: 750; }
.report-button { border: 0; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }

.similar { margin-top: 70px; display: grid; grid-template-columns: 250px 1fr; gap: 40px; }
.similar h2 { font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 500; margin: 5px 0; }
.similar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.similar article { padding: 23px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.similar article:hover { transform: translateY(-2px); box-shadow: var(--shadow); transition: .2s ease; }
.similar h3 { line-height: 1.35; margin: 14px 0 8px; font-size: 17px; }
.similar p { color: var(--muted); font-size: 12px; }
.similar article strong { color: var(--green); font-size: 13px; }

footer { background: #10241e; color: white; padding: 32px max(24px, calc((100vw - 1200px) / 2)); display: flex; align-items: center; gap: 30px; }
footer p { color: #aebfba; font-size: 13px; margin-right: auto; }
footer > span { color: #80938d; font-size: 12px; }
.footer-brand .brand-mark { background: var(--orange); color: var(--ink); }

dialog { width: min(500px, calc(100% - 32px)); border: 0; border-radius: 16px; padding: 34px; color: var(--ink); box-shadow: 0 28px 80px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(8, 24, 19, .65); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; right: 17px; top: 13px; border: 0; background: transparent; font-size: 27px; cursor: pointer; color: var(--muted); }
.dialog-symbol { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 24px; }
dialog h2 { font-family: Georgia, serif; font-size: 30px; font-weight: 500; margin: 13px 0 4px; }
dialog > p { color: var(--muted); margin-top: 0; }
dialog form { display: grid; gap: 8px; margin-top: 22px; }
dialog label { font-size: 12px; font-weight: 800; margin-top: 7px; }
select, textarea { width: 100%; border: 1px solid #cfd8d3; border-radius: 8px; padding: 11px; color: var(--ink); background: white; }
textarea { resize: vertical; }
dialog .primary-button { margin-top: 13px; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 50; transform: translate(-50%, 20px); background: var(--ink); color: white; border-radius: 9px; padding: 11px 18px; font-size: 13px; opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .report-button { grid-column: 1 / -1; }
  .similar { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .site-header { height: 64px; padding: 0 17px; }
  .profile-button, .icon-button { display: none; }
  main { padding: 20px 16px 50px; }
  .breadcrumb { white-space: nowrap; overflow: hidden; margin-bottom: 20px; }
  .hero { display: block; }
  h1 { font-size: 36px; }
  .save-button { margin-top: 22px; }
  .metrics { grid-template-columns: 1fr; gap: 17px; padding: 21px; }
  .metric + .metric { border-left: 0; padding: 16px 0 0; border-top: 1px solid var(--line); }
  .tabs { padding: 0 20px; }
  .tab-panel { padding: 25px 21px 32px; }
  .sidebar { grid-template-columns: 1fr; }
  .report-button { grid-column: auto; }
  .tech-grid, .similar-grid { grid-template-columns: 1fr; }
  .similar { margin-top: 50px; gap: 20px; }
  footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  footer p { margin: 4px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
