/*
Theme Name: LayerPost
Version: 1.0.0
Text Domain: layerpost
*/
/* LayerPost shared stylesheet. In WordPress: Appearance > Customize > Additional CSS */
:root {
  --ink: #16212e;
  --body: #3d4a5c;
  --accent: #0e7c7b;
  --accent-dark: #0a5c5b;
  --bg: #ffffff;
  --bg-soft: #f4f7f9;
  --border: #e2e8ee;
  --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--body); background: var(--bg); line-height: 1.6; font-size: 17px;
}
h1, h2, h3 { color: var(--ink); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin-bottom: 0.75rem; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.center { text-align: center; }
.sub { font-size: 1.2rem; max-width: 640px; }
.small { font-size: 0.9rem; color: #6b7787; }

/* Nav */
nav {
  position: sticky; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border); z-index: 10;
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.logo span { color: var(--accent); }
nav ul { display: flex; gap: 28px; list-style: none; align-items: center; }
nav ul a { color: var(--body); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
nav ul a:hover { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 8px; font-weight: 700;
  text-decoration: none; font-size: 1rem; transition: all .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border: 2px solid var(--border); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }

/* Hero */
.hero { padding: 96px 0 72px; }
.hero .sub { margin: 20px 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Trust bar */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.trust .item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.trust .item strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 6px; }

/* Cards / grids */
.grid { display: grid; gap: 20px; margin-top: 32px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.card .num {
  display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; border-radius: 50%; font-weight: 800; margin-bottom: 12px;
}

/* Tables */
table.price { width: 100%; border-collapse: collapse; margin-top: 24px; background: var(--bg); }
table.price th, table.price td { padding: 14px 16px; border: 1px solid var(--border); text-align: left; }
table.price th { background: var(--bg-soft); color: var(--ink); }

/* Forms */
form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: 0.95rem; }
form input, form select, form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px;
  font: inherit; color: var(--ink); background: #fff;
}
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* FAQ */
details { border: 1px solid var(--border); border-radius: 10px; padding: 18px 22px; margin-bottom: 12px; background: var(--bg); }
details summary { font-weight: 700; color: var(--ink); cursor: pointer; }
details p { margin-top: 10px; }

/* Footer */
footer { background: var(--ink); color: #b8c4d2; padding: 48px 0; font-size: 0.9rem; }
footer a { color: #dfe7ef; }
footer .cols { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* Banner CTA */
.cta-band { background: var(--accent); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .btn { background: #fff; color: var(--accent); margin-top: 20px; }

.notice { background: #fff8e7; border: 1px solid #f0dfae; border-radius: 10px; padding: 16px 20px; font-size: 0.95rem; }
