/* /assets/css/site.css */

:root { font-family: system-ui, Arial, sans-serif; line-height: 1.4; }
body { margin: 50;}
.wrap { max-width: 980px; margin: 0 auto; padding: 16px; }
.site-header, .site-footer { border-bottom: 1px solid #eee; }
.site-footer { border-top: 1px solid #eee; border-bottom: none; margin-top: 24px; }
.brand { font-weight: 700; text-decoration: none; color: inherit; }
.nav a { margin-left: 12px; text-decoration: none; color: inherit; opacity: .85; }
.hero { padding: 28px 0; }
.kicker { text-transform: uppercase; font-size: 12px; opacity: .7; letter-spacing: .05em; }
.subtitle { font-size: 18px; max-width: 60ch; }
.pricing-grid, .option-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.price-card, .option-card { border: 1px solid #eee; border-radius: 14px; padding: 14px; }
.faq details { border: 1px solid #eee; border-radius: 10px; padding: 10px 12px; margin: 10px 0; }
.embed { border: 1px dashed #ccc; border-radius: 14px; padding: 18px; }
.license-note { opacity: .8; font-size: 14px; margin-top: 18px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }


/* Publuu responsive embed */
.publuu-vh iframe {
  width: 100%;
  height: 80vh;      /* adjusts to screen height */
  border: 0;
  display: block;
}

/* Slightly shorter on phones */
@media (max-width: 520px) {
  .publuu-vh iframe {
    height: 70vh;
  }
}

/* Tighter library header */
.tight-header { padding-bottom: 6px; }

.header-row{
  display: flex;
  align-items: center;
  justify-content:flex-start;	
/*  justify-content: space-between; */
  gap: 12px;
}

.page-title{
  margin: 0;              /* removes extra vertical space */
  line-height: 1.15;
}

.tight-header .library-actions { margin: 0; }

.tight-header .quick-tip{
  margin: 6px 0 0 0;      /* tight spacing */
  font-size: 0.95rem;
  color: #555;
}

/* Makes the icon sit nicely in a sentence */
.inline-icon{
  width: 18px;
  height: 18px;
  vertical-align: text-bottom;
}



/* --- Buttons --- */
.btn {
  display: inline-block;           /* lets padding/height work like a button */
  padding: 12px 16px;              /* inside space */
  border-radius: 12px;             /* rounded corners */
  text-decoration: none;           /* removes underline */
  font-weight: 600;
  line-height: 1;                  /* tighter button height */
  border: 1px solid transparent;   /* so buttons don't jump on hover */
  cursor: pointer;
  transition: transform 120ms ease, opacity 120ms ease, background 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);     /* slight lift */
  opacity: 0.95;
}

.btn:active {
  transform: translateY(0px);      /* click down */
  opacity: 0.9;
}

.btn-primary {
  background: #f2f2f2;               /* dark button */
  color: #111;
}

.btn-secondary {
  background: #f2f2f2;            /* light button */
  color: #111;
  border-color: #e5e5e5;
}

/* Optional: a simple “link-style” button */
.btn-link {
  background: transparent;
  color: #111;
  border-color: transparent;
  padding: 12px 8px;
}

/* --- Button row layout --- */
.cta-row {
  display: flex; center;
  gap: 10px;
  flex-wrap: wrap;                 /* wraps on small screens */
  margin: 14px 0;
}

.btn-large {
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 1.05rem;
}

/* Optional: keeps sizing predictable */
* { box-sizing: border-box; }

.hero{
  padding: 18px 22px;
}

.layout{
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 18px 22px;
}

/* LEFT column */
.sidebar{
  width: 320px;            /* fixed sidebar width */
  flex: 0 0 320px;         /* don’t let it shrink */
}

/* Button styling */
.sidebar .btn{
  display: block;
  width: 100%;
  padding: 12px 14px;
  margin: 10px 0;
  text-decoration: none;

  background: #1a1f7a;
  color: #EDE3E3;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  font-weight: 700;
}

.sidebar .btn:hover{
  filter: brightness(1.15);
}

.sidebar{
  position: sticky;
  top: 18px;
}


/* RIGHT column */
.content{
  flex: 1;                 /* take the remaining space */
  min-width: 0;            /* helps prevent overflow */
  padding: 8px 0;
}
