/* Areseom — service landing page */

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

:root {
  --color-bg: #efe4b1;
  --color-bg-alt: #e8db9e;
  --color-text: #3a3428;
  --color-text-muted: #787262;
  --color-text-light: #5c5548;
  --color-surface: rgba(255, 255, 255, 0.6);
  --color-surface-solid: #faf8f0;
  --color-border: rgba(120, 114, 98, 0.25);
  --color-accent: #5a5345;
  --color-accent-dark: #2c2820;
  --color-brand-navy: #2a3558;
  --color-brand-gold: #e5a82a;
  --font-sans:
    "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Segoe UI", "Noto Sans KR", sans-serif;
  --container-max: 1080px;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(58, 52, 40, 0.08);
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  word-break: keep-all;
}

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

a:hover {
  color: var(--color-accent-dark);
}

img {
  max-width: 100%;
  height: auto;
}

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

/* Layout */

.page-main {
  flex: 1;
}

.section {
  padding: 72px 0 80px;
}

.section-header {
  margin-bottom: 40px;
  text-align: center;
}

.section-eyebrow {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.section h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--color-accent-dark);
}

/* Hero */

.hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 48px 0 64px;
  background: linear-gradient(
    180deg,
    var(--color-bg) 0%,
    var(--color-bg-alt) 100%
  );
}

.hero-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.hero-tagline-image {
  display: block;
  width: min(420px, 88vw);
  margin: 0 auto 20px;
}

.hero-logo {
  display: block;
  width: min(320px, 72vw);
  margin: 0 auto 28px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-accent-dark);
}

.hero-lead {
  margin: 0 auto 32px;
  max-width: 520px;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: var(--color-text-light);
}

/* Store badges */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  padding: 12px 20px;
  font-family: inherit;
  text-align: left;
  text-decoration: none;
  color: #fff;
  background: var(--color-accent-dark);
  border: 2px solid var(--color-accent-dark);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(44, 40, 32, 0.18);
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.store-badge:hover {
  color: #fff;
  background: #1a1712;
  border-color: #1a1712;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 40, 32, 0.22);
}

.store-badge--ios {
  background: #111;
  border-color: #111;
}

.store-badge--ios:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

.store-badge-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.store-badge-label {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.85;
  line-height: 1.2;
}

.store-badge-name {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.store-note {
  margin: 16px 0 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* About + Features */

.about {
  background: var(--color-surface-solid);
}

.about-content {
  max-width: 520px;
  margin: 0 auto 48px;
  text-align: left;
}

.about-content p {
  margin: 0 0 16px;
  color: var(--color-text-light);
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-content strong {
  color: var(--color-text);
  font-weight: 600;
}

.features-heading {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-accent-dark);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.feature-item {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-brand-navy);
  letter-spacing: -0.02em;
}

.feature-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text-light);
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* Contact */

.contact {
  background: var(--color-bg);
  text-align: center;
}

.contact-inner {
  max-width: 480px;
  margin: 0 auto;
}

.contact-inner p {
  margin: 0 0 16px;
  color: var(--color-text-light);
}

.contact-email {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-accent-dark);
}

.contact-email:hover {
  text-decoration: underline;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  margin-top: 24px;
  font-size: 0.88rem;
}

.contact-links a {
  color: var(--color-text-muted);
}

.contact-links a:hover {
  color: var(--color-accent-dark);
}

/* Footer */

.site-footer {
  padding: 28px 0 20px;
  background: var(--color-accent-dark);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand-en {
  margin: 2px 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-info {
  margin: 0;
  display: grid;
  gap: 5px;
}

.footer-info-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 4px 12px;
}

.footer-info dt {
  margin: 0;
  font-weight: 500;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-info dd {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
}

.footer-info a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-info a:hover {
  color: #fff;
}

.footer-copy {
  margin: 4px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.38);
}

@media (min-width: 768px) {
  .footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 32px;
    row-gap: 12px;
    align-items: start;
  }

  .footer-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-info {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-copy {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .footer-info-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .store-badge {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
