/* Remark — launching soon (editorial / spec-sheet aesthetic) */

:root {
  --page: #f5f5f4;
  --page-deep: #ebebea;
  --card: #ffffff;
  --ink: #1a2744;
  --ink-soft: rgba(26, 39, 68, 0.72);
  --black: #0c0c0c;
  --line: rgba(26, 39, 68, 0.12);
  --shadow: 0 28px 60px rgba(15, 23, 42, 0.12), 0 8px 24px rgba(15, 23, 42, 0.06);
  --radius-btn: 6px;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-hand: "Caveat", cursive;
}

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

html {
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background-color: var(--page);
  background-image: linear-gradient(180deg, var(--page) 0%, var(--page-deep) 100%);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2rem) 2rem;
  position: relative;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.label-caps {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.corner-index {
  position: fixed;
  top: clamp(1rem, 3vw, 1.5rem);
  right: clamp(1rem, 3vw, 1.5rem);
  color: var(--ink-soft);
  z-index: 2;
}

/* Header */

.site-header {
  text-align: center;
  margin-bottom: clamp(1.75rem, 5vw, 2.75rem);
}

.label-rail {
  margin: 0 0 0.35rem;
}

.logo {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Main */

.main {
  width: min(52rem, 100%);
  flex: 1;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 2.75rem);
}

/* Notched card + perforations */

.notched-card {
  filter: drop-shadow(var(--shadow));
}

.notched-card__perforations {
  height: 14px;
  margin: 0 auto;
  width: calc(100% - 2.5rem);
  max-width: 46rem;
  border-radius: 3px 3px 0 0;
  background: repeating-linear-gradient(
    90deg,
    var(--page) 0,
    var(--page) 10px,
    var(--card) 10px,
    var(--card) 36px
  );
}

.notched-card__body {
  background: var(--card);
  margin: -1px auto 0;
  width: 100%;
  max-width: min(48rem, 100%);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 0 0 4px 4px;
  border: 1px solid var(--line);
  border-top: none;
}

.card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(1rem, 3vw, 1.35rem);
}

.hand-note {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--ink-soft);
  line-height: 1;
}

/* Polaroid-style frame */

.polaroid {
  margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
}

.polaroid__frame {
  background: var(--card);
  padding: clamp(0.6rem, 2vw, 0.85rem);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.polaroid__frame img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.polaroid__caption {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
}

/* Hero copy */

.hero-copy {
  display: grid;
  gap: 0.65rem;
}

.status-line {
  margin: 0;
  color: var(--ink-soft);
}

.hero-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.25rem, 7vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero-lede {
  margin: 0;
  max-width: 36ch;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* Notify form */

.notify {
  width: 100%;
  max-width: min(48rem, 100%);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 1.5rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.notify__spec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.notify__field-id {
  color: var(--ink-soft);
  font-size: 0.625rem;
}

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

.notify input[type="email"] {
  flex: 1 1 14rem;
  min-height: 48px;
  padding: 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.notify input[type="email"]::placeholder {
  color: rgba(26, 39, 68, 0.35);
}

.notify input[type="email"]:focus {
  border-color: rgba(26, 39, 68, 0.35);
  box-shadow: 0 0 0 3px rgba(26, 39, 68, 0.08);
}

.btn-notify {
  min-height: 48px;
  padding: 0 1.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--black);
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease;
}

.btn-notify:hover {
  background: #1a1a1a;
}

.btn-notify:active {
  transform: scale(0.98);
}

.notify__status {
  margin: 0.85rem 0 0;
  min-height: 1.25em;
  color: var(--ink-soft);
  font-size: 0.625rem;
}

/* Footer */

.site-footer {
  margin-top: auto;
  padding-top: clamp(2.5rem, 8vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  color: var(--ink-soft);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.site-footer a:hover {
  color: var(--ink);
  border-bottom-color: rgba(26, 39, 68, 0.25);
}

.footer-divider {
  width: 1px;
  height: 0.75rem;
  background: var(--line);
}

@media (max-width: 520px) {
  .card-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .notify__row {
    flex-direction: column;
  }

  .btn-notify {
    width: 100%;
  }

  .footer-divider {
    display: none;
  }

  .site-footer {
    flex-direction: column;
    gap: 0.35rem;
  }
}
