/*
Theme Name: Fusspflege
Theme URI: https://example.com/
Author: Fusspflege
Author URI: https://example.com/
Description: Fusspflege custom theme (minimal).
Version: 0.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fusspflege
*/

/* ========================================
   Design Tokens (CSS Custom Properties)
   ======================================== */
:root {
  /* Palette */
  --color-primary:       #191970; /* midnightblue */
  --color-primary-light: #b0c4de; /* lightsteelblue */
  --color-accent:        #dc143c; /* crimson */
  --color-bg:            #fffafa; /* snow */
  --color-bg-soft:       #e6e6fa; /* lavender */
  --color-text:          #333;
  --color-text-light:    #555;
  --color-link:          #191970;
  --color-link-hover:    #dc143c;
  --color-border:        #b0c4de;
  --color-highlight:     #ff0;
  --color-white:         #fff;

  /* Typography */
  --font-sans: "メイリオ", Meiryo, "Hiragino Kaku Gothic ProN", "Noto Sans JP",
               system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
               Arial, sans-serif;
  --font-serif: "Bree Serif", serif;
  --font-body:  "Quando", serif;

  /* Layout */
  --max-width:  960px;
  --gutter:     1rem;
  --radius:     0.5rem;

  /* Shadows */
  --shadow-card: 0 1px 15px rgba(113, 135, 164, 0.35);
  --shadow-none: 0 0 10px rgba(255, 250, 250, 0.5);
}

/* ========================================
   Modern Reset
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%; /* 1rem = 16px */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.25s;
}

a:hover,
a:focus-visible {
  color: var(--color-link-hover);
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

strong, b {
  font-weight: bold;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
}

/* ========================================
   Accessibility – skip link
   ======================================== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 99999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #000;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
}
