/* Rukos marketing site — Warm Ledger palette + landing-specific layout.
   Self-contained: variables copied from the owner app's design system so this site has
   no dependency on the app's stylesheet. */

:root {
  /* Paper / surfaces */
  --paper: #fbf8f1;
  --paper-2: #f4eee1;
  --card: #ffffff;
  --line: #ece4d4;
  --line-strong: #ddd2bc;

  /* Ink */
  --ink: #1b3a2f;
  --ink-2: #46544c;
  --ink-3: #7d8a82;

  /* Brand greens */
  --brand: #1b4332;
  --brand-soft: #e7efe9;

  /* Clay (CTA) */
  --clay: #c2410c;
  --clay-press: #9a3208;
  --clay-soft: #fbeadf;

  /* Semantic */
  --pos: #2d6a4f;
  --pos-soft: #e3f0e8;
  --warn: #b0790f;

  /* Typography */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(27, 58, 47, 0.04), 0 8px 24px -12px rgba(27, 58, 47, 0.18);
  --shadow-lg: 0 12px 40px -12px rgba(27, 58, 47, 0.28);

  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}

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

a { color: inherit; text-decoration: none; }

/* ---- Nav header ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--display); font-weight: 600; font-size: 1.4rem;
  color: var(--brand); letter-spacing: -0.01em;
}
.logo .dot { color: var(--clay); }
.nav-links { display: none; gap: 24px; font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.nav-links a { padding: 6px 4px; transition: color .15s ease; }
.nav-links a:hover { color: var(--brand); }
.nav-cta { padding: 8px 16px; }

@media (min-width: 720px) {
  .nav { padding: 16px 36px; }
  .nav-links { display: flex; }
  .logo { font-size: 1.55rem; }
}
@media (min-width: 1024px) {
  .nav { padding: 18px 60px; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 13px;
  font-family: var(--sans); font-weight: 700; font-size: .96rem;
  border: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--clay); color: #fff;
  box-shadow: 0 8px 18px -8px rgba(194, 65, 12, 0.6);
}
.btn-primary:hover { background: var(--clay-press); }
.btn-ghost {
  background: var(--card); color: var(--ink); border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--paper-2); }
.btn-sm { height: 38px; padding: 0 16px; font-size: .85rem; border-radius: 11px; }
.btn-large { height: 56px; padding: 0 32px; font-size: 1.02rem; border-radius: 15px; }
.btn-block { display: flex; width: 100%; }

/* ---- Hero ---- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: 56px 20px 64px;
  text-align: center;
}
.headline {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.4rem, 6vw + 1rem, 4.6rem);
  line-height: 1.05; letter-spacing: -0.025em;
  color: var(--brand);
}
.subhead {
  margin-top: 18px;
  font-size: clamp(1rem, 1.5vw + .6rem, 1.2rem);
  color: var(--ink-2);
  max-width: 640px; margin-left: auto; margin-right: auto;
}
.hero-cta {
  margin-top: 32px;
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.hero-hint {
  margin-top: 22px; font-size: .85rem; color: var(--ink-3);
}

@media (min-width: 720px) {
  .hero { padding: 96px 36px 110px; }
}
@media (min-width: 1024px) {
  .hero { padding: 120px 60px 130px; }
  .headline { letter-spacing: -0.03em; }
}

/* ---- Sections ---- */
.section {
  max-width: var(--maxw); margin: 0 auto;
  padding: 64px 20px;
}
.section-alt {
  background: var(--paper-2);
  max-width: none; padding-left: 0; padding-right: 0;
}
.section-alt > * {
  max-width: var(--maxw); margin-left: auto; margin-right: auto;
  padding-left: 20px; padding-right: 20px;
}
.section-title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.7rem, 2.5vw + .8rem, 2.6rem);
  letter-spacing: -0.02em; color: var(--brand);
  text-align: center;
}
.section-sub {
  margin: 12px auto 0; text-align: center;
  color: var(--ink-3); font-size: 1.02rem;
  max-width: 560px;
}

@media (min-width: 720px) {
  .section { padding: 96px 36px; }
}
@media (min-width: 1024px) {
  .section { padding: 110px 60px; }
}

/* ---- Manfaat (benefit cards) ---- */
.benefits {
  margin-top: 48px;
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
.benefit-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow);
}
.benefit-icon {
  font-size: 2rem; line-height: 1; margin-bottom: 14px;
}
.benefit-card h3 {
  font-family: var(--display); font-weight: 600; font-size: 1.2rem;
  color: var(--brand); margin-bottom: 8px; letter-spacing: -0.01em;
}
.benefit-card p {
  color: var(--ink-2); font-size: .95rem; line-height: 1.6;
}

@media (min-width: 720px) {
  .benefits { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (min-width: 1024px) {
  .benefits { gap: 24px; }
  .benefit-card { padding: 32px; }
}

/* ---- Screenshots ---- */
.shots {
  margin-top: 48px;
  display: flex; flex-direction: column; gap: 64px;
}
.shot-row {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}
.shot-text h3 {
  font-family: var(--display); font-weight: 600; font-size: 1.5rem;
  color: var(--brand); margin-bottom: 12px; letter-spacing: -0.015em;
}
.shot-text p {
  color: var(--ink-2); font-size: 1.02rem; line-height: 1.6;
}
.shot-image {
  display: flex; justify-content: center;
}
.shot-image img {
  max-width: 280px; width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

@media (min-width: 768px) {
  .shots { gap: 96px; }
  .shot-row { grid-template-columns: 1fr 1fr; gap: 48px; }
  .shot-row.reverse .shot-text { order: 2; }
  .shot-image img { max-width: 320px; }
}
@media (min-width: 1024px) {
  .shot-row { gap: 80px; }
  .shot-image img { max-width: 360px; }
  .shot-text h3 { font-size: 1.75rem; }
}

/* ---- Pricing ---- */
.pricing-card {
  margin-top: 48px;
  max-width: 720px; margin-left: auto; margin-right: auto;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px;
  box-shadow: var(--shadow);
}
.trial-badge {
  text-align: center; margin-bottom: 24px;
}
.badge-pill {
  display: inline-block;
  background: var(--brand); color: #fff;
  padding: 6px 14px; border-radius: 999px;
  font-size: .76rem; font-weight: 700; letter-spacing: .08em;
}
.trial-badge p { margin-top: 8px; font-size: .88rem; color: var(--ink-3); }

.pricing-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
  margin-bottom: 22px;
}
.pricing-tier {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px;
  position: relative;
}
.pricing-tier.featured {
  background: var(--brand-soft);
  border-color: var(--brand);
}
.featured-tag {
  position: absolute; top: -10px; right: 18px;
  background: var(--clay); color: #fff;
  padding: 4px 10px; border-radius: 999px;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em;
}
.pricing-tier h3 {
  font-family: var(--display); font-weight: 600; font-size: 1.1rem;
  color: var(--brand); margin-bottom: 6px;
}
.price {
  margin: 8px 0;
  font-family: var(--display); font-weight: 600;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 4px;
}
.currency { font-size: 1.1rem; color: var(--ink-3); font-weight: 500; }
.amt { font-size: 2rem; letter-spacing: -0.02em; }
.unit { font-size: .9rem; color: var(--ink-3); margin-left: 4px; font-weight: 500; }
.tier-note { font-size: .82rem; color: var(--ink-3); margin-top: 6px; }
.tier-cta { margin-top: 18px; }
.pricing-footer {
  text-align: center; font-size: .85rem; color: var(--ink-3);
  margin-bottom: 18px;
}

@media (min-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- FAQ ---- */
.faq {
  margin-top: 36px;
  max-width: 720px; margin-left: auto; margin-right: auto;
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 0;
  overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 18px 22px;
  font-weight: 600; color: var(--ink); font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8a82' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-size: contain;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-body { padding: 0 22px 20px; color: var(--ink-2); font-size: .96rem; line-height: 1.65; }

/* ---- CTA Final ---- */
.cta-final {
  text-align: center;
  padding: 96px 20px 110px;
  max-width: var(--maxw); margin: 0 auto;
}
.cta-final h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.8rem, 3vw + 1rem, 2.8rem);
  color: var(--brand); letter-spacing: -0.02em;
}
.cta-final p {
  margin: 14px auto 28px; color: var(--ink-2);
  max-width: 480px; font-size: 1.02rem;
}

@media (min-width: 720px) {
  .cta-final { padding: 120px 36px 130px; }
}

/* ---- Footer ---- */
.footer {
  background: var(--brand); color: #d9e3dc;
  padding: 56px 20px 28px;
}
.footer-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
}
.footer-col h4 {
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  color: #fff; margin-bottom: 12px;
}
.footer-col .logo { color: #fff; }
.footer-col .logo .dot { color: #ff9b6b; }
.footer-tagline { margin-top: 8px; font-size: .9rem; color: #b6c5be; }
.footer-legal { margin-top: 14px; font-size: .8rem; color: #8aa195; }
.footer-col p, .footer-col a { color: #d9e3dc; font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.social { display: flex; gap: 16px; flex-wrap: wrap; }
.social a { color: #d9e3dc; }

.footer-bottom {
  max-width: var(--maxw); margin: 40px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .82rem; color: #8aa195;
}

@media (min-width: 720px) {
  .footer { padding: 72px 36px 32px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer { padding: 84px 60px 36px; }
}
