:root {
  --ink: #1c1c1e;
  --ink-soft: #45454f;
  --muted: #6b6b74;
  --bg: #ffffff;
  --bg-soft: #f6f6fa;
  --accent: #6366F1;
  --accent-2: #4B4EED;
  --accent-soft: #eef0ff;
  --accent-border: #dcdeff;
  --border: #e6e6ec;
  --radius: 20px;
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 44px;
  min-width: 0;
}

.logo { height: 22px; width: auto; flex-shrink: 0; }
.logo-dianapp { color: var(--ink); height: 24px; }
.logo-mia { height: 18px; }
.logo-okk { height: 26px; }

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-date {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}

.btn-header-cta {
  padding: 10px 22px;
  font-size: 14px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 100px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-primary {
  background: linear-gradient(135deg, #7c7fff 0%, #4b4eed 100%);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(20, 20, 30, 0.35);
}
.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(20, 20, 30, 0.4);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-cta-arrow { flex-shrink: 0; }

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* HERO */
.hero {
  position: relative;
  background: linear-gradient(180deg, #f7f7fd 0%, #ffffff 60%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(99,102,241,0.14) 0%, rgba(99,102,241,0) 70%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 24px 48px;
  max-width: 960px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 22px 10px 10px;
  margin: 0 0 28px;
  box-shadow: 0 4px 16px -8px rgba(20, 20, 30, 0.12);
}

.hero-badge-icon { flex-shrink: 0; display: flex; }

.hero-badge-text {
  font-size: 18px;
  color: var(--ink-soft);
}

.hero-badge-text strong { color: var(--ink); font-weight: 700; }

.hero-date {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 14px;
  padding: 14px 22px;
  margin: 0 0 28px;
}

.hero-date-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.hero-date-divider {
  width: 1px;
  height: 24px;
  background: #c7c9f5;
  flex-shrink: 0;
}

.hero-date-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  border-left: 1px solid #c7c9f5;
  padding-left: 16px;
}

.hero-title {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.hero-title .hl { color: var(--accent-2); }

.hero-subtitle {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 36px;
  max-width: 620px;
}

.hero-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero-speaker { display: flex; align-items: flex-start; gap: 24px; }
.hero-speaker-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px -4px rgba(20, 20, 30, 0.25);
}
.hero-speaker-text { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.hero-speaker-name { font-size: 23px; font-weight: 800; color: var(--ink); }
.hero-speaker-role { font-size: 17px; font-weight: 600; color: var(--accent-2); }
.hero-speaker-bio { font-size: 17px; line-height: 1.55; color: var(--ink-soft); margin: 8px 0 0; }

/* TOPICS */
.topics {
  padding: 64px 0;
  background: var(--bg);
}

.topics-head {
  margin-bottom: 32px;
}

.topics-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin: 0;
  font-weight: 800;
  color: var(--ink);
}

.topics-cards {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.topic-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.2s ease;
}

.topic-card:hover {
  padding-left: 10px;
}

.topic-card-number {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #7c7fff 0%, #4b4eed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
  width: 46px;
  font-variant-numeric: tabular-nums;
}

.topic-card-text { display: flex; flex-direction: column; flex: 1; }

.topic-card h3 {
  font-size: 20px;
  margin: 0;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 62ch;
}

.topic-card-text p {
  font-size: 16px;
  margin: 8px 0 0;
  line-height: 1.55;
  color: var(--muted);
  max-width: 62ch;
}

/* BENEFITS */
.benefits {
  padding: 64px 0;
  background: var(--bg);
}

.benefits-head {
  margin-bottom: 32px;
}

.benefits-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin: 0;
  font-weight: 800;
  color: var(--ink);
}

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

.benefit-item {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.benefit-item::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(135deg, #7c7fff 0%, #4b4eed 100%);
}

.benefit-item p {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}

/* FINAL CTA */
.final-cta {
  padding: 56px 0 72px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f3fc 100%);
  text-align: center;
}

.final-cta-card {
  max-width: 520px;
  margin: 0 auto;
}

.final-cta-date {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 32px;
}

.final-cta .btn-lg {
  padding: 26px 64px;
  font-size: 21px;
}

/* FOOTER */
.site-footer {
  background: var(--bg-soft);
  padding: 40px 0;
}

.footer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-header .logo-dianapp { color: var(--ink); }

.footer-past-btn {
  padding: 14px 28px;
  font-size: 15px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 32px;
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .benefits-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 700px) {
  .header-date { display: none; }
}

@media (max-width: 560px) {
  .logo-group { gap: 20px; }
  .header-inner { height: 64px; }
  .header-cta-group { gap: 0; }
  .btn-header-cta { padding: 8px 16px; font-size: 13px; }
  .hero-content { padding: 88px 20px 56px; }
  .hero-badge { padding: 8px 16px 8px 8px; }
  .hero-badge-text { font-size: 15px; }
  .hero-date { gap: 10px; padding: 10px 16px; }
  .hero-date-value { font-size: 18px; }
  .hero-date-tag { padding-left: 10px; }
  .hero-speaker-avatar { width: 88px; height: 88px; }
  .final-cta { padding: 56px 0; }
  .final-cta .btn-lg { padding: 20px 40px; font-size: 18px; }
}

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

/* LEGAL DOCUMENT PAGES */
.legal-header {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.legal-header .logo-dianapp { color: var(--ink); }

.legal-doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.legal-doc-date {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px;
}

.legal-doc h1 {
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.2;
}

.legal-doc h2.legal-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0 0 40px;
}

.legal-doc p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.legal-doc h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin: 48px 0 16px;
}

.legal-doc h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 28px 0 12px;
}

.legal-term {
  border-left: 3px solid var(--accent-2);
  padding-left: 16px;
  margin: 0 0 20px;
}

.legal-term strong { color: var(--ink); }

.legal-doc ul {
  margin: 0 0 20px;
  padding-left: 20px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.legal-doc li { margin-bottom: 8px; }

.legal-doc a { color: var(--accent-2); }

.legal-back {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--accent-2);
  text-decoration: none;
}
.legal-back:hover { text-decoration: underline; }

/* SPEAKER BREAK IMAGE */
.speaker-break {
  padding: 0 0 64px;
}

.speaker-break-frame {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.speaker-break img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: var(--radius);
}
