@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --bg: #f4f8fb;
  --surface: #ffffff;
  --surface-muted: #eef3f7;
  --text: #112233;
  --text-muted: #4a5b6b;
  --primary: #0b7285;
  --primary-dark: #075565;
  --accent: #ff9f1c;
  --border: #d6e1ea;
  --ok: #1f9d55;
  --danger: #c0392b;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow: 0 14px 28px rgba(10, 35, 66, 0.08);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, #d8eef6 0%, transparent 52%),
    radial-gradient(circle at bottom left, #ffe8c6 0%, transparent 45%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 248, 251, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--text);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), #35b3c9);
  position: relative;
  box-shadow: 0 6px 14px rgba(11, 114, 133, 0.28);
}

.brand-mark::after {
  content: '';
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  right: -3px;
  bottom: -3px;
  border: 2px solid #fff;
  background: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-nav a {
  font-weight: 600;
  color: var(--text);
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary-dark);
  background: #d8eef6;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  font-weight: 700;
}

.hero {
  padding: 4.2rem 0 2.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
  align-items: center;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.8rem;
  background: #dff3f8;
  color: #0a6170;
  border: 1px solid #bee4ed;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
  font-family: 'Space Grotesk', sans-serif;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.4rem, 3.1vw, 2.1rem);
}

h3 {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.card,
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.2rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
}

.hero-card li + li {
  margin-top: 0.45rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.68rem 1.05rem;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
  border-color: transparent;
}

.btn-danger:hover {
  filter: brightness(0.95);
}

.btn-secondary {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: #f5fafc;
}

main section {
  padding: 1.25rem 0 2.2rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature,
.info-block,
.step {
  padding: 1rem;
}

.feature strong,
.info-block strong,
.step strong {
  display: inline-block;
  margin-bottom: 0.2rem;
}

.section-head {
  margin-bottom: 1rem;
}

ol.process {
  margin: 0;
  padding-left: 1.2rem;
}

ol.process li {
  margin-bottom: 0.45rem;
  color: var(--text-muted);
}

.badge {
  display: inline-block;
  margin-bottom: 0.35rem;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  background: #fff1dc;
  color: #935b00;
  border: 1px solid #ffe1af;
}

.notice {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid #c6e6f2;
  background: #e9f7fc;
  color: #1e5567;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

th,
td {
  text-align: left;
  padding: 0.8rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  background: #ecf6fa;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
}

tbody tr:last-child td {
  border-bottom: none;
}

.form-card {
  padding: 1rem;
}

.form-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
  font-size: 0.93rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.63rem 0.7rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #93d7e5;
  border-color: #78cadb;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.status {
  margin-top: 0.65rem;
  font-weight: 700;
}

.status.ok {
  color: var(--ok);
}

.status.error {
  color: var(--danger);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
}

.faq-question {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 700;
  padding: 0.95rem 1rem;
  cursor: pointer;
  color: var(--text);
}

.faq-answer {
  padding: 0 1rem 0.95rem;
  color: var(--text-muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.page-hero {
  padding: 2.8rem 0 1.3rem;
}

.page-hero .panel {
  padding: 1.2rem;
}

.site-footer {
  margin-top: 1.8rem;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  display: grid;
  gap: 1rem;
  padding: 1.2rem 0;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
}

.footer-links a {
  color: var(--text);
  font-weight: 600;
}

.muted {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: rise 0.7s ease forwards;
}

.fade-in.delay-1 {
  animation-delay: 0.08s;
}

.fade-in.delay-2 {
  animation-delay: 0.16s;
}

.fade-in.delay-3 {
  animation-delay: 0.24s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #fff;
    padding: 0.65rem 1rem 0.8rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .site-nav.open {
    display: flex;
  }

  .grid-3,
  .grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }
}
