/*
Theme Name: Rukun Theme
Theme URI: https://example.com/rukun-theme
Author: Rukun
Author URI: https://example.com
Description: Theme ringan untuk landing page Rukun dan template full-screen Rukun App.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: rukun-theme
*/

:root {
  --rk-paper: #fbf7f1;
  --rk-sand: #e8e2d9;
  --rk-line: #ece5db;
  --rk-ink: #2b2520;
  --rk-muted: #7c7264;
  --rk-soft: #a89d8e;
  --rk-clay: #c2674a;
  --rk-clay-dark: #a8512f;
  --rk-clay-soft: #f5e6de;
  --rk-sage: #5e9379;
  --rk-sage-soft: #e7f0ea;
  --rk-gold: #b98d49;
  --rk-gold-soft: #f4ebd8;
  --rk-shadow: 0 18px 50px rgba(43, 37, 32, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--rk-paper);
  color: var(--rk-ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.rk-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.rk-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(236, 229, 219, .85);
  background: rgba(251, 247, 241, .88);
  backdrop-filter: blur(16px);
}

.rk-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.rk-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .01em;
}

.rk-mark {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: var(--rk-clay);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.rk-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--rk-muted);
  font-size: 14px;
  font-weight: 700;
}

.rk-menu a:hover {
  color: var(--rk-clay);
}

.rk-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rk-button {
  min-height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 800;
}

.rk-button.primary {
  background: var(--rk-clay);
  color: #fff;
}

.rk-button.dark {
  background: var(--rk-ink);
  color: #fff;
}

.rk-button.soft {
  background: #fff;
  color: var(--rk-ink);
  border: 1px solid var(--rk-line);
}

.rk-hero {
  padding: 78px 0 58px;
  background: linear-gradient(180deg, #fbf7f1 0%, #f6efe6 100%);
}

.rk-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 58px;
}

.rk-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--rk-clay-soft);
  color: var(--rk-clay-dark);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.rk-hero h1,
.rk-section h2 {
  margin: 18px 0 0;
  color: var(--rk-ink);
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
}

.rk-hero h1 {
  max-width: 650px;
  font-size: clamp(44px, 6vw, 74px);
}

.rk-lead {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--rk-muted);
  font-size: 18px;
  font-weight: 600;
}

.rk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.rk-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  color: var(--rk-soft);
  font-size: 13px;
  font-weight: 700;
}

.rk-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.rk-phone-preview {
  border-radius: 42px;
  background: #15110d;
  padding: 10px;
  box-shadow: 0 35px 90px rgba(43, 37, 32, .28);
}

.rk-phone-screen {
  min-height: 710px;
  overflow: hidden;
  border-radius: 33px;
  background: var(--rk-paper);
  padding: 28px 22px;
}

.rk-mini-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
}

.rk-mini-card {
  margin-top: 22px;
  border-radius: 24px;
  background: linear-gradient(150deg, var(--rk-clay), var(--rk-clay-dark));
  color: #fff;
  padding: 28px 24px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.rk-mini-card h3 {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-size: 34px;
}

.rk-app-card {
  margin-top: 14px;
  border-radius: 22px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(43, 37, 32, .05);
}

.rk-app-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--rk-muted);
  font-size: 13px;
  font-weight: 700;
}

.rk-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--rk-sage-soft);
  color: var(--rk-sage);
  display: grid;
  place-items: center;
}

.rk-section {
  padding: 70px 0;
}

.rk-section h2 {
  font-size: clamp(34px, 4vw, 52px);
  text-align: center;
}

.rk-section-intro {
  max-width: 650px;
  margin: 16px auto 0;
  color: var(--rk-muted);
  text-align: center;
  font-size: 17px;
  font-weight: 600;
}

.rk-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.rk-feature {
  border: 1px solid var(--rk-line);
  border-radius: 22px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(43, 37, 32, .04);
}

.rk-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--rk-clay-soft);
  color: var(--rk-clay);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.rk-feature h3 {
  margin: 16px 0 6px;
  font-size: 17px;
}

.rk-feature p {
  margin: 0;
  color: var(--rk-muted);
  font-size: 14px;
  font-weight: 600;
}

.rk-band {
  background: var(--rk-ink);
  color: #fff;
}

.rk-band .rk-section-intro,
.rk-band p {
  color: #c9bcac;
}

.rk-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.rk-step {
  border-radius: 22px;
  background: rgba(255, 255, 255, .08);
  padding: 22px;
}

.rk-step strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--rk-clay);
  color: #fff;
}

.rk-step h3 {
  margin: 18px 0 6px;
}

.rk-cta {
  padding: 76px 0;
  background: var(--rk-sand);
}

.rk-cta-box {
  border-radius: 28px;
  background: #fff;
  padding: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--rk-shadow);
}

.rk-cta h2 {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(30px, 4vw, 46px);
}

.rk-cta p {
  margin: 8px 0 0;
  color: var(--rk-muted);
  font-weight: 600;
}

.rk-footer {
  border-top: 1px solid var(--rk-line);
  background: var(--rk-paper);
  padding: 28px 0;
  color: var(--rk-soft);
  font-size: 13px;
  font-weight: 700;
}

.rk-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rk-page {
  padding: 58px 0;
}

.rk-page article {
  max-width: 780px;
  margin: 0 auto;
}

.rk-page h1 {
  font-family: "Lora", Georgia, serif;
  font-size: clamp(36px, 5vw, 58px);
}

.rk-app-template {
  margin: 0;
  min-height: 100vh;
  background: #e8e2d9;
}

.rk-app-template .stage {
  min-height: 100vh;
}

@media (max-width: 900px) {
  .rk-hero-grid,
  .rk-feature-grid,
  .rk-steps {
    grid-template-columns: 1fr;
  }

  .rk-phone-preview {
    width: min(430px, 100%);
    margin: 0 auto;
  }

  .rk-menu {
    display: none;
  }

  .rk-cta-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .rk-container {
    width: min(100% - 28px, 1120px);
  }

  .rk-nav {
    min-height: 64px;
  }

  .rk-actions .rk-button.soft {
    display: none;
  }

  .rk-hero {
    padding-top: 48px;
  }
}

