:root {
  --brand-red: #dc2626;
  --deep-red: #7f1d1d;
  --halal-green: #16794c;
  --warm-cream: #fdf8f3;
  --charcoal: #1f2937;
  --muted: #6b7280;
  --surface: #ffffff;
  --line: #eadfd4;
  --script-stack:
    "Schibsted Grotesk", "Noto Sans KR", "Apple SD Gothic Neo", "Noto Sans Arabic",
    "Noto Sans Bengali", system-ui, sans-serif;
  --space: clamp(1rem, 0.7rem + 1.4vw, 1.75rem);
  --wrap: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm-cream);
  color: var(--charcoal);
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  font-family: "Instrument Sans", "Noto Sans KR", "Apple SD Gothic Neo", "Noto Sans Arabic",
    "Noto Sans Bengali", system-ui, sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.15rem, 1.35rem + 3.6vw, 4rem);
}

h2 {
  font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.6rem);
}

h3 {
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--deep-red);
}

:focus-visible {
  outline: 3px solid var(--halal-green);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--surface);
  color: var(--charcoal);
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(100% - 2rem, 42rem);
}

.section {
  padding-block: clamp(3.25rem, 2.2rem + 5vw, 6.5rem);
}

.section-lead {
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.btn-primary {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(127, 29, 29, 0.18);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 243, 0.94);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.08);
}

.header-inner {
  width: min(100% - 1.5rem, var(--wrap));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: cover;
  border-radius: 50%;
}

.brand-name {
  font-family: "Instrument Sans", "Noto Sans KR", "Apple SD Gothic Neo", "Noto Sans Arabic",
    "Noto Sans Bengali", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.btn-header {
  padding-inline: 1.1rem;
  flex-shrink: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  padding: clamp(4.5rem, 3rem + 8vw, 8.5rem) 1rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/hero.jpg") center / cover no-repeat;
  filter: blur(clamp(2px, 0.485vw, 4px));
  transform: scale(1.15);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    ellipse 130% 82% at 50% 38%,
    rgba(8, 4, 4, 0.72) 0%,
    rgba(10, 5, 5, 0.6) 42%,
    rgba(12, 6, 6, 0.38) 70%,
    rgba(8, 4, 4, 0.24) 100%
  );
}

.hero-inner {
  width: min(100%, 42rem);
  margin-inline: auto;
}

.halal-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0 0 1.1rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: var(--halal-green);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-lead {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.btn-hero {
  margin-bottom: 1.15rem;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.store-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  min-width: 9.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.7rem;
  color: rgba(255, 255, 255, 0.88);
  cursor: default;
  user-select: none;
  pointer-events: none;
}

.store-badge-title {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
}

.store-badge-soon {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
}

.languages {
  background: #f4efe8;
}

.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--script-stack);
}

.language-list li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600;
}

.product-grid,
.trust-grid,
.gallery-grid {
  display: grid;
  gap: 1rem;
}

.product-card,
.trust-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.35rem 1.3rem 1.4rem;
}

.product-card h3 {
  color: var(--deep-red);
}

.product-card ul,
.fee-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-card li {
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
  color: var(--charcoal);
}

.product-card li:first-child {
  border-top: 0;
}

.how {
  background: #f7f1ea;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0.9rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.15rem 1.15rem 1.2rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  font-family: "Instrument Sans", "Noto Sans KR", "Apple SD Gothic Neo", "Noto Sans Arabic",
    "Noto Sans Bengali", system-ui, sans-serif;
  font-weight: 600;
}

.steps h3 {
  margin-bottom: 0.25rem;
}

.delivery-layout,
.wholesale-layout {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.fee-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.fee-label {
  color: var(--muted);
}

.fee-value {
  font-weight: 600;
  white-space: nowrap;
}

.media-frame {
  margin: 0;
  max-width: 400px;
}

.media-frame img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1rem;
}

.media-frame figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 719px) {
  .delivery-layout > .media-frame:last-child {
    margin-bottom: calc(-0.55rem - 1.45em);
  }
}

.gallery-grid .media-frame {
  width: min(100%, 400px);
}

.wholesale {
  background: #f3f7f4;
}

.wholesale-copy p {
  max-width: 38rem;
}

.trust-card-emphasis {
  background: #eef6f1;
  border-color: var(--halal-green);
  box-shadow: 0 16px 36px rgba(22, 121, 76, 0.1);
}

.trust-kicker {
  margin: 0 0 0.35rem;
  color: var(--halal-green);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-card-emphasis h3 {
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.85rem);
  color: var(--halal-green);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 1rem 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--brand-red);
  font-size: 1.35rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  padding-bottom: 1rem;
  color: var(--muted);
}

.faq-langs {
  font-family: var(--script-stack);
}

.site-footer {
  background: var(--deep-red);
  color: #fff;
  padding-block: clamp(2.5rem, 2rem + 3vw, 4rem);
}

.site-footer a {
  color: #fff;
}

.footer-inner {
  display: grid;
  gap: 1.4rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-brand .brand-name {
  margin: 0;
}

.footer-ig {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  word-break: break-word;
}

.footer-note {
  margin: 0;
}

.copyright {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

@media (min-width: 720px) {
  .hero::after {
    background: radial-gradient(
      ellipse 62% 80% at 50% 38%,
      rgba(8, 4, 4, 0.72) 0%,
      rgba(10, 5, 5, 0.58) 40%,
      rgba(12, 6, 6, 0.34) 70%,
      rgba(8, 4, 4, 0.2) 100%
    );
  }

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

  .gallery-grid {
    justify-items: start;
  }

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

  .delivery-layout,
  .wholesale-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
    gap: 2.5rem;
  }

  .wholesale-layout {
    grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  }
}

@media (min-width: 1040px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .steps li {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
