:root {
  --brand: #0f4c81;
  --brand-dark: #0a355b;
  --border: #d9e2ec;
  --text: #17212b;
  --muted: #5b6773;
  --page: #f4f7fb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px clamp(18px, 4vw, 48px);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(23, 33, 43, 0.06);
}

.site-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex: 0 0 auto;
}

.site-title {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0;
}

.frame-area {
  flex: 1;
  width: 100%;
  padding: clamp(14px, 2.5vw, 28px);
  display: flex;
  min-height: 0;
}

.web-frame {
  width: 100%;
  min-height: 520px;
  flex: 1;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(23, 33, 43, 0.08);
}

.site-footer {
  padding: 18px clamp(18px, 4vw, 48px);
  background: var(--brand-dark);
  color: var(--white);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.55;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .site-header {
    min-height: 72px;
    padding: 12px 16px;
  }

  .site-logo {
    width: 48px;
    height: 48px;
  }

  .frame-area {
    padding: 12px;
  }

  .web-frame {
    min-height: 460px;
  }
}
