/* ORRANET public pages: shared styles + landing page */

:root {
  --green: #075e54;
  --green-dark: #04413a;
  --accent: #25d366;
  --butter: #ffe9a8;
  --cream: #fff8e6;
  --text: #1a2a27;
  --muted: #5f6f6b;
  --border: #e6e2d6;
  --sky: #dcefff;
  --blush: #ffe1e8;
  --lilac: #e8e0ff;
  --mint: #d9f7e6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; max-width: 100%; overflow-x: hidden; }
body { margin: 0; font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif; color: var(--text); background: #fff; line-height: 1.55; max-width: 100%; overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* Header (white) */
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; background: #fff; border-bottom: 1px solid var(--border); }
.site-header__brand { display: flex; align-items: center; }
.site-header__logo { height: 28px; width: auto; display: block; }
.site-header__nav { display: flex; align-items: center; gap: 22px; }
.site-header__nav a { color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; }
.site-header__nav a:not(.site-header__login) { display: none; }
.site-header__nav a:not(.site-header__login):hover { color: var(--green); }
.site-header__login { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--green); color: var(--green) !important; border-radius: 10px; padding: 7px 14px; font-weight: 700 !important; }
.site-header__login:hover { background: var(--green); color: #fff !important; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 15px; padding: 13px 24px; border-radius: 10px; text-align: center; border: 2px solid transparent; transition: background .15s ease; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); }
.btn--outline { border-color: var(--green); color: var(--green); }
.btn--outline:hover { background: rgba(7,94,84,.07); }
.btn--butter { background: var(--butter); color: var(--green-dark); }
.btn--butter:hover { background: #ffdf84; }

/* Search */
.search { display: flex; gap: 8px; background: #fff; border: 1px solid #cfcab8; border-radius: 10px; padding: 5px; max-width: 480px; }
.search input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font: inherit; font-size: 15px; color: var(--text); padding: 8px 10px; }
.search button { border: none; background: var(--green); color: #fff; font: inherit; font-size: 14px; font-weight: 700; border-radius: 7px; padding: 10px 20px; cursor: pointer; }
.search button:hover { background: var(--green-dark); }
.search:focus-within { border-color: var(--green); }

/* Hero */
.hero { padding: 52px 0 40px; text-align: center; background: linear-gradient(180deg, var(--cream), #fff); }
.hero h1 { font-size: 34px; line-height: 1.15; font-weight: 700; color: var(--green-dark); max-width: 760px; margin: 0 auto 14px; }
.mark { text-decoration: underline; text-decoration-color: #ffd75e; text-decoration-thickness: 5px; text-underline-offset: 7px; text-decoration-skip-ink: none; }
.hero p { font-size: 17px; color: var(--muted); max-width: 500px; margin: 0 auto 26px; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 22px; }
.hero .search { margin: 0 auto; text-align: left; }

/* Sections */
.section { padding: 56px 0; }
.section--tint { background: var(--cream); }
.section h2, .shop-band h2 { font-size: 28px; line-height: 1.2; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.center { text-align: center; }
.lead { margin-bottom: 28px; }

/* Feature panels */
.panels { display: grid; gap: 20px; padding-top: 16px; padding-bottom: 24px; }
.panel { display: grid; gap: 24px; align-items: center; border-radius: 24px; padding: 32px 24px; overflow: hidden; }
.panel h2 { font-size: 26px; line-height: 1.2; font-weight: 700; color: var(--green-dark); margin-bottom: 10px; }
.panel p { color: #3f524e; margin-bottom: 16px; max-width: 440px; }
.panel__link { color: var(--green-dark); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--green-dark); padding-bottom: 1px; }
.panel__visual { display: flex; justify-content: center; }
.panel--sky { background: var(--sky); }
.panel--butter { background: var(--butter); }
.panel--blush { background: var(--blush); }
.panel--lilac { background: var(--lilac); }

/* Panel visuals */
.mock-store { width: 270px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 28px rgba(20,60,90,.12); }
.mock-store__bar { background: var(--green); color: #fff; font-size: 11px; padding: 9px 12px; }
.mock-store__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
.mock-store__grid span { display: block; }
.mock-store__grid i { display: block; aspect-ratio: 1; border-radius: 8px; margin-bottom: 6px; }
.mock-store__grid b { display: block; height: 6px; width: 70%; background: #e3e6e5; border-radius: 3px; margin-bottom: 5px; }
.mock-store__grid em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--green); }
.mock-dl { display: flex; gap: 14px; background: #fff; border-radius: 14px; padding: 14px; width: 290px; box-shadow: 0 10px 28px rgba(90,20,40,.1); }
.mock-dl__cover { width: 82px; height: 110px; border-radius: 6px; background: var(--green); color: var(--butter); display: flex; align-items: flex-end; padding: 8px; font-size: 10px; font-weight: 700; letter-spacing: .08em; flex-shrink: 0; }
.mock-dl__info { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.mock-dl__info b { height: 8px; background: #e3e6e5; border-radius: 4px; }
.mock-dl__info b.short { width: 60%; }
.mock-dl__info em { font-style: normal; font-weight: 700; color: var(--green); }
.mock-dl__info u { text-decoration: none; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; text-align: center; padding: 7px; border-radius: 7px; }
.mock-orders { width: 290px; background: #fff; border-radius: 14px; box-shadow: 0 10px 28px rgba(90,70,0,.12); overflow: hidden; }
.mock-orders__head { background: var(--green); color: #fff; font-size: 12px; font-weight: 700; padding: 10px 14px; }
.mock-orders__row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #eee; }
.mock-orders__row:last-child { border-bottom: none; }
.mock-orders__row .av { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; }
.mock-orders__row div { flex: 1; min-width: 0; }
.mock-orders__row b { display: block; height: 7px; width: 60%; background: #e3e6e5; border-radius: 4px; margin-bottom: 5px; }
.mock-orders__row small { font-size: 12px; color: var(--muted); }
.st { text-decoration: none; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 12px; }
.st--new { background: var(--butter); color: #7a5a00; } .st--paid { background: var(--mint); color: var(--green); } .st--done { background: var(--lilac); color: #4b3a99; }
.mock-pay { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: 0 10px 28px rgba(60,40,120,.12); font-size: 14px; }
.mock-pay small { color: var(--muted); }
.mock-pay em { font-style: normal; font-weight: 700; color: var(--green); margin-left: 8px; }
.mock-pay__tick { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }

.sell-grid { display: grid; gap: 18px; }
.sell-card { border-radius: 24px; padding: 32px 26px; }
.sell-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.sell-card p { font-size: 15px; margin-bottom: 22px; }
.sell-card--vendor { background: var(--green); color: #fff; }
.sell-card--vendor p { color: #dff0eb; }
.sell-card--creator { background: var(--butter); color: var(--green-dark); }

.shop-band { display: grid; gap: 18px; align-items: center; background: var(--mint); border-radius: 24px; padding: 32px 24px; }
.shop-band p { color: #3f524e; }

.testi-grid { display: grid; gap: 16px; margin-top: 24px; }
.testi { margin: 0; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.testi--sky { background: var(--sky); } .testi--blush { background: var(--blush); } .testi--lilac { background: var(--lilac); }
.testi blockquote { margin: 0; font-size: 15px; line-height: 1.65; }
.testi figcaption { display: flex; flex-direction: column; font-size: 14px; margin-top: auto; }
.testi figcaption span { color: #4c5d59; font-size: 13px; }

.faq { max-width: 720px; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-bottom: 1px solid #e4dcc3; padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--green); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* Footer */
.site-footer { background: var(--green-dark); color: #cfe5df; text-align: center; padding: 32px 20px; font-size: 13px; }
.site-footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-bottom: 14px; }
.site-footer__links a { color: #fff; text-decoration: none; font-weight: 500; font-size: 14px; }
.site-footer__links a:hover { text-decoration: underline; }

/* Hero entrance + scroll reveal */
.hero .wrap > * { animation: rise .7s both cubic-bezier(.2,.7,.2,1); }
.hero .wrap > :nth-child(2) { animation-delay: .08s; }
.hero .wrap > :nth-child(3) { animation-delay: .16s; }
.hero .wrap > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.js .reveal { opacity: 0; transform: translateY(32px) scale(.98); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .panel.reveal .panel__visual { opacity: 0; transform: translateY(24px) scale(.95); transition: opacity .7s ease .15s, transform .7s cubic-bezier(.2,.7,.2,1) .15s; }
.js .panel.reveal.in .panel__visual { opacity: 1; transform: none; }
.sell-grid .reveal:nth-child(2), .testi-grid .reveal:nth-child(2) { transition-delay: .12s; }
.testi-grid .reveal:nth-child(3) { transition-delay: .24s; }

@media (min-width: 640px) {
  .site-header__nav a:not(.site-header__login) { display: inline; }
  .hero h1 { font-size: 44px; }
  .sell-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-band { grid-template-columns: 1fr auto; padding: 36px 40px; }
}
@media (min-width: 900px) {
  .hero { padding: 80px 0 56px; }
  .hero h1 { font-size: 54px; }
  .panel { grid-template-columns: 1fr 1fr; padding: 48px 56px; gap: 40px; }
  .panel--flip .panel__text { order: 2; }
  .panel h2 { font-size: 32px; }
  .section { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .panel.reveal .panel__visual { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
