/* ═══════════════════════════════════════════════════════════ */
/* GENERAL RESET & VARIABLES                                   */
/* ═══════════════════════════════════════════════════════════ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #F7F5F0;
  --ink: #1A1714;
  --ink-muted: #7A756E;
  --accent: #00d4c0;
  --accent-dark: #009e92;
  --border: #E2DDD6;
  --surface: #ECEAE4;
  --mono: 'DM Mono', monospace;
  --serif: 'DM Serif Display', serif;
  --sans: 'DM Sans', sans-serif;
}

/* ═══════════════════════════════════════════════════════════ */
/* BASE STYLES & COMMON                                        */
/* ═══════════════════════════════════════════════════════════ */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  transition: 0.2s;
  color: inherit;
}

/* Layout Wrappers */
.hero,
.articles,
.notify-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* Typography - Serif */
h1,
.notify-inner h2,
.article-content h3,
.logo-text {
  font-family: var(--serif);
  color: var(--ink);
}

h1 em,
.notify-inner h2 em {
  font-style: italic;
  color: var(--accent-dark);
}

/* Typography - Mono */
.hero-label,
.section-label,
.logo-domain,
.a-date,
.a-time {
  font-family: var(--mono);
}

/* Typography - Paragraphs */
.hero-desc,
.article-content p,
.notify-inner p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-muted);
}

/* ═══════════════════════════════════════════════════════════ */
/* HEADER SECTION                                              */
/* ═══════════════════════════════════════════════════════════ */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.2rem 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(0, 212, 192, 0.04);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 212, 192, 0.08);
  box-shadow: 0 4px 30px rgba(0, 212, 192, 0.03);
}

.header-left,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img,
.footer-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.logo-img {
  width: 28px;
  height: 28px;
}

.logo-text {
  font-size: 1.1rem;
}

.logo-domain {
  font-size: 0.9rem;
  color: var(--accent-dark);
}

.header-nav {
  display: flex;
  gap: 1.8rem;
  margin-left: auto;
}

.header-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.header-nav a:hover,
.footer-legal:hover {
  color: var(--ink);
}

.header-back {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 99px;
}

.header-back:hover {
  color: var(--accent-dark);
  border-color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════ */
/* HERO SECTION                                                */
/* ═══════════════════════════════════════════════════════════ */

.hero {
  padding: 7rem 3rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
  align-items: end;
  animation: fadeUp 0.8s ease both;
}

.section-label,
.hero-label {
  font-size: 0.68rem;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.hero-label {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  color: var(--accent-dark);
}

.section-label {
  margin-bottom: 2.5rem;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-desc {
  max-width: 38ch;
}

.hero-line {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--border);
  margin-top: 2rem;
}

/* ═══════════════════════════════════════════════════════════ */
/* BADGE & BUTTON STYLES                                       */
/* ═══════════════════════════════════════════════════════════ */

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(0, 212, 192, 0.08);
  border: 1px solid rgba(0, 212, 192, 0.2);
  padding: 0.35rem 0.8rem;
  border-radius: 99px;
  width: fit-content;
}

.cs-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

.btn-primary {
  display: inline-flex;
  padding: 0.75rem 1.6rem;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 99px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  width: fit-content;
}

@media (min-width: 769px) {
  .btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 158, 146, 0.25);
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* ARTICLES SECTION                                            */
/* ═══════════════════════════════════════════════════════════ */

.articles {
  padding: 5rem 3rem;
  animation: fadeUp 0.8s 0.1s ease both;
}

.articles-list {
  display: flex;
  flex-direction: column;
}

.article-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  transition: 0.3s;
}

.article-item:first-child {
  border-top: 1px solid var(--border);
}

@media (min-width: 769px) {
  .article-item:hover {
    background: white;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 12px;
    border-color: transparent;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transform: scale(1.01);
  }
}

.article-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.3rem;
}

.a-date {
  font-size: 0.85rem;
  color: var(--ink);
}

.a-time {
  font-size: 0.7rem;
  color: var(--ink-muted);
}

.a-tag {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-dark);
  margin-bottom: 1rem;
  display: block;
}

.article-content h3 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.article-content p {
  max-width: 60ch;
  line-height: 1.7; 
}

/* ═══════════════════════════════════════════════════════════ */
/* NOTIFY SECTION                                              */
/* ═══════════════════════════════════════════════════════════ */

.notify-section {
  padding: 7rem 3rem;
}

.notify-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.notify-inner h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
}

.notify-inner p {
  font-size: 0.95rem;
  font-weight: 400;
  max-width: 40ch;
}

.notify-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.notify-input {
  padding: 0.75rem 1.1rem;
  font-family: var(--sans);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  min-width: 250px;
  outline: none;
  transition: 0.2s;
}

.notify-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 192, 0.1);
}

.notify-success {
  display: none;
  color: var(--accent-dark);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════ */
/* FOOTER SECTION                                              */
/* ═══════════════════════════════════════════════════════════ */

footer {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-bottom {
  padding: 1.4rem 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-tagline {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--ink-muted);
  font-family: var(--serif);
}

.footer-copy,
.footer-legal {
  font-size: 0.73rem;
  color: var(--ink-muted);
}

.footer-copy {
  margin-left: auto;
}

/* ═══════════════════════════════════════════════════════════ */
/* ANIMATIONS                                                  */
/* ═══════════════════════════════════════════════════════════ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.8);
    opacity: 0.5;
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* RESPONSIVE DESIGN                                           */
/* ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  header {
    padding: 1.2rem 1.5rem;
    justify-content: space-between;
  }

  .header-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 4rem 1.5rem;
  }

  .article-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 0;
  }

  .articles,
  .notify-section {
    padding: 3rem 1.5rem;
  }

  .notify-form {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: 1.4rem 2rem;
    text-align: center;
  }

  .footer-copy {
    margin-left: 0;
  }
}