:root {
  --if-navy: #043d63;
  --if-blue: #2f88c6;
  --if-highlight: #0054f0;
  --if-surface: #ffffff;
  --if-surface-strong: #f1ece8;
  --if-text: #1f2b37;
  --if-muted: #57646f;
  --if-background: #faf9f7;
  --if-background-2: #f1ece8;
  --if-red: #ff8569;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--if-background);
  color: var(--if-text);
  font-family: 'If Sans', 'Inter', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px;
}

.page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding: 24px 28px;
  background: #f1ece8;
  border: 1px solid #ddd2c6;
  border-radius: 28px;
  box-shadow: 0 16px 32px rgba(31, 43, 55, 0.06);
}

.brand-logo {
  width: 96px;
  height: auto;
  border-radius: 20px;
  background: #f1ece8;
  padding: 12px;
  box-shadow: 0 14px 28px rgba(31, 43, 55, 0.06);
}

.brand-title {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: #5c6c79;
  text-transform: uppercase;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--if-text);
}

.content-card {
  background: #ffffff;
  color: var(--if-text);
  border-radius: 34px;
  box-shadow: 0 32px 80px rgba(31, 43, 55, 0.12);
  padding: 42px;
}

.content-card h2 {
  margin-top: 0;
  margin-bottom: 18px;
  color: var(--if-text);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.content-card h2.important {
  color: var(--if-highlight);
}

.content-card .important-note {
  background: #f7f5f0;
  border: 1px solid #ded3c7;
  border-left: 6px solid var(--if-highlight);
  border-radius: 22px;
  padding: 22px 24px;
  margin-bottom: 24px;
}

.content-card .important-note p {
  color: var(--if-text);
  margin: 0 0 1rem;
}

.content-card .important-note a {
  color: var(--if-highlight);
  text-decoration: underline;
}

.content-card p,
.content-card li {
  color: #4a5f74;
  font-size: 1rem;
}

.content-card ul,
.content-card ol {
  margin: 0;
  padding-left: 1.45rem;
}

.content-card ol {
  margin-bottom: 1.5rem;
}

.action-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.action-link,
.button,
.link-button,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.action-link {
  padding: 18px 22px;
  background: #ffffff;
  color: var(--if-text);
  border-color: #ded3c7;
}

.action-link:hover {
  transform: translateY(-1px);
  background: #f7f2eb;
}

.button {
  padding: 16px 26px;
  background: #f1ece8;
  color: var(--if-text);
  border: 1px solid #ded3c7;
  box-shadow: 0 10px 24px rgba(31, 43, 55, 0.06);
}

.action-list .button {
  min-height: 89px;
}

.button:hover {
  background: #e7dfd8;
}

.link-button {
  padding: 12px 18px;
  color: var(--if-navy);
  background: transparent;
}

.link-button:hover,
.back-link:hover {
  text-decoration: underline;
}

.note {
  color: #5e768f;
  margin-top: 14px;
  font-size: 0.98rem;
}

.page-footer {
  margin-top: 32px;
  color: #5c6c79;
  font-size: 0.95rem;
}

.contact-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.contact-table th,
.contact-table td {
  border: 1px solid #ded3c7;
  padding: 12px 14px;
  text-align: left;
}

.contact-table th {
  background: #f1ece8;
  color: var(--if-text);
  font-weight: 700;
}

.contact-table tr:nth-child(even) {
  background: #faf7f2;
}

.page-footer a {
  color: var(--if-navy);
  text-decoration: underline;
}

.back-link {
  margin-bottom: 24px;
  color: var(--if-text);
  padding: 16px 26px;
  background: #f1ece8;
  border: 1px solid #ded3c7;
  box-shadow: 0 10px 24px rgba(31, 43, 55, 0.06);
}

.back-link:hover {
  background: #e7dfd8;
}

.responsive {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.1);
  margin-bottom: 28px;
}

.screenshot-box {
  border: 1px dashed #ccc;
  border-radius: 18px;
  background: #f7f4ef;
  color: #5c6c79;
  padding: 24px;
  text-align: center;
  margin: 24px 0;
}

@media (max-width: 720px) {
  .page-shell {
    padding: 20px;
  }

  .content-card {
    padding: 28px;
  }
}

@media print {
  body {
    background: #ffffff;
    color: #0d2b46;
  }

  .page-shell,
  .content-card {
    box-shadow: none;
    border-radius: 0;
  }

  .page-header {
    background: transparent;
    border: none;
    padding: 0;
  }

  .brand-logo {
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
}

