/* ==========================================================================
   Calibre by Daftar — Stylesheet
   ========================================================================== */

:root {
  --bg: #F5F6F3;
  --surface: #ECEEE9;
  --border: #DDE1DA;
  --ink: #16191B;
  --ink-soft: #3A4045;
  --muted: #5B6268;
  --muted-2: #6C7378;
  --muted-3: #A6ADB2;
  --blue: #2E5E8C;
  --blue-dark: #24496D;
  --rust: #A8341F;
  --red: #B3392B;
  --green: #3E7A52;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(22, 25, 27, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 25, 27, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 60;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 0 0 8px 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

::selection {
  background: var(--blue);
  color: var(--bg);
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 246, 243, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  flex-shrink: 0;
  display: block;
}

.logo-words {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

/* Parent-brand type treatment — the word "Daftar" */
.daftar-brand {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-style: normal;
  color: #2E5E8C;
}

.logo-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo-tag {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  font-weight: 400;
}

nav {
  display: flex;
  gap: 40px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}

nav a {
  color: var(--ink);
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--blue);
}

.nav-cta {
  background: var(--blue);
  color: var(--bg);
  padding: 11px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
}

.nav-cta:hover {
  opacity: 0.9;
}

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 32px 100px;
  text-align: center;
}

.hero-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--ink);
}

.hero p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 700px;
  margin: 0 auto 40px;
}

.cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--bg);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cta-primary:hover {
  background: var(--blue-dark);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  background: var(--ink);
  color: var(--bg);
}

.hero-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
}

/* Proof Section */
.proof-section {
  text-align: center;
}

.proof-section .section-label {
  text-align: center;
}

.proof-section h2 {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.proof-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.proof-intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0;
}

.proof-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 40px;
  max-width: 520px;
  width: 100%;
}

.proof-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.proof-card-id {
  color: var(--muted-2);
}

.proof-card-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.proof-reader {
  text-align: center;
}

.proof-reader-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
}

.proof-score {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 50px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.proof-score-reject {
  color: var(--red);
}

.proof-score-unit {
  font-size: 14px;
  color: var(--muted-2);
  margin-left: 2px;
}

.proof-verdict {
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
}

.verdict-good {
  color: var(--green);
}

.verdict-bad {
  color: var(--red);
}

.proof-divider {
  width: 1px;
  height: 64px;
  background: var(--border);
}

.proof-card-footer {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

.proof-gap {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--red);
}

.proof-caption {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  max-width: 520px;
  margin: 8px auto 0;
}

/* Method Stepper */
.method-stepper {
  display: flex;
  align-items: center;
  margin: 48px 0 8px;
}

.method-stepper-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  width: 120px;
}

.method-stepper-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.4s ease;
}

.method-stepper-node.active .method-stepper-dot {
  background: var(--blue);
}

.method-stepper-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  transition: color 0.4s ease;
  text-align: center;
}

.method-stepper-node.active .method-stepper-label {
  color: var(--ink);
}

.method-stepper-line {
  flex: 1 1 auto;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.method-stepper-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.method-stepper-line.filled::after {
  transform: scaleX(1);
}

@media (max-width: 768px) {
  .method-stepper {
    display: none;
  }

  .proof-card {
    padding: 24px;
  }

  .proof-card-body {
    gap: 12px;
  }

  .proof-score {
    font-size: 40px;
  }
}

/* Section Container */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
}

.section-label::after {
  content: "";
  display: block;
  width: 57px;
  height: 6px;
  margin-top: 10px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 1px, transparent 1px 8px);
}

.proof-section .section-label::after {
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.12;
  margin: 0 0 32px;
  color: var(--ink);
  letter-spacing: -0.025em;
}

.section-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}

.section-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 65ch;
}

.section-text p {
  margin: 0 0 20px;
}

.section-text p:last-child {
  margin-bottom: 0;
}

.section-text em {
  color: var(--blue);
  font-style: italic;
}

/* Problem Section */
.problem-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}

.problem-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.problem-item:last-child {
  margin-bottom: 0;
}

.problem-icon {
  font-size: 20px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

.problem-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* What Calibre Does Section */
.what-calibre {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Offer Section */
.offer-intro {
  max-width: 800px;
  margin-bottom: 60px;
}

.offer-intro p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  transition: all 0.3s ease;
}

.module-card:hover {
  box-shadow: 0 8px 24px rgba(22, 25, 27, 0.08);
  transform: translateY(-4px);
}

.module-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px;
  font-weight: 500;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 16px;
}

.module-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 12px;
  color: var(--ink);
}

.module-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* Who It Is For Section */
.who-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.who-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.who-item-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  margin: 0;
}

.who-item-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0 0;
}

/* What Makes It Different */
.different-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.different-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.different-icon {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  color: var(--blue);
  margin-bottom: 16px;
}

.different-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  margin: 0;
}

.different-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0 0;
}

/* Pilot Section */
.pilot-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pilot-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.pilot-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.pilot-text p:last-child {
  margin-bottom: 0;
}

.pilot-highlight {
  background: var(--bg);
  border-left: 4px solid var(--blue);
  padding: 24px;
  border-radius: 6px;
}

.pilot-highlight p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0;
  font-weight: 500;
}

/* Contact Section */
.contact-section {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
}

.contact-section h2 {
  color: var(--bg);
}

.contact-section > .section > p.contact-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--border);
  max-width: 600px;
  margin: 0 auto 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(245, 246, 243, 0.04);
  border: 1px solid #2A3036;
  border-radius: 10px;
  padding: 20px 22px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.contact-method:hover {
  border-color: var(--blue);
  background: rgba(46, 94, 140, 0.08);
  opacity: 1;
}

.contact-method-icon {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--blue);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 94, 140, 0.14);
  border-radius: 8px;
}

.contact-method-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-method-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.contact-method-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--bg);
}

.contact-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  margin: 8px 0 0;
}

/* Contact Form */
.contact-form {
  background: rgba(245, 246, 243, 0.03);
  border: 1px solid #2A3036;
  border-radius: 12px;
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 18px;
  text-align: left;
}

.form-field label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-3);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(245, 246, 243, 0.05);
  border: 1px solid #333A40;
  border-radius: 6px;
  padding: 12px 14px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  color: var(--bg);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #5B6268;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(46, 94, 140, 0.08);
}

.form-field select {
  appearance: none;
  cursor: pointer;
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-submit {
  width: 100%;
  background: var(--blue);
  color: var(--bg);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-submit:hover {
  background: var(--blue-dark);
}

.form-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  margin: 16px 0 0;
  min-height: 18px;
}

.form-status.success {
  color: #6FBF87;
}

.form-status.error {
  color: #E08472;
}

/* Daftar Strip */
.daftar-strip {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.daftar-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.daftar-intro h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.daftar-intro p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 55ch;
  margin: 0;
}

.daftar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
  border-bottom: 1px solid rgba(168, 52, 31, 0.35);
  padding-bottom: 2px;
}

.daftar-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.9;
}

.daftar-meta strong {
  color: var(--ink);
}

/* Footer */
footer {
  background: var(--ink);
  color: var(--bg);
  padding: 60px 32px 24px;
  border-top: 1px solid #2A3036;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--bg);
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted-3);
  max-width: 50ch;
  margin: 0 0 20px;
}

.footer-contact {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 2;
  color: #B9C0C5;
}

.footer-contact a {
  color: #B9C0C5;
}

.footer-contact a:hover {
  color: var(--blue);
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-column h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 12px;
}

.footer-column a {
  display: block;
  font-size: 13px;
  color: #B9C0C5;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid #2A3036;
  padding-top: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    height: auto;
    padding: 12px 24px;
    flex-wrap: wrap;
  }

  nav {
    gap: 20px;
    font-size: 13px;
    order: 3;
    width: 100%;
    margin-top: 12px;
    flex-wrap: wrap;
  }

  .hero {
    padding: 80px 24px 60px;
  }

  .section {
    padding: 60px 24px;
  }

  .section-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pilot-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .daftar-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links {
    gap: 32px;
  }

  .cta-group {
    flex-direction: column;
    align-items: center;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
    justify-content: center;
  }

  .modules-grid,
  .who-grid,
  .different-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .hero {
    padding: 60px 20px 40px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .section {
    padding: 50px 20px;
  }

  .section h2 {
    font-size: 28px;
  }

  nav {
    gap: 12px;
    font-size: 12px;
  }

  .logo-tag {
    display: none;
  }

  .footer-links {
    gap: 20px;
  }

  .contact-form {
    padding: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .module-card:hover {
    transform: none;
  }
}
