/* 1 ØRE AS — Cardtens.shop
   Unique Sticky Side Navigation + Clean Documentation Blog Style
   Cool Nordic palette: deep navy, indigo accent, ice tones
   Radius 8px, subtle shadows, pill buttons, clean lines
*/

:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --text: #0F172A;
  --muted: #64748B;
  --accent: #6366F1;
  --accent-2: #22D3EE;
  --border: #E2E8F0;
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  --radius: 8px;
  --sidebar-width: 260px;
  --max-content: 860px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

a:hover {
  color: var(--accent);
}

/* Sticky Sidebar Navigation */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  z-index: 50;
  overflow-y: auto;
}

.sidebar-logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  color: var(--text);
}

.sidebar-logo span {
  color: var(--accent);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.sidebar-nav a {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  transition: all .2s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: #F1F5F9;
  color: var(--text);
}

.sidebar-nav a.active {
  font-weight: 600;
  color: var(--accent);
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

/* Main Content Area */
.main {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  padding: 40px 60px 80px;
  max-width: var(--max-content);
}

@media (max-width: 1024px) {
  .sidebar {
    display: none;
  }
  .main {
    margin-left: 0;
    padding: 32px 24px;
  }
}

/* Hero */
.hero {
  margin-bottom: 70px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 19px;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 32px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: white;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: all .3s ease;
}

.hero-cta:hover {
  background: #4F46E5;
  transform: translateY(-2px);
}

/* Long Intro */
.intro {
  max-width: 780px;
  margin-bottom: 80px;
}

.intro p {
  font-size: 17px;
  color: #334155;
  margin-bottom: 1.3em;
}

/* Articles Section */
.section-header {
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
}

/* Article Cards - Clean bordered style */
.articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .3s ease;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08);
  transform: translateY(-3px);
}

.article-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: #EEF2FF;
  color: var(--accent);
  padding: 3px 11px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.article-card h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 14px;
}

.article-card p {
  color: #475569;
  font-size: 15px;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.article-card .meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.article-card .meta a {
  color: var(--accent);
  font-weight: 600;
}

/* Article Page */
.article {
  max-width: 780px;
}

.article-header {
  margin-bottom: 50px;
}

.article-header .tag {
  font-size: 13px;
  background: #EEF2FF;
  color: var(--accent);
  padding: 4px 13px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 16px;
}

.article-header h1 {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
}

.article-content {
  font-size: 17px;
  line-height: 1.8;
  color: #1E2937;
}

.article-content p {
  margin-bottom: 1.35em;
}

.article-content h2 {
  font-size: 24px;
  margin: 2em 0 1em;
  color: var(--text);
}

.back-link {
  display: inline-flex;
  margin-top: 50px;
  color: var(--accent);
  font-weight: 600;
}

/* Contact Form */
.form-section {
  max-width: 620px;
}

.form-section h1 {
  font-size: 34px;
  margin-bottom: 14px;
}

.contact-form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
  background: var(--accent);
  color: white;
  border: none;
  padding: 15px 38px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s;
}

.contact-form button:hover {
  background: #4F46E5;
  transform: translateY(-2px);
}

/* Thank You */
.thankyou {
  max-width: 680px;
  margin: 80px auto;
  padding: 0 40px;
  text-align: center;
}

.thankyou h1 {
  font-size: 40px;
  margin-bottom: 18px;
}

.thankyou .disclaimer {
  margin-top: 50px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: var(--radius);
  font-size: 14px;
  color: #475569;
  line-height: 1.65;
}

/* Footer */
.footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 50px 60px 40px;
  margin-left: var(--sidebar-width);
  font-size: 14px;
}

@media (max-width: 1024px) {
  .footer {
    margin-left: 0;
  }
}

.footer-inner {
  max-width: var(--max-content);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer a {
  color: #CBD5E1;
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #334155;
  font-size: 13px;
  color: #64748B;
}