/* Swiss design system for Tailwind CSS v4. Load the fonts: <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800&display=swap"> */
@import "tailwindcss";

@custom-variant dark (&:where([data-theme=dark], [data-theme=dark] *, .dark, .dark *));

:root {
  --background:            #ffffff;
  --foreground:            #111111;
  --body:                  #5b5b5b;
  --surface:               #dd4027;
  --surface-foreground:    #111111;
  --muted:                 #f5f5f5;
  --muted-foreground:      #5b5b5b;
  --border:                #11111124;
  --border-strong:         #11111147;
  --input:                 #11111124;
  --input-background:      #dd4027;
  --ring:                  #dd4027;
  --primary:               #dd4027;
  --primary-foreground:    #111111;
  --secondary:             #f5f5f5;
  --secondary-foreground:  #111111;
  --accent:                #dd4027;
  --accent-foreground:     #111111;
  --inverse:               #111111;
  --inverse-foreground:    #ffffff;
  --inverse-muted:         #a5a5a5;
  --inverse-border:        #ffffff29;
  --destructive:           #dd4027;
  --destructive-foreground: #ffffff;
}
[data-theme="dark"], .dark {
  --background:            #111111;
  --foreground:            #ffffff;
  --body:                  #e2e2e2;
  --surface:               #1f1f1f;
  --surface-foreground:    #ffffff;
  --muted:                 #292929;
  --muted-foreground:      #a5a5a5;
  --border:                #ffffff24;
  --border-strong:         #ffffff42;
  --input:                 #ffffff33;
  --input-background:      #1d1d1d;
  --ring:                  #dd4027;
  --primary:               #dd4027;
  --primary-foreground:    #111111;
  --secondary:             #2e2e2e;
  --secondary-foreground:  #ffffff;
  --accent:                #dd4027;
  --accent-foreground:     #111111;
  --inverse:               #ffffff;
  --inverse-foreground:    #111111;
  --inverse-muted:         #6b6b6b;
  --inverse-border:        #11111129;
  --destructive:           #e15741;
  --destructive-foreground: #111111;
}

@theme inline {
  --color-background:            var(--background);
  --color-foreground:            var(--foreground);
  --color-body:                  var(--body);
  --color-surface:               var(--surface);
  --color-surface-foreground:    var(--surface-foreground);
  --color-muted:                 var(--muted);
  --color-muted-foreground:      var(--muted-foreground);
  --color-border:                var(--border);
  --color-border-strong:         var(--border-strong);
  --color-input:                 var(--input);
  --color-input-background:      var(--input-background);
  --color-ring:                  var(--ring);
  --color-primary:               var(--primary);
  --color-primary-foreground:    var(--primary-foreground);
  --color-secondary:             var(--secondary);
  --color-secondary-foreground:  var(--secondary-foreground);
  --color-accent:                var(--accent);
  --color-accent-foreground:     var(--accent-foreground);
  --color-inverse:               var(--inverse);
  --color-inverse-foreground:    var(--inverse-foreground);
  --color-inverse-muted:         var(--inverse-muted);
  --color-inverse-border:        var(--inverse-border);
  --color-destructive:           var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
}

@theme {
  --color-red-orange:            #dd4027;
  --color-pale-lemon-yellow:     #ffefae;
  --font-display:                Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body:                   Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text-display:                clamp(54px, 2.09rem + 5.28vw, 109.44px);
  --text-display--line-height:   0.88;
  --text-display--letter-spacing: -0.045em;
  --text-display--font-weight:   800;
  --text-h2:                     clamp(33px, 1.25rem + 3.32vw, 67.85px);
  --text-h2--line-height:        0.88;
  --text-h2--letter-spacing:     -0.045em;
  --text-h2--font-weight:        800;
  --text-h3:                     clamp(19px, 1.13rem + 0.25vw, 21.6px);
  --text-h3--line-height:        1.15;
  --text-h3--letter-spacing:     -0.015em;
  --text-h3--font-weight:        700;
  --text-lead:                   19.87px;
  --text-lead--line-height:      1.4;
  --text-lead--letter-spacing:   0em;
  --text-lead--font-weight:      400;
  --text-body:                   clamp(15px, 0.9rem + 0.15vw, 16.56px);
  --text-body--line-height:      1.4;
  --text-body--letter-spacing:   0em;
  --text-body--font-weight:      400;
  --text-small:                  14.49px;
  --text-small--line-height:     1.4;
  --text-small--letter-spacing:  0em;
  --text-small--font-weight:     400;
  --text-eyebrow:                13.25px;
  --text-eyebrow--line-height:   1.4;
  --text-eyebrow--letter-spacing: 0.04em;
  --text-eyebrow--font-weight:   500;
  --spacing:                     0.25rem;
  --container-page:              1280px;
  --radius-sm:                   0px;
  --radius-md:                   0px;
  --radius-lg:                   0px;



}

@utility container-page { max-width: var(--container-page); margin-inline: auto; padding-inline: 32px; }
@utility section-y { padding-block: clamp(64px, 3.26rem + 3.05vw, 96px); }
@utility duration-base { transition-duration: 700ms; }

@layer base {
  body { background: var(--color-background); color: var(--color-body); font-family: var(--font-body); }
  h1, h2, h3, h4 { font-family: var(--font-display); color: var(--color-foreground); }
}
